From patchwork Fri Dec 6 20:32:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13897728 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2051.outbound.protection.outlook.com [40.107.20.51]) (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 6D3B61C5496 for ; Fri, 6 Dec 2024 20:33:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.51 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733517186; cv=fail; b=KH6nD7LFMZFD4+lRUs9RtgGmGxoPKhEm283Ev5vDmqeU/8RrxofKHNer8QoOq2GNUfr21XFMHiP0ALEVfYQj9f7BGnCgvsQl6mV22+zd7xgO1SbveLRDAa69Ebc6rQrqDQyT8HhFZ50FEFrjcFM5m/nGFEY790/U44r7jFD1/w4= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733517186; c=relaxed/simple; bh=mNWI3uNd3E/gzjXbU3ODa1UHHptRjyW9uj3Np+PKIB4=; h=From:Subject:Date:Message-Id:Content-Type:To:Cc:MIME-Version; b=P5n3DvyvLDbowRqz01aYvM6tsDsBzWTHxHVA/v1R6hMzPYCs3jTN0q1Nsz9MuZCoEZeVvbEcv35aUW7nvWUhMpMyz9WX9yM12HyIlYm8HR/kMFralcfqX/sTmeoYiZmt02OzL5pnEvx3gBJgPgcB/A52i8uNZql+TL7wSpHus9o= 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=NllWARIi; arc=fail smtp.client-ip=40.107.20.51 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="NllWARIi" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=feR381Jj101tspT/g5yIQVbfCHaLhS1v7HyGMstp1P4M1khGkqO5x7vfkbCSASL30ZCdl6B3DBwoaW5gG3yArKlSlvzpqeSTusJaSN98yXtKWy9xreehFmEzAZNZ/nuwEaIbpoXix6I/GAv1NHUzRaXlt3PZEdr5b5Wg8EBmPNp9yjoPIEGWaa2CYZYtbdEXnVz7QCIQ/7abxDfB/ordbXN8KSkdQaoZaROEGSkUwPuBez4X6OeGJiXJR7Na7Ic3hhxqtsckjPe1nTGvHeX2gnACUe6Ihk0k1mY8pTxgzMo6oDPN7Xrnil/NAblbLC0pBL+qlE5u6exP5g5ULWWlGw== 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=HoNsi50Z/yS2FAs5ubTwkUj3uBvX2ul8Eb1IK0ciazY=; b=e4lM7YV1mWarwdqsKfg+TSi+vnPx6GxJjoBhPeuQFXDqjnA8nTE/R0xm8u8F3X+1u5DR5n0X3AQtkGehgVal8ulh0UG8Ct6iGiD9f/yLcQCxSc78iMegp9pr4XWoYADFzSuL4g96KIRjNm5iMvNcMHKql7+OM8BA40wxx+OfVjQkvaN25uq6r9D/VuPcYuaxXfXekpCJsLTJLw/BNHy3h4oxx47o3wZu4mdvlf8yRi/jID7+BQEoQMbk8wShcXM4hTQmPfQ6yBMPyJofLq+YaGOxUQqonLRoFs5MGrnJD/Iyx+r4E46st/vCFIquAL5Vhc0MSXlAM7+f9CwioTpNww== 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=HoNsi50Z/yS2FAs5ubTwkUj3uBvX2ul8Eb1IK0ciazY=; b=NllWARIi+fN/j0tC506uIg/OK87yQnrhk4DkQEUgYZjclAKkYxYxJ5pxgwqnytfHFSRB0Jsvhxn3aVPgQS1KA4ZJdmJXwNzCrzO4cewXO4NCHBaNnIJPCueEjjKq2xcNCwYG5LTfYHyRuPYjUJma6s0zBOVNniTThxkULprXYexEkPiDXCt/ZjZFOo5IoBup0rbYsTyWVZaFg/mwQ9rzj19j+ez0w3VkWn4YEvETA+7B+mUCxfeSzEki/vL/YiLUWP4jk+9VuPfwculdkoNZYYReYpIAr1fGZxKFXMR87nPBAk7JUNylPtfZYN22VoxwiOB1KWkhSJ1MVPpGWwqoWA== 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 VI0PR04MB10297.eurprd04.prod.outlook.com (2603:10a6:800:236::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8230.11; Fri, 6 Dec 2024 20:33:01 +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; Fri, 6 Dec 2024 20:33:01 +0000 From: Frank Li Subject: [PATCH 0/2] regulator: add new PMIC PF9453 support Date: Fri, 06 Dec 2024 15:32:39 -0500 Message-Id: <20241206-pf9453-v1-0-1e4685114271@nxp.com> X-B4-Tracking: v=1; b=H4sIAGdfU2cC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxNDIwNT3YI0SxNTY11Lg1SLlKSURFMzo0QloOKCotS0zAqwQdGxtbUAUkC Id1gAAAA= 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=1733517178; l=831; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=mNWI3uNd3E/gzjXbU3ODa1UHHptRjyW9uj3Np+PKIB4=; b=1NdSrYe2SQP+hXGVhmlDgF0ApXAdiQ8SmByugLuutQe8fIsKvcHoa6ScNdhle4V/yt83b6P4F pT131VW1rd7BSzyBA6/4CgAhTokfLqKWOLDMSZWZmpJ0PHAV8QQ37DH X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR03CA0077.namprd03.prod.outlook.com (2603:10b6:a03:331::22) 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_|VI0PR04MB10297:EE_ X-MS-Office365-Filtering-Correlation-Id: 1263ca99-be55-4734-0d37-08dd16352da5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|52116014|366016|376014|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?F/xlXejt7rVhzewt9UOdT18Hw4XtitI?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=?utf-8?q?l6uoC6GxXwQLd3cG2V22D494GQHr1dnlOWId3oX+xDBm+tC6Q9x0KPOZ1ImKPf9Nw?= =?utf-8?q?rUKVFd4qcrYGlYN+rQu/4JdVGFLyNyu3iYPHZgjOwUIzUu34gm3YI5v17V9lHmRFU?= =?utf-8?q?wfw4mospFagE2JLM6EYIfTnF+iJYj2s9KUD0SlqsEHU/ogqF1mUqBjxXJp5JxLltW?= =?utf-8?q?4D+uWGHEozNUM9XEzYEnTF1khH2NO0LeIspltfp3ifanKc8CXy4Sk8lt4hYPglZFN?= =?utf-8?q?JA3L1aeguFRKVGGz6NIvsZagewUjCwvZ9mpaRvNMnAdlwYMTZnWHvp41lnx+hKLVv?= =?utf-8?q?xMGhaP4pAk5JBLnrKd0wtAtZRRAQ61ObDj3WXIlQTLgDakNlAri1T/urwAJpOtNxs?= =?utf-8?q?uo7UKMYtTDgbt0P8GpeE5XUolkLIui+8BUU+mDcIa+ffL45Eq2SNHB+S8ABLdpyn6?= =?utf-8?q?tEkg3vb9Zeqxf3bxuyMYSaG8V5EGA2r3xg=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)(1800799024)(52116014)(366016)(376014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?Ag/Ev0BhevXiAGwAokhAmE1OT50C?= =?utf-8?q?TH9OZWVT7e37IttLtz+UHoWJ63h1OmDblHWjfbDH84Zn01AD/1pOT5NSZCUcUmMpV?= =?utf-8?q?cw8UdloSAaeCdmk3YCi7QjpCBpuIk/Epa9mIX/xTtRm8nr+dG0hP97FC9qv5uK8Y0?= =?utf-8?q?KXOBqUZVsbSELoVWmDAkqVFhLwrCKsW+4u7OlZLHDYBRLDlRG+g2VC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q?Ny2wtpyv2ZF+pMcCXnHVFDw0u1M9tZyRvgD8qT0s6ZjYZRnEcf2EPNxsZ78LOEwYp?= =?utf-8?q?Dq6XsLJdWJ82PBvETzEbPJ9oEBudleDTC7k0VBctu6HHnD4WRjbZf7rAuRQLjV7rY?= =?utf-8?q?vD4SqoanAlO+vQBlflwmM6L+niY6g75ewgB/n3AsHZDaZyyJd3l7OaOTY1gU+KIip?= =?utf-8?q?ZkVzFi1wk6Zb0iR8vOCxX3lecq1OaYN7hyf8zSAxdgXAhFeo/Yb85u1ibHL8la8ME?= =?utf-8?q?1iT/oSEK8dTk2puBPmpL1Af4FUrMAVMnP932hvtpbvPrSn5RICBALYMOVJM8+25zG?= =?utf-8?q?S1yJFarNewsG4xAH2tGd+HGVXypJyfIR1BxWQeDHsGXcz284PF3R2DRInkax4rvvk?= =?utf-8?q?LQ5A4rL/66cgEYLGlMI3sPg5u42knuLkoi6W73nmVVkGzPVEoE2Ba+uxPE/dSNOTS?= =?utf-8?q?UivNG00cXfM6?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1263ca99-be55-4734-0d37-08dd16352da5 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Dec 2024 20:33:01.2429 (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: Uxz/3yVIVavHOT0BNFD4iHeLvUR/reD3HCzP9Wqt8KWcc0mwVnDYJarnaup40MVpSe6xCjO2WMcrrsek30lPww== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI0PR04MB10297 Add binding doc and driver. DTS part wait for https://lore.kernel.org/imx/Z04W5chGq5TitB9f@lizhi-Precision-Tower-5810/ Signed-off-by: Frank Li --- Joy Zou (2): regulator: dt-bindings: pf9453: add new PMIC PF9453 support regulator: pf9453: add PMIC PF9453 support .../bindings/regulator/nxp,pf9453-regulator.yaml | 158 +++++ drivers/regulator/Kconfig | 7 + drivers/regulator/Makefile | 1 + drivers/regulator/pf9453-regulator.c | 723 +++++++++++++++++++++ drivers/regulator/pf9453.h | 171 +++++ 5 files changed, 1060 insertions(+) --- base-commit: 0410a58d54385475b67ae7fd2d705072569f0299 change-id: 20241205-pf9453-90e8dbda562a Best regards, --- Frank Li