doc: dts: Include #cells in legacy syntax section
Give an example for an interrupt controller, where 'interrupt-cells' should be used instead. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
parent
bc22b3a020
commit
a778868805
1 changed files with 11 additions and 0 deletions
|
@ -485,6 +485,12 @@ The binding below shows various legacy syntax.
|
||||||
type: int
|
type: int
|
||||||
category: required
|
category: required
|
||||||
|
|
||||||
|
# Assume this is a binding for an interrupt controller
|
||||||
|
"#cells":
|
||||||
|
- irq
|
||||||
|
- priority
|
||||||
|
- flags
|
||||||
|
|
||||||
This should now be written like this:
|
This should now be written like this:
|
||||||
|
|
||||||
.. code-block:: yaml
|
.. code-block:: yaml
|
||||||
|
@ -512,6 +518,11 @@ This should now be written like this:
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
|
interrupt-cells:
|
||||||
|
- irq
|
||||||
|
- priority
|
||||||
|
- cells
|
||||||
|
|
||||||
The legacy syntax is still supported for backwards compatibility, but generates
|
The legacy syntax is still supported for backwards compatibility, but generates
|
||||||
deprecation warnings. Support will be dropped in the Zephyr 2.3 release.
|
deprecation warnings. Support will be dropped in the Zephyr 2.3 release.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue