mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-09 02:55:24 +00:00
Use Galak's idea from https://github.com/zephyrproject-rtos/zephyr/pull/18313 to read the 'properties: compatible: constraint: "foo"' string from bindings in a more robust way. First, check if any of the compatible strings are in the file (needed as an optimization). If any of them are, do a more careful check for the 'properties: compatible: constraint: ...' value matching a compatible, to filter out false positives from comments and the like. This commit a no-op in itself besides making things a bit more robust, but it'll make later work easier (supporting multiple compatibles for a binding, in a dt-schema-like way). Co-authored-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 | ||
false-positive.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 |