Synopsys DesignWare HDMI RX Controller
Schema identifier ($id): "http://devicetree.org/schemas/media/snps,dw-hdmi-rx.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Dmitry Osipenko <dmitry.osipenko@collabora.com>"
Synopsys DesignWare HDMI Input Controller preset on RK3588 SoCs allowing devices to receive and decode high-resolution video streams from external sources like media players, cameras, laptops, etc.
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Exact value (
const):"rockchip,rk3588-hdmirx-ctrler"
Item 2
Exact value (
const):"snps,dw-hdmi-rx"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 3
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"cec"
Item 2
Exact value (
const):"hdmi"
Item 3
Exact value (
const):"dma"
clocks — required here #
Maximum number of items (maxItems): 7
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"aclk"
Item 2
Exact value (
const):"audio"
Item 3
Exact value (
const):"cr_para"
Item 4
Exact value (
const):"pclk"
Item 5
Exact value (
const):"ref"
Item 6
Exact value (
const):"hclk_s_hdmirx"
Item 7
Exact value (
const):"hclk_vo1"
power-domains — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 4
reset-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"axi"
Item 2
Exact value (
const):"apb"
Item 3
Exact value (
const):"ref"
Item 4
Exact value (
const):"biu"
memory-region — not listed as required here #
Maximum number of items (maxItems): 1
hpd-gpios — required here #
GPIO specifier for HPD.
Maximum number of items (maxItems): 1
rockchip,grf — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
The phandle of the syscon node for the general register file containing HDMIRX PHY status bits.
rockchip,vo1-grf — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
The phandle of the syscon node for the Video Output GRF register to enable EDID transfer through SDAIN and SCLIN.
Required in this object (required): "compatible", "reg", "interrupts", "interrupt-names", "clocks", "clock-names", "power-domains", "resets", "pinctrl-0", "hpd-gpios"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/rockchip,rk3588-cru.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/power/rk3588-power.h>
#include <dt-bindings/reset/rockchip,rk3588-cru.h>
hdmi_receiver: hdmi-receiver@fdee0000 {
compatible = "rockchip,rk3588-hdmirx-ctrler", "snps,dw-hdmi-rx";
reg = <0xfdee0000 0x6000>;
interrupts = <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 179 IRQ_TYPE_LEVEL_HIGH 0>;
interrupt-names = "cec", "hdmi", "dma";
clocks = <&cru ACLK_HDMIRX>,
<&cru CLK_HDMIRX_AUD>,
<&cru CLK_CR_PARA>,
<&cru PCLK_HDMIRX>,
<&cru CLK_HDMIRX_REF>,
<&cru PCLK_S_HDMIRX>,
<&cru HCLK_VO1>;
clock-names = "aclk",
"audio",
"cr_para",
"pclk",
"ref",
"hclk_s_hdmirx",
"hclk_vo1";
power-domains = <&power RK3588_PD_VO1>;
resets = <&cru SRST_A_HDMIRX>, <&cru SRST_P_HDMIRX>,
<&cru SRST_HDMIRX_REF>, <&cru SRST_A_HDMIRX_BIU>;
reset-names = "axi", "apb", "ref", "biu";
memory-region = <&hdmi_receiver_cma>;
pinctrl-0 = <&hdmim1_rx_cec &hdmim1_rx_hpdin &hdmim1_rx_scl &hdmim1_rx_sda &hdmirx_5v_detection>;
pinctrl-names = "default";
hpd-gpios = <&gpio1 22 GPIO_ACTIVE_LOW>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Device Tree bindings for Synopsys DesignWare HDMI RX Controller