u-boot/drivers/pwm
Arnaud Patard (Rtp) 4db3926874 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>
2021-04-10 11:54:59 +02:00
..
exynos_pwm.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
Kconfig pwm: ti: am33xx: add enhanced pwm driver 2021-01-12 10:58:05 +05:30
Makefile pwm: ti: am33xx: add enhanced pwm driver 2021-01-12 10:58:05 +05:30
pwm-imx-util.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pwm-imx-util.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pwm-imx.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
pwm-meson.c dm: core: Access device ofnode through functions 2021-01-05 12:24:41 -07:00
pwm-mtk.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
pwm-sifive.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
pwm-ti-ehrpwm.c dm: fix build errors generated by last merges 2021-01-15 13:12:38 -05:00
pwm-uclass.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
rk_pwm.c rockchip: pwm: Fix default polarity 2021-04-10 11:54:59 +02:00
sandbox_pwm.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
sunxi_pwm.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
tegra_pwm.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00