[PATCH] dt-bindings: mtd: microchip,mchp23k256: convert to DT schema
Akhila YS
akhilayalmati at gmail.com
Fri Jan 2 02:31:03 PST 2026
On 02-01-2026 15:48, Krzysztof Kozlowski wrote:
> 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.
Yes, I will remove the above cells in the next revision.
>
> Best regards,
> Krzysztof
--
Best Regards,
Akhila.
More information about the linux-mtd
mailing list