Re: [PATCH 05/14] ARM: dts: aspeed-g5: Fix aspeed,external-nodes description

From: Andrew Jeffery
Date: Thu Dec 05 2019 - 00:12:23 EST




On Wed, 4 Dec 2019, at 01:13, Rob Herring wrote:
> On Tue, Dec 3, 2019 at 6:03 AM Andrew Jeffery <andrew@xxxxxxxx> wrote:
> >
> > The existing approach lead to an error from the dtbs_check:
> >
> > pinctrl: aspeed,external-nodes: [[8, 9]] is too short
>
> This one where we have list of phandles is fixed in dtc. I need to
> update the kernel's copy.

Ah, cool.

>
> > Cc: Adriana Kobylak <anoo@xxxxxxxxxx>
> > Cc: Brian Yang <yang.brianc.w@xxxxxxxxxxxx>
> > Cc: Joel Stanley <joel@xxxxxxxxx>
> > Cc: John Wang <wangzqbj@xxxxxxxxxx>
> > Cc: Ken Chen <chen.kenyy@xxxxxxxxxxxx>
> > Cc: Tao Ren <taoren@xxxxxx>
> > Cc: Xo Wang <xow@xxxxxxxxxx>
> > Cc: Yuan Yao <yao.yuan@xxxxxxxxxx>
> > Signed-off-by: Andrew Jeffery <andrew@xxxxxxxx>
> > Reviewed-by: Joel Stanley <joel@xxxxxxxxx>
> > ---
> > arch/arm/boot/dts/aspeed-bmc-arm-centriq2400-rep.dts | 4 +----
> > arch/arm/boot/dts/aspeed-bmc-arm-stardragon4800-rep2.dts | 4 +----
> > arch/arm/boot/dts/aspeed-bmc-inspur-fp5280g2.dts | 9 +++++++--
> > arch/arm/boot/dts/aspeed-bmc-intel-s2600wf.dts | 4 +----
> > arch/arm/boot/dts/aspeed-bmc-opp-lanyang.dts | 4 +----
> > arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts | 4 +----
> > arch/arm/boot/dts/aspeed-bmc-opp-swift.dts | 4 +----
> > arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts | 4 +----
> > arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts | 2 +--
> > arch/arm/boot/dts/aspeed-g5.dtsi | 3 +--
> > 10 files changed, 8 insertions(+), 34 deletions(-)
> >
> > diff --git a/arch/arm/boot/dts/aspeed-bmc-arm-centriq2400-rep.dts b/arch/arm/boot/dts/aspeed-bmc-arm-centriq2400-rep.dts
> > index c2ece0b91885..de9612e49c69 100644
> > --- a/arch/arm/boot/dts/aspeed-bmc-arm-centriq2400-rep.dts
> > +++ b/arch/arm/boot/dts/aspeed-bmc-arm-centriq2400-rep.dts
> > @@ -211,10 +211,6 @@
> > status = "okay";
> > };
> >
> > -&pinctrl {
> > - aspeed,external-nodes = <&gfx &lhc>;
> > -};
> > -
> > &gpio {
> > pin_gpio_c7 {
> > gpio-hog;
> > diff --git a/arch/arm/boot/dts/aspeed-bmc-arm-stardragon4800-rep2.dts b/arch/arm/boot/dts/aspeed-bmc-arm-stardragon4800-rep2.dts
> > index 2c29ac037d32..022d0744d786 100644
> > --- a/arch/arm/boot/dts/aspeed-bmc-arm-stardragon4800-rep2.dts
> > +++ b/arch/arm/boot/dts/aspeed-bmc-arm-stardragon4800-rep2.dts
> > @@ -200,10 +200,6 @@
> > status = "okay";
> > };
> >
> > -&pinctrl {
> > - aspeed,external-nodes = <&gfx &lhc>;
> > -};
> > -
> > &gpio {
> > pin_gpio_c7 {
> > gpio-hog;
> > diff --git a/arch/arm/boot/dts/aspeed-bmc-inspur-fp5280g2.dts b/arch/arm/boot/dts/aspeed-bmc-inspur-fp5280g2.dts
> > index c17bb7fce7ff..d69da58476fe 100644
> > --- a/arch/arm/boot/dts/aspeed-bmc-inspur-fp5280g2.dts
> > +++ b/arch/arm/boot/dts/aspeed-bmc-inspur-fp5280g2.dts
> > @@ -782,8 +782,13 @@
> > memory-region = <&gfx_memory>;
> > };
> >
> > -&pinctrl {
> > - aspeed,external-nodes = <&gfx &lhc>;
> > +&gpio {
> > + pin_gpio_b7 {
> > + gpio-hog;
> > + gpios = <ASPEED_GPIO(B,7) GPIO_ACTIVE_LOW>;
> > + output-high;
> > + line-name = "BMC_INIT_OK";
> > + };
>
> Seems like an unrelated change?

Yeah, that seems to be a bad rebase conflict resolution.

Thanks,

Andrew