diff mbox series

[linux,dev-4.10] ARM: dts: aspeed: zaius: Add pcie-e2b-present gpio key

Message ID 1515057847-30492-1-git-send-email-mine260309@gmail.com
State Accepted, archived
Headers show
Series [linux,dev-4.10] ARM: dts: aspeed: zaius: Add pcie-e2b-present gpio key | expand

Commit Message

Lei YU Jan. 4, 2018, 9:24 a.m. UTC
Add GPIO key to check presence of PCIE E2B

Signed-off-by: Lei YU <mine260309@gmail.com>
---
 arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Joel Stanley Jan. 5, 2018, 1:58 a.m. UTC | #1
On 4 Jan. 2018 20:24, "Lei YU" <mine260309@gmail.com> wrote:

Add GPIO key to check presence of PCIE E2B


Xo, can I get an ack please?



Signed-off-by: Lei YU <mine260309@gmail.com>
---
 arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
b/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
index 17f2000..f583dcc 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
@@ -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
<div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">On 4 Jan. 2018 20:24, &quot;Lei YU&quot; &lt;<a href="mailto:mine260309@gmail.com">mine260309@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Add GPIO key to check presence of PCIE E2B<br></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">Xo, can I get an ack please?</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Signed-off-by: Lei YU &lt;<a href="mailto:mine260309@gmail.com">mine260309@gmail.com</a>&gt;<br>
---<br>
 arch/arm/boot/dts/aspeed-bmc-<wbr>opp-zaius.dts | 6 ++++++<br>
 1 file changed, 6 insertions(+)<br>
<br>
diff --git a/arch/arm/boot/dts/aspeed-<wbr>bmc-opp-zaius.dts b/arch/arm/boot/dts/aspeed-<wbr>bmc-opp-zaius.dts<br>
index 17f2000..f583dcc 100644<br>
--- a/arch/arm/boot/dts/aspeed-<wbr>bmc-opp-zaius.dts<br>
+++ b/arch/arm/boot/dts/aspeed-<wbr>bmc-opp-zaius.dts<br>
@@ -55,6 +55,12 @@<br>
                        gpios = &lt;&amp;gpio ASPEED_GPIO(F, 7) GPIO_ACTIVE_LOW&gt;;<br>
                        linux,code = &lt;ASPEED_GPIO(F, 7)&gt;;<br>
                };<br>
+<br>
+               pcie-e2b-present{<br>
+                       label = &quot;pcie-e2b-present&quot;;<br>
+                       gpios = &lt;&amp;gpio ASPEED_GPIO(E, 7) GPIO_ACTIVE_LOW&gt;;<br>
+                       linux,code = &lt;ASPEED_GPIO(E, 7)&gt;;<br>
+               };<br>
        };<br>
<br>
        leds {<br>
<font color="#888888">--<br>
1.9.1<br>
<br>
</font></blockquote></div><br></div></div></div>
Xo Wang Jan. 5, 2018, 6:48 p.m. UTC | #2
Sorry, just got back online after travel nonsense.

On Thu, Jan 4, 2018 at 5:58 PM, Joel Stanley <joel@jms.id.au> wrote:
>
>
> On 4 Jan. 2018 20:24, "Lei YU" <mine260309@gmail.com> wrote:
>
> Add GPIO key to check presence of PCIE E2B
>
>
> Xo, can I get an ack please?
>
>
>
> Signed-off-by: Lei YU <mine260309@gmail.com>
> ---
>  arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
> b/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
> index 17f2000..f583dcc 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
> @@ -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: Xo Wang <xow@google.com>
Joel Stanley Jan. 16, 2018, 7:42 p.m. UTC | #3
On Fri, Jan 5, 2018 at 12:48 PM, Xo Wang <xow@google.com> wrote:
> Sorry, just got back online after travel nonsense.
>
> On Thu, Jan 4, 2018 at 5:58 PM, Joel Stanley <joel@jms.id.au> wrote:
>>
>>
>> On 4 Jan. 2018 20:24, "Lei YU" <mine260309@gmail.com> wrote:
>>
>> Add GPIO key to check presence of PCIE E2B
>>
>>
>> Xo, can I get an ack please?
>>
>>
>>
>> Signed-off-by: Lei YU <mine260309@gmail.com>

Applied to dev-4.10.

Cheers,

Joel
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts b/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
index 17f2000..f583dcc 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
@@ -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 {