summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/video/hannstar,cabc.txt
blob: bf582ef621f677dafa6be73ae4ed5bb467f3ff6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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>;
		};
	};