From patchwork Thu May 23 18:04:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Delaunay X-Patchwork-Id: 13672151 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 39748C25B7C for ; Thu, 23 May 2024 18:05:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=+2fIY9kv7qqOFllxhvo4NM8gFCasQSCIUbfNKRzbj7M=; b=It3LxuhG7JApWO 3wUd878bWqxO3Hse6CxnyfHluNnr+IU/fOnx+taHlEL20OkaXEE91ruzIkJFV5so7CTcNK+wU6j+K 65rEUMXkAWYz9S8qHHI9JIdj6z78hmrJCALUFmBDhP6dVw97oJnFevgKiLDaLHh3uUUg8JCQFvAwh oeQ+86Y7hyCBM3LRxxD+HgvsZ5WVx8UGGNio/iQ4MRMg5OYjHLefkR/jDWOfuM3knKPNzqGgerU9v tpUJdUVoyJjFDefELpsMe4FmWy7aRTWsspSiUynApEQxyaQwITRGhAP/Fez3KiptedU1nbVlwRrtD 99eDYqof6igigwffphng==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sACoz-00000006yHu-3Eg0; Thu, 23 May 2024 18:05:45 +0000 Received: from mx07-00178001.pphosted.com ([185.132.182.106]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sACov-00000006yGV-0Ndv for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 18:05:42 +0000 Received: from pps.filterd (m0288072.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 44NHUkvL014089; Thu, 23 May 2024 20:05:28 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=selector1; bh= TIHHv5VnBC4M6BAYS8GF3x1yTwxcxgzzLyrVLp3iXdI=; b=gLmirwFxgIiLAdfe R91WJo4kgRSNfiM0C0uT10JTEamGW6JyrmCfSV0dCR0rG5GLPP9HNq39+1f7Dvlu HxbKtxrv0aGDrrA2gOROazR7BO9KsCPzmxz07pDXQfYsQW4bvvlGUyWSd0lM7lj+ Xy9rotRmvUyHvQXyWlxPeLh/9i7aoB/9xkatduI/HKkAv3zYDDNl5n27eMwIbztk qIRxAWRLLT/8WRFVZ8NPSY2OBFaeouec53SBLtvEvMjk8574QO3XXgWyJQ3RtLj3 Mb1FgoJCPVrFJ6/rGYJ4OuDuetDGInPxIWxNLDHIW1JA47fVcjb7PsAeG+MhZeSF TtFIhQ== Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3yaa8t82hc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 23 May 2024 20:05:28 +0200 (MEST) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 22D9F40044; Thu, 23 May 2024 20:05:25 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node3.st.com [10.75.129.71]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 715C221BF62; Thu, 23 May 2024 20:04:39 +0200 (CEST) Received: from localhost (10.48.87.205) by SHFDAG1NODE3.st.com (10.75.129.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 23 May 2024 20:04:39 +0200 From: Patrick Delaunay To: Alexandre TORGUE , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Pascal Paillet CC: Marek Vasut , Patrick Delaunay , , , , Subject: [PATCH v4 1/2] dt-bindings: regulator: st,stm32mp1-pwr-reg: add compatible for STM32MP13 Date: Thu, 23 May 2024 20:04:33 +0200 Message-ID: <20240523200353.v4.1.Ia0a99d90acb512aa020a6e7a8cca8cc1b71f1759@changeid> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240523180435.583257-1-patrick.delaunay@foss.st.com> References: <20240523180435.583257-1-patrick.delaunay@foss.st.com> MIME-Version: 1.0 X-Originating-IP: [10.48.87.205] X-ClientProxiedBy: EQNCAS1NODE3.st.com (10.75.129.80) To SHFDAG1NODE3.st.com (10.75.129.71) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.12.28.16 definitions=2024-05-23_11,2024-05-23_01,2024-05-17_01 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_110541_447988_AF10A2FB X-CRM114-Status: GOOD ( 11.06 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add new compatible "st,stm32mp13-pwr-reg" for STM32MP13 SoC family. Signed-off-by: Patrick Delaunay Acked-by: Conor Dooley --- Changes in v4: - use fallback as proposed by Marek on V3 for STM32MP13: compatible = "st,stm32mp13-pwr-reg", "st,stm32mp1,pwr-reg" Changes in v3: - Replace oneOf/const by enum; solve the V2 issues for dt_binding_check Changes in v2: - update for Rob review, only add compatible for STM32MP13 family .../devicetree/bindings/regulator/st,stm32mp1-pwr-reg.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/regulator/st,stm32mp1-pwr-reg.yaml b/Documentation/devicetree/bindings/regulator/st,stm32mp1-pwr-reg.yaml index c9586d277f41..3cb2dad18781 100644 --- a/Documentation/devicetree/bindings/regulator/st,stm32mp1-pwr-reg.yaml +++ b/Documentation/devicetree/bindings/regulator/st,stm32mp1-pwr-reg.yaml @@ -11,7 +11,12 @@ maintainers: properties: compatible: - const: st,stm32mp1,pwr-reg + oneOf: + - items: + - const: st,stm32mp1,pwr-reg + - items: + - const: st,stm32mp13-pwr-reg + - const: st,stm32mp1,pwr-reg reg: maxItems: 1