[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2b89379a-4d21-450e-b273-b6986dcf5b7a@kernel.org>
Date: Sat, 26 Oct 2024 20:16:28 +0200
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Marcus Folkesson <marcus.folkesson@...il.com>
Cc: Miquel Raynal <miquel.raynal@...tlin.com>,
Richard Weinberger <richard@....at>, Vignesh Raghavendra <vigneshr@...com>,
Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, linux-mtd@...ts.infradead.org,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org
Subject: Re: [PATCH v5 2/2] dt-bindings: mtd: davinci: convert to yaml
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@...00000 {
> 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
Powered by blists - more mailing lists