If there is more than one IO Channel than generate a define with a trailing index for the IO Channel. This matches what we do for GPIOs and PWMs. So something like: DT_FOOBAR_IO_CHANNELS_CONTROLLER_0 DT_FOOBAR_IO_CHANNELS_CONTROLLER_1 ... DT_FOOBAR_IO_CHANNELS_CONTROLLER_<N> Fixes #18352 Signed-off-by: Kumar Gala <kumar.gala@linaro.org> |
||
|---|---|---|
| .. | ||
| extract | ||
| test-bindings | ||
| test-bindings-2 | ||
| devicetree.py | ||
| dtlib.py | ||
| edtlib.py | ||
| extract_dts_includes.py | ||
| gen_defines.py | ||
| test-multidir.dts | ||
| test.dts | ||
| testdtlib.py | ||
| testedtlib.py | ||