From patchwork Mon Aug 26 20:53: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: 13778444 Received: from DU2PR03CU002.outbound.protection.outlook.com (mail-northeuropeazon11012058.outbound.protection.outlook.com [52.101.66.58]) (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 EB5D978C90 for ; Mon, 26 Aug 2024 20:53:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.66.58 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724705633; cv=fail; b=I58lesKBjSd+CpqVkLhVp1tmpZid3M85hI2kFDVSjhEyhhiHckCcChj24kq6r/g2+3niVriARuwzLptbAevyGNZBfvV9HDAmwVRvqDviGJI2MJdUic1mCT6gtsTrkUVDRg4bgegmQgiXVcWMUttnAMnFne1YP3N3IwqnMc5lQe8= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724705633; c=relaxed/simple; bh=xVaDuwfScIxt1fhirTJa1+q1s+kiNEPNcS+PxRE+GVY=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=awFjhGFI2vtiTAsIYD46UOxu5SXSf4MjwoU+WlNtfK41zwPJV0wXalR1p5JGHI6O+BKgJnha6YzFPMyfIaqtfIgu9CXAtRNBJhLg8hMZ8RsySJ0nYoWMEhtaVfxKemlEcnGWrMcUy9a2WskqAVLlpEGDpPfmJNFdFjkk2HZVW7Q= 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=daTaeHTi; arc=fail smtp.client-ip=52.101.66.58 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="daTaeHTi" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=yp5OVBUiZxYNr5d7BOscOMBkfFOFYOf6LpHfvUKdJ47Hy2b9w9SAHZmrsoLSK6Sf7GBNQWrLRHD4sv84Vdm3/OCUN/hn67hhvsZjM1aGpgWzWcqNNCa4YKsS3sGdJH8QmdL4z0RWnwhCTrYUhXq8eBXNHLl35D0O9kIlQypk9Mb4PQvHMQrgINy8g0bCgR0yaREvDnJbNGfV1sr+CNmmv1lZ730d8873gjtk2qLQsYGGmQvk80gky2myuVXc5G0yCUCH9gT46JHe2/TQTrsixrniFVGaazYonCOQVL4jduqEXM0dtTWMUrp3u3uyGznhizR38cYF+3Zah+vA0+js/Q== 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=GnaBO6ZwW9cE/JLN6wwr2ZIFi8v1FJaCpS+2jlmSSU4=; b=klV2kseT+Pa9eV92f5C5E8Nx3/jCwnmg4eLgJp5OxoszNTQhQysYxpUFPjEdNHMDXI6p5Xr/3+2Ny7fpwHwpr4Vc4yxTwFI6xraCPJ5T//bJNkXt58KxThBbWNVC5O2NtPoEhMoYxZoAxzIgvGIu748McWb/71biYfWSi3YCnk4aeNQsu8D5XaKl7srkBzc0Wuql/wGRoZsKKK0Iwi0mNir+/ixQDxfueyq0mqO9UQtWc6KlTyd3rbZjUzCKSl/OTzGC1SQC9gYd4JzbPRWzzRclBel4q+6hFfkvMnZmMROtF9UqpJRd/i2ZHhTLw5serzrj5d8mBX6eDAhqubEcBQ== 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=GnaBO6ZwW9cE/JLN6wwr2ZIFi8v1FJaCpS+2jlmSSU4=; b=daTaeHTidPm4dgNd3f9QP8oTSlHvtWdHu/7ncD+Qn5m6AGph2ZNbnBdd6ZNreSQQjoVivH2Vmka+9lCBvCkG+T92VtSXjniYOGitMHfCBIrWlUrdGq0Qa/JqX2k5p8tjssLybk9br71DEchoMPcy56DSk3mw63yrGOP0Jauz2f6iSC1iQKqkF6AY7jcwad7kx99AjSIoH9EzC3zJ2a46ky8Az7FWUe33dPcQckLnn3xOtdydpKLHJtXdZsQ9JKjpURh+1Z9yln25Pg8UCCw/eyyBLjm+KnGllAm1859mAnHATvPropTRhv00hzPX2u/R8JUe0cRUMNDblP4UccAdIw== 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 GVXPR04MB10681.eurprd04.prod.outlook.com (2603:10a6:150:226::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.24; Mon, 26 Aug 2024 20:53:48 +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; Mon, 26 Aug 2024 20:53:48 +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 1/3] arm64: dts: imx93-11x11-evk: add io-expander adi,adp5585-00 Date: Mon, 26 Aug 2024 16:53:32 -0400 Message-Id: <20240826205334.975272-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SA1PR04CA0019.namprd04.prod.outlook.com (2603:10b6:806:2ce::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_|GVXPR04MB10681:EE_ X-MS-Office365-Filtering-Correlation-Id: 0fcaa792-0876-4124-394c-08dcc6112eb5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|376014|1800799024|7416014|52116014|921020|38350700014; X-Microsoft-Antispam-Message-Info: 3Sw3ii4dd0tqTNn5EroceFl4dhV+T3c//OwInZttyONVxTgZlYahMMZzxOShWQHHhyHToQmK/E3/vmAiFWg5WVk413tkXv/QTYGBgdP+q4Tzy85z9uS9OuaSqGpbF0+yz0ovL+PhyE7LkXjaXzhIe/aepI27HUbH8Dz/eLJfIYb2k8XRdXKZ2XS6/HWZfmDHXFuEINy1YMaWOxlGbY5sY6WlSILleGdYsR8okTCWvA6Nt+9MZdVcQrwrKaUAeAa7BiL4hD4yQ6rUKcYTBvJq0BoYP/eMyboNxDQyeqHpwcyjZ2hSwR2CS7IlTlARGMa8C+m6cqVbFE1KI9nt2iWlETRrb+p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4pPur+556hc9WW4= 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)(376014)(1800799024)(7416014)(52116014)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: lrfmsf6uBe1DNs3QGjQIu9wDjWzclo6/pfgs6/es0XgDCjtAwPx9zfrOLoxav8AGSlEqE9L7inDHgLRkXnUGjSnbvKzK40C1qU+KuBpn0u0pbms5m5vu0szSN8JsybAOT/6f2xrwIdXCzX+gcs7dRJc11TI5Y4Fi5omwiQ+U+e/OlWvS/U+xsLl0e17z8prfTkROvWey3orYWPA8/rE9Dg8aEEiGD1GNFKwBuENCQV1rnZ9BiNBChr2d5cPWzocb2FWkztt/qvvKIUmwXUkdrdQgXnqtO9xbS3DAekJOxNIwnDEtabjf+WZWQobzZsFCgn9wUjWN+w6BgueMmiHTRf3ZZIfpC+Nyo+THK6l5yf5pg5Qog8jqUgWxumMDlS6IjX99/BmJAhYHaaMZVW+VICnaN7deXifZXBnmJq/j022FDMEmartjcVqo8/yEqjO46NEXukOfikKmMTgcN0bsP2K42WKwSuh8hpzc1gyn4SOjCBCuv256wTeKh8CK+AbRzpVqi+95vSj5Magg5HPGpGWd1h+UMEM7Pii9u6qvhufkyyCe26m0vjnfXW596hRyWwyBM7Xe48vSlWIA0fGgPH45Ht7NesJ18H93hSANVZAYJUaB4FHTG42bKegiDMlDzt8+0nnC4/Q6londPfme/YiCRiDV7AjM26AkCRoXYrGFuE/epMyaWszWEuS0Hvgsul9tvcZwCkFe7PYR5IvEmU3eKssJyoZmhMDXY+utUJTKrqJHnU/R6PRSw+hLz85S5NeWgxIe0OR2Wf7uLIJELteAJt/cIq1bI7+sJzjN0zEAEeWKAdsTtjLqM35eEu7GVYlz2OABqjEOL8mTUTz/iBwDMvv5TuK1qtjd6VVOke9lk9jsD9zKjMTySJGWuXn5rf8ijKVTc23pXukjWvcD2W6Y0YfWL7PzKlbGwAwrMZHern9fipRvEyLUpCglOo4mMOIhtCL8e+mRuTvqfQjQBkz0Llt240m7KqStLlzeoH/3QrLeS3SE0mOqlZTupvfJb+bvx2VyQCET2Q7JU9pETGOa8fVMGMxSoKCZC+aeGc2HSDjJpFjryX0LlJyQXum2nNmzIQUYW7SFozFGVZor3ssgaS/dZZhPD50N3DJbKasyYQE61ydic81rGlnMXkcpszTelBy94cSywW0qdvIA60jJdbZ40tLSdo9Qq7fd1p+CxXlj9/38mmv4VuBlNG1bq22u2tqseYMv5mKu1J7tKvqMqVtgSuxsEh5hWDfP4+5XhEhpPCJ9Kx6BZUxmMkDTuwUOY1GRFVHMGoiLpOCPhivwpaMVlvlWY/vXe6VFXZ+zOdBxLC1uO66DpCPqkjnYZpCnsDsEzCJSP13+QeE3Ei7KfcRQYyfmXzwp+O/klqsm7sB2zJjtfTWMz628100paaWu/8yGKupNUkJAb7gbWyWJAYFWNFYgUP/VnpVLFyezqngnsfuJcIeWxLpVPkOifRy7BAAr1UzwfHNvzJxb6KljkpbRyh+yqrlNNzfhFd0SsEWRdW4GhIEnETW2JJnmcxMVJ4cYZAr/sY9MwOSTBVk9drcsxMr1bHyxdavA3XscqRdlSdI3eEQJ9IDrdFYR X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0fcaa792-0876-4124-394c-08dcc6112eb5 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2024 20:53:48.2433 (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: csy0K1Xp0c32Bf76LrO7C5zYInLVzZI3xw7udq7bo5j79iao6xwfhQdG5IbRWeF946LaUgpTWuBfsFEDWRYwGw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR04MB10681 Add io-expander adi,adp5585 under lpi2c2 and lpi2c3. Signed-off-by: Frank Li --- .../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 Mon Aug 26 20:53: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: 13778445 Received: from DU2PR03CU002.outbound.protection.outlook.com (mail-northeuropeazon11012058.outbound.protection.outlook.com [52.101.66.58]) (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 0CE95199EAC for ; Mon, 26 Aug 2024 20:53:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.66.58 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724705635; cv=fail; b=uUcS4ssRNYVVsh5fqbeuB2bVjhxmlUTsrZPkeNOw0adHLhlQcMbq4qCgALefMjUpvRhZUMKovmqn76bYcjEVu9VHY1Bjw7embSyWn4nB1MOUwn5vBc0IOLDEk9lpHCjhWAJGP3HfgVn5vJJiZ3x65fvQpzJmfMzH3zuHmDqUdxw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724705635; c=relaxed/simple; bh=9859Zj7j3dvKIFWbdrI6k95xziCKvXmbfENk621qLMc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=GkxK1c+Xsm1wRfsKx5X8jlMLIX05biOMWO2vfyin/STovQiRsq0DifEF6T64EmbNi3LGmIQWGbjSh9ZyUNvEg1tab85fNRWLhBAXH/VLjgEt0f8Ti2OFKjqwVcP5cKCwg/dvyqaI+c8//UPojYFVn96HWXoCiW1vIwyN/fR3JsE= 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=VbmDwyPo; arc=fail smtp.client-ip=52.101.66.58 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="VbmDwyPo" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=FLNwKts1UD4n1hm6fhQ52NRRscL5ECpMa7FjOrZmM1VkM+hDFLzDfz8XNGy+cL/EJbPZeAs9fGbF7wQ65zRdrzg/DSg+s9yapW8oeH7tyx+8g9UY/0BsJ0ExMJ/GXTIe1f3NhQq2szOsZCZcGNzybIZ6F8DumItaxH2rhwDEpNSgKo9YtZdfnD034rVntiMbSfaVkhUnHeVgSrSy4xM4QRbxqFoGmGxvN2AzijEb76L4azyfjLAOxGsUJes05uByFJtpTAWlpZioPYbccbi7fsYyFCJ7skPOlbn1cL7XbEr9ZDiSYxnJOg/638iRor/DEbenG3ri5mw3Y++jb7/EQQ== 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=x70BgxwZyrRaKDvDfEhw8nbjPwQanM1oDdbKvdcdQlU=; b=HLoCJ1+iZyKSAjW+O9o/ge+AVAnKZ46vEulJrOzAa3F1z50s2p7vhbPWeunP6L89f8p186pPJNL5MKeJQj9KP/sip1LGd0aaa9seiWgAjrh4sCQgElqf4NZt6tKDRbITxPkBSGulCDuAPvRKYDIT5Swvk+x8r2GbXj2tHPbnaZSF3fGW+jE404Ky/C2aG6HbhV9ZfEDt0cZ+soh6hUw6c6vDZWWyoNhLm0kU6914pAV3M6x45TGcLdSiSSVVTQaJsR2hF+PciS1igzTmWZsZ5kqB3X/gkHCp3/N6F4KV/M2jFILfbu5iRVRF/i+uYYzfCNtyZct/ETHImkc628Gdtg== 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=x70BgxwZyrRaKDvDfEhw8nbjPwQanM1oDdbKvdcdQlU=; b=VbmDwyPokYQ01C2XlhyB01Fo5lLrSfXRFu8bF4QapZBnKgwEJezQn4NtUvJZRUqP32YA4AR7ncjrzv4+JbV+oo9JdrN7d3KpgynBBtHkluVSohO3g76FIgcpswcRYaRLbBofTuoUJ3p4weyXPX/mCrwPkS964wV789ZFjEzk/zqPKGctmYTyiSrYwxrw3AM10m9WVkITdyGWaQvercnjf5L8MH0Tx5mrP13mad3epn0O6nFa0G128WQoaDCjY9uOVrBMUrfZU/0olaQHu8UvGT8B24jDgphWWURLz3RR/ev2hl1vtd34iuEdTpO953ZLSl72ey63wHHESabcF35vlQ== 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 GVXPR04MB10681.eurprd04.prod.outlook.com (2603:10a6:150:226::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.24; Mon, 26 Aug 2024 20:53:50 +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; Mon, 26 Aug 2024 20:53:50 +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 2/3] arm64: dts: imx93-11x11-evk: add flexcan support Date: Mon, 26 Aug 2024 16:53:33 -0400 Message-Id: <20240826205334.975272-2-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240826205334.975272-1-Frank.Li@nxp.com> References: <20240826205334.975272-1-Frank.Li@nxp.com> X-ClientProxiedBy: SA1PR04CA0019.namprd04.prod.outlook.com (2603:10b6:806:2ce::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_|GVXPR04MB10681:EE_ X-MS-Office365-Filtering-Correlation-Id: 79ee578b-2389-45ca-d640-08dcc611301f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|376014|1800799024|7416014|52116014|921020|38350700014; X-Microsoft-Antispam-Message-Info: ITEF5GpN3p20xJ0bx0Mxov6BvyMNVWDL4sMvd9FD9iNNoHdrdaMsuN4SkOQg+DN/IileKs34JQHgakmP/jErn57Ov40IUBwqs8bfS3DztHvH+SRoKxnbjnpsMvyJe1Z7m/H66n0c/gGf6kKg4Vx31+5Wyl6FjEP/B+BeDW9ePSl/qcoXZX+nKaqOIetQJeC6MGuo/uLsVUfMyH+6l2wz3E05jYzRvv4d7PrUwCj2oQ0hrPbY4i7sPX9h/XQyoYP5FI8SACXtQpx4cpFz8aFJedcEIvJfo4NX7cwnPwOSzsIAb/8FcxsWQyuoEEvUcLM9ARIRvw7mwwOZl2NDaUxiFKKHg7tkvPWCYl6XSP4uPhEgvEVm5oZY8owGh2VBOyw61jHMPR0r/XdE6yXAdQIkPNLArEi5NaR+K+sZb+gKtR1MCdn07YG3C+ZZBXvhUXcbPQAEg+synj9GnN+ltWC/RVIfGlY2atIb30k1QvPqJ/CTBoPK7ChNN+e2vRavgN0/O39fBjQicVGRcNHTL8RpZPIo0Hwq5tEJq9LQptSx5jKCvVmT6F624aiDUOypkAXI/cEtsAQmmY7l/wd+oNOYjw5wKppk2VPiA6Xfg/czwIL5pFE6d0Sb63J7chnUX1w/F80dr0kFTvvUJV9hJ8CwlqNnueaIOdS51VgM33EYQKf1EeCpX/vr2ARtjFyPZAlN6tmTfn3R1yoKhTou3jMgsjrjOiJSB7XadkSRJ6QgsTtuYPck7Smj/5DvCKSs7yhkg61npxuioAbiGHTnKc2st8wQQuLyxdzb9ACKXiV4o79JcwmY9LLOJtJ9GiPaIhVPVefdGg3zcl8xJvRme63QFfX6A3+syj1MsQghXaSm12jc4ZyesCkXvkBpTk5LWakjnNyyAArnj0cloEt6kAkal2SbUW7la6h7v6F2NHd42OCxWaK6TGtbHjMK3LKuPQl0YNNzNMF0opMHEJYjegQGy8pZEMw3sWVfPoqN3BEhAxw1QwHV7NGSBot8Hn3u/v4Ef9wER0F6UeSXP+B4VfotD5H44KuYOmBNmWlxSsGVRLKvOgdEnfE8jN998Llbli8fx/uSUu2P4I18ug+1l8PTC0/4uA5uplj7XPopuvA00phshuquDB8C+7sV4P/1sokE8x21O6dOl+Ks8/Z1gq6pmb+KiZVfBnllKTxud8RhiRR8irfkvc5nWRhE5Kmx96a6WA83SlP0aTeGkeYrCo2CDf8Ah0a0HSkpoRnMtMt1obIk7/LFq5ofp0zsXYB875ee4HX4dKBtSLBXKwgPNG1w65PFIihRhL9hshHWv5HOwrDIxc8DcOhAno+WhbUXIhWfCS3v3G8mkBHXc7yCduWkmQN5EcjANSUQhpHDseJ159aDickmxzDEeFgYr4wo5QVvOn1CIinezvHlwgDxTvLAhjupcOJUBaTVhMhQCaEi4Kc= 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)(376014)(1800799024)(7416014)(52116014)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-Anti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D2bJ9ETGt/2SVPSbL09hjjtCMGvO2VIQFNjk9Yk/XKnjqChwVOkQBAfexnMHcxSVDtK6Kj0ZF7XkMzRQ2QjcOXe+HXJIkn/MXfzUNU42aV6zHzS+afQNUbxKTqbsxSDvVkouOl2l/0F+3GMgcPnnzUsU2faH+yIGiEBFiv3S93WPH3P4m2rH4ksIwGYz7xZASQOmIO9B3bGeGDtgCrJhYMb+F+Bblp40u5b4VbRse9wEp42FRfXlBC6hCc6flPC461we64T9mGVSGMf2pFUMh4UGPoHn8iZu22n5YM96l81tizGi5fHlFhKcfLccP3njnGVoYaC56t26AGmxcLsX5ZvR+mVaJNULAXnn+WC2Mst4Z3QYyYLQdb8LJeLUTc77+Sgck2QFjceeng94A1YesZKwoChokQ+X9sF+6K2SUzh/K/iA/mc9NXidt3UvbZH3tD3bOSFouOawKAabiOGI+bICmazYDIN+0/9rBseglhu2Reet2DPLrY80d5yLXUMoGAXzEIDKIPr+bXuXOx X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 79ee578b-2389-45ca-d640-08dcc611301f X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2024 20:53:50.5170 (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: lYi0WHJYk2TLWWNXQMZ7gvloJp/8gORezJpBBxKVrghvLnlgPvPTJ2JUgTvL5YU6qOZ+wsmUaELxKPVRomKT0g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR04MB10681 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 --- .../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 Mon Aug 26 20:53: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: 13778446 Received: from DU2PR03CU002.outbound.protection.outlook.com (mail-northeuropeazon11012058.outbound.protection.outlook.com [52.101.66.58]) (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 20E8A199EAC for ; Mon, 26 Aug 2024 20:53:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.66.58 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724705638; cv=fail; b=eK0DLJiMlv5X5F3BS9KxYOPPj9jrRZMCoCgWoJbBJwdWG1d2AWHdBSFa69Efwd2eLtn06gSxYmSpmBW6+Z4Dv7O191/Xgq5g+FvY738vSboasHcMvC2r0rf2qanqIKTFadvymEUENyYoDFV8Y4dmkOTZfTRiMAlDoGvSHJ2bTx0= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724705638; c=relaxed/simple; bh=p+Ny7PXe+TS0z+hCy2KcXselkhBeEa3nanAFYxI7dMU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=cTzbTQObbifbDM/m4zuNmcfJGhhcs/5/IPQhL2/7OQAVoaXCWvjD2tf1Qx9cfUP+8gVMZjBuMVDg2zQW3c+XxfKJeT+0SK2UYTuxehyvZnsLgk1MNNbU7bNeod6zadxYCYIgIx7bZy5ujV/aXA3+lD2tbZ1Ji0ztYidPgXSc9Fg= 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=KzPWzkiV; arc=fail smtp.client-ip=52.101.66.58 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="KzPWzkiV" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=qAtrDlilQ3d7a9j43yF31V0l7dj+jlFYihpnW204qoEcAkKQ4iWIRlDZ3kHgba33x2wMcGOxFF/1l2gFjp1TTvXs1t8LH+VaaVA4G9YVj7O+385G4+4jAeo4PFZL23rFBVYWmvo9nwVNxYH7He0rJ6d1tGVBZD+czrML4r3vtNSsM3NeJjE6v+oTzoayCRrWGBLJhxJeIc+iGZyzkEmhKLvqStH4xLbLfdSSNAWMvkidk9yCgYo00OElehrNY924s5aXsDrQV0tBZGXJjBo9zIqfV23CPerzB45YEi6eMLPSzLevJOSUctL0tn2eVxxuP3VJ/cDxqhbgoOlDrsI15Q== 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=Gfg3HtiIhEyQLWPDiT+gsMAH1h6KCPxZWtjQ0TTkqMs=; b=rn+zO5gaR6BITb5ilHxTuOOp2ppQJtUqMbmmJaDOn9txZ2687/RV178g3qi1PJCDNfjj5bbrSyHzVDp9ojk3/s/jKgOwQk3ofZWscnnUP3MXFxoQibVBsoslT39vxdll+TyDDzyHRXNeU+XE1Wzm2ezv5oGPeXwYrQd5211TPXCnQ6jruM0ikFzLQRKhK2RcDYeak79OtOKbafTbM6+Axm9le9MbUn4yvXsMmlNuLLTpm3G57yL7DFyKpEwc1ccJTaBazBq0SNbP6QwbG1GwN6aKavmrhPk31uHwjrltdXONDdHy6HJ+jqKs5tz5ic2ye6vxMfjkeahz/m00nsk+qA== 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=Gfg3HtiIhEyQLWPDiT+gsMAH1h6KCPxZWtjQ0TTkqMs=; b=KzPWzkiVXrW3bj48MKbb0qjfrV0kFAVp0t0P5W2iwFh0XSIW1qdhBggVorpbIM9cWwrVQngWyaepwpRvJBtGd9EWfYQPKlQREcJST19ekiRTMKZGEUIrXKkUKOshzywoDSFvm66YqXGdep4h9UYO8xqVvnsWa5PBXaKEgX2XJSnkkTSINoqfCku++CkRtEb6fBntkcGyrxYd+4jmUG2nXKV4lJPXhm/y3js3qRq3qrQT1FUNVpd+asxkFcJjFTztUQZprbe7hB+U4SUmDtoLNX7xkKuvEoaE4hh5Hy3esBVdEZnsafIkflZ0Zj03o5ZK5Vq+ZxBQt13TtKgUWcgkiw== 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 GVXPR04MB10681.eurprd04.prod.outlook.com (2603:10a6:150:226::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.24; Mon, 26 Aug 2024 20:53: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.7875.019; Mon, 26 Aug 2024 20:53:53 +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 3/3] arm64: dts: imx93-11x11-evk: Enable sound-wm8962 sound card Date: Mon, 26 Aug 2024 16:53:34 -0400 Message-Id: <20240826205334.975272-3-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240826205334.975272-1-Frank.Li@nxp.com> References: <20240826205334.975272-1-Frank.Li@nxp.com> X-ClientProxiedBy: SA1PR04CA0019.namprd04.prod.outlook.com (2603:10b6:806:2ce::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_|GVXPR04MB10681:EE_ X-MS-Office365-Filtering-Correlation-Id: 698fb52c-2ed1-4169-35b8-08dcc6113184 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|376014|1800799024|7416014|52116014|921020|38350700014; X-Microsoft-Antispam-Message-Info: +6fQu9IlYRmjMXiX9HWP0ivPsLZgm12ZvAhkKvc2T9IAYB/I6hqOuhCZmQQog+vNyCNmIyoYzEY0GIR54Q1s4atKQe50FBqoek3526wsWL31aRZKrGrVVxn2sUNu4MgpKS87K8zqyEOuXpzBy8liKUOA3cs1msMWSN6E9HYHYeKISVEkffnUD6Xw4caREVjrkCizeTvo8FuLCL07lmg7g9g6+gvrz/x26/uP2ZAx0ztlGjkh7ewuA8ivkgjif6VX3G91FUcP8IiBHJCgPjbzaHmXgSaQvSWN+5wgiIL4lw9S4KivZ3mlR5HJM92ynDC/XUnY6hG6zJYFblHXzKdNkruplIu58rGhoCRt92co4hAyiuSk+Y9TQyYaCXhbJVIiB4J1MBYZ3N+fEth+mp3qvsq8vMCXCsPV4Ji+kNYtAQ9Tfd5CzEGA2FHIxwU6mkMJVF7edtRecGOxGIOmpY69ARWUTNME+QHwy1KRyAYCgcdEGOzTkzQqQ0SSfbhfg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366016)(376014)(1800799024)(7416014)(52116014)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Aakm+8s3Ptbx1pf1Kdoz2Kdm/xsT7lU3NcEngc50q58MI8MU1o/1meO3vZReA1Rncx64/dfnEntvkeolyQMzwN0yFgicPH3akLBXRmz+Je+XFLjrM7R6P++Po+eqwxh7OivmWBoedNn0C7ggE5v9v1RomRQxRxFsJItnEsqlj2KoZDTCGZV6mVjXRBScNU7rZGLAghABhJyLnkVlbUFyenb2LtYsVSn7TBL15T2X0vJzblnKFJ5MgnPT4/bL9niUdn49yWwSAj6DcMquqMzsY4tETXC+nTd52kJfZOV+0bU3C7RFTIEm6TkagQe2dPKaXTddgBHPrfnfmNZLEA83FqcHNyuqk71NthGceW1t/pFlQmKZFCAjhMFk2vUZ400Qda4+sJOvcClVPDUSKbG6Jz4X6ntP7sc0nq0RVCHaoT6LxekIyC9zZ6nRcr46K8n+79aVqJ6+qyt/3jE6+uFOVYtEA8YY4j8VgCGWIf80zG0E6NWB83bukLMODGcS9gcTbxuIXiHrWwTS3VCtSP3+t0uTIza1rq8c20S9x6fP3lC8MXg76MnHUoLD2gP0IFqMuvRhC9PNeVqilE2o1tT03Ex7i7MKJTY41uHylUl1wq1zhLjROVnDDQB3aVJPWB4kZPzh8CHYf7UDOPe7XG5PcwjVil6ePzmTzG8sPuo/+Uu4JYheRXXreo2LUwbXWwp1pkABy/wmFKaW+x4VpLLWnHCvyAnsmwHeIG3jbjbuAC7RTp4LiX4TXGbrVom0aQYvWyNTO/4NjhQ0ke+ajKPUNcWoeHQwZLMLocde/P+34CpcAknFvys0dkBhvuN+HejxB6HCwpR1CepyIng7LJlxg9A6D/2eAi4ogYSWr9BDR65uCZZ5WShbd8bMbRv5MFX7ljNa3crAJbP/OSKgwFMuPdLTBIa77kRiJQ3+rfsmvkr4r8rlLMgVEoD9wjFh5ogs0Ma5/ouWoEHxiOGKNN/4GvLySnCjI18gzbKXJ/eScTwpUiXJMkNTEtGJVQ6AIZKdjEz7+5FloNd++n9WeYNHY5tEUL3VdRyUrIgH+D52D1QRVfY6fmgUUPiqH0h8GDZnT8JJV1Wwabq4LgdupC3ay7vvdg+qjkHVDdNc3wRVsAYTDxe2LmP00Tne9vFkngoYbcJ42Dh3V05KcsF2JHn4zB11ODx5RdJJFNmAvy+iBSnMAZ2rJSpISRtsf4XjDjw+bv2MYPSNiWxE+ykj/kmtFtrB338F9CXeqA26mjpDpguvmbkBxvEXAigW59qEmX1w2uOMg99DKNE2SCkO6jlq04AT60jaEMnrLTMR1AGv3tlOiTyCkEHg8XclEbuRINcktRuHpKkSayptM52U8zOyYosr/eaSCp25fP01MNlSmo5hVx3sd8TcEDthy8cWhD9/jLMGzNjUhzr/ufHmhbuTWGA/DNUDThpmYcfU/bq50RZ0rXCrFsM6kGj5yFhTpMa1NQa4cjnY2gT7eg3+zqVvEHC/6R+86OLvBpY91xDXfmcPSzPnsnh/X6o/x7ah3n3SdpPbJZNqqlCcqCXT2jr4Sj2sCy/7jH1Op9ZTE+n041ZYcb5nTMVvXlemfYtolkKT X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 698fb52c-2ed1-4169-35b8-08dcc6113184 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2024 20:53:53.0240 (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: Tlytp3WFN5IZMNfXkpdKcSQBUauzGZPrB5CHz8yLMmR/l/s9t2RlVKXwOIMaeRKAB4FabYawN5h/SoIBgQQtKw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR04MB10681 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 --- .../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..65ed861d67d7c 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: sai3grpsleep { + 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