mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-10 08:35:47 +00:00
Add a 'const' property to bindings for any properties that are expected to have a specifi known value. For example, #address-cells for an I2C bus should always be '1'. So we can do something like the following in the I2C bus binding: "#address-cells": type: int category: required const: 1 Signed-off-by: Kumar Gala <kumar.gala@linaro.org> Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no> |
||
---|---|---|
.. | ||
child.yaml | ||
clock-1-cell.yaml | ||
clock-2-cell.yaml | ||
fixed-clock.yaml | ||
gpio-1-cell.yaml | ||
gpio-2-cell.yaml | ||
grandchild.yaml | ||
interrupt-1-cell.yaml | ||
interrupt-2-cell.yaml | ||
interrupt-3-cell.yaml | ||
io-channel.yaml | ||
multidir.yaml | ||
parent.yaml | ||
props.yaml | ||
pwm-1-cell.yaml | ||
pwm-0-cell.yaml | ||
sub-node-parent.yaml |