From patchwork Thu Dec 12 22:26:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13906079 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 4009C1DE2CB for ; Thu, 12 Dec 2024 22:26:45 +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=1734042407; cv=fail; b=RspzwSlVVlYTw+BtITkQN0FjO+LxzFmD7mznaTXb2uIsinyXOyoyOfStglhmIOrN+7rrdpNoAl5bxNH3IjVy+PAFtywqDXZawH6aaBWQ4U0mw7ToFmYQO+/ND1fSFsyUY8jVQfQ/nLCqaL1VK4qKlljV0pB320ViozI8E1Yy97c= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734042407; c=relaxed/simple; bh=WkSN0skgVCQ629xDNp10vcddkX1sWop5yX2QYYXJB48=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=cch6cqd/JAjkxcuNclONYlT/I4AAHE6XMpmEhQ4addtaklN5le2B60gsJQYVXhXGw7pKwECWVXSfiUhdks28RisYO2cSfu2kAJdnmEErMQ7ZSiA2HLCD5sYzp8YuKrOQKXpueizOY+Ccx2epnmeUROG6FOQnq4ssXFwNYbOpFK0= 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=WIBnkPn3; 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="WIBnkPn3" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=EMzZJzNJdyVfpc57D9oeroENOmSrbMllJREE//QD9mRl1HC/kGDEiVRDJwF30Bx1VIjeXDxMhfAI51TzQ9ha1KNhooIuTKHXmpsVTTCAXas94zMilmvitmlncIcMPPNqZq/rZq52TCrxkM6mn3CQlhRV3KZt5x/xEZpz38UNdzSxtnto/TCEJpSrXJcahPL2/bdp8f85hoFRme5yttc1BToASZOfDU9RaryZZ/HK5j9Bx3SR/5fSNuIm+YtOmrx5j8IFXV3Mw5czVc5OPnOfzOOYPW1YeowgJZKPleyhYgUs48nZ8J+Z3q4XrdwsdVvi2oAGN0y6G/CcF2pnlP3PMg== 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=Xi5KwQosWpmTvTc0gP5xvoSXhutgxrsfQFQLM6KzUgo=; b=xZB3y+Krx5lJz9EGgpVr1nHoRg1TyWIjR9EjSY+m7Dz4Ww2GDtJeySp8PCTe2yZrJCIIVvNQWcNF9W4DJatQRAiGmIfwvPZmiBMWGt8llvU60iQVQfnl5R7kXeHD+mKSSvKwDaMflbqMd2eSIEd4bxsGFO3ntZ4oi5K/x4cAPK9NRgjveKQ1XDSgQ9zNdjsoRWCoXKMn5Wxe4Go0lt2uiap4yg/pCXO7Y8XZL+O2JV1cU8XB/TnSTj72loIvlNEWiSZI8SRW03ynuKxRBTXXiykJ3XMbN0tvlnr3CgliTey8aQkDE62o+fCM6SZATbRVeBPbelFQah10tajV3tjThw== 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=Xi5KwQosWpmTvTc0gP5xvoSXhutgxrsfQFQLM6KzUgo=; b=WIBnkPn3KKGA4BFBQoOvlx6d6bqGafAF/93QUT91VMjI7Zb6IxEXy/qFJqqyVqBTw7mCYltn2Pb09SwMsXNpIrQ8h3gZqjTxZ7lGjV3Y89da9vC5fdIdAmNl6uad3w4GCDWTBJHX5tr+ZO09Qsvk7gwndhQicb/dgxCNDuMy2jr9j2/bXNfh8JNwesYJOrcPb1t5JyTZG2WgggPW8VVbQfXGWvvRndlycK7bT7wOl6HrJ7kVooiWsDbZKdaBCCF4YidHFHvCKsaV0/Um5puKgokOX7LeLy+UtthpQ2SqsBXSVmAgOkyqmEwI1GPcmNoHLLiNw0oBRpVnlwb1JvperA== 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:43 +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:43 +0000 From: Frank Li Date: Thu, 12 Dec 2024 17:26:24 -0500 Subject: [PATCH v2 1/2] regulator: dt-bindings: pca9450: Add nxp,pf9453 compatible string Message-Id: <20241212-pf9453-v2-1-f59d2c096356@nxp.com> References: <20241212-pf9453-v2-0-f59d2c096356@nxp.com> In-Reply-To: <20241212-pf9453-v2-0-f59d2c096356@nxp.com> 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=2107; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=WkSN0skgVCQ629xDNp10vcddkX1sWop5yX2QYYXJB48=; b=6FY656TRN2pwcPDg3N3toUN/S4946G6HNuWFB+JOBSVarC/eNqY16WuqEwpaaPwy2SofMQcU7 8UtWBFND0NRDRE/0+ufMyIAsmS4dfubye3QRF1bLpnkFJiICD7C1gKX 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: 5bd2d345-d92d-41a0-865c-08dd1afc0e3e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|10070799003|1800799024|52116014|376014|366016; X-Microsoft-Antispam-Message-Info: =?utf-8?q?1+dSkPqZHuL2xmhdAVbGVL2YMPeQV16?= =?utf-8?q?YO/xwAf4yKanIeIkQzWZoeMCn4CvAj87gSpqrxujikzu+Sl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T2UQ1DyMfnsggeeNjv?= =?utf-8?q?h7Vz/6REbVRAjWQCSWGwrKpTZrNAaQ4xZieA4lfjFn4K4dwOEnJnP1VlgGz493YSg?= =?utf-8?q?P/AG+fgq4FQDYFjQfAjsLVDxgb2oGX0fhmpi1aZH/E/VtN6PWSssy8tANFCNZcl2S?= =?utf-8?q?VVi0+jOrWpISH0vpp8Z/FUb1e/pdZ9n6vG1a7dbEI4FC+pMuomBAtDKIZQMCi8yWR?= =?utf-8?q?7e2eYtDJ1Jo31rpNJXCJCE69a8LTlY5CsyCkrJvBKiAs45FWfoRXc6Knc0A1g6DPV?= =?utf-8?q?cekvuUquimm6+70tR3mD0gTHiV5DYZTkZ2B2jdlQn7RHrD2khh7kC8r6W1v1p+5og?= =?utf-8?q?5bYcYn8r+ZnXE7p0yovZYTdQaecNDFcS1pL9LwyoE2dfqtaSZcS75rsE=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?s3KnqlUhNx7EgOkUUiTrHcb8MHuR?= =?utf-8?q?S1lisdsVtg/H+RU55LPuclKTOwHTtZJYMGodVriePfpiacg9rsjQyz19T5d2TizW/?= =?utf-8?q?rbj9M5K5FSnkBKVMBQw0XHajC8Q4/nliJFxsQlVeah3Z1K72viTi6nnVU99fHzU3+?= =?utf-8?q?PYeMLn3qlAEvXPfjEOr1ouspsAEHfFRZDE0abHGFhnZi/YCz9V8SZyKzVPwE2BJQV?= =?utf-8?q?GrpVnYqxS6rZvAeDnuSZDg71qDEfR+R4jkGFLRoKoP5ldW0yyUbJqe5pQ4gzjUjXQ?= =?utf-8?q?wRsp+oioe1pQUB3J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uLLbDpHS9vf4NQIyHRAiPO+A9gcNBWSlHfrw?= =?utf-8?q?KiOWWsXW7AtFKdTZifc1cm64c7LVFAxR+3jYOSKfwm52fs2/fPDjgyFZLzxMaOpa/?= =?utf-8?q?KuLIKtQ4+RVL/xGuR5ClblJNA/xXh78g9vWkbIFxhVQB1tspl24htB8z/ck5I42+U?= =?utf-8?q?GMXpjtBIA7T2R8UNXMTlw1NAxFhWEqdWkfuc/fmhdppNqEiUjSirQPcZvfOzFtz9j?= =?utf-8?q?uuf9YodaeaBBRiRiCZTXDPGf1rdgw2bzm4H/ItlPWQ6o4zV4FR4Hc354zQ7qqud58?= =?utf-8?q?FUq10K144NF4hN4ApNYxw4ExCtj0qpcw0HsMMBKDr0ilf/MoMqhvjGsR6cRIz6f6v?= =?utf-8?q?Rqh9m1WiQYNjN8TBBkPCbBipoYU9+k6SsLTJjhJDamNDJTIs9R5no8gcJ/oRwFVHE?= =?utf-8?q?GQo+EY3/qLl?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5bd2d345-d92d-41a0-865c-08dd1afc0e3e 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:43.1061 (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: UZxEmFBxTlrNhVZBdF4QuUb40I7731hEFleRDkf7KlB7dn80mFaOOfV4Rn1y2sPBYQlmu4Oi8pIXC8WmLymACQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB7061 Add the compatible string "nxp,pf9453" for the PF9453 regulator. The PF9453 is similar to the PCA9460 but supports only LDO1, LDO2, LDO_SVNS, and BUCK[1-4]. Restrict LDO and BUCK numbers for nxp,pf9453 and keep the same restriction for other compatible strings. Signed-off-by: Frank Li --- .../bindings/regulator/nxp,pca9450-regulator.yaml | 24 +++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml b/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml index f8057bba747a5..3589817858c5a 100644 --- a/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml @@ -17,6 +17,9 @@ description: | Datasheet is available at https://www.nxp.com/docs/en/data-sheet/PCA9450DS.pdf + Support PF9453, Datasheet is available at + https://www.nxp.com/docs/en/data-sheet/PF9453_SDS.pdf + # The valid names for PCA9450 regulator nodes are: # BUCK1, BUCK2, BUCK3, BUCK4, BUCK5, BUCK6, # LDO1, LDO2, LDO3, LDO4, LDO5 @@ -29,6 +32,7 @@ properties: - nxp,pca9450b - nxp,pca9450c - nxp,pca9451a + - nxp,pf9453 reg: maxItems: 1 @@ -42,7 +46,7 @@ properties: list of regulators provided by this controller patternProperties: - "^LDO[1-5]$": + "^LDO([1-5]|_SNVS)$": type: object $ref: regulator.yaml# description: @@ -100,6 +104,24 @@ required: additionalProperties: false +allOf: + - if: + properties: + compatible: + contains: + const: nxp,pf9453 + then: + properties: + regulators: + patternProperties: + "^LDO[3-5]$": false + "^BUCK[5-6]$": false + else: + properties: + regulators: + properties: + LDO_SNVS: false + examples: - | #include