]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/video/hannstar,cabc.txt
ENGR00298052-2 Documentation: video: add Hannstar CABC dt bindings
[karo-tx-linux.git] / Documentation / devicetree / bindings / video / hannstar,cabc.txt
1 * Hannstar CABC device tree bindings
2
3 The Hannstar CABC function may turn a display plane's backlight
4 automatically according to the content shown on the plane.  The
5 function is controlled(enabled/disabled) by a GPIO.
6
7 Required properties:
8 - compatible : Should be "hannstar,cabc".
9
10 Each standalone CABC gpio is represented as a sub-node of "hannstar_cabc":
11 Required subnode properties:
12 - gpios: OF device-tree gpio specification.
13
14 Optional subnode properties:
15 - cabc-enable: Provide this bool property if you want to enable the CABC feature.
16
17 Example:
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         };