forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/Documentation/devicetree/bindings/display/bridge/sii902x.txt
....@@ -5,9 +5,44 @@
55 - reg: i2c address of the bridge
66
77 Optional properties:
8
- - interrupts: describe the interrupt line used to inform the host
8
+ - interrupts: describe the interrupt line used to inform the host
99 about hotplug events.
1010 - 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.txt
44
+ Note: In case of the audio-graph-card binding the used port
45
+ index should be 3.
1146
1247 Optional subnodes:
1348 - video input: this subnode can contain a video input port node
....@@ -21,6 +56,14 @@
2156 compatible = "sil,sii9022";
2257 reg = <0x39>;
2358 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
+
2467 ports {
2568 #address-cells = <1>;
2669 #size-cells = <0>;