Re: [PATCH] dt-bindings: mtd: hisilicon,504-nfc: convert to DT schema

From: Miquel Raynal

Date: Fri Mar 13 2026 - 04:57:14 EST


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.

Thanks,
Miquèl