Re: [PATCH v4 2/2] backlight: lm3630a: Add an enable gpio for the HWEN pin

From
Lee Jones <hidden>
Date
2019-10-03 11:42:49
Also in
dri-devel, linux-devicetree, linux-leds, lkml
Reply to
Andreas Kemnade, 2019-09-12
On Thu, 12 Sep 2019, Andreas Kemnade wrote:
For now just enable it in the probe function to allow I2C
access. Disabling also means resetting the register values
to default and according to the datasheet does not give
power savings.

Tested on Kobo Clara HD.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Reviewed-by: Dan Murphy <redacted>
Reviewed-by: Daniel Thompson <redacted>
---
changes in v2:
- simplification
- correct gpio direction initialisation

changes in v3:
- removed legacy include

 drivers/video/backlight/lm3630a_bl.c | 9 +++++++++
 1 file changed, 9 insertions(+)
Applied, thanks.

-- 
Lee Jones [李琼斯]
Linaro Services Technical Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
Thread (9 messages) 9 messages, 5 authors, last reply 2019-10-29
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help