xref: /OK3568_Linux_fs/u-boot/doc/device-tree-bindings/video/bridge/ps8622.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunps8622-bridge bindings
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun	- compatible: "parade,ps8622" or "parade,ps8625"
5*4882a593Smuzhiyun	- reg: first i2c address of the bridge
6*4882a593Smuzhiyun	- sleep-gpios: OF device-tree gpio specification for PD_ pin.
7*4882a593Smuzhiyun	- reset-gpios: OF device-tree gpio specification for RST_ pin.
8*4882a593Smuzhiyun	- parade,regs: List of 3-byte registers tuples to write:
9*4882a593Smuzhiyun		<I2C chip address offset> <register> <value>
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunOptional properties:
12*4882a593Smuzhiyun	- lane-count: number of DP lanes to use
13*4882a593Smuzhiyun	- use-external-pwm: backlight will be controlled by an external PWM
14*4882a593Smuzhiyun	- video interfaces: Device node can contain video interface port
15*4882a593Smuzhiyun			    nodes for panel according to [1].
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun[1]: Documentation/devicetree/bindings/media/video-interfaces.txt
18*4882a593Smuzhiyun
19*4882a593SmuzhiyunExample:
20*4882a593Smuzhiyun	lvds-bridge@48 {
21*4882a593Smuzhiyun		compatible = "parade,ps8622";
22*4882a593Smuzhiyun		reg = <0x48>;
23*4882a593Smuzhiyun		sleep-gpios = <&gpc3 6 1 0 0>;
24*4882a593Smuzhiyun		reset-gpios = <&gpc3 1 1 0 0>;
25*4882a593Smuzhiyun		lane-count = <1>;
26*4882a593Smuzhiyun		ports {
27*4882a593Smuzhiyun			port@0 {
28*4882a593Smuzhiyun				bridge_out: endpoint {
29*4882a593Smuzhiyun					remote-endpoint = <&panel_in>;
30*4882a593Smuzhiyun				};
31*4882a593Smuzhiyun			};
32*4882a593Smuzhiyun		};
33*4882a593Smuzhiyun	};
34