All of lore.kernel.org
 help / color / mirror / Atom feed
* Devicetree node to turn off LCD when backlight is 'disabled'
@ 2013-02-11  6:25 ` Tony Prisk
  0 siblings, 0 replies; 10+ messages in thread
From: Tony Prisk @ 2013-02-11  6:25 UTC (permalink / raw)
  To: linux-arm-kernel

I was just wondering if the following would be an acceptable way to turn
off an lcd backlight when the pwm-backlight driver is set to level 0.
The LCD backlight is 'powered' by the gpio.

leds {
	compatible = "gpio-leds";
	backlight {
		label = "lcd-power";
		gpios = <&gpio 0 0 0>;  /* bank pin active_low */
		linux,default-trigger = "backlight";
		default-state = "on";
	};
};

The method has been tested by an end-user and confirmed as working - I
just wanted to check whether it is the 'accepted' way of doing it.

Regards
Tony Prisk

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

end of thread, other threads:[~2013-02-12 18:05 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-11  6:25 Devicetree node to turn off LCD when backlight is 'disabled' Tony Prisk
2013-02-11  6:25 ` Tony Prisk
2013-02-12  7:04 ` Thierry Reding
2013-02-12  7:04   ` Thierry Reding
2013-02-12  8:26   ` Tony Prisk
2013-02-12  8:26     ` Tony Prisk
2013-02-12  7:35 ` Alex Courbot
2013-02-12  7:35   ` Alex Courbot
2013-02-12 18:05   ` Grant Likely
2013-02-12 18:05     ` Grant Likely

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.