[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <62178934-9b16-c79c-387d-91526f7fe732@kernel.org>
Date: Sun, 13 Mar 2022 18:54:57 +0100
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Michael Walle <michael@...le.cc>
Cc: Linus Walleij <linus.walleij@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
Lars Povlsen <lars.povlsen@...rochip.com>,
Steen Hegelund <Steen.Hegelund@...rochip.com>,
Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
Gregory CLEMENT <gregory.clement@...tlin.com>,
Paul Burton <paulburton@...nel.org>,
Quentin Schulz <quentin.schulz@...tlin.com>,
Antoine Tenart <atenart@...nel.org>,
Kavyasree Kotagiri <kavyasree.kotagiri@...rochip.com>,
Nicolas Ferre <nicolas.ferre@...rochip.com>,
"David S . Miller" <davem@...emloft.net>,
UNGLinuxDriver@...rochip.com, linux-gpio@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-mips@...r.kernel.org
Subject: Re: [PATCH v1 8/8] dt-bindings: pinctrl: convert ocelot-pinctrl to
YAML format
On 13/03/2022 17:36, Michael Walle wrote:
> Hi,
>
> wow, you're fast!
>
> Am 2022-03-13 16:55, schrieb Krzysztof Kozlowski:
>
>>> + reg: true
>>
>> maxItems
>
> There are up to two address ranges. The second one is only needed for
> particular controllers (the sparx5 and the lan966x).
>
> Is the following snippet the correct form?
>
> reg:
> items:
> - description: Base address
> - description: Extended pin configuration registers
> minItems: 1
Yes, it's correct. Please also add proper "if:then" under "allOf:" (and
move such allOf under "required:") which changes minItems to two for
such controllers, based on compatible.
Best regards,
Krzysztof
Powered by blists - more mailing lists