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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@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





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux