Re: [PATCH] dt-bindings: mtd: hisilicon,504-nfc: convert to DT schema
From: Miquel Raynal
Date: Fri Mar 13 2026 - 04:57:23 EST
On 13/03/2026 at 09:55:53 +01, Miquel Raynal <miquel.raynal@xxxxxxxxxxx> wrote:
> Hello,
>
>>> + "#address-cells":
>>> + const: 1
>>> +
>>> + "#size-cells":
>>> + const: 0
>>
>> These can be dropped as the child (partitions) doesn't have an
>> address.
>
> Well, the child should, because it should be the NAND device (with, as
> address, the chip CS) instead of 'partitions'. If the driver in front of
> that binding does not support that, please wait for Frank Li's work to
> clearly identify the legacy bindings to be merged and reference it in
> the top level allOf.
I forgot to share the link, here it is:
https://lore.kernel.org/linux-mtd/20260309200351.1791162-1-Frank.Li@xxxxxxx/T/#t
>
> Thanks,
> Miquèl