From patchwork Mon Oct 21 16:34:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13844420 Received: from EUR02-DB5-obe.outbound.protection.outlook.com (mail-db5eur02on2071.outbound.protection.outlook.com [40.107.249.71]) (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 CA0B52F4A for ; Mon, 21 Oct 2024 16:34:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.249.71 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729528500; cv=fail; b=ErXSaIBDqUC8ztdaObqJKCEwwH7zO9SPJ1Lq3Y9KjNNyzFrG3WGdu1Q8dXoIGclsxKNdrLJk+LO1k5Kk7DQtjb7PwLLtcsVn/XgSekS5ldKxKJA0ux/APvldDUA9WCOa5icqcRC67laYqL4wpxNeUrSQxGUMx0vdbOJbQwTfRIU= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729528500; c=relaxed/simple; bh=4s9o70erAfz174yHpp6HWKiDNkjuMzUKepKXz2HneSg=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=idXOUNEnwDNCb7l7MqZLRkiFiO9j3Ij2hRm5D1QCwhb5eoy5CssfZpq5Uxnho7rE01YjSCQ8TyI7YYJalQwebNcj9JJaPa+uUhNaHfhNyJl3MdQQNaCfeVBHK2V8gw9Kt1cWDK79XY13X0wNLdyKaQApyb7Y2rHW661C9v6sqJM= 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=Oqv6kKrk; arc=fail smtp.client-ip=40.107.249.71 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="Oqv6kKrk" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=UxPZxveLhkwOgwAHKLpUT8YdLZOOWCCbhUSQzZGAJiUzmW1GYGfNsqSvY2AErvC36SACtErEBx54+O3mpi4j8L4grefMmbsKMylFTFElSjJPy98COx3l5oPkmnR58BTa6GdATUziqROXf6+Kg+W3egdxy7xT2R/owj8SLbbej3ZVALP1yvUmZTk14BO69d5ZKLS+9CFU/7ITY1pzoan96YEoDIf66JvxX8n85I3iyLyHF9Si5tyCv/RAdGPogpO4oRJWubekJBa/kh9Xyu4oc6S7zNAstuiNTZWeO8rUmiaiIYxJ1fc+CTru+bwIwN0SkpPGj3nwT6RKRVM+y9JzgA== 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=fcHGoM3FqiCfCWcqQZpVMOJR59KqkDnEKJCHq5TTO8s=; b=vnJndKmMDkQMY7b8WHS3BGeCGDAM8pMH47f3zKztKzWYZcQJib2Q3m98lPjYmKlZArhhPbSJLS2896rFVvxhRv3Vzs0W0bXJ2tXPr7GQxxDUlfvTiXhNowGC1oYTaq0Cls01WVoZwxQKS86cGFDOvuoV/iV5l3/PaoV686qroQExxP8R2WJ9QbqOKTSjvX2P/tiZ7xfiBCe9qndJDf70exFKiLBXJOVorpQ+b46dUug4P35ZAAOnn+brRQL7bVDZy+w48N/mO4JTI+K+coiyVuTUsGVF0F8XRIvT/0GpGPRKlXrv4bLeodkAr+Jr/VxOKkEdKTo9BOFCMqdhDLmtEQ== 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=fcHGoM3FqiCfCWcqQZpVMOJR59KqkDnEKJCHq5TTO8s=; b=Oqv6kKrkOl2NqPcvjk85mJYjFyEA/MgUmPknQha56mzPM+Tp0b09V7pYaBXs/b8UGUO7MpZWbsxz2TwSdSySe6fhDglRvZx+8lddjRynIbOBan0Om0kfcCyZiBxLtJqrUo4dxYS+lYFGXlXV2NRIET82aSB0gw5Q1w7KitNq8z37cq/gSeZfUT1cQpeiA123vJ4AL0dFhvSzzkj86/L7BuaTHt2k5CVPs/uXWC/RwOOW9ERAOPjfXadwIRyrS6oBgvK361n/ukuloTBpvkPdgwymw7A6rfLgXvORtkmfKIr9QP672YgYTkhxbNk1tnS3Uky0nmgoUZKRo9xv3EDkng== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by PAXPR04MB8831.eurprd04.prod.outlook.com (2603:10a6:102:20e::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.28; Mon, 21 Oct 2024 16:34:53 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%4]) with mapi id 15.20.8069.024; Mon, 21 Oct 2024 16:34:53 +0000 From: Frank Li To: shawnguo2@yeah.net Cc: Frank.Li@nxp.com, conor+dt@kernel.org, devicetree@vger.kernel.org, festevam@gmail.com, imx@lists.linux.dev, kernel@pengutronix.de, krzk+dt@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, robh@kernel.org, s.hauer@pengutronix.de, shawnguo@kernel.org Subject: [PATCH v2 1/6] arm64: dts: imx8qxp-mek: add bluetooth audio codec Date: Mon, 21 Oct 2024 12:34:32 -0400 Message-Id: <20241021163437.1007507-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: BY5PR13CA0005.namprd13.prod.outlook.com (2603:10b6:a03:180::18) To DB9PR04MB9626.eurprd04.prod.outlook.com (2603:10a6:10:309::18) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|PAXPR04MB8831:EE_ X-MS-Office365-Filtering-Correlation-Id: 761c520e-ffc8-4338-f69f-08dcf1ee4a35 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|52116014|376014|7416014|38350700014; X-Microsoft-Antispam-Message-Info: KL8vw8V51p7AukcbfOQ9t5xxmAS+rleh5csG2fx0NnEFoM1shD+xZk6qLY5LMLQT9mICy2RKab/HlZmktfioZ0txLDc4Kq+N6Qov4CDy2sHj5p95RCId7KR6dvb6OzCC/VpwnuJU/YT31k37ZQy7MCYXhS6M0zQmcApNn6DaEZfyggElp/gBXX02iOfYGWy4tQODOrtm8DkC4OYis+6u13Xkr4Ri0t3VyaVTfWe10YAukTBgzC/jEe5RukzNUprCFCCAFp8a0uM7BGqCa6rxoD3d1cNnVv8S5lXOO2z1gaU1ca477lu3B7Jx24+R+MQ727pSZOEYE0K81Cy7t3cSfhZV2DLDeNvrzWj7hqFvi7JRZbWUqzJ0X+JwfegNouFpZkBIkuaTE0tuWINMR/l1lAGJSdT/3hqVkmcwl4+NFcIg2wJ/HJLEPJJ5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qHj6/1R9D/8ncswyka8irFP0HsG3txm4pd7ATeUrjO7f2O4aWQSVqj/vPBkWjQnvi3rmCLGZgRpoUKekHrn6cmwM1ECKDejIAJcvV/udVAtu4xs17jiwSzAVM3GDo1NJ0tPWOdyG+qv6YlZP2OSa9FsrMnZO8RIIceeG6vlOIzLv10RLPwZdnfj89u/KmKHnBQvo01TutnFShptVgyj6UiIuooRhFlkphN/w9keoDO1q3qWhEOjvRIZVsRrrY6ti9Xgkjqof+NvptzCJOVt71FtLDzWIWZCcsFDllvLMny4b9KEQkYgJ6eesBlvHy8lAvZr/CalOlsx8axaeBNo8uFeXvPAES3qq9j0SFSK7kkyA0SL8CgFWLawgzo96Mf3jNdxCyORuwgRRC7z/+426MWp4aGRZEQVd0j7JIyRj2ijI5+xU2NWCDmUE7d5DCzE9JVrXNULht/kQvWX3wNu0Dp1nc8tjlZC/Hp5dIYG4wZdPmOeYnjMr9P+OVU035b7hlugbWyxJjW/0qJ+zt4hx0MFkaohejsMGO3tBdGsT9eWiRLu0LMh8L8ajA6Y4llbds3d6rwpphRQ5Ofn/QgepVBn8a4WvPc0ePn8XhNPRWI= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 761c520e-ffc8-4338-f69f-08dcf1ee4a35 X-MS-Exchange-CrossTenant-AuthSource: DB9PR04MB9626.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Oct 2024 16:34:53.6157 (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: DnJqJFpKVrVrjpDSLrUYHZR8fgnTKjRXJ1CxEhiSsL8GTbaGevjhFhj3zszlJNapwOKrpDLtkQX3Lb8BnKCFHg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8831 Add bluetooth audio codec. Signed-off-by: Frank Li --- change from v1 to v2 -none --- 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"; From patchwork Mon Oct 21 16:34:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13844421 Received: from EUR02-DB5-obe.outbound.protection.outlook.com (mail-db5eur02on2071.outbound.protection.outlook.com [40.107.249.71]) (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 82E8A2F4A for ; Mon, 21 Oct 2024 16:35:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.249.71 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729528503; cv=fail; b=mHeWKe2mYc9RUSSFTrOyi0V+x2rNJjSjRO1YUuVvC1jyCQV2lP+HRW/vtPhzA/E8ALSWJcAKCSWUYPruUlTUAqraimOzCTIve0o68qIb3cIh+S9v+SUv2gZOMaw1lfbVccOIscIt8ykg/yjPc8V4WAHyuNNgsmvWv+aGl11HsW4= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729528503; c=relaxed/simple; bh=9AKSfmJooQthlkKTgVBRfaHpxJdhu4leJFUObUf454c=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=qqAiQ+2eg7ex+2P8spEgaLEopxtIBDs550cdqa/SEV+0TbHFo3Qfd5g9tO/hp8w/NWtyy7PVUb1N1rghsZvqw7rdFj/YoQgsH7ZfUcyHYRSohRmAjU0GafbTcH0RU3ztk2plIQ8yreEj4y2pGHDeVROsEKgno8RUwfzTCmujIAo= 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=Bqm+4YjK; arc=fail smtp.client-ip=40.107.249.71 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="Bqm+4YjK" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=n3Ki6zMeHiTEH7zRlLPEM4pT01hoJmj0FQgPtUWxvo9C3P1VCnZox+rxIVP5PCwazzS8vhgcTxJxjkevZVvswSYmRGP28UAUH0mokNvSjcWDrarp04Epj+dGDRyMkt7NKiIpGtxJ3Z2WiuXVUrrC94Lt2K/bFj59P9oaMCFMeHDf+iwwHt/daKhfLFPjVZkkuxdpEmqYlQioz75iTPNoBJq6MqvWIgpztv0+RoHcLl/i2kk/ueSx1X7VUFbQQ3jbQQHm6JoF5V9wECSaB6z3KRZBCaEM/Ad+cK2VuAJyOdEVF6SSvHFFistZi2GKf1+hh6s16Ku0FhyVD29BZOVEtA== 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=1Jobsi1Q87wfcxwAn+zkEzDMXKEdqa79fU781bkEItk=; b=sUUYIDxOlwFExKlZWhcGPCEaX0vJ7sgcpP5zHGf6uE79PP4uQvV6pcsh5E1PyAIgRiDQd24Q2wIYxxIO0KczDssawNSRUcheq4nJgHM4EsTdVk+ujY4r/5YgQtc2pFRMV5Uq53V7UsTba3USVkXlRdwxlSitDALN6XeBEjXLHjMwslxksLDyG3xTLhQOn7+OvoitgkB7j8gjFhOF68pV66pG1CtL6r1QtshcCoeLiGUbTy/cfHHFqWyPhNGBbG3RR8HH/I7BtNourJuwbTWwd1Xvd+SF1mpDm/eEZZ80zriotA5bugZtd5tNDCb54UWGSZjtvfzqQ9cK0NYTXROmZg== 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=1Jobsi1Q87wfcxwAn+zkEzDMXKEdqa79fU781bkEItk=; b=Bqm+4YjKMw1duwBOVfje45/KxRqWzM4IPDDG7sa12mrhpy9ye5m5hMiDnjLptGl7fBbCMWSxiq4j46VIL0qD4bQ/uuayEPT/H43AIVeG1yiLsZGNkMpYz/9K8ZTtskJaPIlISQsDQHxh9sJLyAjEvQZebMWDcNvPaAZY3LmmbVD4LX/wX8rzxCFHx4MdmPPVZ5Sj5HUK6OPgI5YAnCYItwsxN0YNHuGWNRGHArbVNa8N6bF5/YjC7uYJU1L/VEkXgGFxOQnJzGmWnM+/da7jL1FoCp7Gb3FCakb0jb25Ro6JBha86D8zVrp/Frx0UNbqlRDTa89jCR7Bhn+LVI0y0A== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by PAXPR04MB8831.eurprd04.prod.outlook.com (2603:10a6:102:20e::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.28; Mon, 21 Oct 2024 16:34:57 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%4]) with mapi id 15.20.8069.024; Mon, 21 Oct 2024 16:34:57 +0000 From: Frank Li To: shawnguo2@yeah.net Cc: Frank.Li@nxp.com, conor+dt@kernel.org, devicetree@vger.kernel.org, festevam@gmail.com, imx@lists.linux.dev, kernel@pengutronix.de, krzk+dt@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, robh@kernel.org, s.hauer@pengutronix.de, shawnguo@kernel.org Subject: [PATCH v2 2/6] arm64: dts: imx8qxp-mek: add esai, cs42888 and related node Date: Mon, 21 Oct 2024 12:34:33 -0400 Message-Id: <20241021163437.1007507-2-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241021163437.1007507-1-Frank.Li@nxp.com> References: <20241021163437.1007507-1-Frank.Li@nxp.com> X-ClientProxiedBy: BY5PR13CA0005.namprd13.prod.outlook.com (2603:10b6:a03:180::18) To DB9PR04MB9626.eurprd04.prod.outlook.com (2603:10a6:10:309::18) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|PAXPR04MB8831:EE_ X-MS-Office365-Filtering-Correlation-Id: be816fdf-549a-4d4c-b03f-08dcf1ee4ca6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|52116014|376014|7416014|38350700014; X-Microsoft-Antispam-Message-Info: OA6Dj7E+pV7QzqYVLgckpD241pMy5q7RpDcCBxac+OCccvSjYxwoNanCRzfu2+99ylioXMbhZYAEojkpOCN9ZdnArfAHk8l5DrogtsdDzC8ysPL+3RgY+IO3h3G5do042CNaT6blgfUfNiXQ3LyjPA3f1OJ00psAkSm+XzR8mMLr8+wlY8GfAYUUN11CiR4R902+wGyT8W5GxSoC0BH14jpM0cr2Dj2W4cvOmvRhzmQ5kd4lpQmmvPCI8LAIEvRPdYrraypg8jVh4XbsaPT0CmshCiQWz8+gtMvDiXe68KlOVkcXfFq8czL5JL5M4Szf3et3ORYyqE4uollL8/1NctnhPy+C+gkr8vjggCf+7Q3BKIfVDoVtYZSVG0g7Irj1uqh8kTyDfL6LuZkYlFc1AHBdRENTn8/THmrlv86BLm4mla2HLsb4D6CtdnStjmzNNTqhm486ikEu7SA2xXHvAtvgmqLRoc3CVY34AD0KeqjnimDEn1GtHrBs+7O6Ao5fV+u9ZNacyCY3yaDpxxiQW5ks2wSD7mpgCabeKs7imYUW2lA2MSFi5ahGmDWXkrp0/sRMT3bi9f45yJgMsQDTaK1Fkjhi50I/U5wSudA2pzmrcIuOFfCej2AkyZpVmoFxPlzCP2JmzdZutQZp7aUzvkapoAHXdKJmQko2AJg3yUx36R/l82PW9I8x13Pharfa46+YNdKCKKXADC5d0r1fV4Vmsd0z2G7iY48KQpja+UcUK1yXkKFJ3r8clFdq/T7Uals9yLVKUUC6ywuWKi0xUseVvjOVDVBBbSzKdobMIKmEzxUf9erEyeWWOkKQAcgUOYF5CVCpcqWS4M8HcJzkY9NfAtXoWkpQ36UEu0OADj9PDHq8XherGJSgneLn1NwBTZ8aegN3DZfLfwEFrvR5SOPpFDZyXDY2VeYJqnyZmnZO9rp97k3Fx7dtFdQHzqz4CZvTEOyzPjvzQ7ItwirDAXcKB8tSNx/WosKOj8jdrIJnqHEaVweMlUO75Eo/cHaJkqs6RW3J5KR0k+LdUBS2ZoUEe/i0tvuuFYf5Ijzp1AbymtBM1I+5orcwLpB/0LB0m1QFujZVla+Q28dXSn7k1ld/s7UHrYe8UXh7MkravGCLuaIu+5QVr08XAkk+3Xtn78GQ5vl/avsMMuNM04CDFUXjT3HvQbl3o6E15TKN0K8G79rdzBjFuHHxpL5Vo9YwP7rFtvICVI49O5xN9yU+fV96jhkNbVnWNpUXeqQOxNyUrReX/4iFbBSFrjV48MIa2xeIGxQdtu0RV7q7xSHBeSjlkC3NLIiHC873+yFDFHkzmJZziLM8UgClezkb6ExWOebAJVByzxHDjpsT9sCw2rolPmF4vT7hHLVi7axW0zQ= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(366016)(52116014)(376014)(7416014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 5EAbMSqAQUMlKmsHk+E+WewYUfTK2aEezlYqyuG1BT97Rzsq1r43IAvEBcRSjEYyrXZHmgfTkEx8OqPv9y6YGee2hkF/5IUnqy9DLAx3AK1oC87Zp73io/p/k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oG26uYjz7RwNrqTu3i7zrLaw1nJMdb+0grONE+5rUKPWVX6qy+O18SOhPJe4If+AFleLDCtLAd+HtO8XiconNd8h3rqVR0iaRid/YR9qj16tXRz7pd24Tp7r9P8p6WdUUl1/NHXEOHPE+ZR+c3zczGjFEOhvZ7lVAxKmFZIVCJ3VbC5KHoaI5fvSX2pACDcyysLi0VGa0696sTfmgckpvxXAzJs+HqQcPMsx3nFfbkyLqNMYCTjRc7q16vm3i9jgDPmgS+Nn/zAWnt1l/e+Ti4BnIAcl8GPGo9GfRsG51EtJNiuiOuFb5dtA2u1UcskNxMrznN/XYdBT4MjIRj4hr2stXt/WFxjQ0KEmu2SXZ6ALFMFTL25GiTjWG88F6Q= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: be816fdf-549a-4d4c-b03f-08dcf1ee4ca6 X-MS-Exchange-CrossTenant-AuthSource: DB9PR04MB9626.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Oct 2024 16:34:57.3770 (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: ErUeLrxrhwEOKAFjJ8YY0tRRH9MctI3XgaA9MfT+GNq5ScD/imF2CRWoUdX9T1gSigB3iXX3AW4n5IsqysFN1A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8831 Add audio codec cs42888 and related node. Signed-off-by: Frank Li --- change from v1 to v2 - remove extra space - remove unnecessary status = "okay" --- arch/arm64/boot/dts/freescale/imx8qxp-mek.dts | 82 +++++++++++++++++++ 1 file changed, 82 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts index d8d9e2883caf7..da8ceffdc7212 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts @@ -50,6 +50,13 @@ usb3_data_ss: endpoint { }; }; + reg_audio: regulator-audio { + compatible = "regulator-fixed"; + regulator-max-microvolt = <3300000>; + regulator-min-microvolt = <3300000>; + regulator-name = "cs42888_supply"; + }; + sound-bt-sco { compatible = "simple-audio-card"; simple-audio-card,bitclock-inversion; @@ -69,6 +76,27 @@ btcpu: simple-audio-card,cpu { }; }; + sound-cs42888 { + compatible = "fsl,imx-audio-cs42888"; + audio-asrc = <&asrc0>; + audio-codec = <&cs42888>; + audio-cpu = <&esai0>; + audio-routing = + "Line Out Jack", "AOUT1L", + "Line Out Jack", "AOUT1R", + "Line Out Jack", "AOUT2L", + "Line Out Jack", "AOUT2R", + "Line Out Jack", "AOUT3L", + "Line Out Jack", "AOUT3R", + "Line Out Jack", "AOUT4L", + "Line Out Jack", "AOUT4R", + "AIN1L", "Line In Jack", + "AIN1R", "Line In Jack", + "AIN2L", "Line In Jack", + "AIN2R", "Line In Jack"; + model = "imx-cs42888"; + }; + sound-wm8960 { compatible = "fsl,imx-audio-wm8960"; model = "wm8960-audio"; @@ -86,6 +114,15 @@ sound-wm8960 { }; }; +&amix { + status = "okay"; +}; + +&asrc0 { + fsl,asrc-rate = <48000>; + status = "okay"; +}; + &dsp { memory-region = <&dsp_reserved>; status = "okay"; @@ -95,6 +132,19 @@ &dsp_reserved { status = "okay"; }; +&esai0 { + assigned-clocks = <&acm IMX_ADMA_ACM_ESAI0_MCLK_SEL>, + <&clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_PLL>, + <&clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_SLV_BUS>, + <&clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_MST_BUS>, + <&esai0_lpcg 0>; + assigned-clock-parents = <&aud_pll_div0_lpcg 0>; + assigned-clock-rates = <0>, <786432000>, <49152000>, <12288000>, <49152000>; + pinctrl-0 = <&pinctrl_esai0>; + pinctrl-names = "default"; + status = "okay"; +}; + &fec1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_fec1>; @@ -264,6 +314,23 @@ pca6416: gpio@20 { gpio-controller; #gpio-cells = <2>; }; + + cs42888: audio-codec@48 { + compatible = "cirrus,cs42888"; + reg = <0x48>; + clocks = <&mclkout0_lpcg 0>; + clock-names = "mclk"; + assigned-clocks = <&clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_PLL>, + <&clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_SLV_BUS>, + <&clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_MST_BUS>, + <&mclkout0_lpcg 0>; + assigned-clock-rates = <786432000>, <49152000>, <12288000>, <12288000>; + reset-gpios = <&pca9557_b 1 GPIO_ACTIVE_LOW>; + VA-supply = <®_audio>; + VD-supply = <®_audio>; + VLC-supply = <®_audio>; + VLS-supply = <®_audio>; + }; }; &cm40_intmux { @@ -458,6 +525,21 @@ IMX8QXP_ADC_IN0_LSIO_GPIO1_IO10 0xc600004c >; }; + pinctrl_esai0: esai0grp { + fsl,pins = < + IMX8QXP_ESAI0_FSR_ADMA_ESAI0_FSR 0xc6000040 + IMX8QXP_ESAI0_FST_ADMA_ESAI0_FST 0xc6000040 + IMX8QXP_ESAI0_SCKR_ADMA_ESAI0_SCKR 0xc6000040 + IMX8QXP_ESAI0_SCKT_ADMA_ESAI0_SCKT 0xc6000040 + IMX8QXP_ESAI0_TX0_ADMA_ESAI0_TX0 0xc6000040 + IMX8QXP_ESAI0_TX1_ADMA_ESAI0_TX1 0xc6000040 + IMX8QXP_ESAI0_TX2_RX3_ADMA_ESAI0_TX2_RX3 0xc6000040 + IMX8QXP_ESAI0_TX3_RX2_ADMA_ESAI0_TX3_RX2 0xc6000040 + IMX8QXP_ESAI0_TX4_RX1_ADMA_ESAI0_TX4_RX1 0xc6000040 + IMX8QXP_ESAI0_TX5_RX0_ADMA_ESAI0_TX5_RX0 0xc6000040 + >; + }; + pinctrl_fec1: fec1grp { fsl,pins = < IMX8QXP_ENET0_MDC_CONN_ENET0_MDC 0x06000020 From patchwork Mon Oct 21 16:34:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13844422 Received: from EUR02-DB5-obe.outbound.protection.outlook.com (mail-db5eur02on2054.outbound.protection.outlook.com [40.107.249.54]) (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 940D91E7C34 for ; Mon, 21 Oct 2024 16:35:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.249.54 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729528507; cv=fail; b=q3OWJ0WYvFw4UXjSAQ2P3NwiVb9g8V3YqcU9fEPjF0lWb3szFNstcwVA2d0HPW2gj87TVN3KUxw2TujzIT82Jv6RDWelrlX5lyWk9+3VTTKoTM1slH6EYDB6HEJu29jIG4irkEYioIEn5noeiTNkswQay11CRPthycBt2AzVxVM= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729528507; c=relaxed/simple; bh=gsJXqTRS5joA/AN721XKP7xRG28mVIkt1HN5w9l3QFo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=RhswretsPJ2g9gRcx0a931hEKvX7fZ9HO6TlZwNpVIV0asIuwHGYNteEoCw9EiKhhyfFCYJt/pEaaFV2OCP/Bd3rP7G0DE5suM/qG6iSdgMBGQLncpwWMEdtH2lBaxZSWPqLXfEhWdxocLDQIwQMXxWbwCuVwGzFwRtv+TVnYvs= 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=R6u/goaE; arc=fail smtp.client-ip=40.107.249.54 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="R6u/goaE" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Hny35BqYa83JjeJ2P1dtACoG7LlbyV+xdvGA+Kh1WPrxFV5Q063r/Ay+KlwRA2Qzl3btyWC8V77LiNeUI5R6OjmCUUIDTR1At5B+La55HSVAWoJLMcH1PlJrfHMOpROmA5u5rfvAv5Ck8FkdQ2xs3mhVxjgfbUlxX3QnN937HhxBGEYp+L8INwT+7tqbH5Vn+enS8/Y9RSOQ+Ik0lwsX0i6ReP7AGQjS7PgwnC0vTQNFerHfyBpDrmMoTKXjYnmlw7BP9fPPgpssDW/P0spUJgQvrlz9ccHnvQKCtatvK+ygQKCZjjovqy1ZU2Dp0YuX7qDSIRFJIMfvW89+YNIQzg== 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=QUqqOP3dLaoTkq6lz794GvCmMPnzCL170OT74JIhH/k=; b=cyZTsoUZIyeluDj2fxB+nUpNaoN3AUNUO30Nti9U8fj3XaWw1n7nAsYiFn57y5LAVZU0GP6w/D5idtpK3S3YJGmFztsbj+NFAkyfcmlWQ/6KV3DtyEkGD62hdYhQPgKKsNeViAz+nZuntqojCRl+WPHXGDu3Edl9SO3jILc1im+d5m3hhTeJf2UnscSUhPbhHT5+Nt5VGzYP2c0eraP7mhwS9+smrUjvZ1aPivdDa1/7MB1N4KBNd27uE47IZlum75M0eBD4DkpxVqBKLzfKSZaa2OvHPQ+tZZI1v8yMS1VqX+EhRpDG82s2MtOFd40KA1LxqMvoO0oZnxHlS1blTQ== 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=QUqqOP3dLaoTkq6lz794GvCmMPnzCL170OT74JIhH/k=; b=R6u/goaEsSV8I1+fH/K9U+kh71tsUeJPEe3GL5balzJbOSAAzknk5f5OXWRo3VLbT2qJtx47eMznBw08C8fIH1N4gx7P1aaC+nmKIClp3/YvK/Lz/bCg/uRq37alREFL1qVxiWS33nNcRVvIxaDxoPyC3Iuu9+hLsXv/ysWdNhUtuk5wNp3YTqZ1/ROhj5tdMtzywb3tfAho9uofgom+UDO3SdToc45ttQ3KsEIfF8IVVLMAUZVPrBAYPeyQ4VH6tpQqDzCyv27cTOKd+kYKLHT7bhzdAfSAgbejbgfgx8fUZ1WA+wgxB96szNT1ho6TPIsAZprWWaYZ/MAxlFaLTw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by AS1PR04MB9684.eurprd04.prod.outlook.com (2603:10a6:20b:474::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.28; Mon, 21 Oct 2024 16:35:01 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%4]) with mapi id 15.20.8069.024; Mon, 21 Oct 2024 16:35:01 +0000 From: Frank Li To: shawnguo2@yeah.net Cc: Frank.Li@nxp.com, conor+dt@kernel.org, devicetree@vger.kernel.org, festevam@gmail.com, imx@lists.linux.dev, kernel@pengutronix.de, krzk+dt@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, robh@kernel.org, s.hauer@pengutronix.de, shawnguo@kernel.org Subject: [PATCH v2 3/6] arm64: dts: imx8qxp-mek: enable jpeg encode and decode Date: Mon, 21 Oct 2024 12:34:34 -0400 Message-Id: <20241021163437.1007507-3-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241021163437.1007507-1-Frank.Li@nxp.com> References: <20241021163437.1007507-1-Frank.Li@nxp.com> X-ClientProxiedBy: BY5PR13CA0005.namprd13.prod.outlook.com (2603:10b6:a03:180::18) To DB9PR04MB9626.eurprd04.prod.outlook.com (2603:10a6:10:309::18) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AS1PR04MB9684:EE_ X-MS-Office365-Filtering-Correlation-Id: 8aa69209-02cb-4a69-418d-08dcf1ee4ee6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|7416014|52116014|376014|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: F8mj/8SoTl7fjKIIL7J7xT8B9f47qf3EOLLTgt1sQXmtMQcP5SVIOSFIgruTiwzMb6KVP1s+XhDfKb78pTeU03MwWlTC2q8hmHWSYkg8mBayD6rB7YynMhJnNi1BYdSj6jbFF/2llrUP3/ccJ3rr1/wXwR1h0l4RzrPQEtvyWDFQfq5ovKpFckdUlQU0b+FynD3RNUoeGaGRNhUVMbs7ytl5sXoU4yNFy/AM+ZQf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wVaRazA/YZIEUZvfya5ByTKSPxphSpARHlTkNMak58M7knJULUfYkOdP5otACigpJP5foo3epYNSTvq1950etw= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(7416014)(52116014)(376014)(1800799024)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ScFrnep4bL0/3oAjP5KHY0oqyKMYzKjh5XuJattCkXHRTZ9b65y4ZvwPPFTkpry6oN4g1LzQYzRR5c8+6GNiJRwgpUKv7pUz3yDxWYcVlpShzGVKRcZN633kKrOMcPzyWxZhQG88obcTKkFNpGb/PYot+ULJsusRffcOfYnRNBvaLi7HyE47ZLpQWfFVoMPt7+oq9OnjkuWgmVLavFZoMcFmkjSI7aPE0LxpzYqXyGhRKBXO78BM046YmKGW1c0pQwAxz0EZU0NsfFptxbbxNaFiWpcnQuqH8EciP64nTRxIgFz9idrsNPpmfhqZ53OvAeN64SRu399OAJ3rCpK/6igQKezmMl2NIDwbUklWgcyQUMqEKTJSm6Pit2HK5Cun97CFZGCLhUphmm4v/dqP55jAEzLfFROqDKQZCJv7gMhYfAB6ZvA/b0QsQwAMts2rEnJg0drHUcMUmln9uZ1WQGpSzFSGVC52fKZjtWAji2DrP2S4ozDb3Pfb3xhjx7ICeaxEhE89UokuNSF7RkmTpKhFSKaA1p6XdAtWWjIuofe+c262VcuSpuwHqsk0gr4dp4NZGUQh5yfR3VDWS9GOl1OwQFD6QfoTFeEHumJVwl3l/srtW0OxW6ThkK4XfGf8H17qRPFP4/NDTsOLv0H0uPCN9MkhJ71kl3qb1VY5E5FDUgn9jpclt5p9xDp3WZJwdBQ7oy5DCVM+Il2kD0XJzEJqoYWXf7YqxTKDwjX8FjT8YCi09dIV8kxEHAdgMv99wJUl+G4QkrG8TnppnbSpQh/3MUk372iM2Z50rLY5eMlW16ytka1Y2M89nifmF1vf1igi/nMd+V28LSIuRcvSf7ALTNm4b0qu9v9bhx1nMJzFRd1iIVLkTkvEI0/BnLLAV48TWTNklbWqVBLVAGNodoofyA6doL2hz+rvyn3F+F4q+W3su8g9YPHlrxbG+B1d8k6vK9e389orpAz2g2sIa2jP70kYTuYBqlosL35AnbDQapv7JNPUvSNVptdS0VFFn6uOT7xoQhCK+33m+CUOStmqN7uz5KRJj4yx6C2TXYVtj05n9TnaeMPzBQXeuvvd2qfUkwnk2f6GADzSREAB9FBF5wLt65LXpaFOrSjgWJUS4KnOqMjeB57cp1uyVYG/HLRs8iLM5ACuiuDyGqtILEVqNEjHlrIxuCB6L2hQfhYeyocvlgk+AeE1PoreHB2YCXxLcKDjqGLpKVmHEvhaCyo3j4mqXRhZ3hmcuZtoepQRNOssUg9Zs40FA1lSYTnpihvT5lyyHtO7E+kj8gpO9FRScWrSYSYY5NJ55SP06sHsogKO6GmaZafZtFcpJx+bEoaO6fmeHyA+l9HsiKcjZ1FiivUssVCzI0kbeqJVfK8fPJXOz8lfQiS1bqu6sTC8SmNjvJRePNXnTWkwe+3zNwzRaUOw084B3A9fycBSERlkT2TAWB/R2QazpTVZ/G9LSDFmUS06K/a9J40Wn1thnnvhQW/iFIxq+pO+4NV9xSgQN6IacaQiFObyuqLdehCGajvsW3jj4CL8yL7Twxul5pjWKK6AvV821x9t4B90pBqnIGsgKusbh4V254E7O4pi X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8aa69209-02cb-4a69-418d-08dcf1ee4ee6 X-MS-Exchange-CrossTenant-AuthSource: DB9PR04MB9626.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Oct 2024 16:35:01.3440 (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: 9Eigd8YfZ0SWduWXxZ4mwecUhBeP/rdraDdoMmrxGOfl6xWPIHwqaZeN26yNGvbBn4y6roIwF6fO8B2Ixh1kwQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS1PR04MB9684 Enable jpeg encode and decode. Signed-off-by: Frank Li --- change from v1 to v2 - fix typo deconde --- arch/arm64/boot/dts/freescale/imx8qxp-mek.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts index da8ceffdc7212..0d14b0def19d4 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts @@ -337,6 +337,14 @@ &cm40_intmux { status = "okay"; }; +&jpegdec { + status = "okay"; +}; + +&jpegenc { + status = "okay"; +}; + &lpuart0 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_lpuart0>; From patchwork Mon Oct 21 16:34:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13844423 Received: from EUR02-DB5-obe.outbound.protection.outlook.com (mail-db5eur02on2044.outbound.protection.outlook.com [40.107.249.44]) (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 6B4171EB9EB for ; Mon, 21 Oct 2024 16:35:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.249.44 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729528510; cv=fail; b=QCQ6zosm4HRhtHAk6TTA3Y9Av50YNiQcuJdAcDlkZZ2/zgqdTK+CRFhifX8bZ2iNKbFFn0V+1leVMZHe7sQGAmChHIOb40VYSJa8NjN7G/P/GGs3/foWmsT21dXL3lJat5DokMKvEhClAAJw8Rq0y5+tQScEBCOEgWPIT9BsP9g= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729528510; c=relaxed/simple; bh=kMIs5iIxmHDEofuS2zjFjAL8bxubocN0yKdl5Up2SYc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=BSyDCUN9HD4emg8hKS+AuDctZwIJCHS/LPg96LrGkdnWaBkBWy+OLrjBcBdEkeP516Pn/Ma7YNa48onBumxgCmleuIxNgmjyf14q0zW4GBeT23bm99Hmj7Yv87dvVa0A3sgInsYMl3ZbtgHTzDl8XEQTqEGm/w7LwA6uoqVyBME= 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=RU6wVfKM; arc=fail smtp.client-ip=40.107.249.44 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="RU6wVfKM" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=EJu3DhU1i4fsSHoxaIOIYlViPaQlgvusTYS7UfELsSHTKUyZpU1KiTmCat7oswZAqkBY4p3CnY2OJiURMIjROLnKfbxiVH3BLsCXbqa0FmdcRB3zCLJnwvhDDmxirMgE9XSWGXDUVbngAc9rNA1MqXzH26Rpf6rqR9h8qAbAtapu69YgcOjlE+ZCmvQAA9l/o1A6Nf6em1UyKa1UG5toYOB1sazZxrBKyiz8LEvdzjJbeg55OoGwRMk/Nq7BTtHGpSl87cXEaQWNdTjdPdHZ/mvSAJm1MISeNGy/YZHLeMhlNPyTFklQdat8CRuu9Td4LqpH798ZGXoGJDmz9bkYyg== 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=OvVyaS/hglk50HvYOo6cHTrdRbg73VVPm57yOW4gXCI=; b=X6aMRYdyDSXwj96eNC2n3qYuxVPkaWLw+9pb3DXaMo3W5iYsaLjMX1jKzLUDf+B9LHXDMDg48AoNNQEcAsxQcDpE1qzT3YcdhRpnGbH/y85oogVkpf5P6rFvt8C0vuLz2LpzDYb7KZHU+oTYBk5oeN/JOiJMAfh7n1H4bI+5DG4valHom+uacOoKkPifwZujbuc0KK72MpnveDsQMZRcPPJtwhKZ37ia7l+3+3eQ3p7IcZvXxcv2YrRiQfl4XkLnsWZa4cJG0r9PQtqN+w6w8ka0FH2Js4Y+ymm5Ii/yHGAaxLPrywt9zz67vBv+ov9ZUhKwn1VUI4uEs+5uoQdGIw== 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=OvVyaS/hglk50HvYOo6cHTrdRbg73VVPm57yOW4gXCI=; b=RU6wVfKMi1ANYMgZTcZE+rFh6fkkp0vWewLwsaYZjSB4l1ClFRZxhx0l0Ys4p4J7rXle8Qjh8oW9Iwpxu3mUY3cqXivDKIY0Tt2JTDqnxIjqOYnOzI8kkZIpp+V1HmXey2rT8u6PkZbzZNiulvy3UKRa7w11Jr8I05nOV5kihA/7F4mTE4mxW59CFEUvAXFlS4i61Fl3UtLKY7AQ+5USPhPbNK9/f8MX4JdYVUbb/DBe0IezcuyJ3LOrQyX86ZKXCWe8Np63P3rUTOI7YDD2jKqu45l0lpR2qxRADeOkrEvcr8/PQtLUAU6lCQT7fHsu3PInXJ+HHRvhIxV3jK3hnA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by PAXPR04MB8831.eurprd04.prod.outlook.com (2603:10a6:102:20e::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.28; Mon, 21 Oct 2024 16:35:05 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%4]) with mapi id 15.20.8069.024; Mon, 21 Oct 2024 16:35:05 +0000 From: Frank Li To: shawnguo2@yeah.net Cc: Frank.Li@nxp.com, conor+dt@kernel.org, devicetree@vger.kernel.org, festevam@gmail.com, imx@lists.linux.dev, kernel@pengutronix.de, krzk+dt@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, robh@kernel.org, s.hauer@pengutronix.de, shawnguo@kernel.org Subject: [PATCH v2 4/6] arm64: dts: imx8qxp-mek: add flexcan1 and flexcan2 Date: Mon, 21 Oct 2024 12:34:35 -0400 Message-Id: <20241021163437.1007507-4-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241021163437.1007507-1-Frank.Li@nxp.com> References: <20241021163437.1007507-1-Frank.Li@nxp.com> X-ClientProxiedBy: BY5PR13CA0005.namprd13.prod.outlook.com (2603:10b6:a03:180::18) To DB9PR04MB9626.eurprd04.prod.outlook.com (2603:10a6:10:309::18) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|PAXPR04MB8831:EE_ X-MS-Office365-Filtering-Correlation-Id: d6811ac2-26a5-4989-0516-08dcf1ee5180 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|52116014|376014|7416014|38350700014; X-Microsoft-Antispam-Message-Info: vOjNLOT9XLJbnF1LmWO+vaE+YYHBpIaYacVNpE6Hiy8yuQ5DI2BwFIg8Uwk06/hGysltA4XZQjZYCdKGVBgxbza1TTqHOXBMYztxuUYCRqbLHjNX1OHLjyKLLbE9H8WW5zoqQlG2AgzK4Ep6fZB/jrxsgByUa9eQwdejzx1UTcRFANDXV6XDzN/9fARq6jxpfz/0UbUB88NLPNS7kZ+bsV/GqOqO+tLPmyFhJWahuf3gXG/WxHFKrMKUDYBEweIcSS3YskrO5x0ztOVp3PfESTaqKuLKP9pB5WKwxNKJG70ys3rtZGf5xMuomtiHEgleY7E05hNgbLuXl4mehc6JlzPUu+O5l4oHQ4OrnsJSNjzbX3mmSkuICSkpxKp7nY4+dBFaCc5e7nWEd/F7Uv6LsfNsepEWcjXWxQywHPpy+0gFe7Ps38z4FRDJCGcKPlKBfVGulmEOOqAsUe8GjGbCUNMXQJLUvaRW8kDMvz3PFCMbWbUHjgh616+DQiCF9GDmUBFBTd+rsNDNDBDwNti8tMooxxWEAgt8TweWJaj27BdlOZU++FwWZFRoiwpWS0G/bW9hGENjKrKar4sUIvcrVeC689aYDoCFn51YbRVVaVAVj/yVUi6pWD+fVGCw/b27mYv3ntvqXNzbcx37+Aa4Zg4N/8uBfM69jl7zAh0IwLZVsEqvuXd1MdWJZl8EdxveXuOtdXaIVvJQz9dUrgXxsijiY9sx70ur+P/uquEKi92FnzaDzKn2UacfmONxQHaBaJglZQ4511bSqrVOOBiaMVa0y14NS/ftc1b0+hzF5LnDtvZ411ZcOoi13NvgA3ZHkSKHLSuMzITO1H9enDM/xafnnJXuObZJynDIM6KI4EUaWWH5wJ9xNpUvbMw7sqhzfZG0AQTYnZaf+rWKEmye48E5WLqHnT2wSbn9+sLpuvdSQWX7nKpAI8RR73hJY8pvzhsbUog1pu5LbAavLqLLHvM+9PXPIKygP2PQcc9Z3RvrneWHynSYBx7c9iJWQYNvwyJqcei5pPj75N6tL9IfsAgBkw02bdalD8q1sjLrBGLgIZfhZd0gkNDIw4kliFAtQKh+omsj1Bgcovb69D5Z+J31Hyi9DSBll+6ZwXhNX+pNXxj1LY/3Htn3DBxDG24kOWqhyEiPuKKowrxefCyFm6Y5dhjwTmBk8gKVeMWIKgGg1WXPu4cIdiE0J8tqy1H70vm8mC/MH7etiQ/VKI1GdSioyneUzCYnB00RHBs2jR6kc0ZSYitNhi0pXoF5ml0lnvnE3vgWYnaW8PGPrUkTNWBVuSzp6S/1Ll/tjOL875AnLpmo4fKsTr3IbIzNGixKUjaTtzaOY6KyHJUYY//cRhDUxUlc9bKDPgqWGlHrRSc= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(366016)(52116014)(376014)(7416014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: rdxZit3GLDYOJsQDzYA9rfj2BshvWZjBd2ZyGTK5N2C5cBx0VjgPMExld4EQOufFqCt7++9KouStJIBXqVpaawGqmvUB2PTNDvqbGgJIW1pNpBhFGm6Dco8mkPgCSzn7Es06wDFuPeZ1xdrt++5Dg6rGQlNj14JUM99f+3JEQs2nTbChHh2ACEIP6VGj4gVyzQpIhK1pD9qe+QW1owr4hlkyYOnNYGOPTEn0DCGgowkBKghwsIdRf+cBFmYfsT8/UouL0HRKrT6r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JIKZY94mtpaEzkxF7h/VEy3+pZqsWSrqNsHIV00vpOLw+sc3chwmzVvR8B+2P/Tz3n3hL70PxHk73PFbL+VLWd8cYd3dVIWvcQ1PtMHLYYiwokYh17HZMg2ZnLMTfnrZxiJRIeDegjh89L71fdXqZsPup6h4eibrF2M8qV5J2dNk0YjPwKy+4Js/+SIjef5+0Lalf8NJd7/uMt8ohCsZGY4IyvSXXU6EPRxTPV3uwRoOX304CJ/8luvSLY3sX52F5LQw1cW X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d6811ac2-26a5-4989-0516-08dcf1ee5180 X-MS-Exchange-CrossTenant-AuthSource: DB9PR04MB9626.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Oct 2024 16:35:05.5613 (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: TXaHvuU4HwDdDigLKhso3j8/s3Qo8r4VDApyzzBxRUb6OLT+oUefJWxIj0buU8bVA1UmnHs9Y80fW/IPhGXNCg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8831 Add flexcan1 and flexcan2. Signed-off-by: Frank Li --- change from v1 to v2 - none --- arch/arm64/boot/dts/freescale/imx8qxp-mek.dts | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts index 0d14b0def19d4..e9342bf158489 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts @@ -57,6 +57,25 @@ reg_audio: regulator-audio { regulator-name = "cs42888_supply"; }; + reg_can_en: regulator-can-en { + compatible = "regulator-fixed"; + regulator-max-microvolt = <3300000>; + regulator-min-microvolt = <3300000>; + regulator-name = "can-en"; + gpio = <&pca6416 3 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + + reg_can_stby: regulator-can-stby { + compatible = "regulator-fixed"; + regulator-max-microvolt = <3300000>; + regulator-min-microvolt = <3300000>; + regulator-name = "can-stby"; + gpio = <&pca6416 5 GPIO_ACTIVE_HIGH>; + enable-active-high; + vin-supply = <®_can_en>; + }; + sound-bt-sco { compatible = "simple-audio-card"; simple-audio-card,bitclock-inversion; @@ -337,6 +356,20 @@ &cm40_intmux { status = "okay"; }; +&flexcan1 { + pinctrl-0 = <&pinctrl_flexcan1>; + pinctrl-names = "default"; + xceiver-supply = <®_can_stby>; + status = "okay"; +}; + +&flexcan2 { + pinctrl-0 = <&pinctrl_flexcan2>; + pinctrl-names = "default"; + xceiver-supply = <®_can_stby>; + status = "okay"; +}; + &jpegdec { status = "okay"; }; @@ -567,6 +600,20 @@ IMX8QXP_ENET0_RGMII_RXD3_CONN_ENET0_RGMII_RXD3 0x06000020 >; }; + pinctrl_flexcan1: flexcan0grp { + fsl,pins = < + IMX8QXP_FLEXCAN0_TX_ADMA_FLEXCAN0_TX 0x21 + IMX8QXP_FLEXCAN0_RX_ADMA_FLEXCAN0_RX 0x21 + >; + }; + + pinctrl_flexcan2: flexcan1grp { + fsl,pins = < + IMX8QXP_FLEXCAN1_TX_ADMA_FLEXCAN1_TX 0x21 + IMX8QXP_FLEXCAN1_RX_ADMA_FLEXCAN1_RX 0x21 + >; + }; + pinctrl_ioexp_rst: ioexprstgrp { fsl,pins = < IMX8QXP_SPI2_SDO_LSIO_GPIO1_IO01 0x06000021 From patchwork Mon Oct 21 16:34:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13844424 Received: from EUR02-DB5-obe.outbound.protection.outlook.com (mail-db5eur02on2044.outbound.protection.outlook.com [40.107.249.44]) (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 1C8281EB9EB for ; Mon, 21 Oct 2024 16:35:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.249.44 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729528513; cv=fail; b=uksLTuB9bXBJpfFdrNpNyP2AkI8SsKcAnI1F1dxeINKiNTooL3+N2BM580UsoFzEl3ss+15PBRKE0WROkxuRBl5TkHWOdvY+RaCtVmx1NucSLGLMa6uA3adFMwTfP44M/7pLQZVrTn2npF72W7BIL9+hwmQkLfVQULNqSxAgUS4= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729528513; c=relaxed/simple; bh=diZXzJGF1b9947hGTstFoxV8A/fz2x2d3AxZVOphCM8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=APOT7XGpgFzUBTh08ZwtTjKB6+aE1MRU/Rhv11csgwF9teFqhC3r3d98Kr/LBcCkqFgwXzE9rNcmo0rGif+Rfb1/wsAYM/oS0sBmT04L+lCBUePP4CY94YulbfceyYzRgHcAN8TSwkW2pcWUCS0veOwEMMymd12p/IH5l8h+3fE= 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=UlqYGZCK; arc=fail smtp.client-ip=40.107.249.44 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="UlqYGZCK" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=tylD+NJohNkujynb3pzUTCqUSaYuax2v9/eQcpIR5jlxTBTvR0ZfI1AGz/MLxxSj7AeBksEcKEY33OKu1rvM6KNFda3NG+bd6wyvrPCed2LD8b4NJu3KucMImrnEFBJXEXhvzmnxNdlvkOp8i8RvtU6evVFLObCjKyURndtjSDSI+0HqdqUd9HA7kpNY1fthknEKRC/RdRtYriZ56upyu7OIZUwYfZvctRVuBNipmpwhQjdWbzrDrkiuEoDKOl8sn6N3pYp1udUF2crJkiJdp4/muYIp4Cg7RlmOr6kn0L04IsarHXqftD/1oYgtEwm2sXamBSIuMYQjkAmlSeEzGA== 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=oYnts/+5dO17cmk1WiqOP8a+krr6zKojdPsKxPjanDQ=; b=uDf8ByJ5coD2oVUj6A7X42uf2HbQK9o6kxzrGee36LzGliCKZPzr0onVGTu/bg3pdb9nIqADxcs3I6jGOrfKb7SypZwM/SnvW4ezs3NXmYsMs+QPmq1WgQrF0my3qWF5ivjF8nAgMon8cgvYv7j4uGyz25FhIGPbRGRWS2JNjStpulTQQkuNeIzag3vzl4Mn2DRf6oP6HunT3T2v7GQ87IX6Z3WrP7Kzw/V8tQJrHXN8fK99gLhpaRPWWXZv8ENnuroD5UzRQgMZVWrnT7ByRtE/DH5mGrxg7N5hTUCYK8jHXYb9YrSAJzoiw9kLehBmdkMOYY7aTtolhMpA/G9row== 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=oYnts/+5dO17cmk1WiqOP8a+krr6zKojdPsKxPjanDQ=; b=UlqYGZCKP1jeeE7KMHcIkm9TiPhhc3/gK99McchoALUjl+Y8kiWbxdKr8509zSHV/f3w7ndrN83qKgozKM0RCVgLeFJt4boz+N+hzO6XFQuzHw6wQWQ/SaMKmE91GmvbKtkJ9tV5eM0omQkVl7W/OcRDc7f4wsrabJFpmA8wvzA5XKvwkFFKKCZ/5f6Emq6YuoPV7uSr1iUY8XqNTGZ7lYivFE2JzAAT6G514BeqhtBrQgD0MgrMQVe4Dw2ijydP9b3Zqi/0slS4qHg90p1Rn3Tu36P81dNgnoikt5hV4GPv2IWnHzdguHtnFpbh029s5hUnkWwbbDKkh6Y6WKV1wg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by PAXPR04MB8831.eurprd04.prod.outlook.com (2603:10a6:102:20e::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.28; Mon, 21 Oct 2024 16:35:09 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%4]) with mapi id 15.20.8069.024; Mon, 21 Oct 2024 16:35:09 +0000 From: Frank Li To: shawnguo2@yeah.net Cc: Frank.Li@nxp.com, conor+dt@kernel.org, devicetree@vger.kernel.org, festevam@gmail.com, imx@lists.linux.dev, kernel@pengutronix.de, krzk+dt@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, robh@kernel.org, s.hauer@pengutronix.de, shawnguo@kernel.org Subject: [PATCH v2 5/6] arm64: dts: imx8qxp-mek: add usbotg1 and related node Date: Mon, 21 Oct 2024 12:34:36 -0400 Message-Id: <20241021163437.1007507-5-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241021163437.1007507-1-Frank.Li@nxp.com> References: <20241021163437.1007507-1-Frank.Li@nxp.com> X-ClientProxiedBy: BY5PR13CA0005.namprd13.prod.outlook.com (2603:10b6:a03:180::18) To DB9PR04MB9626.eurprd04.prod.outlook.com (2603:10a6:10:309::18) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|PAXPR04MB8831:EE_ X-MS-Office365-Filtering-Correlation-Id: dd37533c-236c-4c79-1adc-08dcf1ee53cb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|52116014|376014|7416014|38350700014; X-Microsoft-Antispam-Message-Info: vI3xC7mP9Rpnfb7IxFtd9yn1j/2Ea8bhkxBH++kL+LY7WFXfMt72IJrleGXZCSS5H/UH7ZHa1srfMwHCMhwDGw8nR0oDNz2hwLYnDgnDa0LnFISdW+OVJGeaPcoQI8C9II32zU+cIVMWPznDWq5RAkJynqqmlahMJwdZE8o+gzvtVUYZnXOOliTkQPF4A41BVMpyV+NBeGRiKszKlWXF9xee1tsn4UWOkRA8oI34wYG6aZe55CVBCY3kxnwBdEmvGqagSyUzVLMZkXkUF87S5T0vMC6f5imGxoiszTctcj/ZKywZe+7+bUfubKoaqCJZXbVOrX0AEv3D0Epl+P9dxN/J12EdpWJAkSIuOi7jxmpFgu4vCEWqsZivPSXbW1KTsaB6VrxHv8iBuiAovlUWsLL18c/HPx37dYD9GmSki8RKpcRcINYJnw1DnxfI/tczR2qnerXAOsb8mCrZWy5cxRbWDaBKZjHF/MEKH3Uv2kdU5fKlIMzI+OfPe+rmtrfxwbpy/WxLkrXymDGFJk1+qSiQHzfqAty5qc5aXZ2tXzqQ3zQ62ZZJwsJSlzOMtp4TN1sZITcmidXXZBesQNUDtC9hAnakpBaYyCUT7McI58j3NKXbQQGaUsELif0KX2FRrTlwW8Sc+BaselVb0DRrrNLU4RBgI/sIFETSNc4CVxiY/FAqSKLFXFQcbNzwCHDNzSF8hjmvfKzJ3TLt0lg1h8SSc4oaY/2Jo8IfPj4pDRjduCRQzj8OU5j9R6/lTe5DITPiMAufPcIbnZr+f65SIfe7dQQ9D17lY296QopftRk0SUkJDXyrpsx+OlsoyZk8s5yDRs6b40BEl60TLbmTXT7l1zdvga7/HP2PM15ro2aHbYqjIKy7GBdN+HMHxxMUePdciu9HciqJX/TdbRE1+n3toaG1sH73rgHVwZN/GCfQN43LyQqx8l+C1gyIWnNR528mkosgzPjaEF5v4KXouOl4/Rh8M28CS9/ExYPCKgN4grhCnuQzM6jn7ghYZmcfBvAilDCw9Hj/8K5PlNOvOzz6aN0gzvcxZvHAjtGjC9J+WRXN4IahUjOpBUDlCagNFk+4ZusPIjIoTPmbjkAw1fxa0Uo+0acqHwR8VWOuPk/QvrsWfpWvH6FI0LW553KZmgMNisbcBsFc2xzLCYmR4LBUe8MV/zIFEHcvWpqc+KH/3d1mT8a3n9KBXUe0eEeuK/X7lycf2Z+M2GAziOfYgFV8/2Y2dyCeScZh/RZCf4LxWm7Bhsy4e8h8dDQ1cBM5lv/eqDchtrQerGNRjTz7+Kwlggy+zJvXFDv0hhBpX4YbAdoOgPMpoKvR1yJj0YGBr+D61GoESR4HtM0B/7f61IwPf9qIZRG1/9dAP9+8hqE= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(366016)(52116014)(376014)(7416014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData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dOVjrS2QCbsrJqs2M2+hOfvvpWoT5pG52VCPLKfsUb74xVOuZKsuRIty7tuVBgpzg+I3R0jayB+75O4WHDqRZpsq0U4AKyr3I1R5+UcFz6l0vFDQt4UqEURk7ZtXdYo+bCaia+wXZ10/4tAvt67BFAc8NQSnMBWcfHgEPb9kV+n3uDpgwFdtLQHKiyu0SUzUWOe7+Y7avAycyt44OE28uhqLOGMBGLzmMrrbr30K2TTEYCHyEQ4RJpfvbGAK30XF9Y0hXyjswMs57h/UG67GIPBxMR+hAQmu/Y52H5ODciNuSBf9U6TR9SjD4PkJ36AkdEY+4NBRg//rDWdrlhiGqpPQ57JwYRi/iNxqJc62Op8bwGX4npco/Xx8ephyU1WNmTa4ZVzx7vK27O803YjKetUPiTpK+7BoN5fgPvEKm8gQXCRAB9pykTdqWvQginlnIb9JiCAKIJAKb54QlnPa2YEb3eZijZLTJJMaV4VHS8dlH+kKp75C1I5JEhCKCYgdHpeo00zpKuEnxjJm2RA2z1uwGX X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: dd37533c-236c-4c79-1adc-08dcf1ee53cb X-MS-Exchange-CrossTenant-AuthSource: DB9PR04MB9626.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Oct 2024 16:35:09.4932 (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: S+eP2G3wI7aROGVJNIejW4pn3PkBpLEwN/MimST3CMpqShBZTDKD98zjcOA0yIJEsoNa0yTc7TaaPqHkTm3qIA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8831 Add usbotg1, usbphy1 and related regulator nodes. Signed-off-by: Frank Li --- change from v1 to v2 - none --- arch/arm64/boot/dts/freescale/imx8qxp-mek.dts | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts index e9342bf158489..6fb454fdc5b5e 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts @@ -76,6 +76,15 @@ reg_can_stby: regulator-can-stby { vin-supply = <®_can_en>; }; + reg_usb_otg1_vbus: regulator-usbotg1-vbus { + compatible = "regulator-fixed"; + regulator-max-microvolt = <5000000>; + regulator-min-microvolt = <5000000>; + regulator-name = "usb_otg1_vbus"; + gpio = <&pca9557_b 2 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + sound-bt-sco { compatible = "simple-audio-card"; simple-audio-card,bitclock-inversion; @@ -516,6 +525,20 @@ &usb3_phy { status = "okay"; }; +&usbphy1 { + status = "okay"; +}; + +&usbotg1 { + adp-disable; + hnp-disable; + srp-disable; + disable-over-current; + power-active-high; + vbus-supply = <®_usb_otg1_vbus>; + status = "okay"; +}; + &usbotg3 { status = "okay"; }; From patchwork Mon Oct 21 16:34:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13844425 Received: from EUR02-DB5-obe.outbound.protection.outlook.com (mail-db5eur02on2085.outbound.protection.outlook.com [40.107.249.85]) (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 CACBE1F12E8 for ; Mon, 21 Oct 2024 16:35:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.249.85 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729528518; cv=fail; b=gwmv1i0w/KTM6pz/vB712uYK/KjzHdYV25ezgzQJDQ9A2Ym7hV5uyDQOOCqQRt395v3D27onA1Sxjr6bezDRGOnBxNZhV1Q9hRI4qTbKGJahSpMHH0aF+eOthF1QBN4aEsL1P6jdnz/HHI391yqk3hRjB/TYJ/m3ujKc9sPC5qg= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729528518; c=relaxed/simple; bh=cLvwvSMp0DH8d3sHxcL/XCLuHuAD+elAqLXqEW68dU4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=R5CEHwQb3HqGe1CRubtLIvpFaiXgO4VKAZJwuG8UJg76gbpH/RtpplW2YJgPaGkLWh9qdoXpinbtGtZ9PZFbh4I13BIRs3LzPJuh1sl2ml6tpzWhTJHbeTs9ujGd6AJcJdDuj1YK1vXVE204vw+ltRgpBTCqwy6u7bCFh/nuRxU= 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=GCBn0u8c; arc=fail smtp.client-ip=40.107.249.85 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="GCBn0u8c" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ix0FZo4R55+f/Uf63lQ2KjIhQiLZNtGYxQJHEKZEKH/pRYxrfDq4Z6n4GgtTuBeMaWwWYaPXepIpMPNRuqCn2b/q/B1BqSfcDPQFAQ6hlcVnNHRwk+wQyPEt/SVDz7Dz0+MRP+3wBFRppesIriJol0kbyj2ar0ZeDMP5dl6akZLfbcj+hYuhUOLNEWPYgckouwHhzRfVrTL8jOOqArWLfiFIeIhoO8s/n/KE/e1YVVZuXSsof1TqWbNWyHYSeDyWnR18RwAcdHnLmjjMs01AJOJ8/RGZB08LHdRAk/yevSA23OUNw2JCEyMVMzUW18VTMkJeq7jujzqVIoH/9uh17g== 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=tcP05RJJOy8o+kc7gEhtxGmANZXOrTSweb++UwwWgos=; b=PPQURvT6xVplvrTNGR7Ew469R8XxwhSgBaWXetJ7Je8Sd8BtdJqzi1aPUNgDnXRlYT9I84E3UfO3vGhTKlgq+uKqPzHkNigwv3rX+fVylCeeLRQnwBOnPoOPmuG7q/ivjZEAIzuvaRm2LxxoJhJGmFFISDOMKfamoeNxCZBaiK6zuVtbPCahhgzvfrUqvuHp3oVmX5lnHGtjAXtllyUhJtJboHXFLSbOpNTKLkrSPWNrFlwF97H/y6iw1wJql3d9sG0VZJvbzIKqTLkPwG+W4sCARVbdSaFD4C8+z736Q2STCjtSY8UmGh9BJym+vBsvV/rr3UB5wDHN5Yq5xW0/Ng== 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=tcP05RJJOy8o+kc7gEhtxGmANZXOrTSweb++UwwWgos=; b=GCBn0u8cP4hcRXh9xDPFH7BqlvcHhdPjo7Kd2IF7U7xvdvtPmBC7HX6SyQiil9gIUoHmTMRSltaaO9Q6ZpnTOcddeoXnbIcXrbqBrbm2GALGZUOyHWxKvA/LHz/F/jDDFCnTvvkH1QEhS7wd/gfvTtnekDhYr8ITxzz8as3DDGyN4tYqaEngBlttGwZUSQYijKep/mGk6xoA+3Mdy9//BmUMu/wFX1F4zL03FxyVgIkgaKA8nCbS/6dy8MDZ4emM97k2mw8ShB4/QpJQiBvkrdec0aKldtDxxVEPl1LfwnvNUBuqKwuMriMIsyLQrqKfaPZ1rcI8c//qSi9rPypaHw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by PAXPR04MB8831.eurprd04.prod.outlook.com (2603:10a6:102:20e::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.28; Mon, 21 Oct 2024 16:35:13 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%4]) with mapi id 15.20.8069.024; Mon, 21 Oct 2024 16:35:13 +0000 From: Frank Li To: shawnguo2@yeah.net Cc: Frank.Li@nxp.com, conor+dt@kernel.org, devicetree@vger.kernel.org, festevam@gmail.com, imx@lists.linux.dev, kernel@pengutronix.de, krzk+dt@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, robh@kernel.org, s.hauer@pengutronix.de, shawnguo@kernel.org Subject: [PATCH v2 6/6] arm64: dts: imx8qxp-mek: add cm4 and related nodes Date: Mon, 21 Oct 2024 12:34:37 -0400 Message-Id: <20241021163437.1007507-6-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241021163437.1007507-1-Frank.Li@nxp.com> References: <20241021163437.1007507-1-Frank.Li@nxp.com> X-ClientProxiedBy: BY5PR13CA0005.namprd13.prod.outlook.com (2603:10b6:a03:180::18) To DB9PR04MB9626.eurprd04.prod.outlook.com (2603:10a6:10:309::18) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|PAXPR04MB8831:EE_ X-MS-Office365-Filtering-Correlation-Id: 3a2e5d16-22ec-4407-3351-08dcf1ee5617 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|52116014|376014|7416014|38350700014; X-Microsoft-Antispam-Message-Info: sTguTbp0mFJaMQF+0DwtcYrGH53fh+O8A0qYvLLqS2LLwaH/ZgfXPy0xbWyA6kTWhALO4P+Z3EKLV9BqK2UqEEZmNjKhhi0dcFTTlHpQ380BlR1UU1Fo4Y0zwPZGWv4/R7r0i17URsAXpEEl/YjsTZ5h7GdiLLuWSpzwEn+zL+O4MKdl/u5ew5nZSREVgck1uOZ/jigW0iOLmit0Thz049oE4Y8luzJ8eIukAnQyurRY2U33OQWCFMcwS8Q1k5pRLux7THWw5DhK5AjUuaVcwhZfyjvkwgkVTt6Qiq7mhPG2RPCW6kZ3tXJ0nhhDNlTdCjBcsWjXJCymlkLO5YNJgOmvHU2iZgqnmh5CYdQ7UrR5e/F7Wq9HNtEr15qUHafsCps9VSKjNYEc6LfKOtfQDKLg/frMFJP1ROSLpCtcdm5GeFFg2Bm95YQlUJcMRAdZnYa6OcT8MrR3VdA67jtxi9i4dOEGlQMyj3nhQBEhuDyTJSBbUvW+MAz0llr06SR2I/o2o5puQsj5K99E0qQkC3GEzMfsCG4TY1sFfflvn2uZVEmwb+4H1aKinLq61xlcFr9L21pFIsUNW6EAj/h0ErkXGNG+0/GfjdXpQLFBZb/pgXBbm5tT8Igf7gGYuqJs4Ve91x8kc/Y5rlpPpNft8W/dHtF6Be8xSXfUAiYrAslAt8TX/Vj/02WSq88ZVTSwAcHyLYLmqetLCWa3Wdj2kN39iXFHiCSc1miT9wiqsAHlgk2XZIPzKKjcPZpinvUMaDbx6O1wHWwVyS+x3b7IhI0Bl/aApovJMjUTJjinGXfYTgJZGNhHwaFHSgEQimAa2c8qDIY0qrzX3vjNXkQTyhPh6dDdno5juB/8/iefFb9Zh604JDiGl+YWjxA8uDhYIWPTG5+/PQ3WLz2W9HlxS84fIYe7dpS4SheA2dOlgMOz6kNNwIRkrYWF6sGfEP8zZMBp5SnFobDdh9UwkH2pOqAs80rToZwNmx5aqwfLQY71M6APUQUtezDDRLjhUie65zl8XHCooihrZ9NYPYnqK+OgZtz8gOF0vnZP7/z128mYWaHPUOx3yBsdjxfs8lJul8VryYe3VEhbiVNTRlVINwxxlf01sirkv8VeTXNhrKvif1pFlxQmwYmlDI7wKwHznF/DIFnu6XCacOqpO4IUH9LIQZ9/8igIoAr7t9J22tvBPxkZdYVE+0/ja25WLPuEdYhEdP/blPnPtNz2hfDZpFKPGf/hdLfXSz9CvxBiUqLawmpGlp7GJBYLQhuaWEKEKMn1e25vzTsmLUNfeMlJDBOMezSMTH3vbZfj/XENmBwHgJi8CKucx7iV+I+DTDcAAkMx0Tq4ijT8VLNFZsM6D5vVZ15Q/n8oz3QMqNJ7iNE= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(366016)(52116014)(376014)(7416014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Y2/9/xD8qBIom6091Qz5xxXIo668ESPmDY6Fw5dNwF1q8X2xXkr2nuGtFcG/Ck3QPS2tJKGDTa9g3uYTvxInBJgDOYswI5cxrMD8zLgLoV4hfjPO3YlHntBSPjuWijCigbNiv9Rj5imAUYyAtyOgFUtEqlZ8SSnW93KkH5c9OK8VSTuAOkkWAqiupFAMYnymNaE0p4751hu5RHQe/J2g2OFHp1BwldJpwoM6Xj9HDHAV/MPRchEPXW1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TZATuxHIjLfoTVTxfo1MvWSBWrQoVkeDRKmuGx0emBKT5ukIAjBR3LHhlJgiSPWvxZtWXpRK+254K6opTPvp+j7NiY0F34Q/sYA98SKTZMQMIb7u0Hq89xNPo2yd3uSLegTFHqCpoLX7TwloVUBAuqSXRKKGHICl90UegmSI89ynJ6G2kVgvj5AsftY80i+xzn/Gl8L6/G1yWVXbbs3YK2iMLlZoydgawzI8y2Boxb6UAiLNb/LSwS46b4hpm0ToyDd5WmfrnXXnQsGL+n X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3a2e5d16-22ec-4407-3351-08dcf1ee5617 X-MS-Exchange-CrossTenant-AuthSource: DB9PR04MB9626.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Oct 2024 16:35:13.2157 (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: 8gWYWYVGwJKmbz5BLxIhSHQYMOzOrcvnABJ4Mr+uES5se7ZVuSolXuipReWJtKGJ6cqMElihjGuww4bBUMM2vg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8831 Add cm4 and related nodes. Signed-off-by: Frank Li --- Change from v1 to v2 - fix nodename by replace _ with - - change nodename "gpu_reserved" to "memory" - use tab instead of spaces for indent. - remove unneccesary status="okay" --- arch/arm64/boot/dts/freescale/imx8qxp-mek.dts | 60 +++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts index 6fb454fdc5b5e..b01413f73d643 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts @@ -21,6 +21,20 @@ chosen { stdout-path = &lpuart0; }; + imx8x_cm4: imx8x-cm4 { + compatible = "fsl,imx8qxp-cm4"; + mbox-names = "tx", "rx", "rxdb"; + mboxes = <&lsio_mu5 0 1 + &lsio_mu5 1 1 + &lsio_mu5 3 1>; + memory-region = <&vdevbuffer>, <&vdev0vring0>, <&vdev0vring1>, + <&vdev1vring0>, <&vdev1vring1>, <&rsc_table>; + power-domains = <&pd IMX_SC_R_M4_0_PID0>, + <&pd IMX_SC_R_M4_0_MU_1A>; + fsl,entry-address = <0x34fe0000>; + fsl,resource-id = ; + }; + memory@80000000 { device_type = "memory"; reg = <0x00000000 0x80000000 0 0x40000000>; @@ -85,6 +99,48 @@ reg_usb_otg1_vbus: regulator-usbotg1-vbus { enable-active-high; }; + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + vdev0vring0: memory@90000000 { + reg = <0 0x90000000 0 0x8000>; + no-map; + }; + + vdev0vring1: memory@90008000 { + reg = <0 0x90008000 0 0x8000>; + no-map; + }; + + vdev1vring0: memory@90010000 { + reg = <0 0x90010000 0 0x8000>; + no-map; + }; + + vdev1vring1: memory@90018000 { + reg = <0 0x90018000 0 0x8000>; + no-map; + }; + + rsc_table: memory@900ff000 { + reg = <0 0x900ff000 0 0x1000>; + no-map; + }; + + vdevbuffer: memory@90400000 { + compatible = "shared-dma-pool"; + reg = <0 0x90400000 0 0x100000>; + no-map; + }; + + gpu_reserved: memory@880000000 { + no-map; + reg = <0x8 0x80000000 0 0x10000000>; + }; + }; + sound-bt-sco { compatible = "simple-audio-card"; simple-audio-card,bitclock-inversion; @@ -405,6 +461,10 @@ &lpuart3 { status = "okay"; }; +&lsio_mu5 { + status = "okay"; +}; + &mu_m0 { status = "okay"; };