From patchwork Fri Dec 13 20:46:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13907852 Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on2057.outbound.protection.outlook.com [40.107.103.57]) (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 6D95718B492 for ; Fri, 13 Dec 2024 20:46:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.103.57 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734122787; cv=fail; b=G8QLXC69ENWf6xGJFAs1Qbi8x/71+QwvpPmxPgWUGOUXNJg5/sNL1huD3LqFbiIYQwtvGizQvJaD0yPBjYtq4eEKyjmQmg7CMuKxGQXVvygunNn6DgfQapqzko8G0uIJ8Qj0Ybouh9KqNlbcc1YYbNUSEbZ8OdWYgGR2kB2P7y4= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734122787; c=relaxed/simple; bh=MZKJo8FjS2t3VfdKde5Rv/sprxb/2ZIrZrzzARfp1xQ=; h=From:Subject:Date:Message-Id:Content-Type:To:Cc:MIME-Version; b=oVQjvScO6wahwUw+qWeNGycV3c5e50hYnb/8pg2q7jZAebf+G80ewvIyMm7nOkO4TmEQK0H+X1f8QD446L32mupL4ZTERU7L5rVpeH+saHNBtLJbdj0WZnt0MP+YOWjhIIO8BfBigQ8o5gTX/ws3D2dL7dkDUok8LfxsO7NbZnE= 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=KmIEsdeo; arc=fail smtp.client-ip=40.107.103.57 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="KmIEsdeo" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=IMttqP8Gae8kwgvwwib7HeFKQI+YFAa9FCd7NynzOc1v6aQjWM4UTdiJ4icYP9xWDyi59FQU23PLGM93isurBuSpNjpywv0VVa4ZJ1JhVnDKLT6tjhKbX5dMPbyUKUciv8uJo9s+D3tJ24xwfo5x3NeOIH6jWPP/6z8XrATKktuAfrL5vG4ZGK5EPpNrP5WytpJ4vYLNrPiBITRBLGtgBWvT8XXnikeAJJX5ssDKc56+l670tU8HLn/9yWqrIRuNN7k9g6ZVwRpmIEmA5ZSIqPzOxCrQKnbT+mzQW/6Q0iBrfPVfhj4dK4kqNjDoj8vIVbiOwZxA8SBp4+/O1Vcu+A== 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=Elql48jI3pUJdQn7+6qk1eAEu240zHA1NWivOSiBHDU=; b=CPbF6os1Su54ZpRmu/5xGXINYNZyG0UlGhpzk8W5GEiJavrFUjfzJpwygkUZFfx+QxKQxp2d1JFQjeGJx/0FS2cXcmRmZmfE0iEJAJou3dyRQ0Y2BABhKg9VllSSuwAAL3iicRR0AYd1bFaY3+R+YTqZ0Yz0mLIX6hJtDhCv1Jgd/OITUpuKuOfwBbFD66bG9M56aFdchTYqEzErqcsZjjFxa6tbzIfAZxK1+a0ldVDGTBW9oeujf1y1AdsoTk6OSXszvlvWvWExhgx5JS9xVfw9fQ+iDAMyWzydDL8RU3aKr3vuH7ZKFzPCZGtg8ocs7J6IWnnNh/dYhSaNM+0KHg== 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=Elql48jI3pUJdQn7+6qk1eAEu240zHA1NWivOSiBHDU=; b=KmIEsdeoZY9NsGMFRi7RY8EVtl2Ur1B/OnyMPiNbTqlCNx1pLI5iFG1MTAM+vBJWILWQNl6rS9Z2LqlzD5S9IS0PfA9RwJE1v8PGSvGdGbky3C7rHrjiokWMkQJ2jAlt3qRqAzBNodA+BFGrs5QG4vbMM/oydYyiwtI9tG1AjRpnjNGvsTw1w503MVzum2iPbU1drggjeM329UW5PH0elQCt5kcRfwpbQ6s8jDfbjORMi3lm3g2dYYWE3KT5Qg/lIg8mvw03z661TT6+jgUD2qlYgZov0Bbq8hn3iFyAs67r0JXj/qNSDElksWmK5Vy+2NTCktNNNvzw2UMr8N4jOA== 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 PA2PR04MB10215.eurprd04.prod.outlook.com (2603:10a6:102:409::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8251.18; Fri, 13 Dec 2024 20:46:21 +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; Fri, 13 Dec 2024 20:46:21 +0000 From: Frank Li Subject: [PATCH v3 0/2] regulator: add new PMIC PF9453 support Date: Fri, 13 Dec 2024 15:46:07 -0500 Message-Id: <20241213-pf9453-v3-0-5587c1693155@nxp.com> X-B4-Tracking: v=1; b=H4sIAA+dXGcC/02MQQ6CMBBFr0JmbU1naCt15T2MC6SDdCGQ1jQYw t0tJKjL9/PfmyFy8BzhXMwQOPnohz5DeSig6er+wcK7zECSFJLUYmyt0qWwkit3d7U2VEM+j4F bP22h6y1z5+NrCO+tm3Bd94TZEwmFFMjKVBpR0Qkv/TQem+EJayDRn4T0lShLrbaOGmlNqc1PW pblAy5EOB/PAAAA 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=1734122778; l=1316; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=MZKJo8FjS2t3VfdKde5Rv/sprxb/2ZIrZrzzARfp1xQ=; b=SgcvV+ZKXsN1MvgVphKH01gFhoAoUi+mawNDFsYMR0k0XeqXypz1P0IpM4Lpo5MkquQBeRPOF OnHov5CuEEKDMoxqDcIIQmqrkHag9IXKgRI1nBId6PtxQnXaDqGYccJ X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR03CA0097.namprd03.prod.outlook.com (2603:10b6:a03:333::12) 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_|PA2PR04MB10215:EE_ X-MS-Office365-Filtering-Correlation-Id: fe208e75-f8e3-401a-842d-08dd1bb73389 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|376014|366016|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?hD07JInBoUAsvxdc/m8jcw211zpU2Dm?= =?utf-8?q?g5yZEynfxIELlTuK53Eq92Q4sfjOB2KrPFp8v7XHFhpLyUSPNiI6jyKJXqE9Q5vQ2?= =?utf-8?q?TWM1khbHNIH9QUIIhtPUAAgfBokrZb8CD+K8hbpprjpUPHMOmm6y24wiwskcBieQO?= =?utf-8?q?MkHqaL7GO8LhJ8+DzZHz3iiRaXnuj2p65bZJ5yTNFaWiKlI4kRKLSfKVni25Nn+Om?= =?utf-8?q?QfPK14H0cdAouIxirLksB1yLuJ83H3d5dKSXz5ue4w75H0I4LPw1klUi0LiK+FPCn?= =?utf-8?q?0C88UcpWu9WlSN9Z7rjd2Kx1jgvOBytqKpr+JknG+PRylxnUG6lAc3OGLeczR3bn3?= =?utf-8?q?Mg7F15a8gWSBNh7HOVOUKcb870VYOMdmPycw+mvt/gkIty6jSno2x1s55aepbit+K?= =?utf-8?q?vKFnE6bOOY0b0P5mLFmUxhttPdCKG7cvOqsVXQMWa68YLAB9BvybbbtNla16OfblC?= =?utf-8?q?V5OtRbEZ6LnsneqR3MAgD2duDY1yS1jCxSWLgGvf742f9vC+ICy1kuBLzCnIsY4Dl?= =?utf-8?q?aSooeDaTR59B9XXsY51+05/k3jRGG91Bh2wK/QORHUdS+HGBxKvbgIh+8q6NS37fz?= =?utf-8?q?sp/lHWXrYufP0HgZnE+tle7pONYvORfn4RVZ1YB+0EuKhaTR1h7XzQ7cGWsE7TpKJ?= =?utf-8?q?TQCwoDcZbd5t0+zVhb/02FE22Dln6oK2Qo3/eCeMOwq4SmnfS7+Uhs8WFhlVwa/7V?= =?utf-8?q?JVR3wcPAk4Q+j4hE/+9kQiOZQgTU+zCy7mqsMf4xWO5OxbMk+o+IQxvHXJuPiK6eM?= =?utf-8?q?OO9g3xN8sLkhXcztzJZhlazx4T5H/Hjq3L6ysOoiVu5NFxFSWiYO6Y1DGPlYSW2Z5?= =?utf-8?q?xps7Iw6hk6U5XOzq6gDmqeerRCvXXxHgehPmCn/JFe9ImvPb9pxtNj9z5V/H8La3I?= =?utf-8?q?fDn8v1qXoAEQHEHL5wR7smsZyZ6hXVIjuRG9PAExDMB8C8pmanFDalbl/fy/DXN+t?= =?utf-8?q?YIfxs/+BWVn4H4EpE0NschOMEGCYmoFngTBZ8qfghFq/eYLGhSR8tLqG2I0jy4Soa?= =?utf-8?q?lPbW2Mm6SnrOwOEEdGCnXc/00k5QTA2AcnkjKrr1y3GzQrUParIXKeOVhyJ0vrqE8?= =?utf-8?q?o5O4vOuYV8D9iS1YE0m2PuuMyCa+QAhD4hi2WND5wL4RM/nfuloqjAoLzKS59K3G1?= =?utf-8?q?0/v9aUDnKjdUx2ekbBQywegEp44q5PUb4d7eo6knyUFDyQDQSULMqWklV3C6EMaiy?= =?utf-8?q?0S9e7fpT6n8H/l4GmKZ6d+ieUhNRK2XBo5oDFYAZrUOllw6V/n4kDSVuwA77GYddU?= =?utf-8?q?D9vGprIjjGlbFHQAgMQNNuA+k4CCjirKfV9QAIDjd5xK2ZEpU6mMJp9pU2tQHf00E?= =?utf-8?q?+1Ib/oclZ10XP8z4hQE0IR9MtXx7n1VK+D6U3Nn9fFUeaxIw8g6c7O4=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)(52116014)(376014)(366016)(1800799024)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?I/hbax21aDGeq1YZX+jEVoEK0nTy?= =?utf-8?q?e/wyo7hGR5dGz4Llv0PndyUjAQbFGQs4+ImqcqgpZGjpDOx/cWlosb0kdiLARFOmr?= =?utf-8?q?i25aSlBfwwFneWwYK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B0Oq9hpoxqOxtIPieYvMCGUZdtmUGMunLmLRUKfFn21kTYY81Py7mZ?= =?utf-8?q?lfVM/wZVLGXE6u5oHD/yN4D66UFPO/K02Ktlq6OlEoTaB4TZ2TkObonFuoiD/G0Zs?= =?utf-8?q?ARyQ+PcuY0WhrQ3rt9ZQ5TxPqjBvvOWQS68OEmHW1f2GdsgJDp/aqL5ztiRU3NqHI?= =?utf-8?q?orVeYxMBEiGoiNuaL44KEmANfq/03pLR8pxaAAtdaYiFKkdlS4Uuv3LubzYvCvUMK?= =?utf-8?q?uC1cNECQVm5CzzrIEy5iPtbxILK9MlXe815S/1+g4jxvd2S+toxKYRWidJJVKKCnE?= =?utf-8?q?hc8gNz+VbKPqLlK489PJQq86Lri0otp1//wV8BSJ8lhU5s4WmzjwtU3IERnnGk05l?= =?utf-8?q?lcCVgLsfKieXEs+5yq7b2+06VCgMB3ypM2Ae7QXi6H6LLNFyjAtpOEEBvl+gku8pv?= =?utf-8?q?2TL4i5xWTGd/hK76YDG/zcrzUVorqOEkaXEHMRdfWleWeyBU2hMv9ESzWCS1xupW2?= =?utf-8?q?3KatHhQTbBl3tsg4IQ8a1rpEmJjz0QFXVguU4SUxIPopWf83uWDxcjRkL7VqQeFEC?= =?utf-8?q?lZ65FmxTQWym?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: fe208e75-f8e3-401a-842d-08dd1bb73389 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Dec 2024 20:46:21.5316 (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: XyTYqtChpbVhs9HS3p8Q+wDJKjzwvnRkN1h76hrZzG50r0A0bWa71FzeUTomp5VKSh9gbwwWqrJeTYCC657ZSQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA2PR04MB10215 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 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