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 |
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, "Lei YU" <<a href="mailto:mine260309@gmail.com">mine260309@gmail.com</a>> 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 <<a href="mailto:mine260309@gmail.com">mine260309@gmail.com</a>><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 = <&gpio ASPEED_GPIO(F, 7) GPIO_ACTIVE_LOW>;<br> linux,code = <ASPEED_GPIO(F, 7)>;<br> };<br> +<br> + pcie-e2b-present{<br> + label = "pcie-e2b-present";<br> + gpios = <&gpio ASPEED_GPIO(E, 7) GPIO_ACTIVE_LOW>;<br> + linux,code = <ASPEED_GPIO(E, 7)>;<br> + };<br> };<br> <br> leds {<br> <font color="#888888">--<br> 1.9.1<br> <br> </font></blockquote></div><br></div></div></div>
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>
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 --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 {
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(+)