[PATCH v2 0/5] PWM i.MX27 fix disabled state for inverted signals
Marco Felsch
m.felsch at pengutronix.de
Fri Sep 25 11:53:25 EDT 2020
Hi,
this small series fixes the pwm disabled behaviour in case of an
inverted pwm signal. The current state is that in such a case the pwm
signal goes to 0V which means logical '1' for inverted pwm signals. IMO
this is wrong and should be fixed.
I've tested my patches on a custom imx6 board which uses the pwm as
backlight.
Each patch has a dedicated changelog so I skip it here.
Comments and testers are welcome :)
Regards,
Marco
Marco Felsch (5):
pwm: imx27: enable clock unconditional for register access
pwm: imx27: move constant PWMCR register values into probe
pwm: imx27: reset the PWM if it is not running
pwm: imx27: fix disable state for inverted PWMs
pwm: imx27: wait till the duty cycle is applied
drivers/pwm/pwm-imx27.c | 166 +++++++++++++++++++++++++++++-----------
1 file changed, 120 insertions(+), 46 deletions(-)
--
2.20.1
More information about the linux-arm-kernel
mailing list