diff options
author | Hans de Goede <hdegoede@redhat.com> | 2016-09-11 14:23:25 -0400 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2016-09-21 04:48:07 -0400 |
commit | 072c3d7e007d51405729e9fc4aeb8fe46687ba86 (patch) | |
tree | 070f964941ded092984b858821fa6c6cecbe4d06 | |
parent | 9fae0a1cc41d0a965c03099baf12d3d19b178636 (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.dts | 19 |
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 | ®_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 = <®_ldo_io1>; | ||
110 | status = "okay"; | ||
111 | }; | ||