devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/6] arm64: dts: imx8qxp-mek: add bluetooth audio codec
@ 2024-09-30 21:25 Frank Li
  2024-09-30 21:25 ` [PATCH 2/6] arm64: dts: imx8qxp-mek: add esai, cs42888 and related node Frank Li
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Frank Li @ 2024-09-30 21:25 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	open list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE,
	moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE,
	open list
  Cc: imx

Add bluetooth audio codec.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
 arch/arm64/boot/dts/freescale/imx8qxp-mek.dts | 24 +++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts
index 936ba5ecdcac7..d8d9e2883caf7 100644
--- a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts
+++ b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts
@@ -12,6 +12,11 @@ / {
 	model = "Freescale i.MX8QXP MEK";
 	compatible = "fsl,imx8qxp-mek", "fsl,imx8qxp";
 
+	bt_sco_codec: audio-codec-bt {
+		compatible = "linux,bt-sco";
+		#sound-dai-cells = <1>;
+	};
+
 	chosen {
 		stdout-path = &lpuart0;
 	};
@@ -45,6 +50,25 @@ usb3_data_ss: endpoint {
 		};
 	};
 
+	sound-bt-sco {
+		compatible = "simple-audio-card";
+		simple-audio-card,bitclock-inversion;
+		simple-audio-card,bitclock-master = <&btcpu>;
+		simple-audio-card,format = "dsp_a";
+		simple-audio-card,frame-master = <&btcpu>;
+		simple-audio-card,name = "bt-sco-audio";
+
+		simple-audio-card,codec {
+			sound-dai = <&bt_sco_codec 1>;
+		};
+
+		btcpu: simple-audio-card,cpu {
+			dai-tdm-slot-num = <2>;
+			dai-tdm-slot-width = <16>;
+			sound-dai = <&sai0>;
+		};
+	};
+
 	sound-wm8960 {
 		compatible = "fsl,imx-audio-wm8960";
 		model = "wm8960-audio";
-- 
2.34.1


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

end of thread, other threads:[~2024-10-21  3:06 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-30 21:25 [PATCH 1/6] arm64: dts: imx8qxp-mek: add bluetooth audio codec Frank Li
2024-09-30 21:25 ` [PATCH 2/6] arm64: dts: imx8qxp-mek: add esai, cs42888 and related node Frank Li
2024-10-21  3:01   ` Shawn Guo
2024-09-30 21:26 ` [PATCH 3/6] arm64: dts: imx8qxp-mek: enable jpeg encode and deconde Frank Li
2024-09-30 21:26 ` [PATCH 4/6] arm64: dts: imx8qxp-mek: add flexcan1 and flexcan2 Frank Li
2024-09-30 21:26 ` [PATCH 5/6] arm64: dts: imx8qxp-mek: add usbotg1 and related node Frank Li
2024-09-30 21:26 ` [PATCH 6/6] arm64: dts: imx8qxp-mek: add cm4 and related nodes Frank Li
2024-10-21  3:06   ` Shawn Guo
2024-10-02  3:51 ` [PATCH 1/6] arm64: dts: imx8qxp-mek: add bluetooth audio codec Rob Herring (Arm)
2024-10-18 19:39   ` Frank Li

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).