From patchwork Thu Dec 5 16:51:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13895793 Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2055.outbound.protection.outlook.com [40.107.241.55]) (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 CA5A6227BA6 for ; Thu, 5 Dec 2024 16:51:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.241.55 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733417511; cv=fail; b=D6ftQPdOopPanTXh7BYnQqu5a+CZVRvsxcnmz078f0I5Nu2kj9bHNDKbrHzCpLH+yvXLz2GccAOcH9rtndrVyOHokR+Yw3SHDEQsjSBgB1/JUx8dSrMOhtTX/1wjj44nVmitkrOC1JaLeaGUUTdTcnwdPwVRGoCKWjRRy0P9qoY= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733417511; c=relaxed/simple; bh=mGGN37OWp+aduPI+3e4Y8ziQnmTHSWKE6eHA1Bzp21U=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=sGY0QpHfRiziN8zp1+m/LRTG2mJuKgetJf68Iox0Zb7HKs2QbFAuSrdHpo/HnnCf2ppV6A2y1ZSI4BCf+Yr1B8sIZo+B43eZjZ+cSf4QEmqIbUAEA46NLFAXRdmonnneJpSuFEEptzGbhbCzneeLF/lKQRo2FGcKJ3r7seIRCbQ= 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=BDCxse5b; arc=fail smtp.client-ip=40.107.241.55 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="BDCxse5b" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=gB8xNoytgnCJcEJc2OyYYKvmtPLuV/1OqP/RBtetemAhHUzlNiBYdJiJ+iqKOoQMCtiECTF2SupKfIy4zUyzJZUeLl61Z7lFXar7KTGJJ+/AQyO6jHt+K+yf20wuCYDmufgqb4iEuuU3yTBIqw8Z0TXj75cA9NU06S5g9/EpJhUQzvMhq2k1FZveMmKa5kbpT3jzeC+L+NyR5KKfPHs1IZEXzFP/lvlY+lZlbSQC6kbljmIih+D5BCB21tyjNVHuxNW++FMktexs/Qe56RvCyWuTuFQART+Q79DSV6YQWOXttDb3TtDMjBWmgV5RbSRMRXzWsDREvSg7ljCJndgGIA== 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=Oy0HT+FTy7m40dkT7/0R42A2NWHtIKcoyDetvr0QoP4=; b=Ue3sEXGDlb1nP7ZtO4KfCmqU4qBwKXwSVwuOnU9hJcZ5w8bnFNa/IRxJHEeKkKSqEzPO3VX6KAgI0jWk2Gdk4uLkF2PrF++6vtrZgykBEQo3jYB6BHhNbjzy0/JTPwNYFMWefw5pTsc1kgMdD+u0lvPvkeaH/9ZOK2F1k7cLnmq13OArNI0uWmuA5WCirX/kbliKrR3IXwENS2YMVMHqPZZAKwI+MPrdI1AlqN7AyN1S5+PjU4q/uAELgpjPvLAkV/vtfPQrRydUeh7Hxoq7YqGF9tzSPFMjV4R3bmxMg/hKgCdGOP/KDO962PfJ18tMvlSjBM17Gu1F1H8YroEUAQ== 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=Oy0HT+FTy7m40dkT7/0R42A2NWHtIKcoyDetvr0QoP4=; b=BDCxse5bnkXizwlsaffaoKritnP4SdG2n9YGcrxadDWXGVEKs98C28djetJRZPdbOYJSXV1va58jm45bpoq13gRLUnMCjkxC3OGB5+qxvgjvXK7aZQHQEp8xbtf4GaNb7wKRqkhmQVP3xNX8p2EmLPq9DYV+fgPMtypfGr0Ts6dME1E4TPZhfaHl5cmD4v2FJeBOVBUQ2N9A5XjLeAnWSodJFuq0oI/Wze+z0QpnnRedS3Fh8xjjH2ArSD8iP1IEW9dFiMhBaXQmODakcMI9f5l9RjBqhK9LIswd/y6m4o2h9gHsqRsxn8v+z1wfu2Xq2qQvCLyh5YqDTThSgKLAPg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DB9PR04MB9626.eurprd04.prod.outlook.com (2603:10a6:10:309::18) by DBAPR04MB7446.eurprd04.prod.outlook.com (2603:10a6:10:1aa::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8230.12; Thu, 5 Dec 2024 16:51:47 +0000 Received: from DB9PR04MB9626.eurprd04.prod.outlook.com ([fe80::e81:b393:ebc5:bc3d]) by DB9PR04MB9626.eurprd04.prod.outlook.com ([fe80::e81:b393:ebc5:bc3d%4]) with mapi id 15.20.8230.010; Thu, 5 Dec 2024 16:51:47 +0000 From: Frank Li Date: Thu, 05 Dec 2024 11:51:13 -0500 Subject: [PATCH 5/5] arm64: dts: imx93: add pca9452 support Message-Id: <20241205-pca9450-v1-5-aab448b74e78@nxp.com> References: <20241205-pca9450-v1-0-aab448b74e78@nxp.com> In-Reply-To: <20241205-pca9450-v1-0-aab448b74e78@nxp.com> To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Robin Gong , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, imx@lists.linux.dev, joy.zou@nxp.com, linux-arm-kernel@lists.infradead.org, Frank Li X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1733417480; l=2719; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=ByZmZVMFQefEgEbYLBGLsWjBEQTR+hvttxmsOxhU1a8=; b=6o3DE36F1ZRWFqj5Ixp7eqKhrNzHnu5dazVfAJSFPDbPPz2V2YRKRSsHPS5oFcHLK8IOc36vm eKExD5fL48HB9Vn2POYlNGs+fNREdWkF8eUasBgtYMKX8RLxafOcu6a X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR02CA0029.namprd02.prod.outlook.com (2603:10b6:a02:ee::42) 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: DB9PR04MB9626:EE_|DBAPR04MB7446:EE_ X-MS-Office365-Filtering-Correlation-Id: d131d831-caab-495e-5e23-08dd154d1b71 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|52116014|7416014|1800799024|366016|921020|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?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W8JTZ1LS3DpnmrVfATvZHYc3RBN/CZ/UbTt52E71JLjORbaT?= =?utf-8?q?yljgo8phIw/pEvHrstdzjXmkuji3krGShz6+Nu6ADEBkXu6qIBblVKt96pWXw6b0p?= =?utf-8?q?nqbqp/0eD3FlbudhQT5YbzuBPZKiTe6K/meXCUbKbClQP9tOHVMDK/5PO4WfH3xT9?= =?utf-8?q?if/gMoNf8ckLZweyDxCDF8awLQO9oXwuB/opmsmlj3H7wFpCVlhkEFiwA0+ZedT/N?= =?utf-8?q?6rnp93Z5bNilq6Fz8pus8k0dkUXTHeBCgksyaAm9caVgHtLL20BzGEL7CVSY6Kbf/?= =?utf-8?q?vndjppIGWgz7Wga1zkd5ojD6sMaUG7mdKbaYMj485/28OM9mJ+ovEwAXU/oMM2NTC?= =?utf-8?q?rr/Hg/NdOoR4IagmpRe1P2X93K/Uz7Hhs5zF4TXgVTOa8CjIsbv4CRCFQDFQI4QPU?= =?utf-8?q?67NUlpRuMwnnwWc6NSMKlYDPc/bBPeIlIv4y47b1+APOwRribrg7n0bj9Njd/TPDv?= =?utf-8?q?QYiiaziamb0G7QeoRvE7UHrA5NRUXSWlDmoXsBdSPtaS41rqeudnBNs=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB9PR04MB9626.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(52116014)(7416014)(1800799024)(366016)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?6cnF3YOKdQHD34MZ1yUxbHmSXTEE?= =?utf-8?q?l07h4ZSZ6YjR8EUZyVocfXSF2tWqdJYyw26tYcYR1nIzW6c6cO5RSjfZcZ4pbS8Fl?= =?utf-8?q?b2oo3enBY3pk6lNsj6Kmqfj+W04agG6EyivzwqB7n+VZ+EE3oLxF3UCNGS96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?= =?utf-8?q?Zmpw4ZSSSPX7HvPOuvsIflv6bzOZUFtBTNkUEAMFipEGdsZ1QLngrboFqlup+qomM?= =?utf-8?q?OwHX+YETHg1GI3sdos5ZJXPD7TVf2UDUYYV2EMvdnOwyAkWhKQgQRfICfMtpBdAms?= =?utf-8?q?jrr9NIUhvHibWz/3CqI9SuT04pYJ0B+bkUdn6ogk0SzGgBmF1rjIEqxwidBhEplLU?= =?utf-8?q?rC6k16ycGoUMoW7VTR+J7/m2i4Sqx5zF3TuZM/kJICM+3Ha8QH9nHF/i/2tTJsSHK?= =?utf-8?q?e8WJ3w7poYRZpElMQRD4Lc1XEXuEjE9uq4MdZiCUWJ/kgaPz5357YVlXaK+re4m0T?= =?utf-8?q?GtuJm7EfW55WoYcaErq0lijSfV3Wc2Q2PWHkV4/TS+qImDDEWuomrx/H+BnIdyf2/?= =?utf-8?q?GYSTG3/pii30yQa9gMMa05MY0633QmZ2ZQYtHQTVUjKg4vJCkrDR1ytHc4dD0y+YA?= =?utf-8?q?GIk1eOrxTwewkIWnR83X7/nd3OmwnIXXgC+3nVYkT8n710wrYmmpJVyDtOIO+c0Ew?= =?utf-8?q?l9ucAJPD52FH?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d131d831-caab-495e-5e23-08dd154d1b71 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Dec 2024 16:51:47.6701 (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: dwwxBZDaSDu8wQG0+EqcRjkuSJZqpGy2xZM1OJnb1pxR/5dWb9grRkIgEYqWpohOsew+rGcKcK91ebg8rhPlQQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR04MB7446 From: Joy Zou Support pca9452 on imx93-14x14-evk. Signed-off-by: Joy Zou Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx93-14x14-evk.dts | 83 +++++++++++++++++++++++ 1 file changed, 83 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93-14x14-evk.dts b/arch/arm64/boot/dts/freescale/imx93-14x14-evk.dts index 236a44c1782ae..348abb9ceae19 100644 --- a/arch/arm64/boot/dts/freescale/imx93-14x14-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx93-14x14-evk.dts @@ -219,6 +219,89 @@ pcal6524: gpio@22 { interrupt-parent = <&gpio3>; interrupts = <27 IRQ_TYPE_LEVEL_LOW>; }; + + pmic@25 { + compatible = "nxp,pca9452"; + reg = <0x25>; + interrupt-parent = <&pcal6524>; + interrupts = <11 IRQ_TYPE_EDGE_FALLING>; + + regulators { + buck1: BUCK1 { + regulator-name = "BUCK1"; + regulator-min-microvolt = <610000>; + regulator-max-microvolt = <950000>; + regulator-boot-on; + regulator-always-on; + regulator-ramp-delay = <3125>; + }; + + buck2: BUCK2 { + regulator-name = "BUCK2"; + regulator-min-microvolt = <600000>; + regulator-max-microvolt = <670000>; + regulator-boot-on; + regulator-always-on; + regulator-ramp-delay = <3125>; + }; + + buck4: BUCK4{ + regulator-name = "BUCK4"; + regulator-min-microvolt = <1620000>; + regulator-max-microvolt = <3400000>; + regulator-boot-on; + regulator-always-on; + }; + + buck5: BUCK5{ + regulator-name = "BUCK5"; + regulator-min-microvolt = <1620000>; + regulator-max-microvolt = <3400000>; + regulator-boot-on; + regulator-always-on; + }; + + buck6: BUCK6 { + regulator-name = "BUCK6"; + regulator-min-microvolt = <1060000>; + regulator-max-microvolt = <1140000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo1: LDO1 { + regulator-name = "LDO1"; + regulator-min-microvolt = <1620000>; + regulator-max-microvolt = <1980000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo3: LDO3 { + regulator-name = "LDO3"; + regulator-min-microvolt = <1710000>; + regulator-max-microvolt = <1890000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo4: LDO4 { + regulator-name = "LDO4"; + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <840000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo5: LDO5 { + regulator-name = "LDO5"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; + }; + }; }; &lpi2c3 {