Skip to content

Conversation

@rruuaanng
Copy link
Contributor

@rruuaanng rruuaanng commented Oct 31, 2025

https://github.com/torvalds/linux/blob/master/Documentation/devicetree/bindings/cpufreq/qcom-cpufreq-nvmem.yaml

Currently, we put example nodes directly in the description, which can make the description very long, especially for complex bindings.
The upstream examples keyword looks promising, as it separates example nodes from the description.
We can access the example through Binding.example in edtlib, which may also be beneficial for future documentation work.

Add an `examples` keyword to the binding to provide a minimal example node for the binding. Signed-off-by: James Roy <rruuaanng@outlook.com>
@kartben
Copy link
Contributor

kartben commented Nov 1, 2025

You should stick to the original way where examples is an array

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants