From patchwork Thu Dec 12 22:26:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13906078 Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2056.outbound.protection.outlook.com [40.107.241.56]) (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 E86B81DE2CB for ; Thu, 12 Dec 2024 22:26:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.241.56 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734042404; cv=fail; b=Qy5aboaLhdzJwW0JN7fjryIPk/GwW/UG7Mi6uw7zCj/XgEkoRu7sNrVheeGJWiZPjFHLqtumgmKYzfD+F+RzWRmg73ffYVh4qUXwn2TszFdiRUF21VeCNEM2EhnC8fFKzy1y9QYorR0Z4jWDtqTKHgubiQq5V90K/dcdCFnd9ro= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734042404; c=relaxed/simple; bh=zOnpVfjm7/x6VsX4z9T0KILBUQufTXIZ3lcmgyXmUbk=; h=From:Subject:Date:Message-Id:Content-Type:To:Cc:MIME-Version; b=KrUuSMh8j86ib7N2M6Un3GtDQF9K9aYKQZstBQPzkRufmV1PWMSj9pAF3vR4JwrKuKEqY145aJu+P9NGPOmdwtZj31uqILQxXkFH0gZ+1lkCxLErelDuBLR5MqIAczLEODsOoJYGeWYgIcB1mDZn8QOQyUcAEXlGRsIBrH7oaps= 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=nKtt80Dv; arc=fail smtp.client-ip=40.107.241.56 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="nKtt80Dv" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Gi9uk13aLjYb3gCC6sG6ufeWyyvQ5NZ4rTV6zS6//PxwWPfJpgG6C9iyEqL97wa1GRWnKQu0OxLZ0GPwH1hj3KbNDycFCG93JeEWdqjW16AP/ns8ZMg6GkXXhESCg/Wu5VrhlMeasDnYuqIW7uRU3TyosBZ1Q7gsYa9JxZlolFRI1PU6XbV16QCGB+Fhu4B4VQiHb8+aIIaN5Vd1BDanDQHeZNsJwwTmRlTdi89o6sWnuH+xX4dHwv4ANSr5aS0nMNNNHDPT4QTPKkdLFvtuZUQ3pCXLSDfqFDm6TurlSAl7r+iqk4A5fNeItQ96cjWeZ9uY4h7Re2/4kOY+lqiAdA== 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=QT2WwkuqRe+GP3HGPlQKR1a87iW6WhIUDYhcQPMO1Zk=; b=O/pIcejdeQo4La4B1X7KAXr+HOX2zyFJukf7gLOly1QE7h14JsYqF4KRy9ucjPuwNxOj4vXApFqlbTn2wRYPNDVZINr3XMgz6fTVmt8AS9xMOuWSkNHoVXIl+TZnaWFecRhicdCKuzrY1wV3YjiC6dne9OfHQx1R2lzmiEjBcyMbqDoKlBd2dyKV/hsMfw4Zpj/Q9aPwwSCd3yLWCj6CEtMEKnrZXoOYs1MMdl4LoeQDkffZdcbZsokiplGfNFiMMizG/5INUMEIDqvUBZSMgbVDGPzkGkwoc0hCXQuoZpjIG+GYO0ANMDiNViX4bk6KlSARippmnGN0/0QAg3vRjw== 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=QT2WwkuqRe+GP3HGPlQKR1a87iW6WhIUDYhcQPMO1Zk=; b=nKtt80Dvzab6u45ADtQ6FVCDT1Z5qJ3U1cmPuVbt9edg+oSz0t0yRmDWUeAmyf1aA7j7i5jL5Yx19lZ77xOO7ND3kJjWIyYDcoPfnc3xxDUu85zrydJcBhoxv1dGeW7FVemwgKUMjoUUMS748lgbF01KSVuVpumSDwb9YerqxBZeX4Y/fKMs5fVe9JOxpxm/U7fAv79aMRwhfbHCXg+w/F4Rp4PxIRY0bRT6wX1Hhi1707jZJN3kjCsrLEx//wXUfvPzRCopS0vsR/mqBQWWxCNzdM5DrFaa3DDOmWaRphrXToW1976nbvDD8shg5+SUXdfatH71/tplzYYOfzRe5w== 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 AM7PR04MB7061.eurprd04.prod.outlook.com (2603:10a6:20b:114::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8251.15; Thu, 12 Dec 2024 22:26:39 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%5]) with mapi id 15.20.8230.010; Thu, 12 Dec 2024 22:26:39 +0000 From: Frank Li Subject: [PATCH v2 0/2] regulator: add new PMIC PF9453 support Date: Thu, 12 Dec 2024 17:26:23 -0500 Message-Id: <20241212-pf9453-v2-0-f59d2c096356@nxp.com> X-B4-Tracking: v=1; b=H4sIAA9jW2cC/zXMQQ7CIBCF4as0sxbDIGDrynuYLrBMLQuBgCE1D XcXm3T5v7x8G2RKjjLcug0SFZdd8C3EqYNpMf5FzNnWILiQKLhicR6kurCBU2+f1igtDLRzTDS 7dYceY+vF5U9I390t+F8PQh9EQcYZktS9QpTiine/xvMU3jDWWn+1nHcVmgAAAA== To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joy Zou Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, imx@lists.linux.dev, Frank Li X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1734042396; l=1081; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=zOnpVfjm7/x6VsX4z9T0KILBUQufTXIZ3lcmgyXmUbk=; b=C3wytEmnECK2ji7ONcs2D7qpzATC4+NuoD3ptI+Hdn0eOL9Yq6eirtIJIottWhnQrU04jO2FR nfsUD3vNio+CgrQn/iyTBcuqlUfXdinq9WjdBMyotufwhybAvt28/LE X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR05CA0070.namprd05.prod.outlook.com (2603:10b6:a03:332::15) 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_|AM7PR04MB7061:EE_ X-MS-Office365-Filtering-Correlation-Id: 7fa46f57-84de-485e-6356-08dd1afc0c17 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|10070799003|1800799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6?= =?utf-8?q?golLOnDkYYZKsMblg+7iEtqUO6xzPySrMA+TjhbvjEqWXZ+NqOaMiLn3CzNEkRbum?= =?utf-8?q?qEMmrchCE7j+fhYydDC1fRxVLeTumrm7f83Ela3g7uFamw/aekZo1eepgB6tOI9FC?= =?utf-8?q?ch7evBFdB/0C679/YBRTMQPE6+NbxpAZlm6pLoem6G4YuNkbA2JDe1iF3CEer1QBz?= =?utf-8?q?Mj4427y3w4ssJVWWAhGHIeXcEeFJpmMOAbeNtNg0m2u6MUzvccnA3MsKZ9zANaTnh?= =?utf-8?q?l7nYbbx1HWzfh4JjubDh+sZrWDLm7aSZ35XoHIR7flWgBwxcXSWMjRr0mfMf4VS5P?= =?utf-8?q?1ltHjWROxwcAnIOTo/BNvjSZFvFa2AMNrF0HI4cIXBhOn7amvyUwQcMuQcX5onlYV?= =?utf-8?q?L4jI4h8lCC3PK2b/p4rGu9trWfWjM4V0VDntx7Ps2afwvw4yW/IXwPBT3QwBCh02M?= =?utf-8?q?Tg3++r2aqUt6WrIQrm6A1daGove5cgSgapAWpsXoRhzlWovByKL+wQ5E=3D?= 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)(10070799003)(1800799024)(52116014)(376014)(366016);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?BiO3RVji97bq14ceLRjEo1c0kkrQ?= =?utf-8?q?tzeBjiFq/Y1/JkwDUzJbTHp9lIFYC+N9AunjUb76DbRvxzgEuyT0ekmpgj7F5anxk?= =?utf-8?q?Qjxlomd/70VfnMVive41YY3fPON0l1CDwz1OcjzR0EyitLxtSrzpdjk79KvGAAOqF?= =?utf-8?q?IbaU9KZtopW0uMxKHx9+m8XJxIKUZcXhIRY0iIts3EfN1o7tOE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HWjhhhCiywoAecR0ih?= =?utf-8?q?Hal/lnvzZ9Gwfu0rdRPe7pc3FwEKjc1UehR98xZ4XfD87dDepIoyZnM04LXwVrr0n?= =?utf-8?q?Cx43Cyco+kqR7YD4bZuBaqCg2F3ycICdpMAIaHcU0X8WmfSbVr3pxll46/0bGLpI0?= =?utf-8?q?10BTLPKjeyyK5A9rcWp7LGAg+Kc10b9/3/aAgTCAfeI8lxeKks9yD4uqR01GByji+?= =?utf-8?q?dhfncgJAxSaC6VsWb5+K+mjFIgWI8b+1zet3mvqCH8RKSnDD6tbojmJt8ywyCfPQw?= =?utf-8?q?VKlRAxG9mEYC1MZeyiXTeDZ41WMru0qXhWQazSEzLyoFLiGN7ZTK6yflZ7VMEBj8m?= =?utf-8?q?CXA0PDgILFkP9pL75YwG6LzYV4ETigUXdVK8eQ41b5ThhVpUO/SVlfKr27RcMpuUW?= =?utf-8?q?ZOoQwZSaF5EHXfruzcT7CRj0li6HM74OP2c5Q+mWTk540qLqozArWJjo+2tJWyGem?= =?utf-8?q?mPMuKM6a2BPNaz5DvDvFi1KnbWS7Qvay58fiq/nQB70oU86B5kZQbOE8eX6OpBbga?= =?utf-8?q?izlWg1YeaRd?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7fa46f57-84de-485e-6356-08dd1afc0c17 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Dec 2024 22:26:39.5550 (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: slFSo+/aT7mkAZBDgZJcLnKysG2F2WEK4XHwV4r1GpfHqfGlzSI1tsTZDIIRNFM+vlS5ilDuChyRBqZO3HKVSQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB7061 Add binding doc and driver. DTS part wait for https://lore.kernel.org/imx/Z04W5chGq5TitB9f@lizhi-Precision-Tower-5810/ Signed-off-by: Frank Li --- Changes in v2: - Reuse nxp,pca9450-regulator.yaml. Add nxp,pf9453 in nxp,pca9450-regulator.yaml instead of create new one. - Link to v1: https://lore.kernel.org/r/20241206-pf9453-v1-0-1e4685114271@nxp.com --- Frank Li (1): regulator: dt-bindings: pca9450: Add nxp,pf9453 compatible string Joy Zou (1): regulator: pf9453: add PMIC PF9453 support .../bindings/regulator/nxp,pca9450-regulator.yaml | 24 +- drivers/regulator/Kconfig | 7 + drivers/regulator/Makefile | 1 + drivers/regulator/pf9453-regulator.c | 723 +++++++++++++++++++++ drivers/regulator/pf9453.h | 171 +++++ 5 files changed, 925 insertions(+), 1 deletion(-) --- base-commit: 0768222687cbdbe7c300c4428f0c0c6b153386e3 change-id: 20241205-pf9453-90e8dbda562a Best regards, --- Frank Li