1sii902x HDMI bridge bindings
2
3Required properties:
4	- compatible: "sil,sii9022"
5	- reg: i2c address of the bridge
6
7Optional properties:
8	- interrupts: describe the interrupt line used to inform the host
9	  about hotplug events.
10	- reset-gpios: OF device-tree gpio specification for RST_N pin.
11	- iovcc-supply: I/O Supply Voltage (1.8V or 3.3V)
12	- cvcc12-supply: Digital Core Supply Voltage (1.2V)
13
14	HDMI audio properties:
15	- #sound-dai-cells: <0> or <1>. <0> if only i2s or spdif pin
16	   is wired, <1> if the both are wired. HDMI audio is
17	   configured only if this property is found.
18	- sil,i2s-data-lanes: Array of up to 4 integers with values of 0-3
19	   Each integer indicates which i2s pin is connected to which
20	   audio fifo. The first integer selects i2s audio pin for the
21	   first audio fifo#0 (HDMI channels 1&2), second for fifo#1
22	   (HDMI channels 3&4), and so on. There is 4 fifos and 4 i2s
23	   pins (SD0 - SD3). Any i2s pin can be connected to any fifo,
24	   but there can be no gaps. E.g. an i2s pin must be mapped to
25	   fifo#0 and fifo#1 before mapping a channel to fifo#2. Default
26	   value is <0>, describing SD0 pin beiging routed to hdmi audio
27	   fifo #0.
28	- clocks: phandle and clock specifier for each clock listed in
29           the clock-names property
30	- clock-names: "mclk"
31	   Describes SII902x MCLK input. MCLK can be used to produce
32	   HDMI audio CTS values. This property follows
33	   Documentation/devicetree/bindings/clock/clock-bindings.txt
34	   consumer binding.
35
36	If HDMI audio is configured the sii902x device becomes an I2S
37	and/or spdif audio codec component (e.g a digital audio sink),
38	that can be used in configuring a full audio devices with
39	simple-card or audio-graph-card binding. See their binding
40	documents on how to describe the way the sii902x device is
41	connected to the rest of the audio system:
42	Documentation/devicetree/bindings/sound/simple-card.yaml
43	Documentation/devicetree/bindings/sound/audio-graph-card.yaml
44	Note: In case of the audio-graph-card binding the used port
45	index should be 3.
46
47Optional subnodes:
48	- video input: this subnode can contain a video input port node
49	  to connect the bridge to a display controller output (See this
50	  documentation [1]).
51
52[1]: Documentation/devicetree/bindings/media/video-interfaces.txt
53
54Example:
55	hdmi-bridge@39 {
56		compatible = "sil,sii9022";
57		reg = <0x39>;
58		reset-gpios = <&pioA 1 0>;
59		iovcc-supply = <&v3v3_hdmi>;
60		cvcc12-supply = <&v1v2_hdmi>;
61
62		#sound-dai-cells = <0>;
63		sil,i2s-data-lanes = < 0 1 2 >;
64		clocks = <&mclk>;
65		clock-names = "mclk";
66
67		ports {
68			#address-cells = <1>;
69			#size-cells = <0>;
70
71			port@0 {
72				reg = <0>;
73				bridge_in: endpoint {
74					remote-endpoint = <&dc_out>;
75				};
76			};
77		};
78	};
79