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: 13895826 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 57D1EE77178 for ; Thu, 5 Dec 2024 17:09:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To: In-Reply-To:References:Message-Id:Content-Transfer-Encoding:Content-Type: Subject:Date:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Oy0HT+FTy7m40dkT7/0R42A2NWHtIKcoyDetvr0QoP4=; b=0gcLHjas3pidLKfV3PDVNPtDP7 tV9zAJQjEApsO/i7EkYTeHbwEGMCfd6oRsG/s4AQV/kn/EszbcvPCJCouO5n7lzosCCaLn4QExPsu 4LKlVEK19W2B61QK2U8ujNnCoRH6raEy4kxKptNL0cQ+2KCQX9OOAsE6FZV1quP8PYEyfuUN9NIPW Cs2l8z6VEvRih7hQhwwx1AHTqb3FkCYF+pCdELTnTf6YupsYQQCuG+cQx/0T1Yk2gNPWqedVKWBhn PCaoMWBCeLAiMZ62rEGTn6FyySQNzySxvw0ISBBvKZZwcdRZimdG2UnEJeFm374Yd2HMB2oh2WB43 055Mb4Yw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tJFLm-0000000GsnN-0qs5; Thu, 05 Dec 2024 17:09:14 +0000 Received: from mail-am6eur05on20602.outbound.protection.outlook.com ([2a01:111:f403:2612::602] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tJF4v-0000000GpQi-0n5F for linux-arm-kernel@lists.infradead.org; Thu, 05 Dec 2024 16:51:50 +0000 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) 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?q?68Ipg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1LS3DpnmrVfATvZHYc3RBN/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+EE3oLxF3UCNGS96irzHp?=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-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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241205_085149_238249_4F163C8C X-CRM114-Status: UNSURE ( 9.27 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 {