[PATCH v5 2/2] dt-bindings: mtd: davinci: convert to yaml

Krzysztof Kozlowski krzk at kernel.org
Sat Oct 26 11:16:28 PDT 2024


On 18/10/2024 11:12, Marcus Folkesson wrote:
>>> ```
>>>         
>>>
>>> How do I set #address-cells in example-0 to 2?
>>> I guess that is the problem.
>>
>>
>>
>> You just set it... There are dozens/hundreds of schemas doing it, what
>> is exactly a problem here?
> 
> I think I will solve the problem by including the parent nodes.

Just like everyone else or some other way?

> What do you think about this?
> 
> examples:
>   - |
>     aemif: aemif at 68000000 {
>       compatible = "ti,da850-aemif";
>       #address-cells = <2>;
>       #size-cells = <1>;
> 
>       reg = <0x68000000 0x00008000>;
>       ranges = <0 0 0x60000000 0x08000000
>       1 0 0x68000000 0x00008000>;
>       clocks = <&psc0 3>;
>       clock-names = "aemif";
>       clock-ranges;

That's some other way, so no, drop unrelated properties. Look how all
other bindings are doing it - you need some wrapper node.


Best regards,
Krzysztof




More information about the linux-mtd mailing list