All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: aspeed: Rainier remove PSU gpio-keys
@ 2021-06-23 23:04 Brandon Wyman
  2021-06-23 23:08 ` Andrew Jeffery
  0 siblings, 1 reply; 3+ messages in thread
From: Brandon Wyman @ 2021-06-23 23:04 UTC (permalink / raw)
  To: Joel Stanley, openbmc, linux-aspeed; +Cc: B. J. Wyman

From: "B. J. Wyman" <bjwyman@gmail.com>

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>
---
 arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 28 --------------------
 1 file changed, 28 deletions(-)

diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
index 941c0489479a..d6ed583cfb1b 100644
--- a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
@@ -116,34 +116,6 @@ vga_memory: region@bf000000 {
 		};
 	};
 
-	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>;
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] ARM: dts: aspeed: Rainier remove PSU gpio-keys
  2021-06-23 23:04 [PATCH] ARM: dts: aspeed: Rainier remove PSU gpio-keys Brandon Wyman
@ 2021-06-23 23:08 ` Andrew Jeffery
  2021-06-24 18:01   ` Brandon Wyman
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Jeffery @ 2021-06-23 23:08 UTC (permalink / raw)
  To: Brandon Wyman, Joel Stanley, openbmc, linux-aspeed



On Thu, 24 Jun 2021, at 08:34, Brandon Wyman wrote:
> From: "B. J. Wyman" <bjwyman@gmail.com>
> 
> 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.
> 

Have they already added support for libgpiod? We should support both at 
least while we're switching over.

Andrew

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ARM: dts: aspeed: Rainier remove PSU gpio-keys
  2021-06-23 23:08 ` Andrew Jeffery
@ 2021-06-24 18:01   ` Brandon Wyman
  0 siblings, 0 replies; 3+ messages in thread
From: Brandon Wyman @ 2021-06-24 18:01 UTC (permalink / raw)
  To: Andrew Jeffery, Joel Stanley, openbmc, linux-aspeed


On 2021-06-23 18:08, Andrew Jeffery wrote:
>
> On Thu, 24 Jun 2021, at 08:34, Brandon Wyman wrote:
>> From: "B. J. Wyman" <bjwyman@gmail.com>
>>
>> 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.
>>
> Have they already added support for libgpiod? We should support both at
> least while we're switching over.
There is a change, hopefully nearing the end of review, that will 
support both.
>
> Andrew

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-06-24 18:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-23 23:04 [PATCH] ARM: dts: aspeed: Rainier remove PSU gpio-keys Brandon Wyman
2021-06-23 23:08 ` Andrew Jeffery
2021-06-24 18:01   ` Brandon Wyman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.