Skip to contentSkip to conversation

ARM: dts: aspeed: zaius: Add pcie-e2b-present gpio key

PATCH Applied Lei YU 3 participants 4 messages Jan 4, 2018 – Jan 16, 2018

Subsystems (2)
lore
Share & tools
lore

Lei YU

author
#0 lore raw

PATCH 1/1 ARM: dts: aspeed: zaius: Add pcie-e2b-present gpio key

Add GPIO key to check presence of PCIE E2B

---
 arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts +6 -0
index 17f2000..f583dcc 100644
@@ -55,6 +55,12 @@
 			gpios = <&gpio ASPEED_GPIO(F, 7) GPIO_ACTIVE_LOW>;
 			linux,code = <ASPEED_GPIO(F, 7)>;
 		};
+
+		pcie-e2b-present{
+			label = "pcie-e2b-present";
+			gpios = <&gpio ASPEED_GPIO(E, 7) GPIO_ACTIVE_LOW>;
+			linux,code = <ASPEED_GPIO(E, 7)>;
+		};
 	};
 
 	leds {
Signature · 1 line
1.9.1
maintainer
#1 lore raw

On 4 Jan. 2018 20:24, "Lei YU" <[email protected]> wrote:

Add GPIO key to check presence of PCIE E2B

Xo, can I get an ack please?

---
 arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts | 6 ++++++
 1 file changed, 6 insertions(+)
(quoted diff) +0 -0

b/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
index 17f2000..f583dcc 100644

arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts +6 -0
@@ -55,6 +55,12 @@
                        gpios = <&gpio ASPEED_GPIO(F, 7) GPIO_ACTIVE_LOW>;
                        linux,code = <ASPEED_GPIO(F, 7)>;
                };
+
+               pcie-e2b-present{
+                       label = "pcie-e2b-present";
+                       gpios = <&gpio ASPEED_GPIO(E, 7) GPIO_ACTIVE_LOW>;
+                       linux,code = <ASPEED_GPIO(E, 7)>;
+               };
        };
 
        leds {

--
1.9.1

Acked-by
#2 lore raw

Sorry, just got back online after travel nonsense.

Quoted 35 lines · Joel Stanley

On 4 Jan. 2018 20:24, "Lei YU" <[email protected]> wrote:

Add GPIO key to check presence of PCIE E2B

Xo, can I get an ack please?

---
 arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts +6 -1
index 17f2000..f583dcc 100644
@@ -55,6 +55,12 @@
                        gpios = <&gpio ASPEED_GPIO(F, 7) GPIO_ACTIVE_LOW>;
                        linux,code = <ASPEED_GPIO(F, 7)>;
                };
+
+               pcie-e2b-present{
+                       label = "pcie-e2b-present";
+                       gpios = <&gpio ASPEED_GPIO(E, 7) GPIO_ACTIVE_LOW>;
+                       linux,code = <ASPEED_GPIO(E, 7)>;
+               };
        };
 
        leds {
--
Quoted 3 lines

1.9.1

maintainer Applied
#3 lore raw
Quoted 15 lines · Xo Wang

Sorry, just got back online after travel nonsense.

Quoted 12 lines · Joel Stanley

On 4 Jan. 2018 20:24, "Lei YU" <[email protected]> wrote:

Add GPIO key to check presence of PCIE E2B

Xo, can I get an ack please?

Applied to dev-4.10.

Cheers,

Joel