aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-04-10 11:52:35 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-10 11:52:35 -0400
commitedf2377c4776ce20ae990f27f0248e88a37e25c4 (patch)
tree2072ff0353aac87a46fdd0e79fb6a3e666720ee0 /Documentation
parent39de65aa2c3eee901db020a4f1396998e09602a3 (diff)
parentf1740e4cffede3e919a3511bf4e5113d642f09ec (diff)
Merge tag 'backlight-for-linus-3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight
Pull backlight changes from Lee Jones: - core: call put_device() instead of kfree() - gpio-backlight: add DT support - lm3639_bl driver: use managed resources * tag 'backlight-for-linus-3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight: backlight: lm3639: Use devm_backlight_device_register() backlight: gpio-backlight: Add DT support backlight: core: Replace kfree with put_device
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/video/backlight/gpio-backlight.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/video/backlight/gpio-backlight.txt b/Documentation/devicetree/bindings/video/backlight/gpio-backlight.txt
new file mode 100644
index 000000000000..321be6640533
--- /dev/null
+++ b/Documentation/devicetree/bindings/video/backlight/gpio-backlight.txt
@@ -0,0 +1,16 @@
1gpio-backlight bindings
2
3Required properties:
4 - compatible: "gpio-backlight"
5 - gpios: describes the gpio that is used for enabling/disabling the backlight.
6 refer to bindings/gpio/gpio.txt for more details.
7
8Optional properties:
9 - default-on: enable the backlight at boot.
10
11Example:
12 backlight {
13 compatible = "gpio-backlight";
14 gpios = <&gpio3 4 GPIO_ACTIVE_HIGH>;
15 default-on;
16 };