OSDN Git Service

backlight: lm3639: document sysfs attributes
authorAishwarya Pant <aishpant@gmail.com>
Tue, 6 Feb 2018 07:39:42 +0000 (13:09 +0530)
committerJonathan Corbet <corbet@lwn.net>
Fri, 23 Feb 2018 15:20:57 +0000 (08:20 -0700)
Add documentation for sysfs interfaces of Texas Instruments lm3639
backlight + flash led driver chip by looking through git commits and
reading code.

Signed-off-by: Aishwarya Pant <aishpant@gmail.com>
Acked-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/ABI/testing/sysfs-class-backlight-lm3639 [new file with mode: 0644]

diff --git a/Documentation/ABI/testing/sysfs-class-backlight-lm3639 b/Documentation/ABI/testing/sysfs-class-backlight-lm3639
new file mode 100644 (file)
index 0000000..f7e92a8
--- /dev/null
@@ -0,0 +1,11 @@
+sysfs interface for Texas Instruments lm3639 backlight + flash led driver chip
+------------------------------------------------------------------------------
+
+What:          /sys/class/backlight/<backlight>/bled_mode
+Date:          Oct, 2012
+KernelVersion: v3.10
+Contact:       dri-devel@lists.freedesktop.org
+Description:
+               (WO) Write to the backlight mapping mode. The backlight current
+               can be mapped for either exponential (value "0") or linear
+               mapping modes (default).