summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/display/panel/tpo,tpg110.txt
blob: f5e3c6f2095a502d420fec40af372c009e80e418 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
TPO TPG110 Panel
================

This binding builds on the DPI bindings, adding a few properties
as a superset of a DPI. See panel-dpi.txt for the required DPI
bindings.

Required properties:
- compatible : "tpo,tpg110"
- grestb-gpios : panel reset GPIO
- scen-gpios : serial control enable GPIO
- scl-gpios : serial control clock line GPIO
- sda-gpios : serial control data line GPIO

Required nodes:
- Video port for DPI input, see panel-dpi.txt
- Panel timing for DPI setup, see panel-dpi.txt

Example
-------

panel {
	compatible = "tpo,tpg110", "panel-dpi";
	grestb-gpios = <&stmpe_gpio44 5 GPIO_ACTIVE_LOW>;
	scen-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
	scl-gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>;
	sda-gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>;
	backlight = <&bl>;

	port {
		nomadik_clcd_panel: endpoint {
			remote-endpoint = <&nomadik_clcd_pads>;
		};
	};

	panel-timing {
		clock-frequency = <33200000>;
		hactive = <800>;
		hback-porch = <216>;
		hfront-porch = <40>;
		hsync-len = <1>;
		vactive = <480>;
		vback-porch = <35>;
		vfront-porch = <10>;
		vsync-len = <1>;
	};
};