drivers: pwm: stm32: add support for polarity

Add support for the polarity flag in the STM32 PWM driver.

STM32 boards using PWM have been updated accordingly.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
Gerard Marull-Paretas 2020-04-23 16:10:12 +02:00 committed by Carles Cufí
commit 76f0d72e5d
36 changed files with 162 additions and 130 deletions

View file

@ -20,7 +20,7 @@
status = "disabled";
st,prescaler = <10000>;
label = "PWM_1";
#pwm-cells = <2>;
#pwm-cells = <3>;
};
};
};