From patchwork Mon Dec 16 20:03:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13910278 Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on2056.outbound.protection.outlook.com [40.107.103.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 5C75251C5A for ; Mon, 16 Dec 2024 20:03:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.103.56 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734379400; cv=fail; b=bseP5mwG5Y+Kvt8J9m3oeYC0rfGn26qpgd4UdP28WTvsZeTYoroX2nvbQ+GJeK0r7kifvXiXJNr3+/l1Hbt04loY9syyBAgJ7IlRVNQdL9r9C6NPG3fyJZJe6ZF0E+LGaS8cnrWI2GsFcsKUL2vhLbIjbV0+aukD0nAMtazilL4= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734379400; c=relaxed/simple; bh=M47Ti3GEs9j4rCdS7/tN6uBaPqyOYk1f/2DW/gTSyC4=; h=From:Subject:Date:Message-Id:Content-Type:To:Cc:MIME-Version; b=c+mXGMp1DweG4ClAHMoEPaPzZAfEzeMWMvDcXFW6voKjnQvmFdJYa9iWQpe2+JhSFJtmye9toHn6uhXEkmtIj2uAYrBm3NBZkcL6g7H81eU3dZkdC4teuaw74/n0/zNcSYMIzgsVq8I79mW/X4Lb3Win+XWe2TgGXWg0JG/35og= 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=IKqikK4Y; arc=fail smtp.client-ip=40.107.103.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="IKqikK4Y" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=nV9OvO0j+PIO7ltYuotxcnVnMJTEfKD6Oxk+8HQpEObcR0xEpD27jiWLI6TjJbtv278mc0XxeyegHFf7LAdLgnWzemGzecEFygrYx9AGgCeftAm4zw+AraDYyG8E+rbP6gGVD0xvEZPLq0qSoQdKjhM5KDOwk3MOOYb3eqCwt0xRSK7+ZI1f3d/1o2h2GbfFIbO2d5igxpv6TZf2ZsckKuJaa1l+KFKqJWFhMyWCOgVssIXgxnDjj3r3xmHXDTtG6bJj6pi5ninsbt74PEexQJlX+3EwJAGdjfkm06gaW5l3JM6gHbBR91ENr6xwDH0Y2VCkGEgeikSWYdyMx37xXw== 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=UFS+fA5n8gs7/sPtMxPvMZqneXHKq+CKPOjpYXNmKcU=; b=oFHZcQiJJiqvDrnqpvBwUajO+Hvpmpy3R8m7ohra2D8nYk/NDSOuZs0LsPK2l4IQAnl6rK9FoFr1zhoui1IVN5iqxJBow0+2T+pIQPfIqRmD+xVlycjP1h5GOAIlvGoZyEBIqW/kuRRjyMVCQLLeXkv6v2KQqTk3oldBPDwJPZsR3M3Ip3L4En5L8svrEcacS7d0HrqMbPCK3a3suSAkGvJouLx/1zYPAiEJUxQsqbnYAeBKwj2YcAvoQ8zTWDo3L6FnIqZX6MMbwY3dc5e9Ny9MHM9fAEvlXyGCg626h4OnskZNUXN83vQ+JMh1fjWiO/MHu8H3oZyDNNiTgNH18g== 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=UFS+fA5n8gs7/sPtMxPvMZqneXHKq+CKPOjpYXNmKcU=; b=IKqikK4YHzNGq9/CZJfxBTVSQrgjdzzFf5AduNipP8mvpTn3DgUAs1oUsOTPsUclUwaRObF86ffohQk2hJqSq9lTaXOVygjcJg4hqBHX69zvlzOigD/sCdBHEhxt6p5CQ6/fdVz0mL6G/F6Q8bMbuxv/wy5AsMMF/wGTIpaBETtDZ24R8eAEGAuy7yM118wYyrosAxvMLUoey3cDVnQKvo+RicNB4GPouFM84BgoRlzEoaB0qnDHfrorgi+lpu4VV69H80eg5vUljKRAKfX4wONn2/myHTU7UsFEvc+8FnC/5Niq0TgLAxdyIPtzVe8eE//WNfvDHMMhALivxUrS6w== 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 PA4PR04MB7501.eurprd04.prod.outlook.com (2603:10a6:102:ee::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8251.21; Mon, 16 Dec 2024 20:03:15 +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.8251.008; Mon, 16 Dec 2024 20:03:15 +0000 From: Frank Li Subject: [PATCH v4 0/2] regulator: add new PMIC PF9453 support Date: Mon, 16 Dec 2024 15:03:04 -0500 Message-Id: <20241216-pf9453-v4-0-a9fc8f0a0098@nxp.com> X-B4-Tracking: v=1; b=H4sIAHiHYGcC/1XMQQ6CMBCF4auQrq3pTDuFuvIexgXSIl0IpJgGQ 7i7hQTE5ZvM909scMG7gV2yiQUX/eC7Ng11yljVlO3TcW/TZihQAQrifW0USW6EK+zDlqSxZOm 5D6724xq63dNu/PDuwmftRliuW0JviQhccHBKFwSgMIdrO/bnqnuxJRDxgAB3hAnVZCxWwmhJ+ h/JI5I7kgkRFXkF2kgg+qF5nr9Htp/SBAEAAA== 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 , Krzysztof Kozlowski X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1734379392; l=1470; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=M47Ti3GEs9j4rCdS7/tN6uBaPqyOYk1f/2DW/gTSyC4=; b=DcNEVJnjHUuhz3j6rWg3lkOlOKy7QvJKeFzkaWc7nZ3lyhU2tlULwiOvlPPiz78ijlc2cO/cK j2f+mP4IGIEB5xY7l+ri8kOrwJjZzUeaqK3GCA9Y0+Ze/ajrfpJnefZ X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY3PR05CA0019.namprd05.prod.outlook.com (2603:10b6:a03:254::24) 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_|PA4PR04MB7501:EE_ X-MS-Office365-Filtering-Correlation-Id: 6e16ebf9-b101-4e11-75de-08dd1e0cad38 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|1800799024|52116014|366016|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?4KW1OaFKkE8Rl4G9OA+FkPtSdmnq7iu?= =?utf-8?q?dPNxSfdvEslmpKHIKUaZK6CJYLjRAONgRJaPfO1W+tYQMrBrG7hmFpkk29X/mk2WJ?= =?utf-8?q?Plv+bGiEtyrhcFxLbLsmJmzOi0LLVwXrXGCFWJ3n+P/LE54Sp0pjpW7lQMxGOKEhI?= =?utf-8?q?P2HCiakr4tW43almURVT/nj1DILJlzAlkOYujTHZ3C22jc+1Frv9e4qp68YrFNnvZ?= =?utf-8?q?oa8jxKNDFila3rTJ4l1A3cGYvT/zHw5ivYfOwB9Ae9T048lrbAyG7bBTkdHGPtWtG?= =?utf-8?q?WJ96jIKsnX2ER+ehJRwxq1/xmG5PL8kK206rzQAdoLhQOLYkUMQfwciCUNBkDo9jt?= =?utf-8?q?BuEZw189O008hiL8re6EDKop/lHkCzlRxhuQvNbTXmMEA80se87av3FyH/JjhBdj5?= =?utf-8?q?Iktl1yDQWj5Kg1mcTCEbikfNFMdR+GmbbGXkVZzfeV4PTQOA7kWPtefuLYeKKdRST?= =?utf-8?q?uJ26Ukm/m+HqPU7fTQDVOsiyFlxbtoTvajxIRnUSM/ZeoD2L3MuhBP4Bg6fbQotI+?= =?utf-8?q?3UkeVgB+3L1QgUaFG/P5bB5vJE2O0TVp6xX/O+K6LuqFGOvBMzGGD4BD1/c9Swy5I?= =?utf-8?q?njjVpfAT6ksLxXRNqPyBkdxenj15BT9ypH9dn1NsE7Eg0e/PTKu9ANj5sZSGntTE0?= =?utf-8?q?tpk3XVDeysqZenwPUXpHy1oZ5Ric+3LjxfGKaVwLmkezaljuCs2gxLfMY+JsDeFxs?= =?utf-8?q?skCtx0Nu9lZ88cGEnkSBF637QmbfvXzTmTmnuCEUPmuNYkmHv4fL+AEVT49qDcYB2?= =?utf-8?q?ctG5/kFWv9E34QatFw2DlfNsa+OaKIM0kkF7gfatU/gXOxluD9lYIHAyLjIoMOXGC?= =?utf-8?q?mkYmwFiBth3ajV4F7OQKSN92JTgQB/SQNVdqoyulMgEDPNzUxcscrUE/50ac4Y2ZX?= =?utf-8?q?Cr/mjFyernD7EYxPZZ4xqRxcPpyg4AzTgTPKuBICT96eK/jPHqa2XqS36DZnhkMK5?= =?utf-8?q?gdYG2S44ar2EZhFTTuAQuwZsXcdaro85weY0wYeEMVwm4NS3hsTJrAhLHrGOtr9ie?= =?utf-8?q?QtTj+xiOusmocOqx6CPFJUpfswxqQ46iA4FacWy8t/smFlqIJGKnpyYzmCOdMC3mV?= =?utf-8?q?dcUGntKzeDT75psdcqlCVnGvUhL/zYzDdAasNZzU9J3i+mxce/8bWHFIWmiOKaMp9?= =?utf-8?q?aQAUyJYWggthzFxUzGQx+ZD7bgpfA+Kxg4ij+WSPfgO2OPAzxS3WR7cAWwoPB3/6Q?= =?utf-8?q?/ZQn/VAXZz91fRwH259TSoUXfl+8P1/JrsV0vgT+ePnCMgywnW4NSVV2GED7u0NOi?= =?utf-8?q?/z+l0ABW9zpfi9cXRoQ+ZNEDN6o7jlWSKYaiOxQ3CEl7DXDGDbZsnVXWZN9uKSmuV?= =?utf-8?q?xTkKvMzGq3kGwB4GZTqMq9m8YDBXrxurSSfjc7L8LfkBXdVoGCc/yKjNINvFsWqwj?= =?utf-8?q?8Xc2qI4t0fT17D8wl5xvXZk591YfnOl3g=3D=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)(376014)(1800799024)(52116014)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?XJN8GwktS/qChpKYs/iBGJQEvvI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?utf-8?q?H3agiSfFbC2cw8kAUjth8piom9VHtDY4EVXuMCFFteHJW+X6RtjFalyE4FO/k/sxF?= =?utf-8?q?gAI/NsCdcXdSImPLupuKvf4wRu7/wiDcD7IPyJNBVyUQpJe5Qiqk+DAYGILtV1mms?= =?utf-8?q?EZ/k+7dqZuLcg7Fls+LS5uo/SaWhsuT1xxCnV4giRYT/XtindtKyBFK8IKjRwmuVD?= =?utf-8?q?3cs+AujluvHw/nYxr/VlHpHIDJIObyZTPkWspZGhLICqqQRVFfu0VT5XFqhodUkKU?= =?utf-8?q?Mlqg9CaY3+WLsNPLyu3yIEbdaaUQALTSILD+aLFNIEf5ETPgpcdy3bOwHW7yk3v+2?= =?utf-8?q?7/wE+IIdDEcSb8X6ESyo7FSccfBogIhbhi3yzqSzJLMSqIfKm+q5f1jd+qgz6Dx4a?= =?utf-8?q?WGGyhqqs2k9XrznpUpNsqOmnmJCq1wOT+jNdIbXMsqXiIwI+Rmfun73jHurwKDbkm?= =?utf-8?q?EoNyGzus2AFoiVpb3JHv/99sUmTqwPtGLw7nar7miW8p3x36ZDANDinGZJXh8zfiV?= =?utf-8?q?JRvMaTmFRGu5AyxoGu5etmqs3NZLu8HXrUC982/zNX8Nyt4DOns7lEMfOMQeUXwxn?= =?utf-8?q?TU7/2/YhlUvuGQUmyfmYIHTXpIO99PkXBykJbGFVSLJG9eEIvEWNF9bP019/GEcJV?= =?utf-8?q?lq0ADFHYS6sX?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6e16ebf9-b101-4e11-75de-08dd1e0cad38 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Dec 2024 20:03:15.2277 (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: szvK5l3YUMk4qiqvANdjV4Qufr/Hh1/Icz43MLcaY6KUhNPoAoKVLF8C5vfleU3bxkGeUuQLAvaQ5v65WLhqlA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR04MB7501 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 v4: - Add Krzy's review tag - fix GENMASK(7,4) problem - Link to v3: https://lore.kernel.org/r/20241213-pf9453-v3-0-5587c1693155@nxp.com Changes in v3: binding part - Change to LDO-SNVS from LDO_SNVS driver part - remove pf9453.h - remove double space - use low case hex value - remove , after terminate - use GEMASK - change to LDO-SNVS - Link to v2: https://lore.kernel.org/r/20241212-pf9453-v2-0-f59d2c096356@nxp.com 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 | 879 +++++++++++++++++++++ 4 files changed, 910 insertions(+), 1 deletion(-) --- base-commit: 0768222687cbdbe7c300c4428f0c0c6b153386e3 change-id: 20241205-pf9453-90e8dbda562a Best regards, --- Frank Li