We use the following commands to rename any _PWM_{CONTROLLER,CHANNEL}
to *_PWMS_{CONTROLLER,CHANNEL}
Used the following commands to make these changes:
git grep -l '[A-Z_0-9]*_PWM_CONTROLLER' | xargs sed -i 's/\([A-Z_0-9]*\)_PWM_CONTROLLER/DT_ALIAS_\1_PWMS_CONTROLLER/g'
git grep -l '[A-Z_0-9]*_PWM_CHANNEL' | xargs sed -i 's/\([A-Z_0-9]*\)_PWM_CHANNEL/DT_ALIAS_\1_PWMS_CHANNEL/g'
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
11 lines
266 B
YAML
11 lines
266 B
YAML
sample:
|
|
name: RGB LED
|
|
tests:
|
|
sample.rgb_led:
|
|
filter: DT_ALIAS_RED_PWM_LED_PWMS_CONTROLLER and
|
|
DT_ALIAS_GREEN_PWM_LED_PWMS_CONTROLLER and
|
|
DT_ALIAS_BLUE_PWM_LED_PWMS_CONTROLLER
|
|
tags: drivers pwm
|
|
depends_on: pwm
|
|
harness: led
|