Re: [PATCH] arm64: dts: ensure backward compatibility of the AP807 Xenon

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



czw., 17 cze 2021 o 15:14 Gregory CLEMENT
<gregory.clement@xxxxxxxxxxx> napisał(a):
>
> Hi Marcin,
>
> > A recent switch to a dedicated AP807 compatible string for the Xenon
> > SD/MMC controller result in the driver not being probed when
> > using updated device tree with the older kernel revisions.
> > It may also be problematic for other OSs/firmware that use
> > Linux device tree sources as a reference. Resolve the problem
> > with backward compatibility by restoring a previous compatible
> > string as secondary one.
> >
> > Signed-off-by: Marcin Wojtas <mw@xxxxxxxxxxxx>
>
> Applied on mvebu/dt64
>

Thank you!
Marcin

>
> > ---
> >  arch/arm64/boot/dts/marvell/armada-ap807.dtsi | 3 ++-
> >  1 file changed, 2 insertions(+), 1 deletion(-)
> >
> > diff --git a/arch/arm64/boot/dts/marvell/armada-ap807.dtsi b/arch/arm64/boot/dts/marvell/armada-ap807.dtsi
> > index d9bbbfa4b4eb..4a23f65d475f 100644
> > --- a/arch/arm64/boot/dts/marvell/armada-ap807.dtsi
> > +++ b/arch/arm64/boot/dts/marvell/armada-ap807.dtsi
> > @@ -29,6 +29,7 @@ cpu_clk: clock-cpu {
> >  };
> >
> >  &ap_sdhci0 {
> > -     compatible = "marvell,armada-ap807-sdhci";
> > +     compatible = "marvell,armada-ap807-sdhci",
> > +                  "marvell,armada-ap806-sdhci"; /* Backward compatibility */
> >  };
> >
> > --
> > 2.29.0
> >
> >
> > _______________________________________________
> > linux-arm-kernel mailing list
> > linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
> > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>
> --
> Gregory Clement, Bootlin
> Embedded Linux and Kernel engineering
> http://bootlin.com




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux