From patchwork Thu Dec 5 16:51:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13895821 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 D3B5BE77170 for ; Thu, 5 Dec 2024 17:04:19 +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: Content-Transfer-Encoding:Content-Type:Message-Id:Date:Subject:From:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=w2hQWCTjQZ4VO7zgLbKfeY2VriRFO5rzNEyNWErdOqk=; b=LtS3VeLNxW9eHW9ka5olCiirFX 50TRmBbFOMI8TE6SAJdBnpSBtZqhqC9fE9AmhkZKaQH6kR1DbMuTdzru0+XGzeZYARCNmocVglSe9 5VJjN0Oij4GeyZs+j19s3wbv5WQD9Mnlf3wmGFTjomNkPePEPebdToFOuV6GHw/yif9C8VJ80sD5g 70p4ilDOFfMgvB3IxZW1altUgOHSqNXzhBe36ih/Djikyi6y7BdZKs+K+DZ5Qykw8IUIZa2fR2cwM +UOv8i7XlKeyM4NMnAiUlUItwL66zz++TAFAdQk0LqDdG3tRHFE6pky4jobeUw7/JygMdN2IHt2tZ f4zC87Eg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tJFGo-0000000Gs1d-30I9; Thu, 05 Dec 2024 17:04:06 +0000 Received: from mail-vi1eur05on20630.outbound.protection.outlook.com ([2a01:111:f403:2613::630] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tJF4a-0000000GpJ7-3YeG for linux-arm-kernel@lists.infradead.org; Thu, 05 Dec 2024 16:51:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=cL2NEzobZjb2H2DiS5DciISZ2hoeVhYeoSiftDMk8bAWH4o+JgFv3S/yT/rOtNXfXnhp1hNNg7mv4aoD7i6uo9zq1u/D9khWxgUbYqns8oEPSmhGkKU2AJVzhBffkbTV/NWtFWEiHHeMPBbBVZp6b6+2iekZKHRU75sLaeQkljlzeDkaGAvoWBxZk3HCu5hAueFJbfrwgrBnqcjBiDr2TTTEd9kZFXJooX/EeM8vt2tQV0OZ5lfNt1oRHsfrHQhYx85uKEnrBUS3UlVS7q7gatgEP2G9vy2X/Ao05On2MR4n66fxfjuITOtS4Tw2oo+F5Vb+uZPjJmZd4eKKiIo+tA== 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=w2hQWCTjQZ4VO7zgLbKfeY2VriRFO5rzNEyNWErdOqk=; b=iYhgr1zEWxLxyLQ6JxNiOihPee7cuukE7VPGHeQ1T5+pRB1AB1/PxvkM+V6FfcGRZBMLfjg93dKyMT6DjM36/iJXcQdPoN9hR5enY+rOlRBaN8BwfTn6FsfjiLWZDboa54p+TKcvwGiBFY3KCx2V5Cem1fYYB1ctZT0ZBEO4lVTppGnhYl7ZnEF0JsogSij310jWPJ7md3UkbgweZzkEfy5QxZfRH42aCCf7ALdtaIW97yG1lNzKvF/k9xxaQ3t3Hs2daKlT9ntNK5rKiknrqSAxW7Q/iGQBomBAbtkO5C8W790n8RNmgCvChZnyovJMg2C8n1FdhlN+8tGmmDaMzA== 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=w2hQWCTjQZ4VO7zgLbKfeY2VriRFO5rzNEyNWErdOqk=; b=Y0DbU26SDEiVDz9FkHoYI6fSZCu6eh8MFoBry/VsuRYfEvd3/DL7S25uSnKXvArEDM3w30HJ7VEQHvCxIvuZAfxoIX016FuRd9Xvkd2lv4VUC9o4FIdDy8hRixXWnzX6ywf4AFqq2FISbksLCMpXdGj0clqpY9oJ+m468pxOunP4fsPrOVhTqRR+xTKHYbAzHdfGp88a8SPTxsg/BvrKpt6I43fl0Ut+5VglvuWgDKwEMZ8u86LLgS30UnH/vHt2NU10Abxg5E8/Hzo0U5FVGgPUNQSUvKz0vVLmmMNQL06gts9my6YCDZMz/Ju/YhiRble8zvBliLhu8ZN7d6gX6Q== 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 AS8PR04MB7511.eurprd04.prod.outlook.com (2603:10a6:20b:23f::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8230.13; Thu, 5 Dec 2024 16:51:25 +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:25 +0000 From: Frank Li Subject: [PATCH 0/5] regulator: pca9450: collect some improvement patches Date: Thu, 05 Dec 2024 11:51:08 -0500 Message-Id: <20241205-pca9450-v1-0-aab448b74e78@nxp.com> X-B4-Tracking: v=1; b=H4sIAPzZUWcC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxNDQyND3YLkREsTUwNdc6Nk4zRzU/NEgyQDJaDqgqLUtMwKsEnRsbW1AIT YQ11ZAAAA 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=965; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=UbR0Ks4nySsWjDkCG6oODOWxi7E9bZFZ8pC9aQ8yGcM=; b=ehC2RxKM+AhaRMhpdI0wc9oIeYdj5PLc6LI3p8Xy5vIdySLDTTmMJf0LUv0Is+eIIE3uMgoMU oEVsGLFRH/VD7yi81lorukbH6tNnzI4gtOwF77vgMFBn5kGbAZyBpQE 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_|AS8PR04MB7511:EE_ X-MS-Office365-Filtering-Correlation-Id: 9ca65b23-53bc-4d16-1374-08dd154d0dea X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|376014|7416014|52116014|38350700014|921020; X-Microsoft-Antispam-Message-Info: =?utf-8?q?o3hzTpLMuw39JCcjolc4PglcUYPTsI9?= =?utf-8?q?oFutbIDP8Z+BtbpkBQXBVZTVG2Ewa59ZbqYLoXBQ3pqV/NLQ8DsYJ04HM3g/ViDQn?= =?utf-8?q?BmHopZxOhrsqpVpwqCal1r4smD/KNVU/QE1W+2ao7Zql9qZRTz1bIEyGTppqf6piy?= =?utf-8?q?CBgoZc3HKTyyIlQPmyHLZSH8YUB0YaGj0lyegIlvdKm3yXZhRIMClnnLXGwiBUMev?= =?utf-8?q?z/c3qRhohu8/PEDMokF73vEuKDalB3g/ZBeKZtKsc6dLRSrxNYi+BZssgr9jB3YZ1?= =?utf-8?q?53uzH75PDtPmy8aAOE9EeRdq1qp9c6yWGuMiqYrGqjo811zv+AYV+x4J6YxNwTp3l?= =?utf-8?q?6OrVgIZmo4RNIuiZqwVrekgN6WWeH9qNeqPi2DwfYdxNFGqCXaSIbztYiEiBKG30Y?= =?utf-8?q?hNdSdldrNo8NBtdlJpf6LG8NmzTZ7w4HF4VN+Mw5OVih56ztlodCJ0L9dKbQ3KZIJ?= =?utf-8?q?2fwheRB+ZC2n43ij5KsW8xos3jNamzuqAGR82FWUVproQsiWasTKkUwDPkDuyNIY4?= =?utf-8?q?Sf0oSMIzlfgaCZO/nI92sTZTqKVsk26tbWl5VchnY84OumVlVdG7pcS0KfjX+T0+g?= =?utf-8?q?bRxpVmpufzB6dYwdgX2h4rggKaYne837y/e0cpDNXBMvmRlOoe3YW32N6tHbUqava?= =?utf-8?q?2pohOP+aWaDA+e4QKw7gY9FPErb8kso98NZb+iNOeG7MOnZD1Wzf9FG4W1X3zWfKE?= =?utf-8?q?D86L0r3qBtQiV/pECMtUjjxLoIrvZEB91QjVuhfmYkYrBvHWSWQ/465Cm8F4t6IDP?= =?utf-8?q?a/YQJE1EQBe5cBXBJSL5QmcA0PGyBknkQMOfFx05lKwAytlsd+YtUk9e9/0Dzd4Vq?= =?utf-8?q?o6ZbkBSgsf+Z4DcbDpfLJbS9ibqc0dyh15ifHG1Zdr3j5g4yqpFAZ5R5ej+8JMNM6?= =?utf-8?q?151nBpTDj31HOnQ2cN6g7Tl5oshsjY2N/jw2VYi2dOXTrWZeGwZfh4hkufqeO7PYN?= =?utf-8?q?GyGzFhU0WH7jYmDHl9xZbnVOPBH2e0YXC/umiziVTwLPu0HGjj0PA4vHVh81lx1jr?= =?utf-8?q?nIo3C0FSdRvzS52AAMB4EzYuyUm4q08YzSx3U14xVu907WsnM6S2sZgAY9Uh9mfOY?= =?utf-8?q?h8AU4g0DDo5BPpSCvvJs7CH/wn4GSF1qge/kHqg/9/GHGtZqF4sp3Ps7rJ7D6pHS3?= =?utf-8?q?BIg/JNRhhDOEnfomKca47PEdAspd/vS3VyIhT+CeYcS9DkquYcwdQae9GH0mIlAhp?= =?utf-8?q?IK/GjtKg+xhntMI8eX16/7gqu5c8CIYlpOW3AHBuV0B5Ndsonbx6ELzdvFv8bM3vG?= =?utf-8?q?by16KvhxkgpFpbDwEt4ag34PHCDalxaIxWnisEtHiodPFGwPkn1daBgsu66YSZIfh?= =?utf-8?q?COqeDEMjkZM/OsgLH5L1St0gn61iETcIN+35r4KPKdcl+1M3PvqAc54=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)(366016)(1800799024)(376014)(7416014)(52116014)(38350700014)(921020);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?7A4D4cCgsbW5D035mNB2drUgMmxX?= =?utf-8?q?oEEDuEZ2nOVFVrqI+oL2agzhNCO6kp1eK2LU2tqSXvMvhxj2bJgGIjzrDuWHLD37f?= =?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MTqpDj/?= =?utf-8?q?9G6m/7UXeFHebRSgoKRiPi3Nr6RThXSqFdTv9EgzMJKHueJXBi5ktknz5No/4T+BI?= =?utf-8?q?SmmYuPNWiw3/MA0s7zTbHbQXqHJxh4o/ITmj16JTunkUxXs6qGqvpuD87l/ix1+HR?= =?utf-8?q?YibsSn9+K+tsZ4C2agczUN3v3ifnncRdHIFxqht9Wfo0RbYTA3Ylv/PNhCqwzHPzq?= =?utf-8?q?J/QBxnyVLKHiHwuE0gYEI+j4YicPlJR8oLiRYwruJI37YC1FGX+9Qg8LQ/dZvldre?= =?utf-8?q?sKClTK5ZM+m0R+mqt7CWWzJNYaMbMwSnNxa55r+1nhN6EqNTyc/RByBSn1bHiU5wV?= =?utf-8?q?EUm1QmtFmMtlS4Jv1QkeK43dFbOp0gQTcS4DNnc3ZnJ/XWoff621QDY/2RIILOwe9?= =?utf-8?q?f8uvEqJ5V1KU6Mpeux/C1VZxJwKA+r1E5Duu86+eSMgghhkP0RnEbVjmg+9zidOTe?= =?utf-8?q?a0Splno/le76Pznup2DIhgh5wZchrb8Bfbfqvux5SL1CETXt95tfbyhqX+WViku81?= =?utf-8?q?vyZPTJ+8PpEzkIg+tEPBVUQj3suhi6Slcs1a1NzaKSRsH9m7aqOFrJg0Jo5P0B6bg?= =?utf-8?q?1kT4dUwlnbCE?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9ca65b23-53bc-4d16-1374-08dd154d0dea 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:25.0150 (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: wctKf5FbplnDECXIaMp1m3neK8G2RvBB53prg4GHzrStMCyMgfGgYApTGqXB5lFr9o7B+AJiu5gx/4yR+edkFA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7511 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241205_085128_890059_805C25EC X-CRM114-Status: UNSURE ( 7.13 ) 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 Add pca9452 support Use dev_err_probe() to simple code add pca9452 support in imx93-14x14 dts Signed-off-by: Frank Li --- Frank Li (1): regulator: pca9450: Use dev_err_probe() to simplify code Joy Zou (3): regulator: dt-bindings: pca9450: Add pca9452 support regulator: pca9450: Add PMIC pca9452 support arm64: dts: imx93: add pca9452 support Robin Gong (1): regulator: pca9450: add enable_value for all bucks .../bindings/regulator/nxp,pca9450-regulator.yaml | 1 + arch/arm64/boot/dts/freescale/imx93-14x14-evk.dts | 83 +++++++++++++++ drivers/regulator/pca9450-regulator.c | 111 ++++++++++++--------- include/linux/regulator/pca9450.h | 1 + 4 files changed, 150 insertions(+), 46 deletions(-) --- base-commit: af2ea8ab7a546b430726183458da0a173d331272 change-id: 20241121-pca9450-72c3f757a0b0 Best regards, --- Frank Li