devicetree: update DT_PROP_LEN documentation about ranges and dma-ranges
Like reg and interrupts, using DT_PROP_LEN doesn't make sense since the ranges & dma-ranges block lengths and values depends on the DT node #address-cells, #size-cells and parents #address-cells value. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
This commit is contained in:
parent
1fb263c9ba
commit
053e54c2de
2 changed files with 5 additions and 1 deletions
|
@ -38,6 +38,9 @@ Changes in this release
|
|||
|
||||
* Added function for getting status of USB device remote wakeup feature.
|
||||
|
||||
* Added ``ranges`` and ``dma-ranges`` as invalid property to be used with DT_PROP_LEN()
|
||||
along ``reg`` and ``interrupts``.
|
||||
|
||||
==========================
|
||||
|
||||
Removed APIs in this release
|
||||
|
|
|
@ -549,7 +549,8 @@
|
|||
* - reg property: use DT_NUM_REGS(node_id) instead
|
||||
* - interrupts property: use DT_NUM_IRQS(node_id) instead
|
||||
*
|
||||
* It is an error to use this macro with the reg or interrupts properties.
|
||||
* It is an error to use this macro with the ranges, dma-ranges, reg
|
||||
* or interrupts properties.
|
||||
*
|
||||
* For other properties, behavior is undefined.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue