ARM: tegra: acer-a500: Add atmel,wakeup-method property
authorDmitry Osipenko <digetx@gmail.com>
Tue, 2 Mar 2021 10:21:58 +0000 (13:21 +0300)
committerThierry Reding <treding@nvidia.com>
Fri, 26 Mar 2021 13:21:28 +0000 (14:21 +0100)
Acer A500 uses Atmel Maxtouch 1386 touchscreen controller. This controller
has WAKE line which could be connected to I2C clock lane, dedicated GPIO
or fixed to HIGH level. Controller wakes up from a deep sleep when WAKE
line is asserted low. Acer A500 has WAKE line connected to I2C clock and
Linux device driver doesn't work property without knowing what wakeup
method is used by h/w.

Add atmel,wakeup-method property to the touchscreen node.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
[treding@nvidia.com: use literal to avoid dependency on header file]
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/boot/dts/tegra20-acer-a500-picasso.dts

index 2c6cb7d..2298fc0 100644 (file)
 
                        vdda-supply = <&vdd_3v3_sys>;
                        vdd-supply  = <&vdd_3v3_sys>;
+
+                       atmel,wakeup-method = <1>;
                };
 
                gyroscope@68 {