[PATCH 0/3] leds: lm3692x: Disable chip on brightness 0

From: Guido GÃnther
Date: Wed Dec 25 2019 - 06:16:54 EST


Otherwise there's a hardly noticeable glow even with brightness 0. Also turning
off the regulator can save additional power.

This is on top of the "leds: lm3692x: Allow to set ovp and brigthness mode".
Without that applied there's a minor merge conflict since this introduces a new
variable in struct lm3692x_led as well. I did not want to lump it in there as
well since it's not related to any DT properties at all.

Guido GÃnther (3):
leds: lm3692x: Move lm3692x_init and rename to lm3692x_leds_enable
leds: lm3692x: Split out lm3692x_leds_disable
leds: lm3692x: Disable chip on brightness 0

drivers/leds/leds-lm3692x.c | 128 ++++++++++++++++++++++--------------
1 file changed, 77 insertions(+), 51 deletions(-)

--
2.23.0