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

Alper Nebi Yasak alpernebiyasak at gmail.com
Tue Oct 27 23:34:57 CET 2020


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 at rtp-net.org>

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

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


More information about the U-Boot mailing list