zephyr/scripts/dts
Kumar Gala b2ba44c1d7 scripts/dts/gen_defines.py: Fix generation for multiple PWMs
If there is more than one PWM than generate a define with a trailing
index for the PWM.  This matches what we do for GPIOs.

So something like:
  DT_PWM_LEDS_RED_PWM_LED_PWMS_CONTROLLER_0
  DT_PWM_LEDS_RED_PWM_LED_PWMS_CONTROLLER_1
  ...
  DT_PWM_LEDS_RED_PWM_LED_PWMS_CONTROLLER_<N>

Fixes #18171

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2019-08-12 17:42:15 +02: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 scripts/dts: add basic test for IO channel property 2019-08-09 13:16:09 -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 scripts: dts: Consistently open text files with utf-8. 2019-08-05 17:47:57 -04:00
edtlib.py scripts/dts: Support 'io-channels' property just like 'pwms' 2019-08-09 13:16:09 -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 PWMs 2019-08-12 17:42:15 +02:00
test-multidir.dts scripts: dts: Add test for multiple binding directories 2019-08-03 14:17:49 -04:00
test.dts scripts/dts: add basic test for IO channel property 2019-08-09 13:16:09 -05:00
testdtlib.py dts: Add new DTS/binding parser 2019-07-29 16:22:17 -04:00
testedtlib.py scripts/dts: add basic test for IO channel property 2019-08-09 13:16:09 -05:00