From nobody Tue Nov 26 03:46:18 2024 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2061.outbound.protection.outlook.com [40.107.105.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CC88D136E0E; Tue, 22 Oct 2024 05:19:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.105.61 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729574372; cv=fail; b=usMCDvZ/tjAdJ/9lgPsSzgyg9JMW1MIBu3pnpfZsz9zsaBAaweqvunTC6qNbuY7jA4a6gOH7oQKALogxUEsX6PCc0tr9H6krzzHVLoRHQfXOz+JVQ82e9m4dNJrRA1Y296cLJ7SvdrH5yR0xEFmFSRe1q8KpeLm3C3YYRScqbDc= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729574372; c=relaxed/simple; bh=RmklbivmIr0BZeOaKwmYt0Ff58fDqWYCiiGGgTrtDhQ=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=NBA0nMVO2DPpsr6rHaOkO9cHxTin1kLJRCXVV389K4g9cYmN/GcpB1+xNuKGepT/FwRmLm7P/sOsybPHEpw6IIDtEoXBA8L57ciuV9eWx/8g5zjmAYvuMv5UhfwGAT+Kwyuj/UvlwWh6VsTJstQhLjHtIcw5fbjhGdEPrvehHRc= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=idG+EMAc; arc=fail smtp.client-ip=40.107.105.61 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="idG+EMAc" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=gOBAX+7m8OcdureO2KsM5TRI7JAkHt7xfbX1d+TqOi989mVpdHgFIqEAykly5/71HjnPDzGYO+4zUBXlgyUADH+XG5BbKxXzIH2RV95O6xQneWuZU1DIgmOzQMoFv7Ln4FAGsoACj8DPMaMUVPMDSvWtDIS4AvpuBHwOzQA0v83DcB4ONes35xq5rzsAKWBhYfcwsZ7qDhvJwrbX93nPU4nZnEbiSPjLsOwKaxDY4qSVAxP0M40jeTtYfYBtDapjcPaoyGjVFUAmJNnezJ+4Mzieh/UVnny+BcaynzsV2mj4mm4etGzyXm7nHrywoYSk8ZGaurzzs8nbf6+oabfFIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=XbgQu24D7lvzf1f3qcg3Z8PnbQ8cse6VxT19v5T00uU=; b=Pwpb8tgi3wkLyCYHHidl0jNbi2MGhdE/IfpvZIW1EX7yA4ePMwNwesZxmqMxNIVFemhgOukRLnz9N0m8jiyWHIrbMnJlQIePg2INThig18RLnywm9JXoAc4TERGQ4pB6jUmVdBg3fdrlbIKZUo7pzFBlhs8tcNxcHXRB7G6CTs8Rodjwi2JLdn426/vD9uWcNZfq0B5hTd2kGyaxTBqjrVddtlVpVTZCGrnLV1jwp+SGNZvKVnujO/qVrsHqh58E12ZnVdCblQz4oJkqBVxnVU8mcFCvhK18gb9B9f782Gfq4wIAnFH2CVX9Hw8Qh6510Hpcp46JDsrxQLLiqq7QhQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XbgQu24D7lvzf1f3qcg3Z8PnbQ8cse6VxT19v5T00uU=; b=idG+EMAcS2A3gdnTQWRb34zfcS2pniO/quFCQMKe+FnAnRDTej1rG9RYym2AAG1E/vrY1InmMsnKQfKKybgHiA6I0aA8KKjy5wotnW0SSJjyGe0wJOe0KA2ZXlAw6r0clKgJl752w0a01y8gu4gTVtKqUZ7lQBsiTlvsl3Yxhu48i7p8CsLkqVV35n1VYzgP5RTtj1rb3H1ZPxeN+aY0p/X+sWBH/KGMqwVf8Gde5OjRE02op04efSmEnHfMfXNrU3TSZGwJ9FLCMFrlOflE5n0k1SkbL4L5/V+KIs5EI+wcuqOkQj4zOp1jtCXHvsYLpXvYtUMTZSRteCeRSlxQnA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM0PR04MB7044.eurprd04.prod.outlook.com (2603:10a6:208:191::20) by AM7PR04MB6853.eurprd04.prod.outlook.com (2603:10a6:20b:107::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.27; Tue, 22 Oct 2024 05:19:27 +0000 Received: from AM0PR04MB7044.eurprd04.prod.outlook.com ([fe80::7be0:296:768c:e891]) by AM0PR04MB7044.eurprd04.prod.outlook.com ([fe80::7be0:296:768c:e891%6]) with mapi id 15.20.8093.014; Tue, 22 Oct 2024 05:19:27 +0000 From: Shengjiu Wang To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, shengjiu.wang@gmail.com Subject: [PATCH v2 1/3] arm64: dts: imx8ulp: Add audio device nodes Date: Tue, 22 Oct 2024 13:29:17 +0800 Message-Id: <20241022052919.1946074-2-shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20241022052919.1946074-1-shengjiu.wang@nxp.com> References: <20241022052919.1946074-1-shengjiu.wang@nxp.com> Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: SI1PR02CA0054.apcprd02.prod.outlook.com (2603:1096:4:1f5::13) To VI1PR04MB7055.eurprd04.prod.outlook.com (2603:10a6:800:123::21) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR04MB7044:EE_|AM7PR04MB6853:EE_ X-MS-Office365-Filtering-Correlation-Id: 58652052-fa54-42f2-bf63-08dcf25918fd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|376014|7416014|1800799024|366016|921020|38350700014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?LZ/MV4tOsR2PIgmEc+DT+APVjtVGI6MjF/shjyBgn/ofxL3OP1FYl+o2B+HN?= =?us-ascii?Q?VVUBcReFulANy8gCoku4Rk364fDiUYS7vCRl6JI7RktKzVfl1HkFDHeC3/PO?= =?us-ascii?Q?kabJAQOlgm+izpu5F/z2HzqDD4CeNS8AKdHuEL/rqvspyo+ZeoMtVvpSl8CE?= =?us-ascii?Q?WqfKDnc9BB2le9Ta4qkNM1NmmnbHQU8Vc87XWtpVy8uK9hbG1D40dUoCHPab?= =?us-ascii?Q?2TUjktpHLpQtsTeqAkxIaLTQwPdY65M5gVdHmP+Wqgyv8pOMnwPYDjDQRDG4?= =?us-ascii?Q?KFCmAwALpZSouqDsP4PYXi2iS5ZMQZywJkz6IxpY51XleCBjxlyc+rvcw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ogaQbPzsHEtWbE8n66NtYlugqHtWaoCBWsAuAOSLD?= =?us-ascii?Q?GjQBwjcXd5d26Rn3RAOKzf/ud2P3BzKrR8mJxXSWXSnAwfeWv0mD+z9TNC6D?= =?us-ascii?Q?47Fy+qc5wysYvGXJGmlTpNAxPSrUagtHHIWlodtBKLI3BoqSnUAeIHr0vkjr?= =?us-ascii?Q?rLOsThwTbvFf7h2W0hDuNvZhycGu?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM0PR04MB7044.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(52116014)(376014)(7416014)(1800799024)(366016)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?BScOQk2JzPDulCZFsi5MxB2KkMWwPdVxVGulHMtbfTz09MAjkyE6c6NehoQ6?= =?us-ascii?Q?xKvWtosWkU+LSuSLYoM7x9D9Mou1FhY/lhiFffmxM0w0/Yr9wuVVnv73msaW?= =?us-ascii?Q?UFyO0x2oqD3vHghHd3YsmJJDFE5YEehyOo2BH7bx5Ggb6Q4FvRwA9olaYmLe?= =?us-ascii?Q?5PnjSBefghcwoenFbHeUDVcf0U6Up9mnxWBJi2bznPM6MEPlu6XYiMCp6WTF?= =?us-ascii?Q?cXbzvo0znglerXrHQy5pp1gOc/ZdPQ/O8mVnLwCRYTZTA1fjU7phoIgP9YeC?= =?us-ascii?Q?27H+dgdp1F5rb9NFfVNJctK/jduZuJLShsn0j4/s+mXrO3DNj/UWY9hgpeUp?= =?us-ascii?Q?dml8OKMHhq8g1JJeI0c9LLFYwdahMTpqqCe9dMh2D279in5cOF2jizMz/1op?= =?us-ascii?Q?dYkirS2wlDi2TeUx4xxyG0qMEPnYHCMgSpHHkuMsaoFqud0sBKS9Plwk7tTV?= =?us-ascii?Q?4SInvvk/7LPM6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21b6F9NBmZOSlpd?= =?us-ascii?Q?doPkW384rRK77fnXVNiqrDyivWozebECvtl3UPxBm9v2ABR1S1S3fYk38oI2?= =?us-ascii?Q?R9So2n0ZQ3AJgCM0HFRsSSA0eQ8wVC4XFJZkHNl3sqZ4uvzkyPZ10dv/n5/D?= =?us-ascii?Q?mb3EI6J1Dsro+PRm3UyRtyow0WTgCLiGQINclv/HCsWQIhEisDCiaCxS/DXs?= =?us-ascii?Q?/hUKdijrVipIu7nyFcFEz32ZMAopBgr68jK6VYGL?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 58652052-fa54-42f2-bf63-08dcf25918fd X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB7055.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Oct 2024 05:19:27.1755 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: SxVh6+lsY0MclyXaQDNiISWjajE3AeEq5BUVyp7Ev8+oFLD6x/Ry63ZYBdX4c1oUSMgceKOmEmtpXl+zpO5Nfw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB6853 Content-Type: text/plain; charset="utf-8" Add edma1, sai4, sai5 device nodes bus of in per_bridge3. Add edma2, sai6, sai7, spdif device nodes in bus of per_bridge5. Signed-off-by: Shengjiu Wang --- arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 212 +++++++++++++++++++++ 1 file changed, 212 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi b/arch/arm64/boot/d= ts/freescale/imx8ulp.dtsi index e32d5afcf4a9..9930bc1cd5ff 100644 --- a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi @@ -212,6 +212,70 @@ per_bridge3: bus@29000000 { #size-cells =3D <1>; ranges; =20 + edma1: dma-controller@29010000 { + compatible =3D "fsl,imx8ulp-edma"; + reg =3D <0x29010000 0x210000>; + #dma-cells =3D <3>; + dma-channels =3D <32>; + interrupts =3D , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + clocks =3D <&pcc3 IMX8ULP_CLK_DMA1_MP>, + <&pcc3 IMX8ULP_CLK_DMA1_CH0>, <&pcc3 IMX8ULP_CLK_DMA1_CH1>, + <&pcc3 IMX8ULP_CLK_DMA1_CH2>, <&pcc3 IMX8ULP_CLK_DMA1_CH3>, + <&pcc3 IMX8ULP_CLK_DMA1_CH4>, <&pcc3 IMX8ULP_CLK_DMA1_CH5>, + <&pcc3 IMX8ULP_CLK_DMA1_CH6>, <&pcc3 IMX8ULP_CLK_DMA1_CH7>, + <&pcc3 IMX8ULP_CLK_DMA1_CH8>, <&pcc3 IMX8ULP_CLK_DMA1_CH9>, + <&pcc3 IMX8ULP_CLK_DMA1_CH10>, <&pcc3 IMX8ULP_CLK_DMA1_CH11>, + <&pcc3 IMX8ULP_CLK_DMA1_CH12>, <&pcc3 IMX8ULP_CLK_DMA1_CH13>, + <&pcc3 IMX8ULP_CLK_DMA1_CH14>, <&pcc3 IMX8ULP_CLK_DMA1_CH15>, + <&pcc3 IMX8ULP_CLK_DMA1_CH16>, <&pcc3 IMX8ULP_CLK_DMA1_CH17>, + <&pcc3 IMX8ULP_CLK_DMA1_CH18>, <&pcc3 IMX8ULP_CLK_DMA1_CH19>, + <&pcc3 IMX8ULP_CLK_DMA1_CH20>, <&pcc3 IMX8ULP_CLK_DMA1_CH21>, + <&pcc3 IMX8ULP_CLK_DMA1_CH22>, <&pcc3 IMX8ULP_CLK_DMA1_CH23>, + <&pcc3 IMX8ULP_CLK_DMA1_CH24>, <&pcc3 IMX8ULP_CLK_DMA1_CH25>, + <&pcc3 IMX8ULP_CLK_DMA1_CH26>, <&pcc3 IMX8ULP_CLK_DMA1_CH27>, + <&pcc3 IMX8ULP_CLK_DMA1_CH28>, <&pcc3 IMX8ULP_CLK_DMA1_CH29>, + <&pcc3 IMX8ULP_CLK_DMA1_CH30>, <&pcc3 IMX8ULP_CLK_DMA1_CH31>; + clock-names =3D "dma", "ch00","ch01", "ch02", "ch03", + "ch04", "ch05", "ch06", "ch07", + "ch08", "ch09", "ch10", "ch11", + "ch12", "ch13", "ch14", "ch15", + "ch16", "ch17", "ch18", "ch19", + "ch20", "ch21", "ch22", "ch23", + "ch24", "ch25", "ch26", "ch27", + "ch28", "ch29", "ch30", "ch31"; + }; + mu: mailbox@29220000 { compatible =3D "fsl,imx8ulp-mu"; reg =3D <0x29220000 0x10000>; @@ -442,6 +506,36 @@ lpuart7: serial@29870000 { status =3D "disabled"; }; =20 + sai4: sai@29880000 { + compatible =3D "fsl,imx8ulp-sai"; + reg =3D <0x29880000 0x10000>; + interrupts =3D ; + clocks =3D <&pcc4 IMX8ULP_CLK_SAI4>, <&cgc1 IMX8ULP_CLK_DUMMY>, + <&cgc1 IMX8ULP_CLK_SAI4_SEL>, <&cgc1 IMX8ULP_CLK_DUMMY>, + <&cgc1 IMX8ULP_CLK_DUMMY>; + clock-names =3D "bus", "mclk0", "mclk1", "mclk2", "mclk3"; + dmas =3D <&edma1 67 0 1>, <&edma1 68 0 0>; + dma-names =3D "rx", "tx"; + #sound-dai-cells =3D <0>; + fsl,dataline =3D <0 0x03 0x03>; + status =3D "disabled"; + }; + + sai5: sai@29890000 { + compatible =3D "fsl,imx8ulp-sai"; + reg =3D <0x29890000 0x10000>; + interrupts =3D ; + clocks =3D <&pcc4 IMX8ULP_CLK_SAI5>, <&cgc1 IMX8ULP_CLK_DUMMY>, + <&cgc1 IMX8ULP_CLK_SAI5_SEL>, <&cgc1 IMX8ULP_CLK_DUMMY>, + <&cgc1 IMX8ULP_CLK_DUMMY>; + clock-names =3D "bus", "mclk0", "mclk1", "mclk2", "mclk3"; + dmas =3D <&edma1 69 0 1>, <&edma1 70 0 0>; + dma-names =3D "rx", "tx"; + #sound-dai-cells =3D <0>; + fsl,dataline =3D <0 0x0f 0x0f>; + status =3D "disabled"; + }; + iomuxc1: pinctrl@298c0000 { compatible =3D "fsl,imx8ulp-iomuxc1"; reg =3D <0x298c0000 0x10000>; @@ -614,6 +708,70 @@ per_bridge5: bus@2d800000 { #size-cells =3D <1>; ranges; =20 + edma2: dma-controller@2d800000 { + compatible =3D "fsl,imx8ulp-edma"; + reg =3D <0x2d800000 0x210000>; + #dma-cells =3D <3>; + dma-channels =3D <32>; + interrupts =3D , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + clocks =3D <&pcc5 IMX8ULP_CLK_DMA2_MP>, + <&pcc5 IMX8ULP_CLK_DMA2_CH0>, <&pcc5 IMX8ULP_CLK_DMA2_CH1>, + <&pcc5 IMX8ULP_CLK_DMA2_CH2>, <&pcc5 IMX8ULP_CLK_DMA2_CH3>, + <&pcc5 IMX8ULP_CLK_DMA2_CH4>, <&pcc5 IMX8ULP_CLK_DMA2_CH5>, + <&pcc5 IMX8ULP_CLK_DMA2_CH6>, <&pcc5 IMX8ULP_CLK_DMA2_CH7>, + <&pcc5 IMX8ULP_CLK_DMA2_CH8>, <&pcc5 IMX8ULP_CLK_DMA2_CH9>, + <&pcc5 IMX8ULP_CLK_DMA2_CH10>, <&pcc5 IMX8ULP_CLK_DMA2_CH11>, + <&pcc5 IMX8ULP_CLK_DMA2_CH12>, <&pcc5 IMX8ULP_CLK_DMA2_CH13>, + <&pcc5 IMX8ULP_CLK_DMA2_CH14>, <&pcc5 IMX8ULP_CLK_DMA2_CH15>, + <&pcc5 IMX8ULP_CLK_DMA2_CH16>, <&pcc5 IMX8ULP_CLK_DMA2_CH17>, + <&pcc5 IMX8ULP_CLK_DMA2_CH18>, <&pcc5 IMX8ULP_CLK_DMA2_CH19>, + <&pcc5 IMX8ULP_CLK_DMA2_CH20>, <&pcc5 IMX8ULP_CLK_DMA2_CH21>, + <&pcc5 IMX8ULP_CLK_DMA2_CH22>, <&pcc5 IMX8ULP_CLK_DMA2_CH23>, + <&pcc5 IMX8ULP_CLK_DMA2_CH24>, <&pcc5 IMX8ULP_CLK_DMA2_CH25>, + <&pcc5 IMX8ULP_CLK_DMA2_CH26>, <&pcc5 IMX8ULP_CLK_DMA2_CH27>, + <&pcc5 IMX8ULP_CLK_DMA2_CH28>, <&pcc5 IMX8ULP_CLK_DMA2_CH29>, + <&pcc5 IMX8ULP_CLK_DMA2_CH30>, <&pcc5 IMX8ULP_CLK_DMA2_CH31>; + clock-names =3D "dma", "ch00","ch01", "ch02", "ch03", + "ch04", "ch05", "ch06", "ch07", + "ch08", "ch09", "ch10", "ch11", + "ch12", "ch13", "ch14", "ch15", + "ch16", "ch17", "ch18", "ch19", + "ch20", "ch21", "ch22", "ch23", + "ch24", "ch25", "ch26", "ch27", + "ch28", "ch29", "ch30", "ch31"; + }; + cgc2: clock-controller@2da60000 { compatible =3D "fsl,imx8ulp-cgc2"; reg =3D <0x2da60000 0x10000>; @@ -626,6 +784,60 @@ pcc5: clock-controller@2da70000 { #clock-cells =3D <1>; #reset-cells =3D <1>; }; + + sai6: sai@2da90000 { + compatible =3D "fsl,imx8ulp-sai"; + reg =3D <0x2da90000 0x10000>; + interrupts =3D ; + clocks =3D <&pcc5 IMX8ULP_CLK_SAI6>, <&cgc1 IMX8ULP_CLK_DUMMY>, + <&cgc2 IMX8ULP_CLK_SAI6_SEL>, <&cgc1 IMX8ULP_CLK_DUMMY>, + <&cgc1 IMX8ULP_CLK_DUMMY>; + clock-names =3D "bus", "mclk0", "mclk1", "mclk2", "mclk3"; + dmas =3D <&edma2 71 0 1>, <&edma2 72 0 0>; + dma-names =3D "rx", "tx"; + #sound-dai-cells =3D <0>; + fsl,dataline =3D <0 0x0f 0x0f>; + status =3D "disabled"; + }; + + sai7: sai@2daa0000 { + compatible =3D "fsl,imx8ulp-sai"; + reg =3D <0x2daa0000 0x10000>; + interrupts =3D ; + clocks =3D <&pcc5 IMX8ULP_CLK_SAI7>, <&cgc1 IMX8ULP_CLK_DUMMY>, + <&cgc2 IMX8ULP_CLK_SAI7_SEL>, <&cgc1 IMX8ULP_CLK_DUMMY>, + <&cgc1 IMX8ULP_CLK_DUMMY>; + clock-names =3D "bus", "mclk0", "mclk1", "mclk2", "mclk3"; + dmas =3D <&edma2 73 0 1>, <&edma2 74 0 0>; + dma-names =3D "rx", "tx"; + #sound-dai-cells =3D <0>; + fsl,dataline =3D <0 0x0f 0x0f>; + status =3D "disabled"; + }; + + spdif: spdif@2dab0000 { + compatible =3D "fsl,imx8ulp-spdif"; + reg =3D <0x2dab0000 0x10000>; + interrupts =3D ; + clocks =3D <&pcc5 IMX8ULP_CLK_SPDIF>, /* core */ + <&sosc>, /* 0, extal */ + <&cgc2 IMX8ULP_CLK_SPDIF_SEL>, /* 1, tx */ + <&cgc1 IMX8ULP_CLK_DUMMY>, /* 2, tx1 */ + <&cgc1 IMX8ULP_CLK_DUMMY>, /* 3, tx2 */ + <&cgc1 IMX8ULP_CLK_DUMMY>, /* 4, tx3 */ + <&pcc5 IMX8ULP_CLK_SPDIF>, /* 5, sys */ + <&cgc1 IMX8ULP_CLK_DUMMY>, /* 6, tx4 */ + <&cgc1 IMX8ULP_CLK_DUMMY>, /* 7, tx5 */ + <&cgc1 IMX8ULP_CLK_DUMMY>; /* spba */ + clock-names =3D "core", "rxtx0", + "rxtx1", "rxtx2", + "rxtx3", "rxtx4", + "rxtx5", "rxtx6", + "rxtx7", "spba"; + dmas =3D <&edma2 75 0 5>, <&edma2 76 0 4>; + dma-names =3D "rx", "tx"; + status =3D "disabled"; + }; }; =20 gpiod: gpio@2e200000 { --=20 2.34.1 From nobody Tue Nov 26 03:46:18 2024 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2089.outbound.protection.outlook.com [40.107.105.89]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EE57213AA4C; Tue, 22 Oct 2024 05:19:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.105.89 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729574376; cv=fail; b=IVOStRrDv0wvmVP9LEgWk9tNKNjGAo94C+EuW9z7izepjS5LxbNJs3KDXIgNtrM8L1n7Fe5tldBAIDdBAK/KPNTY2ZRhJ09GFqiUVxYkkfPV+Tb7LaRonhv+wE1GpYK8FGyJAIwVJ4gAkqzoghC6dvSTiJ1ST8WyG3ArN9pAZGo= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729574376; c=relaxed/simple; bh=pHeRz8l+69uRa213DsXwJ+2eugbFh8OguVFT2YNaeeg=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=btJiRvFszoUYGc/zNs4i41I5RmAbmnG6NCYhqVj6P6TUjpdjguII4HxO+bMAoU0SYesMUnMFSnc53XuKZ4P/IOmat2cVVnVuIFZHf62N8nBQmyNulvjSGycZq/WhgZCkwGPAPSV5AQwwKZMJZIVbKrWvQzUdVJjM/J5Y7GQgCdg= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=eiGNQg1O; arc=fail smtp.client-ip=40.107.105.89 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="eiGNQg1O" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=YHThKZPN963TvAw6qxvlrQBv8i9u5ph/YztxLpPz2d7pdaedvgb9xkT8Fz1Y/tCydLlmyobj/ulGrBlvu1g3pDSJsXt8EHt8qUXg0hzoNt5noarSiPa2tPpV4Vx8aBHuDLZNn/Sj3UmNPRsHcq88/R638uxVtDhduwsjhZO9Y8RgBzBgaAfvfcTT6+OBHBrVgIPaaXCnpgA0ZfTvBjPiAENr7fgG1g91Ntmd4ntZwx34GiBih9hIUn0BYwiulCXkmVkMiS7GGVhU6TQM0CXkjMWLqW6Tpmsro1C3fzIpXvT2/22wKhUm4adV9o7wyUZIrbSbmoo80ROjn233WJntgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ipCLY1pO2CfqUcxxKLSMtVz20lU07W7JJkSZX/zosDI=; b=cYHC2ulvNbb5t+hU1schyWeQMwz6RM+MWgdxud4ALjgHxNL+qet8h55RM56Wqeuytp0qTb57ooH9iRJXVG3KIRQ5XHv7NEKj4CVDz65gtUG2gDaKxt8y4EzAH74/VpJlnTvlzOk8ze1ueX2tcau3HGo+gNnf0RAg3n5E9gsXa5d+pIUm6YqhBOwgRmd/ImLfHl5Q5+dqDHqdftUcFWZJIidrGfFJ37ZKAW+76py38KKl81VRA9nPuegT17HlsLncfInOP0r4a5tzuKo/9OVomauaPWq2oFB31wXwm6B/O/Q7xOdeabKguBDWsRCe06wKXEZyZDWnD2w4LNY1xkZxng== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ipCLY1pO2CfqUcxxKLSMtVz20lU07W7JJkSZX/zosDI=; b=eiGNQg1OHzvyCXPfcnUdC0tv2TfQlmj8luv+4JTdDPDIxpaTHekpp+B2t5Y3jkKxTlUn1Bb5/YxGjHPRIQ2Pl8xRjhm6l6TPGxbu4bNpTnfQeGG1XVNUrPaQQ7CJ0nUNuepCZi4Qka5reUPxI+SUp/AC+8GgGl2yVBK1n3oBMWRLARP4qjRSGs8EjlY+3Uf3hS4KuT6+vMD0wKU89KIe6M5WXTGGNmuJej7R+1JUhjPeR6biVX13IuZ3P13vXeM6eGxyrsoe0pKqlD2ppYK2Rx1tMpIOzv94ucjMxqd166D7Jh75LmnW1LciqPwBqYdpO3afhs/KfWZKigEIpQiomg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM0PR04MB7044.eurprd04.prod.outlook.com (2603:10a6:208:191::20) by AM7PR04MB6853.eurprd04.prod.outlook.com (2603:10a6:20b:107::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.27; Tue, 22 Oct 2024 05:19:32 +0000 Received: from AM0PR04MB7044.eurprd04.prod.outlook.com ([fe80::7be0:296:768c:e891]) by AM0PR04MB7044.eurprd04.prod.outlook.com ([fe80::7be0:296:768c:e891%6]) with mapi id 15.20.8093.014; Tue, 22 Oct 2024 05:19:32 +0000 From: Shengjiu Wang To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, shengjiu.wang@gmail.com Subject: [PATCH v2 2/3] arm64: dts: imx8ulp-evk: Add bt-sco sound card support Date: Tue, 22 Oct 2024 13:29:18 +0800 Message-Id: <20241022052919.1946074-3-shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20241022052919.1946074-1-shengjiu.wang@nxp.com> References: <20241022052919.1946074-1-shengjiu.wang@nxp.com> Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: SI1PR02CA0054.apcprd02.prod.outlook.com (2603:1096:4:1f5::13) To VI1PR04MB7055.eurprd04.prod.outlook.com (2603:10a6:800:123::21) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR04MB7044:EE_|AM7PR04MB6853:EE_ X-MS-Office365-Filtering-Correlation-Id: 4695e63b-2ee1-453b-5691-08dcf2591c0a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|376014|7416014|1800799024|366016|921020|38350700014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?36vw4RX3XKPsUEBiiP2BY9MdtimYnu5M/f7e+7Oz5xE36KO6n7VfS6Ogmybt?= =?us-ascii?Q?eWFTMBn6uN/GIEUwWDvqWdbWmcJqYp/qVH8ei+XG/pNobbJ5tVKsLO28+3O0?= =?us-ascii?Q?E5igiTBZQAIENjXZuZ/c1IMMw+L/lJ7oLikxYvZUYsu5sl3qrsqOaqHgpYQ2?= =?us-ascii?Q?U2juUgsdzjGgsa457WtnekXuodv1UEzX1uLjqD8eM8drWPuZKMvov+91Y0O0?= =?us-ascii?Q?7gjN0mNuIgfT+VnByOH5+6Und+5/uE4HuevH3TMI7EsnBC4wI8OoiaM2E45V?= =?us-ascii?Q?AsWMzz63AO36Do7uQY4HeT2L2yX/IKM3M9WNtuD54DCJs8dKpKWcUIAXWLLW?= =?us-ascii?Q?Zu2ZGhbX6z5U1JUCqYMDhzutfEbmRUiI1a5Dgth5RgswUODG9G5p+/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nzb3dk62bDKja+qcUGK4EBPZoo4LOsCs?= =?us-ascii?Q?1YV4Ppj7h3Q256OYBHMWHvrCd30JTVcoAsG7ZII/r/8U1pDElmrvbNOq2CXz?= =?us-ascii?Q?ahHXTc5HIuOJ0lamobGhPiZ7A1aQ?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM0PR04MB7044.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(52116014)(376014)(7416014)(1800799024)(366016)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?p7KDOhtWFC6V8ibwFbKCKqBXXhWAnjByvZLQyPpPcEUH/683e1/BLFqGLg+u?= =?us-ascii?Q?DvGO0klzg0fugQoAXkh1L9QijrBmlf03Ot1XJuRe5cNLIJFafZNNnoIbdgwl?= =?us-ascii?Q?2TcSaKauM4XewleJ2Xrj3NtEQiVyrd5Gv3fQO2g+I8LM+XGDE+wuK1h+eASn?= =?us-ascii?Q?hN2Ovy0pUpC8MUWBjB9Qo8NdLw/CYYiU+T67qTbj0g6u0j+QwDuZEmABJw2d?= =?us-ascii?Q?3gKuTC1z8esxrqZqvloXMCcnDO7lmwGasfcc3WioO5AYPDaqnJUYsGevrTAV?= =?us-ascii?Q?QtD94CyS2Jvh+MYVMuplbinEKUDEi3L1K4CuIt8R07R5In+T+cJfrjQBK2vR?= =?us-ascii?Q?tFGmdrGkwUp1EKoC0Vio3Bc02QfxFCD+wd+q3KNOEDyxaDMhogY7oXckky+E?= =?us-ascii?Q?qg3ReaWQ3sdIQjccTidHnvVTvls5rp9wiOziLiVfsshjYIRyPsQTC01c9R/F?= =?us-ascii?Q?t476w2siTl4asMXSAawLgLTfl/WVYyi7+izDO9xb9F0HWqEf76vR1ltPZmiz?= =?us-ascii?Q?gjxZWBJcac1/IPrqOnbx2C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?Q?oohhaiZFe6+7DR6Qj4/qQ8txm7kIGMQcxkw0o9rUBVdxdKY4yzfWiRMsVQjI?= =?us-ascii?Q?2bV7QmuJFrfUVFgWZU5s3XFkylLiz4TuzT81Ctp4kY+78CGWhxixZ1X1taKq?= =?us-ascii?Q?3o9eDQdBICU2SGrg67w0PkDsoa+BqkjBlewTJcNw?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4695e63b-2ee1-453b-5691-08dcf2591c0a X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB7055.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Oct 2024 05:19:31.9357 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: oCosfTfNcYt+Lr7q5kvG4ryMA3ALxgRZKQ6qj98B4rIGrybQdKiewhk9lC/X3383abfPPXBmJJHrlqnOjHDHlQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB6853 Content-Type: text/plain; charset="utf-8" Add bt-sco sound card, which is used by BT HFP case. It supports wb profile as default Signed-off-by: Shengjiu Wang --- arch/arm64/boot/dts/freescale/imx8ulp-evk.dts | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8ulp-evk.dts b/arch/arm64/boo= t/dts/freescale/imx8ulp-evk.dts index e937e5f8fa8b..7d6d332fa779 100644 --- a/arch/arm64/boot/dts/freescale/imx8ulp-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8ulp-evk.dts @@ -11,6 +11,11 @@ / { model =3D "NXP i.MX8ULP EVK"; compatible =3D "fsl,imx8ulp-evk", "fsl,imx8ulp"; =20 + bt_sco_codec: bt-sco-codec { + #sound-dai-cells =3D <1>; + compatible =3D "linux,bt-sco"; + }; + chosen { stdout-path =3D &lpuart5; }; @@ -83,6 +88,25 @@ clock_ext_ts: clock-ext-ts { clock-output-names =3D "ext_ts_clk"; #clock-cells =3D <0>; }; + + sound-bt-sco { + compatible =3D "simple-audio-card"; + simple-audio-card,name =3D "bt-sco-audio"; + simple-audio-card,format =3D "dsp_a"; + simple-audio-card,bitclock-inversion; + simple-audio-card,frame-master =3D <&btcpu>; + simple-audio-card,bitclock-master =3D <&btcpu>; + + btcpu: simple-audio-card,cpu { + sound-dai =3D <&sai5>; + dai-tdm-slot-num =3D <2>; + dai-tdm-slot-width =3D <16>; + }; + + simple-audio-card,codec { + sound-dai =3D <&bt_sco_codec 1>; + }; + }; }; =20 &cm33 { @@ -153,6 +177,16 @@ ptn5150_2: typec@3d { }; }; =20 +&sai5 { + pinctrl-names =3D "default", "sleep"; + pinctrl-0 =3D <&pinctrl_sai5>; + pinctrl-1 =3D <&pinctrl_sai5>; + assigned-clocks =3D <&cgc1 IMX8ULP_CLK_SAI5_SEL>; + assigned-clock-parents =3D <&cgc1 IMX8ULP_CLK_SPLL3_PFD1_DIV1>; + fsl,dataline =3D <1 0x08 0x01>; + status =3D "okay"; +}; + &usbotg1 { pinctrl-names =3D "default"; pinctrl-0 =3D <&pinctrl_usb1>; @@ -282,6 +316,15 @@ MX8ULP_PAD_PTE13__LPI2C7_SDA 0x20 >; }; =20 + pinctrl_sai5: sai5grp { + fsl,pins =3D < + MX8ULP_PAD_PTF26__I2S5_TX_BCLK 0x43 + MX8ULP_PAD_PTF27__I2S5_TX_FS 0x43 + MX8ULP_PAD_PTF28__I2S5_TXD0 0x43 + MX8ULP_PAD_PTF24__I2S5_RXD3 0x43 + >; + }; + pinctrl_typec1: typec1grp { fsl,pins =3D < MX8ULP_PAD_PTF3__PTF3 0x3 --=20 2.34.1 From nobody Tue Nov 26 03:46:18 2024 Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on2079.outbound.protection.outlook.com [40.107.103.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0490D13BAEE; Tue, 22 Oct 2024 05:19:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.103.79 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729574380; cv=fail; b=VtMbDTZw/Fj4Djj2TSzHZlAOp5/u7IETN7V3ZH59WBPkXvzV3UAbTowaRoQWfyXvwrbfXRTXDsuTeIgVoQE3WMX21vtbvkJSoxqut/uEnv0oqje7SicS8mkA8Md3RpLULZ9d866CQ0mrfW7d5dm54rJvnX0sSv2WwYp/fFgOW4Q= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729574380; c=relaxed/simple; bh=Te3L1RQ5DewJWd1Z3e2P5wkvR0V2l67blCbbLb58RjQ=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=VjJ/gFU0MKNo6LK5LcF4xelb+mrLquSjmBnNPVoaoYKE8UrpsWSRTiYeuLJTRgr6OwSRkQC3TBYevxw4BzVdMju9+KOm+4sn1tl48skoFWZvw05ZW3nfJ2eVq60bf4ESnuACs+cF5Rofq88nsYGqYasG2Zc895ojwPZcB0y0vZE= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=X4Okmezg; arc=fail smtp.client-ip=40.107.103.79 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="X4Okmezg" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=DfNNKMLyNa+D8OXxRyo2gvC9QK9x25QtigU4LQw2eV/GQsc5jM9NdNoiEXazbflJL2Nr4C9gZU7glSfwjo6jW+NQYFhjlErP/xUovNRQw+Qg+bpkDrXgXtwP+xCEuhtTA8pp4Zioegiy9MiOBuiUzBpEj7VB5jHwz3KV1+ZmFIzC2WvsavlbYtI5A0FVrBtkAkfTPXajU5Z3aCx19uxSrzJ8OcwfpQXr1xKSONkMDO7KCw1c12lrVEMmUJs45Vy7cjZ9c+38czX5R03gkrLlZ5v7g6uRGyzxSerjmlKeEtwxO+gew/BxWo1/33+wuY6CcekevgPeeD5h2LUlnn7kpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=JVyCKPSHYrkFONMOlHz3pUEMSfbfPA4T4nlZqPZLYXA=; b=wImKm7cQ2s/77bz4Gopzre9hcYvAppbUTIwATpdAr+aUa9DKHXeSV63mYr6gep+7wMe3re1dct2mDiHXa+iSYBJkkiH71ufra1icRnE8zf5741UctxISZVGcAIxReI3wIG74Dc9ZuGXxzfg3msFTPHzAgH1xTeKoz2xGYCWrTLZZt+Tbutki4QmA2HcCnYH2aACVy84RXLntmjgyWX9gFIg9sBCtUNI64kCP6xacAVawiPnOO/7pyOtRjdk7r1eu0rnqzzlJalQD8wd7WKR1K2F3/IwLruuccc/RccdwbHxkg201p0wt5CoorG0rAnXmOdlLF1T9MsE80nwp37H2qw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JVyCKPSHYrkFONMOlHz3pUEMSfbfPA4T4nlZqPZLYXA=; b=X4Okmezgfa76ZOaLT80Hq+6r8fLjFfUcWFBQG+gxLInpn58j9P7A8K4Cl4uSfb2A8hQMkoRDxvYy3ICa0coT9e50fgqvw+Df6uC5qXwfZPhpX7Ns46KInpsWczMNBmPQmmhuWTQp9RBQPeXMNTOI3TF/19clqLF1Pdd85ZZkI+iezd8j8PzGy83KRId6y1l3nnwlzd0G8h3Cx257XR6ekOXvIzciSweoA0mvZKHmnzT8M0J9afH1UWfVuWNfD8pnOQpuTcf+YdZWAp+OhxWqud8jgpnW9PACsGu535QSk19iZHQreMltu7G0mNe5gnVoPXUJuL+uMz5JI92/z8+/6g== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM0PR04MB7044.eurprd04.prod.outlook.com (2603:10a6:208:191::20) by AM7PR04MB6853.eurprd04.prod.outlook.com (2603:10a6:20b:107::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.27; Tue, 22 Oct 2024 05:19:36 +0000 Received: from AM0PR04MB7044.eurprd04.prod.outlook.com ([fe80::7be0:296:768c:e891]) by AM0PR04MB7044.eurprd04.prod.outlook.com ([fe80::7be0:296:768c:e891%6]) with mapi id 15.20.8093.014; Tue, 22 Oct 2024 05:19:36 +0000 From: Shengjiu Wang To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, shengjiu.wang@gmail.com Subject: [PATCH v2 3/3] arm64: dts: imx8ulp-evk: Add spdif sound card support Date: Tue, 22 Oct 2024 13:29:19 +0800 Message-Id: <20241022052919.1946074-4-shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20241022052919.1946074-1-shengjiu.wang@nxp.com> References: <20241022052919.1946074-1-shengjiu.wang@nxp.com> Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: SI1PR02CA0054.apcprd02.prod.outlook.com (2603:1096:4:1f5::13) To VI1PR04MB7055.eurprd04.prod.outlook.com (2603:10a6:800:123::21) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR04MB7044:EE_|AM7PR04MB6853:EE_ X-MS-Office365-Filtering-Correlation-Id: 716478fd-21ea-47c2-b907-08dcf2591e8b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|376014|7416014|1800799024|366016|921020|38350700014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?3wThhAl4poG/Go6wt9TWpGApxErifRVAPf9xGL1WxLMTgBRI4+rjCYaaM0H7?= =?us-ascii?Q?atvapoPQk2tM5Q+jD4tT/FDYKP3l1FwvQsWQtL0pZv/BKZ7UlKkNqGE9/GMu?= =?us-ascii?Q?4ygKzdcR08Wae2Fm0VHJuBN8F8W2g/g0HewPXLrbg+fmTpG/u/xofm6dvi4o?= =?us-ascii?Q?qH9h2VS+l5mlTUa+B365MSz2LcicgyACjlNc5asr6wClJykztpBQiaXU046J?= =?us-ascii?Q?Zm8UX6y83g0YsN81ndovzo+ummG16gGQUzMX8YdYp09eDt9AXIrSjf0/uqDo?= =?us-ascii?Q?NKl5X2Vl+6ClC7g1rPVMxmJd93n4wv6etmNZlhBZ/OvcBVGaMbR1+NaNHD3/?= =?us-ascii?Q?WV7sAiyAW5hc4Gq6vdyOh+z9Dv21tAxGPKnpgGndMXiRHJhv1RuasTMCDzsW?= =?us-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jM33lRRgTPC1Fh/xHO?= =?us-ascii?Q?dBzSlOUhRaelZR2sdkaLnQ1v6o5mRuOEj3fKfewxyGPbGyyLrvBSb7n69X7o?= =?us-ascii?Q?Vr1kn+3kh+ECoqmggTQM3xyI03cc?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM0PR04MB7044.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(52116014)(376014)(7416014)(1800799024)(366016)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?funrG5nK3U8G0ePLdbQ83cW5JNvZ2DmJQ+a4C/gDazgrhSGmEDIP/ZJskRpL?= =?us-ascii?Q?TX1atlULHi2a5kO4wgp26P9VjJtiSjxhbDtP6ZTWhYqWaru5aSQvFtDIzGUn?= =?us-ascii?Q?7QpGVDydzku9qCroaukUtI+F0/gPgqjH4/LzhIbIUkz4IeWI1HakUrspy+bH?= =?us-ascii?Q?2YdO1NVNC5RWj+wm/ty4A2Rd7eg3EZT/3hW1xh1VEqxprtc8XbLydtMH4od/?= =?us-ascii?Q?Xq+FpRmSiSr2eJuMUR4G6kzdZFNRzTKvClD6Oq3fdbmq0aWn8AjSSYUXDdzf?= =?us-ascii?Q?pwQopMq48aYfKtkGS075vV9ymK/LK9TbLMMuNNu/iqMA9XiFcBG0G0B+hxFc?= =?us-ascii?Q?8TIRdfRcxtddb3Efyo0X95SrOIsiF6qZJvAaH3z5dmBiTHy9LN6qP2UNpNlK?= =?us-ascii?Q?e9ianQB2CU4deY2JT3fbS2sr2GsQSBC7GPiebDVCUmstkX6V4ygZ6yDsvnyn?= =?us-ascii?Q?XeG1ffPqu/tU0pUFT4/UPAgkg0ekoUNoouTsjjTRHAw6MJ7zdWokakBg0y83?= =?us-ascii?Q?ue4ZD4ChcQtbrCDRqrCG1DmCF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?Q?KuL32rtR0SA6zdkqD1n/etxtHNSx8k5o7VXkESPR1tGjU25MgawrEopNoCPA?= =?us-ascii?Q?4/GrIYXna/VosRVXdXEebQq+Y50AU80QpSdeqIfBAQUx9NViT8nkW+5uPF2H?= =?us-ascii?Q?+JWRL9D8Le7ivzUTQdrIJtpm5QG5RONMaPD9lU0A?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 716478fd-21ea-47c2-b907-08dcf2591e8b X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB7055.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Oct 2024 05:19:36.2171 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: nVkq/a0BHs8R/6jYHcq/gnl1fpd0fpPjLvQRFENWaakHGxgRVNqVac667OTOdE9nIgq0b40tWL9kLP2K8GZE3w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB6853 Content-Type: text/plain; charset="utf-8" Add spdif sound card support, configure the pinmux. This sound card supports only playback sound through HDMI interface. Signed-off-by: Shengjiu Wang --- arch/arm64/boot/dts/freescale/imx8ulp-evk.dts | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8ulp-evk.dts b/arch/arm64/boo= t/dts/freescale/imx8ulp-evk.dts index 7d6d332fa779..290a49bea2f7 100644 --- a/arch/arm64/boot/dts/freescale/imx8ulp-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8ulp-evk.dts @@ -107,6 +107,18 @@ simple-audio-card,codec { sound-dai =3D <&bt_sco_codec 1>; }; }; + + sound-spdif { + compatible =3D "fsl,imx-audio-spdif"; + model =3D "imx-spdif"; + audio-cpu =3D <&spdif>; + audio-codec =3D <&spdif_out>; + }; + + spdif_out: spdif-out { + compatible =3D "linux,spdif-dit"; + #sound-dai-cells =3D <0>; + }; }; =20 &cm33 { @@ -187,6 +199,15 @@ &sai5 { status =3D "okay"; }; =20 +&spdif { + pinctrl-names =3D "default", "sleep"; + pinctrl-0 =3D <&pinctrl_spdif>; + pinctrl-1 =3D <&pinctrl_spdif>; + assigned-clocks =3D <&cgc2 IMX8ULP_CLK_SPDIF_SEL>; + assigned-clock-parents =3D <&cgc1 IMX8ULP_CLK_SPLL3_PFD1_DIV1>; + status =3D "okay"; +}; + &usbotg1 { pinctrl-names =3D "default"; pinctrl-0 =3D <&pinctrl_usb1>; @@ -325,6 +346,12 @@ MX8ULP_PAD_PTF24__I2S5_RXD3 0x43 >; }; =20 + pinctrl_spdif: spdifgrp { + fsl,pins =3D < + MX8ULP_PAD_PTF25__SPDIF_OUT1 0x43 + >; + }; + pinctrl_typec1: typec1grp { fsl,pins =3D < MX8ULP_PAD_PTF3__PTF3 0x3 --=20 2.34.1