From patchwork Fri Apr 26 18:32:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Delaunay X-Patchwork-Id: 13645261 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 D09F7C4345F for ; Fri, 26 Apr 2024 18:34:14 +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=MAky4gIs7JmR9nSGfWs8axaVaiGqfBejmdUUiZTS8Uk=; b=S/d2K3nc9VArio PEy26UBBOE5dU1JiOoWtec7Q76L+IFcAphe0pvWdau0VJ5LUxNn4+AbkM14uSoMdhhXh5yJNeU5vm IMvbtXcTK/9AOT4FPja0tceqGi17MgzTMWQIdzwxsJVm6veGaUGCq9yG5/8tbhgF2+FOXl9OT3ryS 7bNUl/7JrM6szXNg3yyXwduNfPXK+Ogn+qEvXMf3INlvCqnbkmA5cSPmSGmXpZP93SDVMcjB/RfVY lg2IUeQlKRXBab3U6u7qQvZ2toG8tN8ce9CQokTpomqdmdQwPZv/zxfKnrfeCAdRBXBAkm9UglLiT bblrHaeG9cZR1b/FO8vA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s0QOa-0000000DfqD-3uQ5; Fri, 26 Apr 2024 18:34:04 +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 1s0QOO-0000000DfkB-2asV for linux-arm-kernel@lists.infradead.org; Fri, 26 Apr 2024 18:33:54 +0000 Received: from pps.filterd (m0369458.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 43QEke4q031592; Fri, 26 Apr 2024 20:33:43 +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=hKZXTK2FODJbQu15bxlxQQSDaW8wFVSOMjE/gPb6e+U=; b=nS loEz6e9A5V2zfuNgKHxraVujS54Xqpj74J3N2HOWE9V+/ie3VD71D1w2ew+A64/I 98wKB1MYQE/NZlGvvHFGdxg15BCtkdb5v2Wb++4LAxzFd9sprWIbEZT7geQR/H05 WD0Gj+R+4Y0kpctfVC3SXUxqw9n7IyZ3lwICTplUohlWZEV2wN+rpNwjj5d9jBKN hCcxgOk8BZUO22OIfPl4k3ZmldNlOzDrIl6Lam/9kKTOAsKCNs0T1xMNfwoXPfB9 VnBXehz2K2kknIh1/LcjPefwFt0RXLxGUYLchGEFcXtIyK07hPNLhsKP4/3Wl1Yc AqzQj+Laf4fgLV1pHAzg== 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 3xmq9115ca-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 26 Apr 2024 20:33:43 +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 5959440045; Fri, 26 Apr 2024 20:33:39 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node3.st.com [10.75.129.71]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id C51C322FA35; Fri, 26 Apr 2024 20:32:58 +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; Fri, 26 Apr 2024 20:32:58 +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 v2 1/2] dt-bindings: regulator: st,stm32mp1-pwr-reg: add compatible for STM32MP13 Date: Fri, 26 Apr 2024 20:32:50 +0200 Message-ID: <20240426203245.v2.1.Ia0a99d90acb512aa020a6e7a8cca8cc1b71f1759@changeid> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240426183253.1360098-1-patrick.delaunay@foss.st.com> References: <20240426183253.1360098-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-26_16,2024-04-26_02,2023-05-22_02 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240426_113353_107042_38773CCB X-CRM114-Status: GOOD ( 10.33 ) 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 --- Changes in v2: - update for Rob review, only add compatible for STM32MP13 family .../devicetree/bindings/regulator/st,stm32mp1-pwr-reg.yaml | 4 +++- 1 file changed, 3 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..b0c6c62a84ea 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 + oneOf: + - const: st,stm32mp1,pwr-reg + - const: st,stm32mp13-pwr-reg reg: maxItems: 1 From patchwork Fri Apr 26 18:32:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Delaunay X-Patchwork-Id: 13645259 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 90CBCC4345F for ; Fri, 26 Apr 2024 18:33: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=MqqcjXgavNBVzakv52S64V8Pcg56XgY3JSs8icN/28I=; b=3X2JcaDbd8cr1V 2nrfHinwRT1cHnewJTbrbbtJOZPMzebvvG4+moIwzwjJVnxRvAv5fe1KUK8pdwNMQ/wzWopqJw1xO F9tUrYl2vYRfJY+gQnt7ef+JBwntX2jGCrTjiWzBpyg1IIpjMETe8Th09Vny9LYd1Fx3PH6nD6y7Y HtjkiLqaRUR21YEmqjkzM14JHWU39u28NsB3pjf6q2/rmaQOVjnA9S9z4w2MPZYGCrnzWzI7lC3Im GacUHI4xAe6+XCsb9JB/6AdjgxJAsFvpkkHYzaAxBtXpZesARrGRhad9KNhgE1fhTPME3dmb38fbX 1V3RFslLJ2EIPufAQ3+A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s0QOH-0000000Dfjh-3ixW; Fri, 26 Apr 2024 18:33:45 +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 1s0QOD-0000000Dfiw-39Pn for linux-arm-kernel@lists.infradead.org; Fri, 26 Apr 2024 18:33:44 +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 43QGIvMM032369; Fri, 26 Apr 2024 20:33:30 +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=FS4GO7Vi9VtaTdij6tViDskjPgOTwQBlqZacaW2haBg=; b=0r JtA+MebY44tHEXh+kRjLtTAZbiesZXfi7AB16EgpTNnRdnRx2mkWowi29W1Z96cO e+lXQlgSGi/QNMlgQCuTs2G5FhPe/MZLSa3khho4GG9lf/nkITrLsMFGfrO8TNUx owkLMWbdlG3Y5S1E1zCpR8ihF/lzPryssb0uJQgH8//TGVFwhnqBOYM00CgGYx7A ds8ptF6DhLjENS41LXk4KVpaG3z7vKQyNT4p0FoVoY93JugqulRP/ETDSrM7FzLL jPWou0Cht1D9z0E5ETKHMId/cgyx1NfH0uIohNOlpzz3OzYQA1GIHzze0LusHwBh z9psHTLFOWgHFOxiVw0g== 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 3xm4kbjscs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 26 Apr 2024 20:33:30 +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 616624002D; Fri, 26 Apr 2024 20:33:26 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node3.st.com [10.75.129.71]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 7F01C22FA36; Fri, 26 Apr 2024 20:33:00 +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; Fri, 26 Apr 2024 20:33:00 +0200 From: Patrick Delaunay To: Alexandre TORGUE , Liam Girdwood , Mark Brown , Maxime Coquelin CC: Patrick Delaunay , , , Subject: [PATCH v2 2/2] regulator: stm32-pwr: add support of STM32MP13 Date: Fri, 26 Apr 2024 20:32:51 +0200 Message-ID: <20240426203245.v2.2.I04ec53442753147c35efad1307b6ec133f53b471@changeid> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240426183253.1360098-1-patrick.delaunay@foss.st.com> References: <20240426183253.1360098-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-26_16,2024-04-26_02,2023-05-22_02 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240426_113342_340835_1D0012EA X-CRM114-Status: GOOD ( 11.75 ) 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 support of the new compatible "st,stm32mp13-pwr-reg" for STM32MP13. Signed-off-by: Patrick Delaunay --- Changes in v2: - Add new compatible for STM32MP13 and change title after Rob remarks V1: "ARM: st: use a correct pwr compatible for stm32mp15" drivers/regulator/stm32-pwr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/regulator/stm32-pwr.c b/drivers/regulator/stm32-pwr.c index 85b0102fb9b1..b7aeef6e09e7 100644 --- a/drivers/regulator/stm32-pwr.c +++ b/drivers/regulator/stm32-pwr.c @@ -166,6 +166,7 @@ static int stm32_pwr_regulator_probe(struct platform_device *pdev) static const struct of_device_id __maybe_unused stm32_pwr_of_match[] = { { .compatible = "st,stm32mp1,pwr-reg", }, + { .compatible = "st,stm32mp13-pwr-reg", }, {}, }; MODULE_DEVICE_TABLE(of, stm32_pwr_of_match);