zephyr/scripts/dts
Kumar Gala a0a576d384 scripts/dts/gen_defines.py: Fix generation for multiple IO Channels
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>
2019-08-19 14:48:44 -05:00
..
extract dts: riscv: Add sifive,plic-1.0.0 binding and fix riscv,ndev values 2019-08-02 11:44:09 +02:00
test-bindings dts: dtlib/edtlib: Add a syntax-based type-checking system 2019-08-13 07:41:45 -05:00
test-bindings-2 scripts: dts: Add test for multiple binding directories 2019-08-03 14:17:49 -04:00
devicetree.py scripts: dts: Consistently open text files with utf-8. 2019-08-05 17:47:57 -04:00
dtlib.py dts: dtlib: Fix parsing of character literals 2019-08-13 07:41:45 -05:00
edtlib.py dts: edtlib: Fix outdated doc comment for _init_devices() 2019-08-13 07:41:45 -05:00
extract_dts_includes.py scripts/dts: Fix detection of a GPIO specifier 2019-08-07 13:15:51 -04:00
gen_defines.py scripts/dts/gen_defines.py: Fix generation for multiple IO Channels 2019-08-19 14:48:44 -05:00
test-multidir.dts scripts: dts: Add test for multiple binding directories 2019-08-03 14:17:49 -04:00
test.dts dts: dtlib/edtlib: Add a syntax-based type-checking system 2019-08-13 07:41:45 -05:00
testdtlib.py dts: dtlib: Fix parsing of character literals 2019-08-13 07:41:45 -05:00
testedtlib.py dts: dtlib/edtlib: Add a syntax-based type-checking system 2019-08-13 07:41:45 -05:00