[patch v2 07/10] drivers/pwm/rk_pwm.c: Fix default polarity

Alper Nebi Yasak
2020-10-27T22:34:57Z

On 27/10/2020 16:21, Arnaud Patard (Rtp) wrote:
> In the code, the default polarity is set to positive/positive,
> which is neither normal polarity or inverted polarity. It's
> only the hardware default. This leads to booting linux with
> wrong polarity setting.
>
> Update the code to use PWM_DUTY_POSTIVE | PWM_INACTIVE_NEGATIVE
> by default instead.
>
> Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>

On a rk3399-gru-kevin, (see comment in patch 1):

Tested-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>