commit | 5879a2c3c8908f2095123a01007ded2b7e6b888f | [log] [tgz] |
---|---|---|
author | Arnaud Patard (Rtp) <arnaud.patard@rtp-net.org> | Fri Mar 05 11:27:51 2021 +0100 |
committer | Anatolij Gustschin <agust@denx.de> | Sat Apr 10 11:54:59 2021 +0200 |
tree | 20a84e3c928ed7c0fd06218c7befb150825dcf00 | |
parent | c3b469a85bfcf24542936e17a541248eb5305e57 [diff] |
rockchip: pwm: Fix default polarity 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> Tested-by: Peter Robinson <pbrobinson@gmail.com>