summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorSebastian Reichel <sebastian.reichel@collabora.co.uk>2018-01-15 15:28:20 +0100
committerShawn Guo <shawnguo@kernel.org>2018-02-12 14:13:10 +0100
commit1022c489a76eaad0b82a7166a1038a4506fb2a36 (patch)
treef046497ad591f224e87b3ad125b6fcb7dfc99e12 /arch/arm
parentARM: dts: imx53-ppd: Add touchscreen reset line (diff)
downloadlinux-1022c489a76eaad0b82a7166a1038a4506fb2a36.tar.xz
linux-1022c489a76eaad0b82a7166a1038a4506fb2a36.zip
ARM: dts: imx53-ppd: use PMIC's TSI pins in adc mode
PPD uses the PMIC's TSI pins in general purpose ADC mode. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/imx53-ppd.dts10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx53-ppd.dts b/arch/arm/boot/dts/imx53-ppd.dts
index 123297da43a7..57730ddfe000 100644
--- a/arch/arm/boot/dts/imx53-ppd.dts
+++ b/arch/arm/boot/dts/imx53-ppd.dts
@@ -132,6 +132,14 @@
enable-active-high;
};
+ reg_tsiref: regulator-tsiref {
+ compatible = "regulator-fixed";
+ regulator-name = "tsiref";
+ regulator-min-microvolt = <2500000>;
+ regulator-max-microvolt = <2500000>;
+ regulator-always-on;
+ };
+
pwm_bl: backlight {
compatible = "pwm-backlight";
pwms = <&pwm2 0 50000>;
@@ -294,6 +302,8 @@
interrupt-parent = <&gpio3>;
interrupts = <12 0x8>;
spi-max-frequency = <1000000>;
+ dlg,tsi-as-adc;
+ tsiref-supply = <&reg_tsiref>;
regulators {
buck1_reg: buck1 {