Skip to contentSkip to conversation

Enable HDMI RX controller on RK3588

PATCH Applied Dmitry Osipenko 4 participants 14 messages Mar 6, 2025

Subsystems (3)

v14 of 15 Applied Latest is v15 →

lore
Share & tools
lore
#0 lore raw

v14 cover Enable HDMI RX controller on RK3588

Hello Heiko,

This is a follow up to the v13 of HDMI RX patches [1]. Hans queued the driver into the media tree. Now the DT patches are left to apply, could you please take care of this series if it's good to you? Thanks

[1] https://lore.kernel.org/linux-media/[email protected]/

Changelog:

v14: - Re-enabled LOAD_DEFAULT_EDID=y option in the defconfig and
added ack from Hans Verkuil fot that patch.

Sebastian Reichel (2):
arm64: dts: rockchip: Enable HDMI receiver on rock-5b
arm64: defconfig: Enable Synopsys HDMI receiver

Shreeya Patel (1):
arm64: dts: rockchip: Add device tree support for HDMI RX Controller

 .../dts/rockchip/rk3588-base-pinctrl.dtsi     | 14 +++++
 .../arm64/boot/dts/rockchip/rk3588-extra.dtsi | 57 +++++++++++++++++++
 .../boot/dts/rockchip/rk3588-rock-5b.dts      | 18 ++++++
 arch/arm64/configs/defconfig                  |  2 +
 4 files changed, 91 insertions(+)
Signature · 7 lines
2.48.1


_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip
#1 lore raw

PATCH v14 1/3 arm64: dts: rockchip: Add device tree support for HDMI RX Controller

From: Shreeya Patel <[email protected]>

Add device tree support for Synopsys DesignWare HDMI RX Controller.

---
 .../dts/rockchip/rk3588-base-pinctrl.dtsi     | 14 +++++
 .../arm64/boot/dts/rockchip/rk3588-extra.dtsi | 57 +++++++++++++++++++
 2 files changed, 71 insertions(+)
arch/arm64/boot/dts/rockchip/rk3588-base-pinctrl.dtsi +14 -0
index 7f874c77410c..2d4b9986a177 100644
@@ -594,6 +594,20 @@ hdmim0_tx1_hpd: hdmim0-tx1-hpd {
 				/* hdmim0_tx1_hpd */
 				<1 RK_PA6 5 &pcfg_pull_none>;
 		};
+
+		/omit-if-no-ref/
+		hdmim1_rx: hdmim1-rx {
+			rockchip,pins =
+				/* hdmim1_rx_cec */
+				<3 RK_PD1 5 &pcfg_pull_none>,
+				/* hdmim1_rx_scl */
+				<3 RK_PD2 5 &pcfg_pull_none_smt>,
+				/* hdmim1_rx_sda */
+				<3 RK_PD3 5 &pcfg_pull_none_smt>,
+				/* hdmim1_rx_hpdin */
+				<3 RK_PD4 5 &pcfg_pull_none>;
+		};
+
 		/omit-if-no-ref/
 		hdmim1_rx_cec: hdmim1-rx-cec {
 			rockchip,pins =
arch/arm64/boot/dts/rockchip/rk3588-extra.dtsi +57 -0

69 lines not on this page · raw message

Signature · 1 line
2.48.1
maintainer
#2 lore raw

Re: [PATCH v14 1/3] arm64: dts: rockchip: Add device tree support for HDMI RX Controller

Hi Dmitry,

Am Donnerstag, 6. März 2025, 08:28:40 MEZ schrieb Dmitry Osipenko:

Quoted 28 lines

From: Shreeya Patel <[email protected]>

Add device tree support for Synopsys DesignWare HDMI RX Controller.

---
 .../dts/rockchip/rk3588-base-pinctrl.dtsi     | 14 +++++
 .../arm64/boot/dts/rockchip/rk3588-extra.dtsi | 57 +++++++++++++++++++
 2 files changed, 71 insertions(+)
arch/arm64/boot/dts/rockchip/rk3588-base-pinctrl.dtsi +4 -0
index 7f874c77410c..2d4b9986a177 100644
@@ -594,6 +594,20 @@ hdmim0_tx1_hpd: hdmim0-tx1-hpd {
 				/* hdmim0_tx1_hpd */
 				<1 RK_PA6 5 &pcfg_pull_none>;
 		};
+
+		/omit-if-no-ref/
+		hdmim1_rx: hdmim1-rx {
+			rockchip,pins =

arch/arm64/boot/dts/rockchip/rk3588-base-pinctrl.dtsi hdmim0_tx1_hpd: hdmim0-tx1-hpd { · line 610

Quoted 10 lines
arch/arm64/boot/dts/rockchip/rk3588-base-pinctrl.dtsi +10 -0
+				/* hdmim1_rx_cec */
+				<3 RK_PD1 5 &pcfg_pull_none>,
+				/* hdmim1_rx_scl */
+				<3 RK_PD2 5 &pcfg_pull_none_smt>,
+				/* hdmim1_rx_sda */
+				<3 RK_PD3 5 &pcfg_pull_none_smt>,
+				/* hdmim1_rx_hpdin */
+				<3 RK_PD4 5 &pcfg_pull_none>;
+		};
+

what's the reason for duplicating these pinctrl entries?

The base-pinctrl already contains a separate set of pins (and also a variant for the m0 set of pins), so why not check and use the already existing ones:

                hdmim1_rx_cec: hdmim1-rx-cec {
                        rockchip,pins =
                                /* hdmim1_rx_cec */
                                <3 RK_PD1 5 &pcfg_pull_none>;
                };

                hdmim1_rx_hpdin: hdmim1-rx-hpdin {
                        rockchip,pins =
                                /* hdmim1_rx_hpdin */
                                <3 RK_PD4 5 &pcfg_pull_none>;
                };

                hdmim1_rx_scl: hdmim1-rx-scl {
                        rockchip,pins =
                                /* hdmim1_rx_scl */
                                <3 RK_PD2 5 &pcfg_pull_none>;
                };

                hdmim1_rx_sda: hdmim1-rx-sda {
                        rockchip,pins =
                                /* hdmim1_rx_sda */
                                <3 RK_PD3 5 &pcfg_pull_none>;
                };

Having multiple sets (even with differeing settings) will cause confusion later on.

Quoted 31 lines
arch/arm64/boot/dts/rockchip/rk3588-base-pinctrl.dtsi +0 -0
 		/omit-if-no-ref/
 		hdmim1_rx_cec: hdmim1-rx-cec {
 			rockchip,pins =
arch/arm64/boot/dts/rockchip/rk3588-extra.dtsi +20 -0
index 4a950907ea6f..b7d06f93c8ce 100644
@@ -135,6 +159,39 @@ i2s10_8ch: i2s@fde00000 {
 		status = "disabled";
 	};
 
+	hdmi_receiver: hdmi_receiver@fdee0000 {
+		compatible = "rockchip,rk3588-hdmirx-ctrler", "snps,dw-hdmi-rx";
+		reg = <0x0 0xfdee0000 0x0 0x6000>;
+		power-domains = <&power RK3588_PD_VO1>;
+		rockchip,grf = <&sys_grf>;
+		rockchip,vo1-grf = <&vo1_grf>;
+		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",

arch/arm64/boot/dts/rockchip/rk3588-extra.dtsi i2s10_8ch: i2s@fde00000 { · line 191

Quoted 10 lines
arch/arm64/boot/dts/rockchip/rk3588-extra.dtsi +10 -0
+			      "pclk",
+			      "ref",
+			      "hclk_s_hdmirx",
+			      "hclk_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>;
+		pinctrl-names = "default";

hmm, this might be better living in the board dts?

Heiko

#3 lore raw

Re: [PATCH v14 1/3] arm64: dts: rockchip: Add device tree support for HDMI RX Controller

Quoted 73 lines · Heiko Stübner

Hi Dmitry,

Am Donnerstag, 6. März 2025, 08:28:40 MEZ schrieb Dmitry Osipenko:

Quoted 28 lines

From: Shreeya Patel <[email protected]>

Add device tree support for Synopsys DesignWare HDMI RX Controller.

---
 .../dts/rockchip/rk3588-base-pinctrl.dtsi     | 14 +++++
 .../arm64/boot/dts/rockchip/rk3588-extra.dtsi | 57 +++++++++++++++++++
 2 files changed, 71 insertions(+)
arch/arm64/boot/dts/rockchip/rk3588-base-pinctrl.dtsi +4 -0
index 7f874c77410c..2d4b9986a177 100644
@@ -594,6 +594,20 @@ hdmim0_tx1_hpd: hdmim0-tx1-hpd {
 				/* hdmim0_tx1_hpd */
 				<1 RK_PA6 5 &pcfg_pull_none>;
 		};
+
+		/omit-if-no-ref/
+		hdmim1_rx: hdmim1-rx {
+			rockchip,pins =

arch/arm64/boot/dts/rockchip/rk3588-base-pinctrl.dtsi hdmim0_tx1_hpd: hdmim0-tx1-hpd { · line 610

Quoted 10 lines
arch/arm64/boot/dts/rockchip/rk3588-base-pinctrl.dtsi +10 -0
+				/* hdmim1_rx_cec */
+				<3 RK_PD1 5 &pcfg_pull_none>,
+				/* hdmim1_rx_scl */
+				<3 RK_PD2 5 &pcfg_pull_none_smt>,
+				/* hdmim1_rx_sda */
+				<3 RK_PD3 5 &pcfg_pull_none_smt>,
+				/* hdmim1_rx_hpdin */
+				<3 RK_PD4 5 &pcfg_pull_none>;
+		};
+

what's the reason for duplicating these pinctrl entries?

The base-pinctrl already contains a separate set of pins (and also a variant for the m0 set of pins), so why not check and use the already existing ones:

                hdmim1_rx_cec: hdmim1-rx-cec {
                        rockchip,pins =
                                /* hdmim1_rx_cec */
                                <3 RK_PD1 5 &pcfg_pull_none>;
                };

                hdmim1_rx_hpdin: hdmim1-rx-hpdin {
                        rockchip,pins =
                                /* hdmim1_rx_hpdin */
                                <3 RK_PD4 5 &pcfg_pull_none>;
                };

                hdmim1_rx_scl: hdmim1-rx-scl {
                        rockchip,pins =
                                /* hdmim1_rx_scl */
                                <3 RK_PD2 5 &pcfg_pull_none>;
                };

                hdmim1_rx_sda: hdmim1-rx-sda {
                        rockchip,pins =
                                /* hdmim1_rx_sda */
                                <3 RK_PD3 5 &pcfg_pull_none>;
                };
Quoted 2 lines

Having multiple sets (even with differeing settings) will cause confusion later on.

Will try this variant, thanks!

Quoted 35 lines
Quoted 35 lines
arch/arm64/boot/dts/rockchip/rk3588-base-pinctrl.dtsi +0 -0
 		/omit-if-no-ref/
 		hdmim1_rx_cec: hdmim1-rx-cec {
 			rockchip,pins =
arch/arm64/boot/dts/rockchip/rk3588-extra.dtsi +24 -0
index 4a950907ea6f..b7d06f93c8ce 100644
@@ -135,6 +159,39 @@ i2s10_8ch: i2s@fde00000 {
 		status = "disabled";
 	};
 
+	hdmi_receiver: hdmi_receiver@fdee0000 {
+		compatible = "rockchip,rk3588-hdmirx-ctrler", "snps,dw-hdmi-rx";
+		reg = <0x0 0xfdee0000 0x0 0x6000>;
+		power-domains = <&power RK3588_PD_VO1>;
+		rockchip,grf = <&sys_grf>;
+		rockchip,vo1-grf = <&vo1_grf>;
+		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";
Quoted 8 lines

arch/arm64/boot/dts/rockchip/rk3588-extra.dtsi i2s10_8ch: i2s@fde00000 { · line 191

Quoted 6 lines
arch/arm64/boot/dts/rockchip/rk3588-extra.dtsi +6 -0
+		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>;
+		pinctrl-names = "default";

hmm, this might be better living in the board dts?

HDMI RX controller is a part of the SoC, it's not specific to a particular board. If you meaning move it into rock5b.dts, then we definitely shouldn't do it. It's like moving PCIe controller node into a board DT :)

Signature · 2 lines
Best regards,
Dmitry
maintainer
#4 lore raw

Re: [PATCH v14 1/3] arm64: dts: rockchip: Add device tree support for HDMI RX Controller

Am Donnerstag, 6. März 2025, 16:53:48 MEZ schrieb Dmitry Osipenko:

Quoted 50 lines · Heiko Stübner
Quoted 40 lines

Hi Dmitry,

Am Donnerstag, 6. März 2025, 08:28:40 MEZ schrieb Dmitry Osipenko:

Quoted 37 lines

From: Shreeya Patel <[email protected]>

Add device tree support for Synopsys DesignWare HDMI RX Controller.

---

arch/arm64/boot/dts/rockchip/rk3588-extra.dtsi +24 -0
+	hdmi_receiver: hdmi_receiver@fdee0000 {
+		compatible = "rockchip,rk3588-hdmirx-ctrler", "snps,dw-hdmi-rx";
+		reg = <0x0 0xfdee0000 0x0 0x6000>;
+		power-domains = <&power RK3588_PD_VO1>;
+		rockchip,grf = <&sys_grf>;
+		rockchip,vo1-grf = <&vo1_grf>;
+		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";
Quoted 8 lines

arch/arm64/boot/dts/rockchip/rk3588-extra.dtsi i2s10_8ch: i2s@fde00000 { · line 191

Quoted 6 lines
arch/arm64/boot/dts/rockchip/rk3588-extra.dtsi +6 -0
+		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>;
+		pinctrl-names = "default";

hmm, this might be better living in the board dts?

Quoted 4 lines

HDMI RX controller is a part of the SoC, it's not specific to a particular board. If you meaning move it into rock5b.dts, then we definitely shouldn't do it. It's like moving PCIe controller node into a board DT :)

sorry, should've been clearer. I meant the pinctrl.
There are two sets of pins hdmim0-rx and hdmim1-rx which one is used is board specific.

Can you check if "most" boards use the M1 variant?

Rationale being, that if we know that most boards use the same set of pins, it's likely ok to just have the minority boards override it.

Heiko

#5 lore raw

Re: [PATCH v14 1/3] arm64: dts: rockchip: Add device tree support for HDMI RX Controller

Quoted 7 lines · Heiko Stübner
Quoted 7 lines
Quoted 3 lines

arch/arm64/boot/dts/rockchip/rk3588-extra.dtsi i2s10_8ch: i2s@fde00000 { · line 191

Quoted 2 lines
arch/arm64/boot/dts/rockchip/rk3588-extra.dtsi +2 -0
+		pinctrl-0 = <&hdmim1_rx>;
+		pinctrl-names = "default";

hmm, this might be better living in the board dts?

HDMI RX controller is a part of the SoC, it's not specific to a particular board. If you meaning move it into rock5b.dts, then we definitely shouldn't do it. It's like moving PCIe controller node into a board DT 🙂

Quoted 8 lines

sorry, should've been clearer. I meant the pinctrl.
There are two sets of pins hdmim0-rx and hdmim1-rx which one is used is board specific.

Can you check if "most" boards use the M1 variant?

Rationale being, that if we know that most boards use the same set of pins, it's likely ok to just have the minority boards override it.

Will check, thanks for the clarification!

Signature · 2 lines
Best regards,
Dmitry
#6 lore raw

PATCH v14 2/3 arm64: dts: rockchip: Enable HDMI receiver on rock-5b

In reply to Dmitry Osipenko

From: Sebastian Reichel <[email protected]>

The Rock 5B has a Micro HDMI port, which can be used for receiving HDMI data. This enables support for it.

---
 .../arm64/boot/dts/rockchip/rk3588-rock-5b.dts | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts +18 -0
index d597112f1d5b..377824e69e20 100644
@@ -220,6 +220,18 @@ hdmi0_out_con: endpoint {
 	};
 };
 
+&hdmi_receiver_cma {
+	status = "okay";
+};
+
+&hdmi_receiver {
+	status = "okay";
+	hpd-gpios = <&gpio1 RK_PC6 GPIO_ACTIVE_LOW>;
+	pinctrl-0 = <&hdmim1_rx_cec &hdmim1_rx_hpdin &hdmim1_rx_scl &hdmim1_rx_sda &hdmirx_hpd>;
+	pinctrl-names = "default";
+	memory-region = <&hdmi_receiver_cma>;
+};
+
 &hdptxphy_hdmi0 {
 	status = "okay";
 };
@@ -377,6 +389,12 @@ &pcie3x4 {
 };
 
 &pinctrl {
+	hdmirx {
+		hdmirx_hpd: hdmirx-5v-detection {
+			rockchip,pins = <1 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>;
+		};
+	};
+
 	hym8563 {
 		hym8563_int: hym8563-int {
 			rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
Signature · 1 line
2.48.1
maintainer
#7 lore raw

Re: [PATCH v14 2/3] arm64: dts: rockchip: Enable HDMI receiver on rock-5b

Am Donnerstag, 6. März 2025, 08:28:41 MEZ schrieb Dmitry Osipenko:

Quoted 20 lines

From: Sebastian Reichel <[email protected]>

The Rock 5B has a Micro HDMI port, which can be used for receiving HDMI data. This enables support for it.

---
 .../arm64/boot/dts/rockchip/rk3588-rock-5b.dts | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts +0 -0
index d597112f1d5b..377824e69e20 100644
@@ -220,6 +220,18 @@ hdmi0_out_con: endpoint {
 	};
 };
 

arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts hdmi0_out_con: endpoint { · line 232

Quoted 10 lines
arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts +10 -0
+&hdmi_receiver_cma {
+	status = "okay";
+};
+
+&hdmi_receiver {
+	status = "okay";
+	hpd-gpios = <&gpio1 RK_PC6 GPIO_ACTIVE_LOW>;
+	pinctrl-0 = <&hdmim1_rx_cec &hdmim1_rx_hpdin &hdmim1_rx_scl &hdmim1_rx_sda &hdmirx_hpd>;
+	pinctrl-names = "default";
+	memory-region = <&hdmi_receiver_cma>;

nit: property sorting, alphabetical ... but with status at the end

Heiko

#8 lore raw

PATCH v14 3/3 arm64: defconfig: Enable Synopsys HDMI receiver

In reply to Dmitry Osipenko

From: Sebastian Reichel <[email protected]>

The Rockchip RK3588 has a built-in HDMI receiver block from Synopsys. Let's enable the driver for it.

---
 arch/arm64/configs/defconfig | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/configs/defconfig +2 -0
index cb7da4415599..3dccc9e1c4aa 100644
@@ -859,6 +859,8 @@ CONFIG_VIDEO_SAMSUNG_EXYNOS_GSC=m
 CONFIG_VIDEO_SAMSUNG_S5P_JPEG=m
 CONFIG_VIDEO_SAMSUNG_S5P_MFC=m
 CONFIG_VIDEO_SUN6I_CSI=m
+CONFIG_VIDEO_SYNOPSYS_HDMIRX=m
+CONFIG_VIDEO_SYNOPSYS_HDMIRX_LOAD_DEFAULT_EDID=y
 CONFIG_VIDEO_TI_J721E_CSI2RX=m
 CONFIG_VIDEO_HANTRO=m
 CONFIG_VIDEO_IMX219=m
Signature · 1 line
2.48.1
maintainer
#9 lore raw
In reply to Dmitry Osipenko

Hi Dmitry,

Am Donnerstag, 6. März 2025, 08:28:39 MEZ schrieb Dmitry Osipenko:

Quoted 5 lines

This is a follow up to the v13 of HDMI RX patches [1]. Hans queued the driver into the media tree. Now the DT patches are left to apply, could you please take care of this series if it's good to you? Thanks

[1] https://lore.kernel.org/linux-media/[email protected]/

Linux-Media, has this strange "applied" reporting thing going, so neither the thread reports that nor does https://git.linuxtv.org/ show the commits yet.

If you see the driver patches appear on https://git.linuxtv.org/ before I do, please ping this thread :-)

Thanks a lot
Heiko

Quoted 20 lines

Changelog:

v14: - Re-enabled LOAD_DEFAULT_EDID=y option in the defconfig and
added ack from Hans Verkuil fot that patch.

Sebastian Reichel (2):
arm64: dts: rockchip: Enable HDMI receiver on rock-5b
arm64: defconfig: Enable Synopsys HDMI receiver

Shreeya Patel (1):
arm64: dts: rockchip: Add device tree support for HDMI RX Controller

 .../dts/rockchip/rk3588-base-pinctrl.dtsi     | 14 +++++
 .../arm64/boot/dts/rockchip/rk3588-extra.dtsi | 57 +++++++++++++++++++
 .../boot/dts/rockchip/rk3588-rock-5b.dts      | 18 ++++++
 arch/arm64/configs/defconfig                  |  2 +
 4 files changed, 91 insertions(+)
#10 lore raw
Quoted 7 lines · Heiko Stübner

Hi Dmitry,

Am Donnerstag, 6. März 2025, 08:28:39 MEZ schrieb Dmitry Osipenko:

Quoted 4 lines

This is a follow up to the v13 of HDMI RX patches [1]. Hans queued the driver into the media tree. Now the DT patches are left to apply, could you please take care of this series if it's good to you? Thanks

Quoted 8 lines
Quoted 1 line

[1] https://lore.kernel.org/linux-media/[email protected]/

Linux-Media, has this strange "applied" reporting thing going, so neither the thread reports that nor does https://git.linuxtv.org/ show the commits yet.

If you see the driver patches appear on https://git.linuxtv.org/ before I do, please ping this thread :-)

Patches are merged here first:

https://gitlab.freedesktop.org/linux-media/media-committers

That's where all the new code lands.

With a two day delay (if I am not mistaken) they will arrive on the
https://git.linuxtv.org/media.git/ tree.

If it is in the media-committers tree, then it is OK to take dts etc. patches.

Regards,

Hans

Quoted 30 lines

Thanks a lot
Heiko

Quoted 20 lines

Changelog:

v14: - Re-enabled LOAD_DEFAULT_EDID=y option in the defconfig and
added ack from Hans Verkuil fot that patch.

Sebastian Reichel (2):
arm64: dts: rockchip: Enable HDMI receiver on rock-5b
arm64: defconfig: Enable Synopsys HDMI receiver

Shreeya Patel (1):
arm64: dts: rockchip: Add device tree support for HDMI RX Controller

 .../dts/rockchip/rk3588-base-pinctrl.dtsi     | 14 +++++
 .../arm64/boot/dts/rockchip/rk3588-extra.dtsi | 57 +++++++++++++++++++
 .../boot/dts/rockchip/rk3588-rock-5b.dts      | 18 ++++++
 arch/arm64/configs/defconfig                  |  2 +
 4 files changed, 91 insertions(+)
maintainer
#11 lore raw

Hi Hans,

Am Donnerstag, 6. März 2025, 10:41:46 MEZ schrieb Hans Verkuil:

Quoted 14 lines · Heiko Stübner
Quoted 13 lines

Hi Dmitry,

Am Donnerstag, 6. März 2025, 08:28:39 MEZ schrieb Dmitry Osipenko:

Quoted 5 lines

This is a follow up to the v13 of HDMI RX patches [1]. Hans queued the driver into the media tree. Now the DT patches are left to apply, could you please take care of this series if it's good to you? Thanks

[1] https://lore.kernel.org/linux-media/[email protected]/

Linux-Media, has this strange "applied" reporting thing going, so neither the thread reports that nor does https://git.linuxtv.org/ show the commits yet.

Quoted 6 lines
Quoted 2 lines

If you see the driver patches appear on https://git.linuxtv.org/ before I do, please ping this thread :-)

Patches are merged here first:

https://gitlab.freedesktop.org/linux-media/media-committers

aaaah, that was the missing piece of the puzzle.

I remember reading that media also switched to a multi-comitter model, but didn't realize that this might entail a different host.

So thanks for the pointer.

Heiko

Quoted 45 lines

That's where all the new code lands.

With a two day delay (if I am not mistaken) they will arrive on the
https://git.linuxtv.org/media.git/ tree.

If it is in the media-committers tree, then it is OK to take dts etc. patches.

Regards,

Hans

Quoted 30 lines

Thanks a lot
Heiko

Quoted 20 lines

Changelog:

v14: - Re-enabled LOAD_DEFAULT_EDID=y option in the defconfig and
added ack from Hans Verkuil fot that patch.

Sebastian Reichel (2):
arm64: dts: rockchip: Enable HDMI receiver on rock-5b
arm64: defconfig: Enable Synopsys HDMI receiver

Shreeya Patel (1):
arm64: dts: rockchip: Add device tree support for HDMI RX Controller

 .../dts/rockchip/rk3588-base-pinctrl.dtsi     | 14 +++++
 .../arm64/boot/dts/rockchip/rk3588-extra.dtsi | 57 +++++++++++++++++++
 .../boot/dts/rockchip/rk3588-rock-5b.dts      | 18 ++++++
 arch/arm64/configs/defconfig                  |  2 +
 4 files changed, 91 insertions(+)
maintainer Applied
#12 lore raw

Re: (subset) [PATCH v14 0/3] Enable HDMI RX controller on RK3588

In reply to Dmitry Osipenko
Quoted 9 lines · Dmitry Osipenko

This is a follow up to the v13 of HDMI RX patches [1]. Hans queued the driver into the media tree. Now the DT patches are left to apply, could you please take care of this series if it's good to you? Thanks

[1] https://lore.kernel.org/linux-media/[email protected]/

Changelog:

[...]

Applied, thanks!

[3/3] arm64: defconfig: Enable Synopsys HDMI receiver

      commit: 97d8fe4b7722104b9abdb9cbeb0e884f864c6477

Best regards,

Signature · 1 line
Heiko Stuebner <[email protected]>
#13 lore raw
In reply to Dmitry Osipenko
Quoted 20 lines · Dmitry Osipenko

Hello Heiko,

This is a follow up to the v13 of HDMI RX patches [1]. Hans queued the driver into the media tree. Now the DT patches are left to apply, could you please take care of this series if it's good to you? Thanks

[1] https://lore.kernel.org/linux-media/[email protected]/

Changelog:

v14: - Re-enabled LOAD_DEFAULT_EDID=y option in the defconfig and
added ack from Hans Verkuil fot that patch.

Sebastian Reichel (2):
arm64: dts: rockchip: Enable HDMI receiver on rock-5b
arm64: defconfig: Enable Synopsys HDMI receiver

Shreeya Patel (1):
arm64: dts: rockchip: Add device tree support for HDMI RX Controller

Quoted 11 lines
 .../dts/rockchip/rk3588-base-pinctrl.dtsi     | 14 +++++
 .../arm64/boot/dts/rockchip/rk3588-extra.dtsi | 57 +++++++++++++++++++
 .../boot/dts/rockchip/rk3588-rock-5b.dts      | 18 ++++++
 arch/arm64/configs/defconfig                  |  2 +
 4 files changed, 91 insertions(+)

--
2.48.1

My bot found new DTB warnings on the .dts files added or changed in this series.

Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings are fixed by another series. Ultimately, it is up to the platform maintainer whether these warnings are acceptable or not. No need to reply unless the platform maintainer has comments.

If you already ran DT checks and didn't see these error(s), then make sure dt-schema is up to date:

  pip3 install dtschema --upgrade

New warnings running 'make CHECK_DTBS=y for arch/arm64/boot/dts/rockchip/' for [email protected]:

arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx'] arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx'] arch/arm64/boot/dts/rockchip/rk3588-h96-max-v58.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx'] arch/arm64/boot/dts/rockchip/rk3588-h96-max-v58.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx'] arch/arm64/boot/dts/rockchip/rk3588-jaguar.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx'] arch/arm64/boot/dts/rockchip/rk3588-jaguar.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx'] arch/arm64/boot/dts/rockchip/rk3588-ok3588-c.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx'] arch/arm64/boot/dts/rockchip/rk3588-ok3588-c.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx'] arch/arm64/boot/dts/rockchip/rk3588-armsom-w3.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx'] arch/arm64/boot/dts/rockchip/rk3588-armsom-w3.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx'] arch/arm64/boot/dts/rockchip/rk3588-coolpi-cm5-genbook.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx'] arch/arm64/boot/dts/rockchip/rk3588-coolpi-cm5-genbook.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx'] arch/arm64/boot/dts/rockchip/rk3588-tiger-haikou.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx'] arch/arm64/boot/dts/rockchip/rk3588-tiger-haikou.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx'] arch/arm64/boot/dts/rockchip/rk3588-toybrick-x0.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx'] arch/arm64/boot/dts/rockchip/rk3588-toybrick-x0.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx'] arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6a-io.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx'] arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6a-io.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx'] arch/arm64/boot/dts/rockchip/rk3588-friendlyelec-cm3588-nas.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx'] arch/arm64/boot/dts/rockchip/rk3588-friendlyelec-cm3588-nas.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx'] arch/arm64/boot/dts/rockchip/rk3588-rock-5-itx.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx'] arch/arm64/boot/dts/rockchip/rk3588-rock-5-itx.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx'] arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx'] arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx'] arch/arm64/boot/dts/rockchip/rk3588-turing-rk1.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx'] arch/arm64/boot/dts/rockchip/rk3588-turing-rk1.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx'] arch/arm64/boot/dts/rockchip/rk3588-quartzpro64.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx'] arch/arm64/boot/dts/rockchip/rk3588-quartzpro64.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx'] arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6-lts.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx'] arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6-lts.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx'] arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx'] arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx'] arch/arm64/boot/dts/rockchip/rk3588-armsom-sige7.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx'] arch/arm64/boot/dts/rockchip/rk3588-armsom-sige7.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx'] arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx'] arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx'] arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-max.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx'] arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-max.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx'] arch/arm64/boot/dts/rockchip/rk3588-firefly-itx-3588j.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx'] arch/arm64/boot/dts/rockchip/rk3588-firefly-itx-3588j.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx'] arch/arm64/boot/dts/rockchip/rk3588-coolpi-cm5-evb.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx'] arch/arm64/boot/dts/rockchip/rk3588-coolpi-cm5-evb.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx'] arch/arm64/boot/dts/rockchip/rk3588-evb1-v10.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx'] arch/arm64/boot/dts/rockchip/rk3588-evb1-v10.dtb: /hdmi_receiver@fdee0000: failed to match any schema with compatible: ['rockchip,rk3588-hdmirx-ctrler', 'snps,dw-hdmi-rx']