mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-14 19:35:36 +00:00
Implement a nice generalization suggested by Bobby Noelte. Instead of having a generic #cells key in bindings, have source-specific *-cells keys. Some examples: interrupt-cells: - irq - priority - flags gpio-cells: - pin - flags pwm-cells: - channel - period This makes bindings a bit easier to read, and allows a node to be a controller for many different 'phandle-array' properties. The prefix before *-cells is derived from the property name, meaning there's no fixed set of *-cells keys. This is possible because of the earlier 'phandle-array' generalization. The older #cells key is supported for backwards compatibility, but generates a deprecation warning. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no> |
||
---|---|---|
.. | ||
bar-bus.yaml | ||
child-binding.yaml | ||
child.yaml | ||
defaults.yaml | ||
deprecated-include.yaml | ||
deprecated.yaml | ||
device-on-bar-bus.yaml | ||
device-on-foo-bus.yaml | ||
false-positive.yaml | ||
foo-bus.yaml | ||
foo-optional.yaml | ||
foo-required.yaml | ||
gpio-dst.yaml | ||
gpio-src.yaml | ||
grandchild-1.yaml | ||
grandchild-2.yaml | ||
grandchild-3.yaml | ||
interrupt-1-cell.yaml | ||
interrupt-2-cell.yaml | ||
interrupt-3-cell.yaml | ||
multidir.yaml | ||
order-1.yaml | ||
order-2.yaml | ||
parent.yaml | ||
phandle-array-controller-1.yaml | ||
phandle-array-controller-2.yaml | ||
props.yaml |