Rockchip DWC HDMI TX Encoder
Schema identifier ($id): "http://devicetree.org/schemas/display/rockchip/rockchip,dw-hdmi.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Mark Yao <markyao0591@gmail.com>"
The HDMI transmitter is a Synopsys DesignWare HDMI 1.4 TX controller IP with a companion PHY IP.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):../bridge/synopsys,dw-hdmi.yaml#
Rule 2 #
Shared schema rule (
$ref):/schemas/sound/dai-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "rockchip,rk3228-dw-hdmi", "rockchip,rk3288-dw-hdmi", "rockchip,rk3328-dw-hdmi", "rockchip,rk3368-dw-hdmi", "rockchip,rk3399-dw-hdmi", "rockchip,rk3568-dw-hdmi"
reg-io-width — required here #
Exact value (const): 4
avdd-0v9-supply — not listed as required here #
A 0.9V supply that powers up the SoC internal circuitry. The actual pin name varies between the different SoCs and is usually HDMI_TX_AVDD_0V9 or sometimes HDMI_AVDD_1V0.
avdd-1v8-supply — not listed as required here #
A 1.8V supply that powers up the SoC internal circuitry. The pin name on the SoC usually is HDMI_TX_AVDD_1V8.
clocks — required here #
Minimum number of items (minItems): 2
Array item rules (items) #
Item 1
This rule adds no constraints.
Item 2
This rule adds no constraints.
Item 3
The HDMI CEC controller main clock
Item 4
Power for GRF IO
Item 5
External clock for some HDMI PHY (old clock name, deprecated)
Item 6
External clock for some HDMI PHY (new name)
clock-names — required here #
Minimum number of items (minItems): 2
Array item rules (items) #
Item 1
This rule adds no constraints.
Item 2
This rule adds no constraints.
Item 3
Item 4
Item 5
phys — not listed as required here #
Maximum number of items (maxItems): 1
The HDMI PHY
phy-names — not listed as required here #
Exact value (const): "hdmi"
pinctrl-names — not listed as required here #
The unwedge pinctrl entry shall drive the DDC SDA line low. This is intended to work around a hardware errata that can cause the DDC I2C bus to be wedged.
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"default"
Item 2
Exact value (
const):"unwedge"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Input of the DWC HDMI TX
Properties and child nodes (properties)
endpoint — not listed as required here
Connection to the VOP
endpoint@0 — not listed as required here
Connection to the VOPB
endpoint@1 — not listed as required here
Connection to the VOPL
port@1 — required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Output of the DWC HDMI TX
Required in this object (required): "port@0", "port@1"
rockchip,grf — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phandle to the GRF to mux vopl/vopb.
#sound-dai-cells — not listed as required here #
Exact value (const): 0
Required in this object (required): "compatible", "reg", "reg-io-width", "clocks", "clock-names", "interrupts", "ports", "rockchip,grf"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/rk3288-cru.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/power/rk3288-power.h>
hdmi: hdmi@ff980000 {
compatible = "rockchip,rk3288-dw-hdmi";
reg = <0xff980000 0x20000>;
reg-io-width = <4>;
interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cru PCLK_HDMI_CTRL>, <&cru SCLK_HDMI_HDCP>;
clock-names = "iahb", "isfr";
ddc-i2c-bus = <&i2c5>;
power-domains = <&power RK3288_PD_VIO>;
rockchip,grf = <&grf>;
#sound-dai-cells = <0>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;
hdmi_in_vopb: endpoint@0 {
reg = <0>;
remote-endpoint = <&vopb_out_hdmi>;
};
hdmi_in_vopl: endpoint@1 {
reg = <1>;
remote-endpoint = <&vopl_out_hdmi>;
};
};
port@1 {
reg = <1>;
hdmi_out_con: endpoint {
remote-endpoint = <&hdmi_con_in>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 49: The next three clocks are all optional, but shall be specified in this
Line 50: order when present.