[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <bfxyod5l2s6g3j47be7mjh6i7wgjapka2q5b6f2mleipiai6gm@hfvclvkzrtyd>
Date: Sat, 11 Jan 2025 10:25:45 +0100
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Dario Binacchi <dario.binacchi@...rulasolutions.com>
Cc: linux-kernel@...r.kernel.org, linux-amarula@...rulasolutions.com,
Alexandre Torgue <alexandre.torgue@...s.st.com>, Conor Dooley <conor+dt@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>, Maxime Coquelin <mcoquelin.stm32@...il.com>,
Michael Turquette <mturquette@...libre.com>, Philipp Zabel <p.zabel@...gutronix.de>,
Rob Herring <robh@...nel.org>, Stephen Boyd <sboyd@...nel.org>, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-clk@...r.kernel.org,
linux-stm32@...md-mailman.stormreply.com
Subject: Re: [PATCH v2 1/4] dt-bindings: clock: convert stm32 rcc bindings to
json-schema
On Thu, Jan 09, 2025 at 10:18:28PM +0100, Dario Binacchi wrote:
> +maintainers:
> + - Dario Binacchi <dario.binacchi@...rulasolutions.com>
> +
> +description: |
> + The RCC IP is both a reset and a clock controller.
> + The reset phandle argument is the bit number within the RCC registers bank,
> + starting from RCC base address.
> +
> +properties:
> + compatible:
> + oneOf:
> + - items:
> + - const: st,stm32f42xx-rcc
> + - const: st,stm32-rcc
> + - items:
> + - enum:
> + - st,stm32f469-rcc
> + - const: st,stm32f42xx-rcc
> + - const: st,stm32-rcc
> + - items:
> + - const: st,stm32f746-rcc
Why this isn't just part of enum with first group/list? Different
groups/lists are for different fallbacks and I am pretty sure fallback
is the same.
> + - const: st,stm32-rcc
> + - items:
> + - enum:
> + - st,stm32f769-rcc
> + - const: st,stm32f746-rcc
> + - const: st,stm32-rcc
> + - items:
> + - const: st,stm32h743-rcc
Same here.
Rest looks good, so with combining entries above:
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Best regards,
Krzysztof
Powered by blists - more mailing lists