aboutsummaryrefslogtreecommitdiff
path: root/Bindings/leds/backlight/tps65217-backlight.txt
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2016-01-28 20:21:15 +0000
committerAndrew Turner <andrew@FreeBSD.org>2016-01-28 20:21:15 +0000
commit235ad806ee815395bce54dc1b0ce1c06cd29b44a (patch)
tree41cbd9055ad0d6dfa04377df1bb51f3c3f3948e2 /Bindings/leds/backlight/tps65217-backlight.txt
parentda75c2cc5808a45edc76752ba495dcc5dcd4346c (diff)
downloadsrc-235ad806ee815395bce54dc1b0ce1c06cd29b44a.tar.gz
src-235ad806ee815395bce54dc1b0ce1c06cd29b44a.zip
Import updated device-tree files from:vendor/device-tree/ianc-afaecb70
git://xenbits.xen.org/people/ianc/device-tree-rebasing.git @afaecb70e7ebb983c86d5eb45ff952e9af79c462
Notes
Notes: svn path=/vendor/device-tree/dist/; revision=295011 svn path=/vendor/device-tree/ianc-afaecb70/; revision=295013; tag=vendor/device-tree/ianc-afaecb70
Diffstat (limited to 'Bindings/leds/backlight/tps65217-backlight.txt')
-rw-r--r--Bindings/leds/backlight/tps65217-backlight.txt27
1 files changed, 27 insertions, 0 deletions
diff --git a/Bindings/leds/backlight/tps65217-backlight.txt b/Bindings/leds/backlight/tps65217-backlight.txt
new file mode 100644
index 000000000000..5fb9279ac287
--- /dev/null
+++ b/Bindings/leds/backlight/tps65217-backlight.txt
@@ -0,0 +1,27 @@
+TPS65217 family of regulators
+
+The TPS65217 chip contains a boost converter and current sinks which can be
+used to drive LEDs for use as backlights.
+
+Required properties:
+- compatible: "ti,tps65217"
+- reg: I2C slave address
+- backlight: node for specifying WLED1 and WLED2 lines in TPS65217
+- isel: selection bit, valid values: 1 for ISEL1 (low-level) and 2 for ISEL2 (high-level)
+- fdim: PWM dimming frequency, valid values: 100, 200, 500, 1000
+- default-brightness: valid values: 0-100
+
+Each regulator is defined using the standard binding for regulators.
+
+Example:
+
+ tps: tps@24 {
+ reg = <0x24>;
+ compatible = "ti,tps65217";
+ backlight {
+ isel = <1>; /* 1 - ISET1, 2 ISET2 */
+ fdim = <100>; /* TPS65217_BL_FDIM_100HZ */
+ default-brightness = <50>;
+ };
+ };
+