From patchwork Tue Aug 27 15:03:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13779647 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2049.outbound.protection.outlook.com [40.107.20.49]) (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 D3DCF1BA294 for ; Tue, 27 Aug 2024 15:03:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.49 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724771019; cv=fail; b=VUPdrwTpQnMH/ZFVICaWZBD98WMwZUaDg+oLuGScadZsB1QypCNBDn3ryRvLA4Latzit83lCX/QfEpfC49o88+DOfLZWJmuw9pf2qzqS8c/Obvw+0s/oNzijJFWZEG0uO/9oCjmLlwGkN5D8Al3kW11BeTE0G2h7GECichrW4ic= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724771019; c=relaxed/simple; bh=Cl43J/459jxmnouqKv70Ik1dpH2BLruuWXpkAszf/BY=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=LI+/aSY6qnQhfErPjP0XM6JNlDRybvowrCgzAOPMtyBdlAR5sTPL4vACXEdA3I+PizUDzsC06yMbdpI5Z3yXkYmeMLnvXa0pzI1USKI/f9o8BtEv2+/6enWnQt/I6ylsjAidFVxeMKJIoYGIabi1LsH/f59rqzSWFBWmlYh1NCc= 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=YMx0k2es; arc=fail smtp.client-ip=40.107.20.49 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="YMx0k2es" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Og/jBbAwJmFHUDrlKNYxN7gstCBxxf52+Pp9CMh/wr8W8YgkXYIf6JXWgrZ31azIy01EfBxosfP+TWaYh9kWDKCI77T2qq0bLKtzsQt+qlJrVqN+wOLHc8hdgcINwovVWSrBeOCf2DshWRpysq2UScISojL7UTXI7IB5pTJvSbFvtvwiFRjq9Q11R9F4xR3Nbr+yQw7fQk7fKvDpdRSljU0wUWalJ5iuA5y4Hzpu1f+386/FAgaX+MP99+BIpjRQEKRD7DcP6jbEsalP2xwv/kJe0cH4kyKmKHdUt5v5lO+LIfA1a9nJe1BbHhQ8Af3A9fe7h+Q7NexJUm/wLAmaCQ== 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=FSu6PhzT5j411EBFgupi9cRFD/8Cftq+P5H4khBdN8k=; b=g9WNp+Pg8Nua5WxXL01Lh6rKVpKPh07CpWa5JxiL1vxdUOb17jebGJP9E1xJo072ouPboXcNcyQoUnZPOZdQQsLb1VFhUXseUCd48ZzZ5a1XV+CxV3N/BMvXyt5/cU/xfo0rmCR+cXHxPWquH5o/qSUnoG2j8ukLoKQ8P0FFOAVc1n+IWl7JEGAz3GjHOS0wRMOEeiY+02mUN0JnjzrtXFUPVqp10sZprD6RiJOzftmdJ1e7IAvIfIXsnnsaHKu65CX0tjggwDgOB9PoKcAz9XD4s0IOJZKtWGE225aslzwc22sQg5m3+bn1+wj2cmwUrW9uYCra4/X/LgVnXC5KDg== 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=FSu6PhzT5j411EBFgupi9cRFD/8Cftq+P5H4khBdN8k=; b=YMx0k2esoE5YlJfNV/4y7YgEQIYp8DmA3EcJ0BtnBGfBO8Df4YYpViU7roHE7pUfCCXlr2ooXepjVzDAtLuDqeUojK04L/qUFoAmpUtFX6nS9Vg+E0ta7C3D7EJ7yaPIjfOHIZV/LLtSmft1PhJOm6CDK5MfkR5my+EyxJp4i7dfetDkCcsF1IZAxQZro2oEEvgic3pqwUY9vZ7v2sAEj4/nawloV8QLKFqpE6MJLVhr26YzsNsSCJlEB9kX63zvegHse9FvLSpITZcGJMD3POjy7bd/Tym9ZGwoCiW3ZkkTslBxmsms6ZESo6s2uFYkECxkO5UrFEDcpd3BVb/6Bw== 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 AM7PR04MB7031.eurprd04.prod.outlook.com (2603:10a6:20b:116::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.25; Tue, 27 Aug 2024 15:03:34 +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.7875.019; Tue, 27 Aug 2024 15:03:34 +0000 From: Frank Li To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), imx@lists.linux.dev (open list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE), linux-arm-kernel@lists.infradead.org (moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE), linux-kernel@vger.kernel.org (open list) Cc: imx@lists.linux.dev Subject: [PATCH v2 1/3] arm64: dts: imx93-11x11-evk: add io-expander adi,adp5585-00 Date: Tue, 27 Aug 2024 11:03:15 -0400 Message-Id: <20240827150318.1001050-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SJ0PR03CA0141.namprd03.prod.outlook.com (2603:10b6:a03:33c::26) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) 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_|AM7PR04MB7031:EE_ X-MS-Office365-Filtering-Correlation-Id: 1ea960d3-e2b3-4da9-f36a-08dcc6a96bdb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|52116014|7416014|376014|921020|38350700014; X-Microsoft-Antispam-Message-Info: MEXzaLAXZ6C6BNat1dXQC3mOQ7020ytB+sVJn2bOR9a84w2raRMiJNiWhpCFj/b+isxDlTHpKNooXuOMsWXeQvI055XJZKTE+qTk9ecXdBA3iOH8xS+ZbtH0QpZhPEEbt4fWuAUjri0zikCw7fzVeu0tZlVpv6W27GuJ3hoLpSKSvV+FVVsYCKTttzVK2lTPkq8Ubcgaixa9LR6bToHNSGhnJmNKUMrRBU7hg8IlCl+S2FKLeA+nQM9ID4nPM0+89BgyDbPLbEh8TSVmnVJez43gi6Z34aRCs8JD6FV9AXKdzqyNoT4Uva59PZUK8P9CKp9BwAydfriMhwysxXTUxFa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h9Z9PZ5Jyk0SPjrZ6Ex+y9TPsk13Raar2J9V/BSfW95yg= 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)(1800799024)(52116014)(7416014)(376014)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: PnT6t+3+LM1rnehT8X4foC2t9qxopJlyZLiqbYFezs3hpAdkKBNt4mf2co8Sm3+/upGExt5TMvUH1bOrT18SwK2DyK78SJkEvI3MoADSARdes4B6qlrTbKA1ba1ypyMAH1AeUAISTCsr+MsPYhUOVZ994cIGl7dZei15jw2HLYzuRkaTIWzEmWit7WdQ/1FxUrIxgDm2iKjfkrIzA9+eVIz4CBDl9ce3NNKEePO7K973lEooeGtGsHj3Jkuw6a1rLOWhDxVib8W+QlHtPjvg2Mo4MQAxyGlfreY3JHA4hisMFCve99l1GgAQg2pNIRgk3vjW6lTOUwS1YzGYuWvOHLIcQ/uTu8LimO02NUAQMDc+IsEcP2kBUPZZ3fojmaY5x4wKZla4XSGJvjiv1ZGLk/oy/9xjPKt3YJoaCeHigLfLBuoTSQWnVIMFkI1rte0YpYzrUFnPx0SUUNuFyfJhI2mbhBsvlMx6PEAI/METoBn4weYezJIRIdn4rW55I+K3Ywq2T+yN+cmsqoL6fAkTekBa//ujOOGK4IhoxXwbMKAV1d1RQ+3MTi1Q2BYxR+JkdOtRJ5hDKagOuZhuC+EFqTEfqnvqD1/ZGl/OQ8+Uy8TXkr17P3AojfoV1QUATyIT1yXegzNaafiBCE2CIpMSMw57b5BLvvnIb9lWLTvoTNIaUxFLFnHr9mF51P5HabYWYfE8gp5VkKrIWl1sbDyCD8RmWxxJVAusweaJLxlzmUCRWChG1f6LoxjUNIqNghrzN+3vgRxC84qABWKFBSlsZ2M4Pw2PxUUBBX39XhlSJWDqLWYTxHP6rCLPJ4XQcocg+Mu/S6Rfetjl5Y1dsDS0eAvSSh2xYAVTlGmUSOLdfs/0wrDnUhm19oRUF9S5LNi359C2z56IKAloZJoR43QadcV95xueWFhME5cDNeY87wkzOdxul/0MsDN/98a5o+1jJvWNETTMiBtPDM5B9xTwxFEUNfK+R+6K803d29XRS47kD9B1EY13m5N19glEkfwZjjlFDtqYd+p1PrSbI4WkbSnMap3Py2KJU7oVWml8C2fwW3LlFpUXwZKEPLZelzictbpk/3oz/XmMZXPE8swNmy7i/84yR8XtaraiSz1rT8NZQ8WdrFrV/f8tdv9xFhVzP8Qh/CuOJKsyZAuyog3xscJXppSGuUKCHcbK/MTiRRUw/XdrIhVMLxUH3ST/kwDUn/xnPOBm9W7rW7+V8O1uLCObCKMKI2/zPmZWci9sNoZaVxSYQkDgbyL1Bknkw1IIT/mPjrOvT1PXpq4QiTuOj85TjeZpAPiK8Wgj27XG7OCKAt+YE1xRaodBTFwzLbxl6oUfH4aegbVDT1Xc7YgOxzMeFRSzwfWp/Os3nSr3wRDv+fllSPUNcXZCoctRL/w2hW1zkqHDpevWgk4CkTz2EykaHtH5uNzTjeXQvEbmShxoUe1yr/vKJQH1cDU/hDnVIrP/8lATn8zbpPQzgQQyH2yIikT47YpSW/ct5P71jE5hNwczGsgJnxV1aqZo644h51LuAfVxxghBBCf8xsZtDFpbyqHL/BpJPtFUzxnMueQ= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1ea960d3-e2b3-4da9-f36a-08dcc6a96bdb X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Aug 2024 15:03:34.4191 (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: rlRVmxeb5IDHe9x6ot+Dh5IjvN8wLU5F9ZHmeCfNYDC2ZE7NwHSYIcevK3bh/0o/58anydZk2HSnh6xXXgrXgA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB7031 Add io-expander adi,adp5585 under lpi2c2 and lpi2c3. Signed-off-by: Frank Li --- Change from v1 to v2 - none --- .../boot/dts/freescale/imx93-11x11-evk.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts index 60eb64761392e..7629b6b44aa43 100644 --- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts @@ -302,6 +302,16 @@ ldo5: LDO5 { }; }; }; + + adp5585gpio: io-expander@34 { + compatible = "adi,adp5585-00", "adi,adp5585"; + reg = <0x34>; + gpio-controller; + #gpio-cells = <2>; + gpio-reserved-ranges = <5 1>; + #pwm-cells = <3>; + }; + }; &lpi2c3 { @@ -310,6 +320,14 @@ &lpi2c3 { pinctrl-0 = <&pinctrl_lpi2c3>; status = "okay"; + adp5585_isp: io-expander@34 { + compatible = "adi,adp5585-01", "adi,adp5585"; + reg = <0x34>; + gpio-controller; + #gpio-cells = <2>; + #pwm-cells = <3>; + }; + ptn5110: tcpc@50 { compatible = "nxp,ptn5110", "tcpci"; reg = <0x50>; From patchwork Tue Aug 27 15:03:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13779648 Received: from DU2PR03CU002.outbound.protection.outlook.com (mail-northeuropeazon11012035.outbound.protection.outlook.com [52.101.66.35]) (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 32D641C6F65 for ; Tue, 27 Aug 2024 15:03:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.66.35 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724771029; cv=fail; b=aCveyCgaTa0ySDg+TCzSSHBO5TZBAtYuH3U+Lv7fvwg0mJK4CUU+GVoJCG2CfT4BWmvOgnoSsiwErKbKWejrr544KpVb+onfduFzc/Lc+GKPAYgv7lm0nooUz6mR9U7LMooGuoz/XuR3aCilH4xOjeCOtumwO7POlYymUYqS9R0= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724771029; c=relaxed/simple; bh=n4hgOONLSDQdvV7I/LCmTpyKD1Io/pMJPvAcyJVL5d4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=LOeeav+dN2ZNgAQpB+ssqsgDLX0wVVWOzYcqbzSIr0XFG01BBFtntOiGn30EvrhbNITucQLbxENzHGJfLRAAAjXLczUVIYien7lpHXMBDJlRiCaj7ByhaFlKvQUeeVfm+tbXtqaQRe+NlvyTaOVm3hit1Y+AE4IjjydIlytREGA= 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=L7T+6NJB; arc=fail smtp.client-ip=52.101.66.35 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="L7T+6NJB" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=YzzXkFVuXO4yUp456Bz/BMepeSeB/hME1QXJKVu7sVDVfK1kxrAAyFr2bFRQoujJOVUEsKgosOsRdmoIldTL/LfDJ5eory6B+2ZBw4fCfhGffiRjPJmnhb8EKgAevKCg1/Z7wOByJp683vhadT7VvWx8hzzLFAnIQAn2RNu+7PghXRT+PCAIzLuDHeGIfw87MSIBjGIjWwAvPs49iqzTP8O8VqEopMtKU6XkZQwNyThKhNsXcqCBQw/Y00scxdwHYmswJIux3z1SslhErSwTaxiuqfH7pTpV8JWUqqbBmEvoC3ip4VyFBV/qfSlLvISWEtLbENaJusZevMchG0NTeA== 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=KGrrgb5ZcJp5y3vYgMYK2j8JGroQFSs+KC45CTDtMA4=; b=dzwycXv1YdqeipvCZwhI5J+optk3zYyOnwTDP6s92sAxOs3LaSoBDyOWizpQ8QkA6c1n14a3k7JiLCqFWlcMuz0GrwOrGwybUSlCFj+HNpawDsX+XmlUz7mXA9Sw5lSUdwVQb3QAnjF0glT75E2d0i4+390FP9g9x5Lkl936rqLzOgkQqDPlgrOPAOorzqsO1JXLutKlc9KFYeISGJ1Rq2mQWLQG/F9Cxx/80ukY4OCiuN8Qyn8cXzQMTPR8blAuXwagtam4XAftM7yYaO4QUQrNJ/4l0GD0wjHla1k7zruelohDJYeFLjZqv2wRg9Zb8hHilk8kr1sZ05w3/ZWhsg== 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=KGrrgb5ZcJp5y3vYgMYK2j8JGroQFSs+KC45CTDtMA4=; b=L7T+6NJB3p1W1iuHqphiiQwamj4zIUYoksNR8m7HFq0kN8Zn27e0OqCa+CoDfQMPr0qvUz6O96qhwR0AIpSxu7Lx0Cqr5ka2gICFsZeJDdYYNbAJrAvToL0fEJ/hrzUXJVwgEVFrEa3joD/BwZoMqNU+5d7adwce3/lGzl1Qw/oi0pha/dEuAcHXhjyOK/x3DBb7qNdiIaRXIVdwJo6CcVcvFVewAUEtNTIvwpP9NLOh9tXnV12YHt9ccOXKEOYqsqIm+n8hJANX9eZdevguqcsVodpqUUW8gprZTuRUfl46kufrDQElJGYDr9IiisOJ50nHKV6l9rgLkzC5+X0QRA== 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 AS8PR04MB8295.eurprd04.prod.outlook.com (2603:10a6:20b:3b0::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.25; Tue, 27 Aug 2024 15:03:37 +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.7875.019; Tue, 27 Aug 2024 15:03:37 +0000 From: Frank Li To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), imx@lists.linux.dev (open list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE), linux-arm-kernel@lists.infradead.org (moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE), linux-kernel@vger.kernel.org (open list) Cc: imx@lists.linux.dev Subject: [PATCH v2 2/3] arm64: dts: imx93-11x11-evk: add flexcan support Date: Tue, 27 Aug 2024 11:03:16 -0400 Message-Id: <20240827150318.1001050-2-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240827150318.1001050-1-Frank.Li@nxp.com> References: <20240827150318.1001050-1-Frank.Li@nxp.com> X-ClientProxiedBy: SJ0PR03CA0141.namprd03.prod.outlook.com (2603:10b6:a03:33c::26) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) 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_|AS8PR04MB8295:EE_ X-MS-Office365-Filtering-Correlation-Id: a4f688d2-7a2d-450a-47c6-08dcc6a96dff X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|52116014|376014|1800799024|366016|921020|38350700014; X-Microsoft-Antispam-Message-Info: 6HM7MgHHgNqngh8XOGeE4iOlzfWN0tz44qaKNtcKnGdf4cbcPA6E/iz0Cac5cqdqerWJbUzEq1EYWOy68DCIyfyq9OBj56V6DyqfZrXc2A3ZJJkwf3N6gO+hDcZeNGopZ9//Nr5hlZsPsTp3MK3dofN60Qy1Hmajc13/jzeO/Qz8ZkF4H+Lu8N+QslJcxhUDnOdV2rl5owGLsHOZjMKQMpubWJl23EgWN0j7MNtQdOlu2ngPOsS4riEDFwq6uUICFnLkjZfbYGKopYrgPYirD56SwuYT4eLkOCSbc/ZqC+QT4+08fxHRvilZ+xleG04/L89XqqqzgaUApdKwexDS2KXRNe115SuxmPF5j3+PXYaqDdcQcWQsstcCxa2n6mT+rEW08VAmM+aGcP2EWJYZ8WD1JiXePcZmG+zA/M+g94Jq9AC6U+qwUVajEv5bXkPXhsm1Hnn2y63ByINCVY0wQZ1bcJ+w/SCCOBk222qNVUsudTpIYJ2trcODJlwRHkFZ/yD1Xqz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)(376014)(1800799024)(366016)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: jrOoR+WplWsA5owuPwtDpcnpyqkQ1kQbJyA2VJmZqOfw4RlYciKQsDzA+JM4ETFtHKlJO2BtGSPl2er3NyhtZIqVFscIbMG1/0apKW3gY5gmkxrOYv6qygN6kYo10z8mPXbht5b/hIJHf98D0UfAn+hsz19junlOEd/cgNGk7wwm359QTprLKbyqTZf+SLFvyEVk3RYBmBJLFk3GXgo6oHVtTH5V9gix+rP8XJD3UjB7EhjlyJEA1YGpJJhv0f/eApR1Lqh0s6G7wct5+CZU7MTdHEynK9NLI79/zgRSz+oA2Jlpa3c2b2kPbujMriCfpO5C+hI3XrdBxnW0HjeZ2QCuVUiLs4DKKK02a4vKRfzICrcA2mgTM/tu9Fm506UfHF8lS0UjnCB/7JP6vq31zHuIUHoBdcNgUY7ZF9wWJSaMWykLqRmJsMJIcf9l5COGulkrzDZmg67EACkeQyKeMTdQk/GJGHuWG5L+8nc2Y06iR4F8J9wFEz8pjkTQVihZEeQwtLCqeL2Ft3V3rCf8UbmvzoKotIbQZtLC81KNXVH75TbBrT8mHVrsBJBjZizRTzOrbTuTBNThm9ceiUdlPZLdrqbTaCkLJghthDtbFyqfad36Ul8pS5wfrjcOVm5ckJSFpHJJ+SshATRn15jXcC0dtX7An12gGdNhib2vV3nv8Oo3RtB87I1/A3Rm8crxlt9+TxiStjafRd/MO4kBL2klgNhgIDMESx8gfc3+++/zUo0sMZwVFs7nMc8KHFnpdPwwlBIsdognPRdfFiHhKh8z8DvGl1YpJLTLKX8aF44p9wleW+bVK2DETonGkttm5R83pPsVdIRpkbPUImliEb+0rSO9Uujiho8BvNC3CwFZlXhhsU3UVYn50NVBvqJB5/fGHy1ijjm+q+trR0bpwSG+nVbhP1l893wa+QrepwWZv+Sr7V3woQ8Sp9qlPsOLbXoUHWi+O1lIpOuJtR2GUKuyz+zlhXiBcVPcMzJcFdUZP3hZHHOJxHHfbulb7NHM9zKDWsthh7HCRYp/2lKuv9eNkdHvxxRMPrOprKpf0FP4Tc8+CHE+k6NfzdEHI+9aqlkBwQRNSModDVJ12Fz3yuCtA/GElQCqwepwZJOX7qGyYgAjYAMZMaOopc0TdDu4KpDvTXUDbXik4/jimKGkPwsfvE1v9LasjH77fDw/vhbQ0209F72W6CsJx8NNcW5TOSSdxWMuzYQifuhpQT1DTPRCwEFU1Jwqjx0wRT/Rdo66aci5dPrGwu3ScMKOkBLIJIi8Dex8otnaeMFO22llPILR2zXiow09/c/OpfuMi/l4CHEHQcrMCZKjFpLGAHthWzQB2jNkySUT8HaH5b1UL4eCGkKp8udbF0SdE7a8gJBAqHrCYwve2tcDj1hBsi6Niz9qk8gHPb+90ByR2bjUugYs9O1oWV8l63hcAjaIkBNWGUlOJCOPfZPGdQI9DMNMa5YB4nhW8iDWANwbmgAaSj2MBUGjgU+XJzqHhy/bo4qHgUVu4HcYLa5pUu8FJUkRdZmmv3tpKFODVrypg0X/YEHIm+FzGO9gSDpjNSgZraE= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a4f688d2-7a2d-450a-47c6-08dcc6a96dff X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Aug 2024 15:03:37.8539 (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: giS/FGgdfhcJQoEVsOshuOhGBBO6xR0YPDoeT/0gwQAGIS4o8Ba71JjSBGJkozqAndzOEoTYbYV0k87L3KnLBA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8295 From: Haibo Chen Add flexcan support. Signed-off-by: Joakim Zhang Signed-off-by: Haibo Chen Reviewed-by: Jun Li Signed-off-by: Frank Li --- change from v1 to v2 - none --- .../boot/dts/freescale/imx93-11x11-evk.dts | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts index 7629b6b44aa43..f20d281531734 100644 --- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts @@ -69,6 +69,14 @@ reg_vref_1v8: regulator-adc-vref { regulator-max-microvolt = <1800000>; }; + reg_can2_standby: regulator-can2-standby { + compatible = "regulator-fixed"; + regulator-name = "can2-stby"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&adp5585gpio 6 GPIO_ACTIVE_LOW>; + }; + reg_usdhc2_vmmc: regulator-usdhc2 { compatible = "regulator-fixed"; pinctrl-names = "default"; @@ -196,6 +204,13 @@ ethphy2: ethernet-phy@2 { }; }; +&flexcan2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_flexcan2>; + xceiver-supply = <®_can2_standby>; + status = "okay"; +}; + &lpi2c1 { clock-frequency = <400000>; pinctrl-names = "default"; @@ -602,6 +617,13 @@ MX93_PAD_ENET2_TX_CTL__GPIO4_IO20 0x51e >; }; + pinctrl_flexcan2: flexcan2grp { + fsl,pins = < + MX93_PAD_GPIO_IO25__CAN2_TX 0x139e + MX93_PAD_GPIO_IO27__CAN2_RX 0x139e + >; + }; + pinctrl_uart1: uart1grp { fsl,pins = < MX93_PAD_UART1_RXD__LPUART1_RX 0x31e From patchwork Tue Aug 27 15:03:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13779649 Received: from DU2PR03CU002.outbound.protection.outlook.com (mail-northeuropeazon11012035.outbound.protection.outlook.com [52.101.66.35]) (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 41D721C6F65 for ; Tue, 27 Aug 2024 15:03:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.66.35 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724771031; cv=fail; b=TnIZUOBlEfJdbG7np0ANDbjr3uuK65thKrQnRV0WDLisRj1+g60T6uZnDsijPDmsY6OdhoT4zQg3xbSa7GiExMYpAyWr5nLnj3ogJs96UgKk6+4uwvE3xjo1UoTbB9HwahMvs3CJDZT8JYGkkSj4I4p6MATIuZN0cNqsJj0AN8s= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724771031; c=relaxed/simple; bh=dR5npUataXwlZi9jVr2vfcTfgo8b68rXXvIm1HbgjFM=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=eo0mpqUneQWBOwPSkTjPYGi0j37+v663f+jjZezo1zMqgwl14USuNu6oWFmejP3nVHF8BckMTHlqf5iiMRcWqahdXw8lbRfVtuWG2RGJadmt/g6oapPZqwrtUVCy5XmeluL94kSg4WdW5b6f77zDWj/AfOuAq+wGohVkRsTJuWI= 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=PqLbVV0R; arc=fail smtp.client-ip=52.101.66.35 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="PqLbVV0R" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=OtOIcv1zJQoyc5GrBXyzBAEzFRahd/j5FA43otcRhbLw5tO0MWV2QCax77lI9bNR1TmEfQSmJj9d2YLMt8/SkjzA0ByWO20oXITl3/AKEswd4EyVxyj1dNnXvkMeUyUzj1XFTBkrCW3IWN8nJpzqdYq8bZGZNfUS+4R5F80AuGkvRYH9fO6bHj71EGqyhf+xGml398LfLKJYMOcmdbeja0v0NwLRn2Ina66ytCbRrSXlWNyCCXcjaeP9F+6IqMpyNiWFjLzxMDmBP90mCsEBVDaV3OSIHovTH0phLrev/YRAs6B00XVFKiAfcYHois26t987a1+2wtwuyz1DGt78Lg== 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=d2+VeRURX5Uo1LkpJVfrqFjRTofj8M2iHOLQhvrXpyg=; b=mIn+fB5m4EAn1jI/QDJ+eNoaAAAzsBPMpKqZIMDTxmT+lvTmmvWRgTICjWlQwgZy9iDH5iciJvn73BG55N7SsLqQioGtE59+NwJLSHS8yoJdOpDjOgYK35ykfLFh11KEqpPK3lvzZwJEJaqdtnJZCVwZ+otsioWS4Vkt8ZH7bEIRP87GDMaNYOCIth8/jwwFJs1nQcpFu6jzJ65SuWe1hlwde64pTzpsX3aH6Tzs9YPfQ1UX8VGXUTSk4/SYfLINlbM/ZcN3URyqZd2DWq8VlA29bCDNzgIj5vD9Drq9KFCKtQzRsfuhnBQ+MHM6IQd8EwtkASsltVbX49HmVhwjIQ== 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=d2+VeRURX5Uo1LkpJVfrqFjRTofj8M2iHOLQhvrXpyg=; b=PqLbVV0RsK/7h2qE8k8YQGxauhaVGLSnZMT2XYhr2X+TmVlO5MJnfUqO9GkFm9wfyMGca8Ar+CYtiR2FqdL/JK4xRmESlnpvgMfdQl8k/TYnAAGq2zFdNQet+gZEZjQS61qLC3Uqez+IGoyt/bVemC/FtzMLo96NynPE2bnH6PAi66/m0hCmFoG88R6bRfNUFJO03FV6muaU6QQAPuZwi+94NvCsHJYRnlOczbH58WqNPtXFp6qiv0KYC4hM5j21eywqxYon6HyjkQ3QUh6R5RAe3bPfV8/2sgef42xcXsWBSMCtRFO7zMRlrII0qMiiZR4sM0LFxKByssjzuRV4Vg== 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 AS8PR04MB8295.eurprd04.prod.outlook.com (2603:10a6:20b:3b0::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.25; Tue, 27 Aug 2024 15:03:41 +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.7875.019; Tue, 27 Aug 2024 15:03:41 +0000 From: Frank Li To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), imx@lists.linux.dev (open list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE), linux-arm-kernel@lists.infradead.org (moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE), linux-kernel@vger.kernel.org (open list) Cc: imx@lists.linux.dev Subject: [PATCH v2 3/3] arm64: dts: imx93-11x11-evk: Enable sound-wm8962 sound card Date: Tue, 27 Aug 2024 11:03:17 -0400 Message-Id: <20240827150318.1001050-3-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240827150318.1001050-1-Frank.Li@nxp.com> References: <20240827150318.1001050-1-Frank.Li@nxp.com> X-ClientProxiedBy: SJ0PR03CA0141.namprd03.prod.outlook.com (2603:10b6:a03:33c::26) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) 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_|AS8PR04MB8295:EE_ X-MS-Office365-Filtering-Correlation-Id: 61e58a4b-3e60-4a19-aed4-08dcc6a97002 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|52116014|376014|1800799024|366016|921020|38350700014; X-Microsoft-Antispam-Message-Info: 8jn/M5J5ixmWbdeg2Obj3kB1IZh3XpZp2wqKIcEAWIC6e3KP593LcYhdsU5WRHuMq5bxCOspFB9GDh+W5CQJFWcZjSiYZY6BreP5u3HJ8uzYqzGqTsMqPYEELUiEOrhKn6KRDubKtnKYv0AgKGOTAjIMoc97UgbH9KV/S59mdnsLlAnAJBQXNKdDBc9sqvh+L8CISp8DVKZvqFi/HvSAiTC5HWbP89NiiBbY00Agmx3gh7N+1NkkM2bqJBgU+nqMq0sN4sU29X/DngrnKTPi3yT5cDvUi3P8jf6ePzjNc64RNqlKCkJ6Dmfsty7O9osPveMfoVO5IvzT4aljnrdAKlCMqx6vs2MYqhBAHbLWSg+L0lwGUShLN+SMT+eB61lb1vWbkDmazuQ97VdmID7Bqb9rX0pq4feaJwzfFtVnk4GI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;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(7416014)(52116014)(376014)(1800799024)(366016)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: xz0JreTbMS3Iye9jtGwLLRHv4uRMALL4PMlKjmDqOdID62QBl2A9vmqY6P/xPBNVEEV/EqEkNq9pDp9jA4RAVzeMRIeK6CFIp+ZdlWbf7svOBTeED5DKF0vMa6IMTHN2Ayo9VGCtBYRE+iOaQEglOatqLdMPhC2yqR03fHFzAGpQrnMVW5Ac+vXVfiyZMauzjsCvfJNsJVR1/SORnDme0PbIaXsINcocrc6IRvLwH7nAEV1ThCPnbvFAtISzwVOqfUrNgqdBcln6uj8nfRBBH987BpQ2ddxZR5o+8xlnF0smPSC8V5KPfA/b+r50imkJgkXJyI/C7BqfsmlEt9JZUAcuQe8/2xTuKzJdwgN/EnA391PFUY0B/Gx5Qavl3VIVbDfVA7YkttwMeNA/nqgqyoXXCMsYlp5mpS7nRMTzgn1eh+ASEyCmuMVQf33EuNfTt/pd0w6pL6iFuXqfHPPb2ir2+41KoRHBVmVgT50cb9QlHD9eN7y6gnTtVpvWM3kgkBBGwbuKvJdLGngbXDdWoGy6CL/Dg8b3DgByuS94UTKLyxdWuWmn+cyk2O1jCrF4NBPh2t2hTmSlYbu0ymew9ZlXSB4O8AIXMZMA/EN92lxNXGC8SwNRHdW/LlYn6baBFbECtADFodVWhRTGjRIeaNIs4wy3LyNuYQvGtD1Na8hcp3Nvd8K4MHLTkmj7ZehtPAxExvVmqV3YPnz/Wi1+o/ikOG9NY3qOI/5MI8VuyvZPlNWQ30oW6I5zPaqCDaD0CRW1xqhI4ANqBGdH5IcFr1epG/haV2nRtt/MTa+63722VpkPTr8sAUP24T1eIRN8nY6kS+LriDFnUxSx9HesUdgDJwWyQPXVsy8nMPg2pAMZUZ1ZUJh/SIXstLbH9P5ZdWv7LLtjBBWcPPL76uQMWUZYzJ3NTMJ7TpSjJuBfV6JI0fQ1UmxzRfip4MBSadPWxdobr4dlgKW6SzHVSg5+EgEZGkkBng1wXhcRE9WFbL6trGW4H/QIS9qrTSHmjV202qwhssALk2YP+ll0U/M4BiTicdcZdmEh32+dgCQnrDn9xdcdYSK/yTfvdi/XqBb+kS7HcrVYB48FIoAdFnbA9U4yOU+cOl7wrlagnAvkRnWg4OevlLmIboirUbJ8ieX4lCLOckDH76Ullmc5EZ6CC7kZjYaX74lSwGUWle99ZjH9w0tWx5LzxIzpdjEjFyq+Nr0iOoHWqv/uGyVkZHBmArC/JXmLGnxy7qeeUet88+VUb/z8eNRv9rV+2qDcza5U+E2TMVASTCxykjU32/o3R7EbTaBv8VFy+dRPQOMJsy4lI/pyL23jMRXRLuYK69fGY3N00TRDxQKChhobe8p7gKL17LHlMOYhB8vsTOEigRiCYxolMDP3nCq+OQxM0pTwMNxLcJeAavokk4w+iURKL6tnVwIstGRoY7PiFyIt+Du5qZykYcCNpqNgpXWRsrFEM7hu8T3DUDig0DmuMhtXC49tWLAy+SVhqNPw67gBpUwj4XlwYH7+AfTDaTr1HrMjnunOREYCsd4d5rp2BB/VMY72IBxO8avhhv1R6X9e+sY= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 61e58a4b-3e60-4a19-aed4-08dcc6a97002 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Aug 2024 15:03:41.2736 (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: M6f0zlcLEVsq4myLU6/UU3B3bd3i5susi3E6W6KyMl0tAXdL4nUM69z7+U+L7b6atfhJFrWJ8bfgpoIvdjs52Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8295 From: Chancel Liu Add wm8962 sound card which connects to sai3. Signed-off-by: Chancel Liu Signed-off-by: Shengjiu Wang Signed-off-by: Frank Li --- Change from v1 to v2 - change sai3grpsleep to sai3sleepgrp to fix CHECK_DTB warnings --- .../boot/dts/freescale/imx93-11x11-evk.dts | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts index f20d281531734..2fddde128350e 100644 --- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts @@ -69,6 +69,15 @@ reg_vref_1v8: regulator-adc-vref { regulator-max-microvolt = <1800000>; }; + reg_audio_pwr: regulator-audio-pwr { + compatible = "regulator-fixed"; + regulator-name = "audio-pwr"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&adp5585gpio 1 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + reg_can2_standby: regulator-can2-standby { compatible = "regulator-fixed"; regulator-name = "can2-stby"; @@ -127,6 +136,22 @@ cpu { }; }; + sound-wm8962 { + compatible = "fsl,imx-audio-wm8962"; + model = "wm8962-audio"; + audio-cpu = <&sai3>; + audio-codec = <&wm8962>; + hp-det-gpio = <&pcal6524 4 GPIO_ACTIVE_HIGH>; + audio-routing = + "Headphone Jack", "HPOUTL", + "Headphone Jack", "HPOUTR", + "Ext Spk", "SPKOUTL", + "Ext Spk", "SPKOUTR", + "AMIC", "MICBIAS", + "IN3R", "AMIC", + "IN1R", "AMIC"; + }; + sound-xcvr { compatible = "fsl,imx-audio-card"; model = "imx-audio-xcvr"; @@ -217,6 +242,28 @@ &lpi2c1 { pinctrl-0 = <&pinctrl_lpi2c1>; status = "okay"; + wm8962: codec@1a { + compatible = "wlf,wm8962"; + reg = <0x1a>; + clocks = <&clk IMX93_CLK_SAI3_GATE>; + DCVDD-supply = <®_audio_pwr>; + DBVDD-supply = <®_audio_pwr>; + AVDD-supply = <®_audio_pwr>; + CPVDD-supply = <®_audio_pwr>; + MICVDD-supply = <®_audio_pwr>; + PLLVDD-supply = <®_audio_pwr>; + SPKVDD1-supply = <®_audio_pwr>; + SPKVDD2-supply = <®_audio_pwr>; + gpio-cfg = < + 0x0000 /* 0:Default */ + 0x0000 /* 1:Default */ + 0x0000 /* 2:FN_DMICCLK */ + 0x0000 /* 3:Default */ + 0x0000 /* 4:FN_DMICCDAT */ + 0x0000 /* 5:Default */ + >; + }; + inertial-meter@6a { compatible = "st,lsm6dso"; reg = <0x6a>; @@ -458,6 +505,17 @@ &sai1 { status = "okay"; }; +&sai3 { + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&pinctrl_sai3>; + pinctrl-1 = <&pinctrl_sai3_sleep>; + assigned-clocks = <&clk IMX93_CLK_SAI3>; + assigned-clock-parents = <&clk IMX93_CLK_AUDIO_PLL>; + assigned-clock-rates = <12288000>; + fsl,sai-mclk-direction-output; + status = "okay"; +}; + &usbotg1 { dr_mode = "otg"; hnp-disable; @@ -758,6 +816,26 @@ MX93_PAD_SD2_RESET_B__GPIO3_IO07 0x31e >; }; + pinctrl_sai3: sai3grp { + fsl,pins = < + MX93_PAD_GPIO_IO26__SAI3_TX_SYNC 0x31e + MX93_PAD_GPIO_IO16__SAI3_TX_BCLK 0x31e + MX93_PAD_GPIO_IO17__SAI3_MCLK 0x31e + MX93_PAD_GPIO_IO19__SAI3_TX_DATA00 0x31e + MX93_PAD_GPIO_IO20__SAI3_RX_DATA00 0x31e + >; + }; + + pinctrl_sai3_sleep: sai3sleepgrp { + fsl,pins = < + MX93_PAD_GPIO_IO26__GPIO2_IO26 0x51e + MX93_PAD_GPIO_IO16__GPIO2_IO16 0x51e + MX93_PAD_GPIO_IO17__GPIO2_IO17 0x51e + MX93_PAD_GPIO_IO19__GPIO2_IO19 0x51e + MX93_PAD_GPIO_IO20__GPIO2_IO20 0x51e + >; + }; + pinctrl_spdif: spdifgrp { fsl,pins = < MX93_PAD_GPIO_IO22__SPDIF_IN 0x31e