ARM: dts: aspeed: rainier: Remove PSU gpio-keys
authorB. J. Wyman <bjwyman@gmail.com>
Wed, 23 Jun 2021 23:04:01 +0000 (23:04 +0000)
committerJoel Stanley <joel@jms.id.au>
Thu, 21 Oct 2021 06:26:11 +0000 (16:56 +1030)
Remove the gpio-keys entries for the power supply presence lines from
the Rainier device tree. The user space applications are going to change
from using libevdev to libgpiod.

Signed-off-by: B. J. Wyman <bjwyman@gmail.com>
Link: https://lore.kernel.org/r/20210623230401.3050076-1-bjwyman@gmail.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts

index b5f8383e80be85a7d05648ab77ab0614744b4abb..36f6407bb8e69a7baf3cf379dd753809d58bff2e 100644 (file)
                };
        };
 
-       gpio-keys {
-               compatible = "gpio-keys";
-
-               ps0-presence {
-                       label = "ps0-presence";
-                       gpios = <&gpio0 ASPEED_GPIO(S, 0) GPIO_ACTIVE_LOW>;
-                       linux,code = <ASPEED_GPIO(S, 0)>;
-               };
-
-               ps1-presence {
-                       label = "ps1-presence";
-                       gpios = <&gpio0 ASPEED_GPIO(S, 1) GPIO_ACTIVE_LOW>;
-                       linux,code = <ASPEED_GPIO(S, 1)>;
-               };
-
-               ps2-presence {
-                       label = "ps2-presence";
-                       gpios = <&gpio0 ASPEED_GPIO(S, 2) GPIO_ACTIVE_LOW>;
-                       linux,code = <ASPEED_GPIO(S, 2)>;
-               };
-
-               ps3-presence {
-                       label = "ps3-presence";
-                       gpios = <&gpio0 ASPEED_GPIO(S, 3) GPIO_ACTIVE_LOW>;
-                       linux,code = <ASPEED_GPIO(S, 3)>;
-               };
-       };
-
        i2c2mux: i2cmux {
                compatible = "i2c-mux-gpio";
                #address-cells = <1>;