u-boot-brain/drivers/pwm
Alper Nebi Yasak fefa713b18 video: backlight: Support PWMs without a known period_ns
The PWM device provided by Chrome OS EC doesn't really support anything
other than setting a relative duty cycle. To support it as a backlight,
this patch makes the PWM period optional in the device tree and pretends
the valid brightness range is its period_ns.

Also adds a sandbox test for a PWM channel that has a fixed period,
checking that the resulting duty_cycle matches on a set_config() even if
the requested period_ns can't be set.

Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2021-04-10 16:07:12 +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 video: backlight: Support PWMs without a known period_ns 2021-04-10 16:07:12 +02: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