Searched hist:"8 fbce8efe15cd2ca7a4947bc814f890dbe4e43d7" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/linux/platform_data/ |
H A D | lm3630a_bl.h | diff 8fbce8efe15cd2ca7a4947bc814f890dbe4e43d7 Wed Apr 24 04:25:05 CDT 2019 Brian Masney <masneyb@onstation.org> backlight: lm3630a: Add firmware node support
Add fwnode support to the lm3630a driver and optionally allow configuring the label, default brightness level, and maximum brightness level. The two outputs can be controlled by bank A and B independently or bank A can control both outputs.
If the platform data was not configured, then the driver defaults to enabling both banks. This patch changes the default value to disable both banks before parsing the firmware node so that just a single bank can be enabled if desired. There are no in-tree users of this driver.
Driver was tested on a LG Nexus 5 (hammerhead) phone.
Signed-off-by: Brian Masney <masneyb@onstation.org> Reviewed-by: Dan Murphy <dmurphy@ti.com> Acked-by: Daniel Thompson <daniel.thompson@linaro.org> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Lee Jones <lee.jones@linaro.org>
|
/openbmc/linux/drivers/video/backlight/ |
H A D | lm3630a_bl.c | diff 8fbce8efe15cd2ca7a4947bc814f890dbe4e43d7 Wed Apr 24 04:25:05 CDT 2019 Brian Masney <masneyb@onstation.org> backlight: lm3630a: Add firmware node support
Add fwnode support to the lm3630a driver and optionally allow configuring the label, default brightness level, and maximum brightness level. The two outputs can be controlled by bank A and B independently or bank A can control both outputs.
If the platform data was not configured, then the driver defaults to enabling both banks. This patch changes the default value to disable both banks before parsing the firmware node so that just a single bank can be enabled if desired. There are no in-tree users of this driver.
Driver was tested on a LG Nexus 5 (hammerhead) phone.
Signed-off-by: Brian Masney <masneyb@onstation.org> Reviewed-by: Dan Murphy <dmurphy@ti.com> Acked-by: Daniel Thompson <daniel.thompson@linaro.org> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Lee Jones <lee.jones@linaro.org>
|