From patchwork Thu Apr 25 07:48:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Delaunay X-Patchwork-Id: 13642932 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 CBFCEC10F15 for ; Thu, 25 Apr 2024 07:50:02 +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=EU9b2X5nL1Hom5fFo5UfS6aSA4RMXgEam1k2mZHQ4lU=; b=K1KpR9YxCdCrQZ LNEumZKCbzPpAO2c/Iob++E60wKyLTTKi7nviiypUHZJYkFGoHMUqTdrd/DoLH9PIM37556YE6nwH 7rQWLIOSh1x466P8vcmxBe0AIzDjSTmAn6I0vUbKq52cJ6dOUv3UCq31UGFMtidE15Es8X249Yn/x yvhjwmseFCkIbggJ7t7uGPS2Ggkkyul1qYpUeGO2dHKYkZMSUDTAAf5/UC8G7ssPIzrM2YHxq5jb1 /jiNzA3EDU8S19UnUKsNQ4dHJh+xJKL7t4wom4ipSRMZBbbMWGcsJ9pPn0mGKxkI5NEiqfb7P5WHK 0WwcycfeSeWxaOXIOenQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rztrb-00000007KeC-0Y9k; Thu, 25 Apr 2024 07:49:51 +0000 Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rztrV-00000007KaC-33ps for linux-arm-kernel@lists.infradead.org; Thu, 25 Apr 2024 07:49:47 +0000 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 43P72VrZ032344; Thu, 25 Apr 2024 09:49:38 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s= selector1; bh=cCsDk+4Aum2chjAhcJX8uB4K6blwXHcO0YE8sWRZIQI=; b=4o nwIYwLnYdIt/p60SXvXA0VQ9GAYuCcW/giq0VbVXuFh0ZvLgSQCAI2UcAF4lqULw x9RAwncI7I1bO1B4rwLQzKrdGGXartbVbfjAMZCYQW8gbEuNngGzTfoBthDHje7Y jPWfQgi5ot1bNJ8xxJl0L1rKvsRNHew4OVvrJuimd9B5LOePmYygO0khVchIxabZ 452gBZptx2x3xRajSTp6xj5IRH+LjFMrsDVJ/ympN1/XlHh2H89ztXFxxzFrFmQN PQl8wjd5mZOdSfCHCNVC7jH/VUVdvmx6CpImEfzX84hWvsz2rcuU8sJlHogWSF30 ZYpsGoY6Pnx9qXBVMKQQ== 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 3xm4kbc3w4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 25 Apr 2024 09:49:38 +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 875A540045; Thu, 25 Apr 2024 09:49:34 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node3.st.com [10.75.129.71]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id D5E14212FD9; Thu, 25 Apr 2024 09:48:52 +0200 (CEST) Received: from localhost (10.48.86.112) 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, 25 Apr 2024 09:48:52 +0200 From: Patrick Delaunay To: Alexandre TORGUE , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Pascal Paillet CC: Patrick Delaunay , , , , Subject: [PATCH 1/3] dt-bindings: regulator: st,stm32mp1-pwr-reg: add correct compatible Date: Thu, 25 Apr 2024 09:48:32 +0200 Message-ID: <20240425094829.1.Ia0a99d90acb512aa020a6e7a8cca8cc1b71f1759@changeid> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240425074835.760134-1-patrick.delaunay@foss.st.com> References: <20240425074835.760134-1-patrick.delaunay@foss.st.com> MIME-Version: 1.0 X-Originating-IP: [10.48.86.112] X-ClientProxiedBy: EQNCAS1NODE4.st.com (10.75.129.82) To SHFDAG1NODE3.st.com (10.75.129.71) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1011,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-04-25_06,2024-04-25_01,2023-05-22_02 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240425_004946_077879_1B600CB3 X-CRM114-Status: GOOD ( 10.81 ) 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 Remove the unexpected comma in the compatible "st,stm32mp1,pwr-reg" and define the new compatible "st,stm32mp1-pwr-reg". The old compatible is only keep for compatibility with old device trees. Signed-off-by: Patrick Delaunay --- .../devicetree/bindings/regulator/st,stm32mp1-pwr-reg.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/regulator/st,stm32mp1-pwr-reg.yaml b/Documentation/devicetree/bindings/regulator/st,stm32mp1-pwr-reg.yaml index c9586d277f41..2a52f9e769c2 100644 --- a/Documentation/devicetree/bindings/regulator/st,stm32mp1-pwr-reg.yaml +++ b/Documentation/devicetree/bindings/regulator/st,stm32mp1-pwr-reg.yaml @@ -11,7 +11,9 @@ maintainers: properties: compatible: - const: st,stm32mp1,pwr-reg + enum: + - st,stm32mp1-pwr-reg + - st,stm32mp1,pwr-reg reg: maxItems: 1 @@ -37,7 +39,7 @@ additionalProperties: false examples: - | pwr@50001000 { - compatible = "st,stm32mp1,pwr-reg"; + compatible = "st,stm32mp1-pwr-reg"; reg = <0x50001000 0x10>; vdd-supply = <&vdd>; vdd_3v3_usbfs-supply = <&vdd_usb>;