[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <3f5fdfca-1bbc-d6aa-4649-c50a9cd92052@microchip.com>
Date: Fri, 25 Feb 2022 11:26:12 +0100
From: Nicolas Ferre <nicolas.ferre@...rochip.com>
To: Michael Walle <michael@...le.cc>
CC: Kavyasree Kotagiri <kavyasree.kotagiri@...rochip.com>,
<arnd@...db.de>, <alexandre.belloni@...tlin.com>, <olof@...om.net>,
<soc@...nel.org>, <robh+dt@...nel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<UNGLinuxDriver@...rochip.com>, <Manohar.Puri@...rochip.com>
Subject: Re: [PATCH v7] ARM: dts: add DT for lan966 SoC and 2-port board
pcb8291
On 24/02/2022 at 15:55, Michael Walle wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
>
> Hi,
>
> Am 2022-02-24 15:51, schrieb Nicolas Ferre:
>>>> +/ {
>>>> + model = "Microchip LAN966 family SoC";
>>>> + compatible = "microchip,lan966";
>>>
>>> As mentioned earlier, this isn't a documented compatible string. So,
>>> I guess without overwriting this in the board dts it will throw an
>>> error with the dt schema validator. OTOH, there are many dtsi files
>>> in arch/arm/boot/dts/ doing this. I don't know what is correct here.
>>
>> I see it documented here:
>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/arm/atmel-at91.yaml#n165
>>
>> Isn't it what is expected?
>
> That only documents
> compatible = "microchip,lan9662-pcb8291", "microchip,lan9662",
> "microchip,lan966";
>
> But not the one above.
Oh, you mean the "microchip,lan966" string alone in the compatibility
string and not with the other ones before it...
I didn't know it could be different in yaml syntax. Thanks for
highlighting that.
Best regards,
Nicolas
>
>>
>>> Everthing else looks good.
>>
>> Thanks a lot for your reviews.
>>
>>> Reviewed-by: Michael Walle <michael@...le.cc>
>>
>> Acked-by: Nicolas Ferre <nicolas.ferre@...rochip.com>
>> I'm queuing it to at91-dt branch for reaching arm-soc in 5.18 merge
>> window.
>
> Nice, then I'm good to go for my patches on top of this :)
>
> -michael
--
Nicolas Ferre
Powered by blists - more mailing lists