From patchwork Mon May 13 09:56:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Delaunay X-Patchwork-Id: 13663249 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 62528C25B10 for ; Mon, 13 May 2024 09:57:55 +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=5Tzw4FO0vP6GXBsGZNYpF1t6iQbOVhTFjEBmhJLB3sI=; b=dH1PazOWXtPnDt xiwTX8ZL79jk5JHox60LIpv5Rdfv5Yjb5nMll2H65uXyZnGBr+3MEsqxO7wdxeMDZ1uEMmF3/uD/I oKBeLRcQncG6yTLmkxCgw9gTIINL8POArndLmc5sJ/1SgYKwUYQ4VVo6yj8JNK2a/H/Wo8f0+Mosa jfp4y8G8crO9cSEXEMAqquupysuLVjnAmw8tyqkxRhJe9J+zeNPLciwJSnPpIx3SVa5+44EQaXOa7 fOb6XfVd5b/PkNEDkoQ9+NEUx62oFwiAWsuFImXgRWE3tn7NJoiueIFhGGT1OKOyRZr8zO/AKONL0 VAO53KaSgW+d+7MQmApg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s6SRC-0000000CSZA-0SG2; Mon, 13 May 2024 09:57:42 +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 1s6SR6-0000000CSXp-3KQx for linux-arm-kernel@lists.infradead.org; Mon, 13 May 2024 09:57:38 +0000 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 44D7IReu005135; Mon, 13 May 2024 11:57: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=Xyl2llGqcawjv/NLOJHJO+piLXi1kTJoDevxVAPcFnM=; b=in YDeJkNHAev0SEhvOZI009DKhYm8aRhZeRAK2jrD0X3y20P4CZ+vhAaDvoFAVJOjy vyJoJKcgTzoRB5KBH2WDO/soFxHjAwu7fAyfkUz0Q0YYDwjW2qsiiUYfFkbD0orn HcCCxmcNplPpy5Kog9cHwoZz7mhReaSxsXE3ZQGS67kZrOZY0H9SWnNjLmq2nzHn BiGuVx0E2X1ydCaJM4L9BDwZ8ncml/mPJLd8wCWmtmKJklNgQKRPYMEIrdyeP8zO pXVL7amZdBZdoYnbWaer6HiOfxnwOwkvZyPHXEWpF04Z3qIjbukAkSe6/efnWaPA a595eYpGP83YmGQJlX3w== 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 3y1y8gnhw4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 May 2024 11:57: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 DA91C40057; Mon, 13 May 2024 11:57:16 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node3.st.com [10.75.129.71]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 0908F21660C; Mon, 13 May 2024 11:56:33 +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; Mon, 13 May 2024 11:56:32 +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 v3 1/2] dt-bindings: regulator: st,stm32mp1-pwr-reg: add compatible for STM32MP13 Date: Mon, 13 May 2024 11:56:04 +0200 Message-ID: <20240513115601.v3.1.Ia0a99d90acb512aa020a6e7a8cca8cc1b71f1759@changeid> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240513095605.218042-1-patrick.delaunay@foss.st.com> References: <20240513095605.218042-1-patrick.delaunay@foss.st.com> MIME-Version: 1.0 X-Originating-IP: [10.48.87.205] X-ClientProxiedBy: SHFCAS1NODE1.st.com (10.75.129.72) 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.11.176.26 definitions=2024-05-13_06,2024-05-10_02,2023-05-22_02 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240513_025737_130656_DFCF7A08 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 --- 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 | 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..c766f0a15a31 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,stm32mp13-pwr-reg reg: maxItems: 1 From patchwork Mon May 13 09:56:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Delaunay X-Patchwork-Id: 13663247 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 A1116C25B10 for ; Mon, 13 May 2024 09:57:47 +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=FBgesMpG1WLh7CShQ0OamQpDfzCnzAtz5tpqLlsD6SI=; b=VABtztQCZh1y6v ZOSw2TsR+ZBQCJvk9EI3tOzOUY+sgBkTVExMCkcIs3CdWFwKIZqj+kPtjJvv+50U2KpomyiQcsYEZ 9XeAhkuz5u8+Kn0XFNW8WwwwP3QhU8wkfGsULEuy12hLVQXsg0O68cvkSuEFU6jm/adPiFgr4pvmM v7P+QTyPdAQ44vpccpPZaVzrB7IY0MbtashlHsss8/FVLk0cg/SxkDaiMNgAo4ZdBSV15TdiNHQx8 QNo8LNK7Yw4K9Y1YPrAhUwN5vp31lhx0cCLegofPmw+EZ0AUbx11WbwTiPa8orjCQMBwbsb9z06D4 3AZbCKfnVmIk9mnHrO3w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s6SR4-0000000CSX8-1hZ0; Mon, 13 May 2024 09:57:34 +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 1s6SR1-0000000CSWN-1SHj for linux-arm-kernel@lists.infradead.org; Mon, 13 May 2024 09:57:33 +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 44D43m4I008069; Mon, 13 May 2024 11:57:22 +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=8EXwyohCc219RSXlxVFLCGJqw0He7msBPhrXvYeZ5H8=; b=7v WJCs84Ks5uBCCgePSuhzXlirtx41xQQBGc4teUPK4tmPNqdQDL0Uyzelac38cyGC iz0/g8LcVA5xrWhSLyNS65CLZ3YNP0ZTsmSSAti5ge2XP6UY8sQk/7XqujJuVNA3 osnaY1ZASGkihz+BP2fJbthsjuDmQL3lMxGQoeZxFTLYisI8uOhS2xjBnJbjFIyH re3vZAYz+zFZV8r8gnjXxYrW5WvuHV/CaYgXSAFB9sKrLb4Qk4lUo3sb+O4fv0Dd 3Sq21XoTMznu+BBdpyrxDF+uAsNOue9rmIVYSQkCAi7HheMid67tw8XgjEo1PQ0e QFTzqHPqV54tIYWBOM4A== 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 3y1y8n5sx2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 May 2024 11:57:22 +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 CB1564002D; Mon, 13 May 2024 11:57:03 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node3.st.com [10.75.129.71]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 1A7F3216611; Mon, 13 May 2024 11:56:34 +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; Mon, 13 May 2024 11:56:33 +0200 From: Patrick Delaunay To: Alexandre TORGUE , Liam Girdwood , Mark Brown , Maxime Coquelin CC: Marek Vasut , Patrick Delaunay , , , Subject: [PATCH v3 2/2] regulator: stm32-pwr: add support of STM32MP13 Date: Mon, 13 May 2024 11:56:05 +0200 Message-ID: <20240513115601.v3.2.I04ec53442753147c35efad1307b6ec133f53b471@changeid> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240513095605.218042-1-patrick.delaunay@foss.st.com> References: <20240513095605.218042-1-patrick.delaunay@foss.st.com> MIME-Version: 1.0 X-Originating-IP: [10.48.87.205] X-ClientProxiedBy: SHFCAS1NODE1.st.com (10.75.129.72) 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.11.176.26 definitions=2024-05-13_06,2024-05-10_02,2023-05-22_02 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240513_025731_705465_3B258C7D X-CRM114-Status: GOOD ( 12.00 ) 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 --- (no changes since v2) 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);