From patchwork Mon Dec 16 20:03:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13910279 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 735491C8FA8 for ; Mon, 16 Dec 2024 20:03:20 +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=1734379402; cv=fail; b=q4Ymi5jDrmONMKo04FsqSWfFmi27NjPs6kXqTft+hAVwZok8r4jDqVT8LdVBzAMg8iCqpjdiYmaWE5Ak9cryTZTA77wmbnMNMstb2xBxPyvsiUl/pBR1nY3njyRR/HPfeRe+mAWYmjUwhKaXzj6+H3D4u0JXaQH4cEWXcOmMvCM= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734379402; c=relaxed/simple; bh=V7LDZEgCBJnJn/v0q5/IfFeQdKlo4Kr5NHBseTrsKsA=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=tgWgP8FItyAlUPJzMx5tmVCFNHiDcbzog+Iv2aQ2y+jGgMSBboAJ8xFvq4GY7I/ZUJVuRtoYI9h56CiFPC3/m+C3/bApt7hvSqA9RTMMwwC0+BvpWCJJyoomD7cDOxKZoVenWmGHep7XajXCB95Ybj0wXEi7Nqo7empNKfKLzck= 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=itfHJmmc; 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="itfHJmmc" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=S077DUW9gYMwS1uGWXbD72T9dXn4SahEUO+4E1jxjHe+YxB9rciZTFdtAURnVugDXWmsRhgyIXxTT/p3a5aM/H4Wm80FA9rU4KIffyZP3jaxYJOFaXyQLNH2+YXer7qXDzWgi306vzjXq+xoiFg0UHZ1Aw7ksyBbCtep3PD5Rtr3Yl4RE1+2WKQkC8TMhANoRRYahBswq1ui6AYYrLU/57lzLHLpFGsMcY9B1w8VjlRUjEZqkI701FXXHBtW3uZRGy6dIJaMZaVNrJCwfZ3i1abW9wXal2jQYtYTthLFz0UCynTzs2r38o9XWf8mtwvshMCw/Cdjz5+NVzXsS1YxYw== 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=DjeXgHd4zzElrMCDLKEPe3PFcwcGt8BvtxsO+JJv0JQ=; b=WPf9o/ifqTSu6EhZ0eH2JWBepDWb/JzkkE9utYC7ldKLCN0gOpARTBrTBxQdb7cvghdY43jFFhyuZcPowl7rs4cqgN5WZmd9ItFKOCSkf9PlmC3INRsq/4qNmiBkzA3w2oNwFM9R9i0CkMWxTkjPBpk3jgMAatlqgsWwuQW7teRFvdW1LAPkQKnrVRHeA2J0yjeu1PyxST7POtp9UMBPWwOmxCQpDKKFQ3ZQYOjbgTwH6GsGt4Is88DuVhWZM4DJF5WCd4WQrnIQuJTeojAvHXo3hkZfkHfuJitzgnI+GvMQIf9vhXbDxgRMGgeoZyqbmqh4QlC5am8FzHp/m8fU1A== 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=DjeXgHd4zzElrMCDLKEPe3PFcwcGt8BvtxsO+JJv0JQ=; b=itfHJmmcT+PYuogBt8VJoV058XQzzIapa0cInuQMuChYe7WZIA1vEeY+iEuQ7aVj9eUcjb7Hq38HpJ8hEBzJV1xyIv+OwMm0IBQMaijkk1/Mqa8f3drxASWel6Vh8usMx4LzAKaCoRqi2ea7rPy5F25B42xOp14W0o8yfUKvKFmF3Qvr35BJXd+zmlFHdZ4cACEra3vRRgjuRRb+hcen7GIceZyjougtrKvljHanSTcpGw9m2B5T5UnCzWNbM1XVjWZn96ZluBez61iu0jtUIspLBRWk0T3rja8bjowXo/w+NkeVAqXTEvHr6TXPh5+XhhxHnYnWTbkMgBBnZPKC0Q== 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:18 +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:18 +0000 From: Frank Li Date: Mon, 16 Dec 2024 15:03:05 -0500 Subject: [PATCH v4 1/2] regulator: dt-bindings: pca9450: Add nxp,pf9453 compatible string Message-Id: <20241216-pf9453-v4-1-a9fc8f0a0098@nxp.com> References: <20241216-pf9453-v4-0-a9fc8f0a0098@nxp.com> In-Reply-To: <20241216-pf9453-v4-0-a9fc8f0a0098@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 , Krzysztof Kozlowski X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1734379392; l=2225; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=V7LDZEgCBJnJn/v0q5/IfFeQdKlo4Kr5NHBseTrsKsA=; b=PaJT0a0U5I6xB/1YjaDGTYSk8P8NAvu5edVfnrAG8amphJipmvnpSTfb6+aospxwdPxQaSg2A fhPEssQakcIDHRxaJgq+a0i598pSYgEyFhQm6X6LkF6B/YAcBpIMfLs 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: 2dfd3734-2e8d-48a3-e48c-08dd1e0caf11 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?ut51+F+o7XWhNjnxNGArWEITk2Hs7ua?= =?utf-8?q?ZDtNCZH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8?q?D6ALhYZwovYcX3Ui8SwFSmdXVOOC3uXdeT54Tt0lUj12VT4TgwF9IHOWvDeFX5zf1?= =?utf-8?q?DNy5Q91TY4uQCLc+khgr+y972jkASAXqOkI4OKLNTytwjpGJUnUUjmd2rs4j/nudr?= =?utf-8?q?NiWIwct9BrDPCWPWdnP+WLKUBzqf4cN9d1moKd4Gl8AW9yYMxqF9W6B1g55W17fSp?= =?utf-8?q?8aMFBBXZ3c40gdwA8cEV4IAY5msxflj0hoUdaTfuzyFG2IA0WuFWoqChEb7j0MbvF?= =?utf-8?q?wdCNUwytJ65uy4kXz0a0nseR748zcPsltFVKgENNTdWGo47XYqkImy2HlX0JCuMjA?= =?utf-8?q?NDDpbzAU09e/OtNZHUDnliEfjq6OcjBdE5SRaQJoYcd/+8OjZE02tyoCSTrZhs+PP?= =?utf-8?q?8kMF+kZwf/bps0cV6f6F6aOvkfMjMrJy0FJoN4hRfDYfmL0kyiDM1lXln3Z4xWbp+?= =?utf-8?q?KxydLrVjXjDy2tpSIxUnVfeQyVZ11RyBXSfJyUqmZqNDcnAcb22AWh/1MxHOFhAiY?= =?utf-8?q?fz0bIAgZaqF9GuhxMS+h6xqD2PuusEkqw=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?Sc/qfqvy6/aH5PlXsOXXiyMeZOh/?= =?utf-8?q?MrItqip02dzmw9JKLh1tRss8J7wUlz6Fvyej/Yx6MQzn013UVl8uNQMAHSYtusz3W?= =?utf-8?q?33wXTutG+Lw/fxydEP68BwyvS/eZkS53lX12ThLQjyUzD9zCPG5lWdwDb2Fm7J8oX?= =?utf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aJr1/2DwVxVgeg1TVyeQTBnLMU1vjC1Uvia1eprrhMeBduQM0Oan0ppuEqQ?= =?utf-8?q?aieRZnbhlkSH2E2AYcbSoeuSXPSFj0+tKLHNcixxiDEhYqnVjXiMtpho8Bc+nYatP?= =?utf-8?q?nu82+OrI93ZlpIq7ueDLGnByZZA4e/IhWWqeH/Sjr581pwuL39opoXXnDqXSrZh5e?= =?utf-8?q?NSemKr5g2Kg8k4YcaBTXOOBw/lFoiFlWT7cv3/txn4GFCWn5dG1CORSqZu7UrrQ5+?= =?utf-8?q?zXI7faCjw+6+XihTufn7mDHxEQ9CCEiWxP5ZGJlJ8xI7uXEr2thGyxEMmTGpMAsOd?= =?utf-8?q?isTRDqO72Z74WtBnoNczW9W6ZeROa6HZ9lzE9A8HdrjFLm0dwygYgG+gAHr2RyPLj?= =?utf-8?q?DZ9qFIZ54FFUN4ZxUEE6GOsVRPj5PF0jww8E38AgRoNoQEYxp3sT00jqbSo72s7zf?= =?utf-8?q?H/EZDptBEywkhboVKeMIGkuoQ46BuKGbZ87rWaWvHfzpjngQg0xS6bOA0P2V8ABB3?= =?utf-8?q?6ty70f0cEo2o?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2dfd3734-2e8d-48a3-e48c-08dd1e0caf11 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:18.3036 (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: jG395MkiAh5e5yg8jgdih80lm16m1KXLpvDay6m8lwCMQRPjogK+r7F2s/+/mMNxMU2YXlLMXcI9kWV2Th0x3g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR04MB7501 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. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Frank Li --- change from v2 to v3 - LDO_SNVS to LDO-SNVS --- .../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..a5466bece4cf7 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