linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: imx8mp-msc-sm2s: Add HDMI output
@ 2024-06-12 10:17 Luca Ceresoli
  2024-06-17  2:28 ` Shawn Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Luca Ceresoli @ 2024-06-12 10:17 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam
  Cc: Lucas Stach, Adam Ford, Thomas Petazzoni, devicetree, imx,
	linux-arm-kernel, linux-kernel, Luca Ceresoli

Enable the HDMI output of the MSC SM2-MB-EP1 carrier board based the
SM2S-IMX8PLUS SMARC module.

Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
---
 .../boot/dts/freescale/imx8mp-msc-sm2s-ep1.dts     | 27 ++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8mp-msc-sm2s-ep1.dts b/arch/arm64/boot/dts/freescale/imx8mp-msc-sm2s-ep1.dts
index da4b1807c275..83194ea7cb81 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-msc-sm2s-ep1.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mp-msc-sm2s-ep1.dts
@@ -46,6 +46,24 @@ codec_dai: simple-audio-card,codec {
 	};
 };
 
+&hdmi_pvi {
+	status = "okay";
+};
+
+&hdmi_tx {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_hdmi>;
+	status = "okay";
+};
+
+&hdmi_tx_phy {
+	status = "okay";
+};
+
+&lcdif3 {
+	status = "okay";
+};
+
 &i2c1 {
 	sgtl5000: audio-codec@a {
 		compatible = "fsl,sgtl5000";
@@ -92,6 +110,15 @@ &iomuxc {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_smarc_gpio>;
 
+	pinctrl_hdmi: hdmigrp {
+		fsl,pins = <
+			MX8MP_IOMUXC_HDMI_DDC_SCL__HDMIMIX_HDMI_SCL	0x1c2
+			MX8MP_IOMUXC_HDMI_DDC_SDA__HDMIMIX_HDMI_SDA	0x1c2
+			MX8MP_IOMUXC_HDMI_CEC__HDMIMIX_HDMI_CEC		0x10
+			MX8MP_IOMUXC_HDMI_HPD__HDMIMIX_HDMI_HPD		0x10
+		>;
+	};
+
 	pinctrl_sai2: sai2grp {
 		fsl,pins = <
 			MX8MP_IOMUXC_SAI2_TXFS__AUDIOMIX_SAI2_TX_SYNC   0xd6

---
base-commit: 2ef5971ff345d3c000873725db555085e0131961
change-id: 20240612-imx8mp-msc-sm2s-hdmi-4df0b8b5b32c

Best regards,
-- 
Luca Ceresoli <luca.ceresoli@bootlin.com>



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] arm64: dts: imx8mp-msc-sm2s: Add HDMI output
  2024-06-12 10:17 [PATCH] arm64: dts: imx8mp-msc-sm2s: Add HDMI output Luca Ceresoli
@ 2024-06-17  2:28 ` Shawn Guo
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2024-06-17  2:28 UTC (permalink / raw)
  To: Luca Ceresoli
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam, Lucas Stach,
	Adam Ford, Thomas Petazzoni, devicetree, imx, linux-arm-kernel,
	linux-kernel

On Wed, Jun 12, 2024 at 12:17:27PM +0200, Luca Ceresoli wrote:
> Enable the HDMI output of the MSC SM2-MB-EP1 carrier board based the
> SM2S-IMX8PLUS SMARC module.
> 
> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>

Applied, thanks!



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-06-17  2:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-12 10:17 [PATCH] arm64: dts: imx8mp-msc-sm2s: Add HDMI output Luca Ceresoli
2024-06-17  2:28 ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).