zephyr/doc/guides
Ulf Magnusson a0fceff1a2 scripts: dts: Simplify and improve 'compatible' matching
Instead of

    properties:
        compatible:
            constraint: "foo"

, just have

    compatible: "foo"

at the top level of the binding.

For backwards compatibility, the old 'properties: compatible: ...' form
is still accepted for now, and is treated the same as a single-element
'compatible:'.

The old syntax was inspired by dt-schema (though it isn't
dt-schema-compatible), which is in turn a thin wrapper around
json-schema (the idea is to transform .dts files into YAML and then
verify them).

Maybe the idea was to gradually switch the syntax over to dt-schema and
then be able to use unmodified dt-schema bindings, but dt-schema is
really a different kind of tool (a completely standalone linter), and
works very differently from our stuff (see schemas/dt-core.yaml in the
dt-schema repo to get an idea of just how differently).

Better to keep it simple.

This commit also piggybacks some clarifications to the binding template
re. '#cells:'.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-09-07 10:25:02 -05:00
..
bluetooth Bluetooth: controller: Rename BT_LL_SW to BT_LL_SW_LEGACY 2019-07-22 14:23:42 +02:00
crypto doc: add orphaned crypto docs 2019-04-11 08:08:28 -04:00
debugging doc: fix misspellings in documentation 2019-06-18 15:08:19 -04:00
device_mgmt doc: fix broken references to zephyr files 2019-06-18 16:01:55 -04:00
documentation doc: use :zephyr_file: where appropriate 2019-03-09 09:50:27 -05:00
dts scripts: dts: Simplify and improve 'compatible' matching 2019-09-07 10:25:02 -05:00
kconfig doc: kconfig: Fix typo in documentation for 'optional' on choices 2019-05-23 20:34:54 -04:00
networking doc: net: Update LwM2M block of overview document 2019-09-04 18:27:02 +02:00
optimizations doc: guide for optimizing zephyr 2019-05-21 14:58:41 -04:00
porting arch/x86: remove support for IAMCU ABI 2019-09-07 10:07:42 -04:00
test boards: remove quarl_se_c1000 2019-07-29 21:30:25 -07:00
tools doc: guides: tools: Fix URL to nRF Command-line tools 2019-08-05 12:52:29 +02:00
tracing doc: use :zephyr_file: where appropriate 2019-03-09 09:50:27 -05:00
west doc: west: v0.6.2 fixes a critical v0.6.1 bug 2019-09-05 07:28:07 +02:00
c_library.rst
coccinelle.rst doc: fix misspellings in docs 2019-02-07 22:06:14 -05:00
code-relocation.rst
coverage.rst doc: Use west everywhere to build and flash 2019-08-27 19:36:24 +02:00
env_vars.rst doc: unify documentation on setting environment variables 2019-06-14 14:19:09 -04:00
getting-help.rst doc: Update Slack invitation link 2019-08-05 16:52:15 +02:00
index.rst doc: unify documentation on setting environment variables 2019-06-14 14:19:09 -04:00
modules.rst doc: fix misspellings in documentation 2019-06-18 15:08:19 -04:00