aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorLiu Ying <Ying.Liu@freescale.com>2014-02-18 00:19:12 -0500
committerNitin Garg <nitin.garg@freescale.com>2014-04-16 09:57:33 -0400
commit0f2a41ecaa1610ca76b12da6090a164781459cfa (patch)
treec32254eb4e629d804584bd711d2de7d034e250fa /Documentation
parentb3f2911ae6a6bc0a510eae159a4febe277b27426 (diff)
ENGR00298052-2 Documentation: video: add Hannstar CABC dt bindings
This patch documents the Hannstar CABC driver's device tree bindings. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/video/hannstar,cabc.txt28
1 files changed, 28 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/video/hannstar,cabc.txt b/Documentation/devicetree/bindings/video/hannstar,cabc.txt
new file mode 100644
index 000000000000..bf582ef621f6
--- /dev/null
+++ b/Documentation/devicetree/bindings/video/hannstar,cabc.txt
@@ -0,0 +1,28 @@
1* Hannstar CABC device tree bindings
2
3The Hannstar CABC function may turn a display plane's backlight
4automatically according to the content shown on the plane. The
5function is controlled(enabled/disabled) by a GPIO.
6
7Required properties:
8- compatible : Should be "hannstar,cabc".
9
10Each standalone CABC gpio is represented as a sub-node of "hannstar_cabc":
11Required subnode properties:
12- gpios: OF device-tree gpio specification.
13
14Optional subnode properties:
15- cabc-enable: Provide this bool property if you want to enable the CABC feature.
16
17Example:
18 hannstar_cabc {
19 compatible = "hannstar,cabc";
20
21 lvds0 {
22 gpios = <&gpio6 15 GPIO_ACTIVE_HIGH>;
23 };
24
25 lvds1 {
26 gpios = <&gpio6 16 GPIO_ACTIVE_HIGH>;
27 };
28 };