backlight: pwm_bl: add configurable delay between re-enabling PWM and switching backl...
authorLothar Waßmann <LW@KARO-electronics.de>
Wed, 11 Oct 2017 10:15:43 +0000 (12:15 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 11 Oct 2017 10:15:43 +0000 (12:15 +0200)
commit84e7de2b0b7f47eb416d6e39a61c89788d3fb339
treec52b3c2382339ed997f825df2a99a4a7774572a3
parent77fdaf8cca24ea03c29febf31f23e9b6832ca445
backlight: pwm_bl: add configurable delay between re-enabling PWM and switching backlight power on

When switching the backlight on, the LCD may need some time to adjust
to the configured PWM duty cycle. Add a configurable delay between
configuring the PWM and enabling the backlight regulator to account
for this.
Documentation/devicetree/bindings/leds/backlight/pwm-backlight.txt
drivers/video/backlight/pwm_bl.c