commit | fe68a4542fcb58f0b74bbd56ce162df2768ac03a | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Oct 01 12:22:41 2018 -0600 |
committer | Simon Glass <sjg@chromium.org> | Tue Oct 09 04:40:27 2018 -0600 |
tree | b491944bdc102e4bd9f7009ccead12ed5256d214 | |
parent | 5620cf8ca7fae8067358cec6a18116c2749b4877 [diff] |
panel: Expand the backlight support At present the panel can be turned on but not off, and the brightness cannot be controlled at run-time. Add a new API function to both the panel and backlight uclasses to handle this. Enhance the PWM backlight driver to deal with custom levels properly and allow the backlight to be turned on and off. Update the test to cover thes new features. Signed-off-by: Simon Glass <sjg@chromium.org>