public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* arm/rockchip.yaml - many separate entries instead of enums
@ 2022-03-29 17:05 Krzysztof Kozlowski
  2022-03-29 20:54 ` Heiko Stübner
  0 siblings, 1 reply; 3+ messages in thread
From: Krzysztof Kozlowski @ 2022-03-29 17:05 UTC (permalink / raw)
  To: Heiko Stuebner; +Cc: devicetree@vger.kernel.org, Rob Herring, linux-rockchip

Hi Heiko,

I found that Documentation/devicetree/bindings/arm/rockchip.yaml uses
pattern of one board per item in oneOf.

This leads to quite big file, with many entries, although gives nice
description for each board.

I find enum-based pattern, like FSL [1], much more readable and compact.
What do you think? I could re-organize the arm/rockchip.yaml, but I
don't want to mess with your preference.

[1]
https://elixir.bootlin.com/linux/latest/source/Documentation/devicetree/bindings/arm/fsl.yaml#L191

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-03-30  7:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-29 17:05 arm/rockchip.yaml - many separate entries instead of enums Krzysztof Kozlowski
2022-03-29 20:54 ` Heiko Stübner
2022-03-30  7:16   ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox