Silicon Image sii902x HDMI bridge
Schema identifier ($id): "http://devicetree.org/schemas/display/bridge/sil,sii9022.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Boris Brezillon <bbrezillon@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Item 2
Exact value (
const):"sil,sii9022"
Rule 2
Exact value (
const):"sil,sii9022"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
Interrupt line used to inform the host about hotplug events.
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
iovcc-supply — not listed as required here #
I/O Supply Voltage (1.8V or 3.3V)
cvcc12-supply — not listed as required here #
Digital Core Supply Voltage (1.2V)
#sound-dai-cells — not listed as required here #
<0> if only I2S or S/PDIF pin is wired, <1> if both are wired. HDMI audio is configured only if this property is found. If HDMI audio is configured, the sii902x device becomes an I2S and/or S/PDIF audio codec component (e.g. a digital audio sink), that can be used in configuring full audio devices with simple-card or audio-graph-card bindings. See their binding documents on how to describe the way the sii902x device is connected to the rest of the audio system: Documentation/devicetree/bindings/sound/simple-card.yaml Documentation/devicetree/bindings/sound/audio-graph-card.yaml Note: In case of the audio-graph-card binding the used port index should be 3.
sil,i2s-data-lanes — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Items must be unique (uniqueItems): true
Array item rules (items) #
Each integer indicates which I2S pin is connected to which audio FIFO. The first integer selects the I2S audio pin for the first audio FIFO#0 (HDMI channels 1&2), the second for FIFO#1 (HDMI channels 3&4), and so on. There are 4 FIFOs and 4 I2S pins (SD0 - SD3). Any I2S pin can be connected to any FIFO, but there can be no gaps. E.g. an I2S pin must be mapped to FIFO#0 and FIFO#1 before mapping a channel to FIFO#2. The default value is <0>, describing SD0 pin being routed to HDMI audio FIFO#0.
clocks — not listed as required here #
Maximum number of items (maxItems): 1
MCLK input. MCLK can be used to produce HDMI audio CTS values.
clock-names — not listed as required here #
Exact value (const): "mclk"
ports — not listed as required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — not listed as required here
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base
Parallel RGB input port
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/$defs/endpoint-base
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
bus-width — not listed as required here
Endpoint bus width.
Allowed values (enum): 16, 18, 24
Default value (default): 24
port@1 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
HDMI output port
port@3 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Sound input port
Required in this object (required): "compatible", "reg"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/sound/dai-common.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
hdmi-bridge@39 {
compatible = "sil,sii9022";
reg = <0x39>;
reset-gpios = <&pioA 1 0>;
iovcc-supply = <&v3v3_hdmi>;
cvcc12-supply = <&v1v2_hdmi>;
#sound-dai-cells = <0>;
sil,i2s-data-lanes = < 0 1 2 >;
clocks = <&mclk>;
clock-names = "mclk";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
bridge_in: endpoint {
remote-endpoint = <&dc_out>;
};
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 17: CEC Programming Interface
Line 18: Transmitter Programming Interface