Path: blob/main/sys/contrib/device-tree/Bindings/display/bridge/sii902x.txt
48406 views
sii902x HDMI bridge bindings12Required properties:3- compatible: "sil,sii9022"4- reg: i2c address of the bridge56Optional properties:7- interrupts: describe the interrupt line used to inform the host8about hotplug events.9- reset-gpios: OF device-tree gpio specification for RST_N pin.10- iovcc-supply: I/O Supply Voltage (1.8V or 3.3V)11- cvcc12-supply: Digital Core Supply Voltage (1.2V)1213HDMI audio properties:14- #sound-dai-cells: <0> or <1>. <0> if only i2s or spdif pin15is wired, <1> if the both are wired. HDMI audio is16configured only if this property is found.17- sil,i2s-data-lanes: Array of up to 4 integers with values of 0-318Each integer indicates which i2s pin is connected to which19audio fifo. The first integer selects i2s audio pin for the20first audio fifo#0 (HDMI channels 1&2), second for fifo#121(HDMI channels 3&4), and so on. There is 4 fifos and 4 i2s22pins (SD0 - SD3). Any i2s pin can be connected to any fifo,23but there can be no gaps. E.g. an i2s pin must be mapped to24fifo#0 and fifo#1 before mapping a channel to fifo#2. Default25value is <0>, describing SD0 pin beiging routed to hdmi audio26fifo #0.27- clocks: phandle and clock specifier for each clock listed in28the clock-names property29- clock-names: "mclk"30Describes SII902x MCLK input. MCLK can be used to produce31HDMI audio CTS values. This property follows32Documentation/devicetree/bindings/clock/clock-bindings.txt33consumer binding.3435If HDMI audio is configured the sii902x device becomes an I2S36and/or spdif audio codec component (e.g a digital audio sink),37that can be used in configuring a full audio devices with38simple-card or audio-graph-card binding. See their binding39documents on how to describe the way the sii902x device is40connected to the rest of the audio system:41Documentation/devicetree/bindings/sound/simple-card.yaml42Documentation/devicetree/bindings/sound/audio-graph-card.yaml43Note: In case of the audio-graph-card binding the used port44index should be 3.4546Optional subnodes:47- video input: this subnode can contain a video input port node48to connect the bridge to a display controller output (See this49documentation [1]).5051[1]: Documentation/devicetree/bindings/media/video-interfaces.txt5253Example:54hdmi-bridge@39 {55compatible = "sil,sii9022";56reg = <0x39>;57reset-gpios = <&pioA 1 0>;58iovcc-supply = <&v3v3_hdmi>;59cvcc12-supply = <&v1v2_hdmi>;6061#sound-dai-cells = <0>;62sil,i2s-data-lanes = < 0 1 2 >;63clocks = <&mclk>;64clock-names = "mclk";6566ports {67#address-cells = <1>;68#size-cells = <0>;6970port@0 {71reg = <0>;72bridge_in: endpoint {73remote-endpoint = <&dc_out>;74};75};76};77};787980