LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH 0/2] backlight: pwm: Add backlight-boot-off property
@ 2015-02-26  3:12 huang lin
  2015-02-26  3:12 ` [PATCH 1/2] Documentation: devicetree: add backlight-boot-off property in pwm-backlight huang lin
  0 siblings, 1 reply; 2+ messages in thread
From: huang lin @ 2015-02-26  3:12 UTC (permalink / raw)
  To: djkurtz
  Cc: linux-rockchip, huang lin, devicetree, linux-fbdev,
	Thierry Reding, Jingoo Han, Kumar Gala,
	Jean-Christophe Plagniol-Villard, linux-kernel, Ian Campbell,
	Rob Herring, linux-pwm, Tomi Valkeinen, Pawel Moll, Lee Jones,
	Mark Rutland


Add backlight-boot-off property, so we can keeping the
backlight disabled at boot until it is enabled implicitly
by a panel driver, or explicitly by userspace



huang lin (2):
  Documentation: devicetree: add backlight-boot-off property in
    pwm-backlight
  backlight: pwm: Add backlight-boot-off property

 Documentation/devicetree/bindings/video/backlight/pwm-backlight.txt | 1 +
 drivers/video/backlight/pwm_bl.c                                    | 4 ++++
 2 files changed, 5 insertions(+)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/2] Documentation: devicetree: add backlight-boot-off property in pwm-backlight
  2015-02-26  3:12 [PATCH 0/2] backlight: pwm: Add backlight-boot-off property huang lin
@ 2015-02-26  3:12 ` huang lin
  0 siblings, 0 replies; 2+ messages in thread
From: huang lin @ 2015-02-26  3:12 UTC (permalink / raw)
  To: djkurtz
  Cc: linux-rockchip, huang lin, Rob Herring, Pawel Moll, Mark Rutland,
	Ian Campbell, Kumar Gala, devicetree, linux-kernel

Add the backlight-boot-ff property, so we can keeping the backlight
disabled at boot until it is enabled implicitly by a panel driver,
or explicitly by userspace.

Signed-off-by: huang lin <hl@rock-chips.com>

---

 Documentation/devicetree/bindings/video/backlight/pwm-backlight.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/video/backlight/pwm-backlight.txt b/Documentation/devicetree/bindings/video/backlight/pwm-backlight.txt
index 764db86..28b0b4d 100644
--- a/Documentation/devicetree/bindings/video/backlight/pwm-backlight.txt
+++ b/Documentation/devicetree/bindings/video/backlight/pwm-backlight.txt
@@ -17,6 +17,7 @@ Optional properties:
                "pwms" property (see PWM binding[0])
   - enable-gpios: contains a single GPIO specifier for the GPIO which enables
                   and disables the backlight (see GPIO binding[1])
+  - backlight-boot-off: turn off backlight when pwm backlight probe
 
 [0]: Documentation/devicetree/bindings/pwm/pwm.txt
 [1]: Documentation/devicetree/bindings/gpio/gpio.txt
-- 
1.9.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-02-26  3:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-26  3:12 [PATCH 0/2] backlight: pwm: Add backlight-boot-off property huang lin
2015-02-26  3:12 ` [PATCH 1/2] Documentation: devicetree: add backlight-boot-off property in pwm-backlight huang lin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).