aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2016-09-11 14:23:25 -0400
committerMaxime Ripard <maxime.ripard@free-electrons.com>2016-09-21 04:48:07 -0400
commit072c3d7e007d51405729e9fc4aeb8fe46687ba86 (patch)
tree070f964941ded092984b858821fa6c6cecbe4d06
parent9fae0a1cc41d0a965c03099baf12d3d19b178636 (diff)
ARM: dts: sun8i: Add touchscreen node for sun8i-a23-polaroid-mid2407pxe03
Add a node enabling the gsl1680 touchscreen controller found on sun8i-a23-polaroid-mid2407pxe03 tablets. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
-rw-r--r--arch/arm/boot/dts/sun8i-a23-polaroid-mid2407pxe03.dts19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun8i-a23-polaroid-mid2407pxe03.dts b/arch/arm/boot/dts/sun8i-a23-polaroid-mid2407pxe03.dts
index 4789aac89955..6662127c688f 100644
--- a/arch/arm/boot/dts/sun8i-a23-polaroid-mid2407pxe03.dts
+++ b/arch/arm/boot/dts/sun8i-a23-polaroid-mid2407pxe03.dts
@@ -90,3 +90,22 @@
90 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; 90 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
91 }; 91 };
92}; 92};
93
94&reg_ldo_io1 {
95 regulator-min-microvolt = <3300000>;
96 regulator-max-microvolt = <3300000>;
97 regulator-name = "vcc-touchscreen";
98 status = "okay";
99};
100
101&touchscreen {
102 reg = <0x40>;
103 compatible = "silead,gsl1680";
104 firmware-name = "gsl1680-polaroid-mid2407pxe03.fw";
105 touchscreen-size-x = <960>;
106 touchscreen-size-y = <640>;
107 touchscreen-inverted-x;
108 touchscreen-inverted-y;
109 vddio-supply = <&reg_ldo_io1>;
110 status = "okay";
111};