aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-stm32-lp.c
Commit message (Collapse)AuthorAgeFilesLines
* pwm: stm32-lp: Remove useless loop in stm32_pwm_lp_remove()Fabrice Gasnier2018-08-201-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]>
* pwm: stm32: LPTimer: Use 3 cells ->of_xlate()Gerald Baeza2018-03-271-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]>
* pwm: stm32: Adopt SPDX identifierBenjamin Gaignard2018-03-271-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]>
* pwm: stm32-lp: Remove pwm_is_enabled() check before calling pwm_disable()Axel Lin2017-11-151-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]>
* pwm: Add STM32 LPTimer PWM driverFabrice Gasnier2017-09-041-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]>