mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
fefa713b18
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> |
||
---|---|---|
.. | ||
exynos_pwm.c | ||
Kconfig | ||
Makefile | ||
pwm-imx-util.c | ||
pwm-imx-util.h | ||
pwm-imx.c | ||
pwm-meson.c | ||
pwm-mtk.c | ||
pwm-sifive.c | ||
pwm-ti-ehrpwm.c | ||
pwm-uclass.c | ||
rk_pwm.c | ||
sandbox_pwm.c | ||
sunxi_pwm.c | ||
tegra_pwm.c |