[PATCH] dt-bindings: mtd: microchip,mchp23k256: convert to DT schema

Krzysztof Kozlowski krzk at kernel.org
Fri Jan 2 02:18:49 PST 2026


On 02/01/2026 09:17, Akhila YS wrote:
>>> +properties:
>>> +  compatible:
>>> +    enum:
>>> +      - microchip,mchp23k256
>>> +      - microchip,mchp23lcv1024
>>> +
>>> +  reg:
>>> +    maxItems: 1
>>> +
>>> +  "#address-cells":
>>> +    const: 1
>>> +
>>> +  "#size-cells":
>>> +    const: 1
>> Pretty incomplete. Old binding and above cells claim there can be child
>> nodes, so please add them and test. Works? No. Shall work? Yes... so
>> either old binding was incorrect or new binding is incomplete. I did not
>> check the driver, though.
> 
> 
> Size cells and Address cells are not required as there is no child node

Then what is the point of address/size cells if you do not have children?

Anyway, read carefully old binding and the driver code.

Best regards,
Krzysztof



More information about the linux-mtd mailing list