Skip to contentSkip to conversation

arm64: dts: freescale: imx8mp-(verdin|toradex-smarc): Add HDMI audio support

PATCH Applied Francesco Dolcini 2 participants 5 messages Dec 9, 2025 – Dec 30, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover arm64: dts: freescale: imx8mp-(verdin|toradex-smarc): Add HDMI audio support

From: Francesco Dolcini <[email protected]>

Add support for HDMI audio on Verdin and Toradex SMARC iMX8M Plus boards, as done in commit b21f87b8322f ("arm64: dts: imx8mp-evk: enable hdmi_pai device") on the NXP i.MX8MP EVK board.

In addition a small cleanup on spurious comments.

Francesco Dolcini (3):
arm64: dts: freescale: imx8mp-verdin: Remove obsolete TODO comments
arm64: dts: freescale: imx8mp-verdin: enable hdmi_pai device
arm64: dts: freescale: imx8mp-toradex-smarc: enable hdmi_pai device

 arch/arm64/boot/dts/freescale/imx8mp-toradex-smarc-dev.dts | 4 ++++
 arch/arm64/boot/dts/freescale/imx8mp-verdin-dahlia.dtsi    | 4 ++++
 arch/arm64/boot/dts/freescale/imx8mp-verdin-dev.dtsi       | 4 ++++
 arch/arm64/boot/dts/freescale/imx8mp-verdin-mallow.dtsi    | 4 ++++
 arch/arm64/boot/dts/freescale/imx8mp-verdin-yavia.dtsi     | 4 ++++
 arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi           | 4 ----
 6 files changed, 20 insertions(+), 4 deletions(-)
Signature · 1 line
2.47.3
#1 lore raw

PATCH 1/3 arm64: dts: freescale: imx8mp-verdin: Remove obsolete TODO comments

From: Francesco Dolcini <[email protected]>

Remove obsolete TODO comments, I2S interface is supported since Linux v6.6.

---
 arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi | 4 ----
 1 file changed, 4 deletions(-)
arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi +0 -4
index d43ba0087126..d31f8082394f 100644
@@ -832,10 +832,6 @@ &pwm3 {
 	#pwm-cells = <3>;
 };
 
-/* TODO: Verdin I2S_1 */
-
-/* TODO: Verdin I2S_2 */
-
 &snvs_pwrkey {
 	status = "okay";
 };
Signature · 1 line
2.47.3
#2 lore raw

PATCH 2/3 arm64: dts: freescale: imx8mp-verdin: enable hdmi_pai device

In reply to Francesco Dolcini

From: Francesco Dolcini <[email protected]>

Enable the hdmi_pai device on the various iMX8M Plus Verdin boards that feature the related HDMI interface.

The hdmi_pai device, together with aud2htx module, hdmi_pai and hdmi controller compose the HDMI audio pipeline.

See commit b21f87b8322f ("arm64: dts: imx8mp-evk: enable hdmi_pai device") for the equivalent change on the NXP i.MX8MP EVK board.

---
 arch/arm64/boot/dts/freescale/imx8mp-verdin-dahlia.dtsi | 4 ++++
 arch/arm64/boot/dts/freescale/imx8mp-verdin-dev.dtsi    | 4 ++++
 arch/arm64/boot/dts/freescale/imx8mp-verdin-mallow.dtsi | 4 ++++
 arch/arm64/boot/dts/freescale/imx8mp-verdin-yavia.dtsi  | 4 ++++
 4 files changed, 16 insertions(+)
arch/arm64/boot/dts/freescale/imx8mp-verdin-dahlia.dtsi +4 -0
index 1493319aa748..0e218e6b8e29 100644
@@ -112,6 +112,10 @@ &gpio4 {
 };
 
 /* Verdin HDMI_1 */
+&hdmi_pai {
+	status = "okay";
+};
+
 &hdmi_pvi {
 	status = "okay";
 };
arch/arm64/boot/dts/freescale/imx8mp-verdin-dev.dtsi +4 -0
index a38e7c947a42..72a4f846d694 100644
@@ -121,6 +121,10 @@ &gpio_expander_21 {
 };
 
 /* Verdin HDMI_1 */
+&hdmi_pai {
+	status = "okay";
+};
+
 &hdmi_pvi {
 	status = "okay";
 };
arch/arm64/boot/dts/freescale/imx8mp-verdin-mallow.dtsi +4 -0
index 11cf3bdc95c4..846b36706821 100644
@@ -109,6 +109,10 @@ &flexcan2 {
 };
 
 /* Verdin HDMI_1 */
+&hdmi_pai {
+	status = "okay";
+};
+
 &hdmi_pvi {
 	status = "okay";
 };
arch/arm64/boot/dts/freescale/imx8mp-verdin-yavia.dtsi +4 -0
index cc389cda2af2..f3d28e23ba6c 100644
@@ -123,6 +123,10 @@ &gpio4 {
 };
 
 /* Verdin HDMI_1 */
+&hdmi_pai {
+	status = "okay";
+};
+
 &hdmi_pvi {
 	status = "okay";
 };
Signature · 1 line
2.47.3
#3 lore raw

PATCH 3/3 arm64: dts: freescale: imx8mp-toradex-smarc: enable hdmi_pai device

In reply to Francesco Dolcini

From: Francesco Dolcini <[email protected]>

Enable the hdmi_pai device on the Toradex SMARC iMX8M Plus Development boards.

The hdmi_pai device, together with aud2htx module, hdmi_pai and hdmi controller compose the HDMI audio pipeline.

See commit b21f87b8322f ("arm64: dts: imx8mp-evk: enable hdmi_pai device") for the equivalent change on the NXP i.MX8MP EVK board.

---
 arch/arm64/boot/dts/freescale/imx8mp-toradex-smarc-dev.dts | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm64/boot/dts/freescale/imx8mp-toradex-smarc-dev.dts +4 -0
index 6f9dcd3a75c8..b31de307093c 100644
@@ -107,6 +107,10 @@ &gpio4 {
 	pinctrl-0 = <&pinctrl_gpio4>, <&pinctrl_gpio6>;
 };
 
+&hdmi_pai {
+	status = "okay";
+};
+
 &hdmi_pvi {
 	status = "okay";
 };
Signature · 1 line
2.47.3
Applied
#4 lore raw
In reply to Francesco Dolcini
Quoted 6 lines · Francesco Dolcini

From: Francesco Dolcini <[email protected]>

Add support for HDMI audio on Verdin and Toradex SMARC iMX8M Plus boards, as done in commit b21f87b8322f ("arm64: dts: imx8mp-evk: enable hdmi_pai device") on the NXP i.MX8MP EVK board.

Quoted 6 lines

In addition a small cleanup on spurious comments.

Francesco Dolcini (3):
arm64: dts: freescale: imx8mp-verdin: Remove obsolete TODO comments
arm64: dts: freescale: imx8mp-verdin: enable hdmi_pai device
arm64: dts: freescale: imx8mp-toradex-smarc: enable hdmi_pai device

Applied all, thanks!