summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/arm
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2018-06-29 08:19:52 -0600
committerRob Herring <robh@kernel.org>2018-12-13 09:41:49 -0600
commit00ce8a800060c80c6d0c895fad10cacb03277fcc (patch)
treed79a86ad1aeb193608a1c3bdc5153d4275572367 /Documentation/devicetree/bindings/arm
parent4f0e3a57d6eb727c54249542c509e0b7aa122465 (diff)
dt-bindings: Add a writing DT schemas how-to and annotated example
Add a how-to doc on writing DT schema documentation. This gives a description of each section and details on how to validate the DT schema file. The DT schema are written using json-schema vocabulary in a YAML encoded document. Using jsonschema gives us access to existing tooling. A YAML encoding gives us something easy to edit. The example is annotated to help explain what each section does. This example is just the tip of the iceberg, but is it the part most developers writing bindings will interact with. Backing all this up are meta-schema (to validate the binding schemas), some DT core schema, YAML encoded DT output with dtc, and a small number of python scripts to run validation. Cc: Mark Rutland <mark.rutland@arm.com> Cc: devicetree@vger.kernel.org Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/arm')
0 files changed, 0 insertions, 0 deletions