Re: [PATCH v2 08/12] ARM: dts: imx6dl-pico: fix board compatibles
From: Ahmad Fatoum
Date: Thu Oct 01 2020 - 06:19:13 EST
Hi,
On 10/1/20 9:32 AM, Krzysztof Kozlowski wrote:
> On Thu, Oct 01, 2020 at 09:22:03AM +0200, Ahmad Fatoum wrote:
>>> diff --git a/arch/arm/boot/dts/imx6dl-pico-hobbit.dts b/arch/arm/boot/dts/imx6dl-pico-hobbit.dts
>>> index d7403c5c4337..08fedcbcc91b 100644
>>> --- a/arch/arm/boot/dts/imx6dl-pico-hobbit.dts
>>> +++ b/arch/arm/boot/dts/imx6dl-pico-hobbit.dts
>>> @@ -13,5 +13,5 @@
>>>
>>> / {
>>> model = "TechNexion PICO-IMX6 DualLite/Solo Board and Hobbit baseboard";
>>> - compatible = "technexion,imx6dl-pico", "fsl,imx6dl";
>>> + compatible = "technexion,imx6dl-pico-hobbit", "fsl,imx6dl";
>>> };
>
> The bindings, added in commit 53b61224ca40 ("dt-bindings: arm: fsl: Add
> TechNexion boards"), describe that these are the only valid compatibles.
> "technexion,imx6dl-pico" is not valid and would require changing the
> bindings, thus breaking compatibility which you want to avoid.>
> The bindings, not what is present in DTS, is considered ABI.
The existing binding doesn't cover these boards then and needs to be
extended, no? How about following patch?
[I guess we need to keep the two-compatible list they were originally
in for compatibility even if it's unused among upstream device trees?]
Cheers,
Ahmad
-------------------------8<---------------------------