OSDN Git Service

ARM: dts: e60k02: fix power button
authorAndreas Kemnade <andreas@kemnade.info>
Mon, 11 Nov 2019 20:29:59 +0000 (21:29 +0100)
committerShawn Guo <shawnguo@kernel.org>
Mon, 9 Dec 2019 00:55:16 +0000 (08:55 +0800)
The power button was only producing irqs, but no key events,
Forced power down with long key press works, so probably
only a short spike arrives at the SoC.
Further investigation shows that LDORTC2 is off after boot
of the vendor kernel. LDORTC2 is shared with a GPIO at the pmic
which probably transfers the button press to the SoC.
That regulator off at boot, so "regulator-boot-on" is definitively
wrong. So remove that.

Reported-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Fixes: c100ea86e6ab ("ARM: dts: add Netronix E60K02 board common file")
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/e60k02.dtsi

index 6472b05..5a2c532 100644 (file)
                                regulator-name = "LDORTC1";
                                regulator-boot-on;
                        };
-
-                       ldortc2_reg: LDORTC2 {
-                               regulator-name = "LDORTC2";
-                               regulator-boot-on;
-                       };
                };
        };
 };