Files
u-boot/test/dm
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
..
2020-07-17 14:32:24 +08:00
2021-01-12 10:58:04 +05:30
2021-03-12 09:57:30 -05:00
2021-01-30 14:25:41 -07:00
2020-07-01 15:01:21 +08:00
2020-10-08 11:42:36 -04:00
2021-03-12 09:57:29 -05:00
2021-02-26 15:30:55 +01:00
2020-10-08 11:42:36 -04:00
2021-03-27 15:04:31 +13:00
2020-11-06 10:18:20 +08:00
2020-11-05 09:11:30 -07:00
2021-02-16 11:48:20 -05:00
2020-10-22 09:54:53 -04:00