devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Multiline in device-trees bindings
@ 2022-04-24  8:34 David Heidelberg
  2022-04-24 10:44 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 2+ messages in thread
From: David Heidelberg @ 2022-04-24  8:34 UTC (permalink / raw)
  To: bjorn.andersson, krzysztof.kozlowski; +Cc: devicetree

Hi.

Often is suggested to drop `|` and `>` for the `description` inside 
device-tree bindings.

I haven't found any recommendation related to the device-tree bindings, 
but from [1] it seems to be even used in example.

My main concern would be, that using block style indicators [2] can make 
text more readable in future, when at some point eye pleasing 
documentation gets generated from the device-tree YAML files.

Would be nice to have consensus when to use them and when not to. Maybe 
add it into documentation or reference YAML documentation with addition 
of specific recommendation for the kernel project?

Thank you

David

[1] 
https://www.kernel.org/doc/html/latest/devicetree/bindings/writing-schema.html?highlight=binding#example-schema

[2] https://yaml-multiline.info/


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

end of thread, other threads:[~2022-04-24 10:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-24  8:34 Multiline in device-trees bindings David Heidelberg
2022-04-24 10:44 ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).