diff options
author | Liu Ying <Ying.Liu@freescale.com> | 2014-02-18 13:19:12 +0800 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-08-27 18:11:02 -0500 |
commit | 90ecf23b3e500eea436b3aab0cc4f8c0e989af99 (patch) | |
tree | 6aceba0286e7a05c36397cdc20e2f65e1b95b96e /Documentation | |
parent | 4bc2cd1dc574532807099307d66f4902380b3da3 (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.txt | 28 |
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 @@ +* Hannstar CABC device tree bindings + +The Hannstar CABC function may turn a display plane's backlight +automatically according to the content shown on the plane. The +function is controlled(enabled/disabled) by a GPIO. + +Required properties: +- compatible : Should be "hannstar,cabc". + +Each standalone CABC gpio is represented as a sub-node of "hannstar_cabc": +Required subnode properties: +- gpios: OF device-tree gpio specification. + +Optional subnode properties: +- cabc-enable: Provide this bool property if you want to enable the CABC feature. + +Example: + hannstar_cabc { + compatible = "hannstar,cabc"; + + lvds0 { + gpios = <&gpio6 15 GPIO_ACTIVE_HIGH>; + }; + + lvds1 { + gpios = <&gpio6 16 GPIO_ACTIVE_HIGH>; + }; + }; |