diff options
author | Brian Masney <masneyb@onstation.org> | 2019-04-24 05:25:05 -0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2019-05-14 08:16:01 +0100 |
commit | 8fbce8efe15cd2ca7a4947bc814f890dbe4e43d7 (patch) | |
tree | 9ee021208d491380dd72040077308835c68e44fc /arch/unicore32 | |
parent | 32fcb75c66a0cb66db9ec4f777f864675e5aebb2 (diff) |
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>
Diffstat (limited to 'arch/unicore32')
0 files changed, 0 insertions, 0 deletions