[IMX93] I2S with LT9611UXC to HDMI output

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[IMX93] I2S with LT9611UXC to HDMI output

69 Views
AlanWen
Contributor III

I'm trying to connect the I2S signal to HDMI output through LT9611UXC DSI to HDMI chip, the setup of my kernel device tree is:

/ {
	hdmi-out {
		compatible = "hdmi-connector";
		type = "a";
		port {
			hdmi_con: endpoint {
				remote-endpoint = <&lt9611_out>;
			};
		};
	};
};

&iomuxc {
	pinctrl_sai3: sai3grp {
		fsl,pins = <
			MX93_PAD_GPIO_IO26__SAI3_TX_SYNC		0x31e
			MX93_PAD_GPIO_IO16__SAI3_TX_BCLK		0x31e
			MX93_PAD_GPIO_IO17__SAI3_MCLK			0x31e
			MX93_PAD_GPIO_IO19__SAI3_TX_DATA00		0x31e
			MX93_PAD_GPIO_IO20__SAI3_RX_DATA00		0x31e
		>;
	};
};

&lpi2c3 {
	#address-cells = <1>;
	#size-cells = <0>;
	clock-frequency = <400000>;
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&pinctrl_lpi2c3>;
	pinctrl-1 = <&pinctrl_lpi2c3>;
	status = "okay";

	lt9611uxc_codec: hdmi-bridge@2b {
		compatible = "lontium,lt9611uxc";
		reg = <0x2b>;
		#sound-dai-cells = <1>;
		adi,dsi-lanes = <4>;
		
		interrupts-extended = <&gpio1 12 IRQ_TYPE_EDGE_FALLING>;
		reset-gpios = <&gpio3 26 GPIO_ACTIVE_HIGH>;

		status = "okay";
		
		ports {
			#address-cells = <1>;
			#size-cells = <0>;

			port@0 {
				reg = <0>;
				lt9611_to_dsi: endpoint {
					remote-endpoint = <&dsi_to_lt9611>;
				};
			};

			port@2 {
				reg = <2>;
				lt9611_out: endpoint {
					remote-endpoint = <&hdmi_con>;
				};
			};
		};
	};
};

&dsi {
	status = "okay";
	#address-cells = <1>;
	#size-cells = <0>;
	dsi-lanes = <4>;

	ports {
		port@1 {
			reg = <1>;
			dsi_to_lt9611: endpoint {
				remote-endpoint = <&lt9611_to_dsi>;
			};
		};
	};
};

 

But I can't find any sound card with command  aplay -l

I'm using the imx-6.6.3 kernel version with Yocto

Can anybody help me figure this issue out ? Thanks in advanced.

Tags (4)
0 Kudos
Reply
3 Replies

18 Views
AlanWen
Contributor III

Does the LT9611UXC driver code support for I2S audio ?

code path: tmp/work/imx93evk-poky-linux/linux-imx/6.6.3+git/git/drivers/gpu/drm/bridge/lontium-lt9611uxc.c

0 Kudos
Reply

49 Views
JorgeCas
NXP TechSupport
NXP TechSupport

Hello,

LT9611UXC should be also defined as a new sound card. I suggest you use our EVK device tree as a reference (WM8962).

Best regards.

0 Kudos
Reply

22 Views
AlanWen
Contributor III

But which compatible should I use ? There is no suitable compatible for LT9611UXC.

Tags (1)
0 Kudos
Reply