Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

arm64: dts: rockchip: Add HDMI node to RK3368

Add the HDMI controller node to the main SoC devicetree and hook
it into the VOP.

Signed-off-by: Heiko Stuebner <heiko.stuebner@cherry.de>
Link: https://patch.msgid.link/20260114230707.4175162-3-heiko@sntech.de
Signed-off-by: Heiko Stuebner <heiko@sntech.de>

authored by

Heiko Stuebner and committed by
Heiko Stuebner
6d60168c 4f3df9ab

+43
+43
arch/arm64/boot/dts/rockchip/rk3368.dtsi
··· 883 883 reg = <0>; 884 884 remote-endpoint = <&dsi_in_vop>; 885 885 }; 886 + 887 + vop_out_hdmi: endpoint@1 { 888 + reg = <1>; 889 + remote-endpoint = <&hdmi_in_vop>; 890 + }; 886 891 }; 887 892 }; 888 893 ··· 944 939 resets = <&cru SRST_MIPIDPHYTX>; 945 940 reset-names = "apb"; 946 941 status = "disabled"; 942 + }; 943 + 944 + hdmi: hdmi@ff980000 { 945 + compatible = "rockchip,rk3368-dw-hdmi"; 946 + reg = <0x0 0xff980000 0x0 0x20000>; 947 + interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; 948 + clocks = <&cru PCLK_HDMI_CTRL>, <&cru SCLK_HDMI_HDCP>, <&cru SCLK_HDMI_CEC>; 949 + clock-names = "iahb", "isfr", "cec"; 950 + pinctrl-names = "default"; 951 + pinctrl-0 = <&hdmi_i2c_xfer>; 952 + power-domains = <&power RK3368_PD_VIO>; 953 + reg-io-width = <4>; 954 + rockchip,grf = <&grf>; 955 + status = "disabled"; 956 + 957 + ports { 958 + #address-cells = <1>; 959 + #size-cells = <0>; 960 + 961 + hdmi_in: port@0 { 962 + reg = <0>; 963 + 964 + hdmi_in_vop: endpoint { 965 + remote-endpoint = <&vop_out_hdmi>; 966 + }; 967 + }; 968 + 969 + hdmi_out: port@1 { 970 + reg = <1>; 971 + }; 972 + }; 947 973 }; 948 974 949 975 hevc_mmu: iommu@ff9a0440 { ··· 1237 1201 <3 RK_PC0 1 &pcfg_pull_none>, 1238 1202 <3 RK_PC4 1 &pcfg_pull_none>, 1239 1203 <3 RK_PC5 1 &pcfg_pull_none>; 1204 + }; 1205 + }; 1206 + 1207 + hdmi { 1208 + hdmi_i2c_xfer: hdmi-i2c-xfer { 1209 + rockchip,pins = <3 RK_PD2 1 &pcfg_pull_none>, 1210 + <3 RK_PD3 1 &pcfg_pull_none>; 1240 1211 }; 1241 1212 }; 1242 1213