aboutsummaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-stm32-lp.c
AgeCommit message (Collapse)AuthorFilesLines
2018-08-20pwm: stm32-lp: Remove useless loop in stm32_pwm_lp_remove()Fabrice Gasnier1-3/+1
LPTimer has only one pwm channel (npwm = 1). Remove useless for loop in remove routine. Signed-off-by: Fabrice Gasnier <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
2018-03-28pwm: stm32: LPTimer: Use 3 cells ->of_xlate()Gerald Baeza1-0/+2
STM32 Low-Power Timer supports generic 3 cells PWM to encode PWM number, period and polarity. Signed-off-by: Gerald Baeza <[email protected]> Signed-off-by: Fabrice Gasnier <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
2018-03-27pwm: stm32: Adopt SPDX identifierBenjamin Gaignard1-2/+1
Add SPDX identifier to make it easier to determine the license of the file. Signed-off-by: Benjamin Gaignard <[email protected]> Acked-by: Philippe Ombredanne <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
2017-11-15pwm: stm32-lp: Remove pwm_is_enabled() check before calling pwm_disable()Axel Lin1-2/+1
The same checking is done by the implementation of pwm_disable(). Signed-off-by: Axel Lin <[email protected]> Acked-by: Fabrice Gasnier <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
2017-09-04pwm: Add STM32 LPTimer PWM driverFabrice Gasnier1-0/+246
Add support for single PWM channel on Low-Power Timer, that can be found on some STM32 platforms. Signed-off-by: Fabrice Gasnier <[email protected]> Acked-by: Thierry Reding <[email protected]> Signed-off-by: Lee Jones <[email protected]>