From patchwork Thu Apr 25 07:48: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: 13642929 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 C94C8C4345F for ; Thu, 25 Apr 2024 07:49:45 +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=DT9pgY163L/59ET9jgGq8UFuyVouWu6Xi6XyzPFeQA4=; b=OIBciCZSIrOhlS zKDpzROfC6vT8LNkPODAbr1TA7O6TNwJWbmPLCOemXEkpeEQz/jNuBefB0ndjp2DxYUU9sjbvqANo owdo7mzMR2qij45CToR+EffiVBV3dY8feqozS/yNiXC9M2jMczqqVy4GL7GturQVqAbUA/HAg/ahA K36WXx0qN2ZpAOzGKxkcxpJK5UKbUoh3LEqkyCRKBWjYiKyXQ+uMBMX5OuQbSakB8Z2iqM9Wmx84X j5/oorA6Cpw8+wj2Pmpm+KDzkYUeQRLI33V2A4di9LHWfIqcWOddI11kBHNd+EhJTeCHwwFBnyskh JWHrNASKENer5YQni7Pg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rztrJ-00000007KXp-3ko2; Thu, 25 Apr 2024 07:49:33 +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 1rztrH-00000007KX7-1iNk for linux-arm-kernel@lists.infradead.org; Thu, 25 Apr 2024 07:49:32 +0000 Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 43P7j7Oa021437; Thu, 25 Apr 2024 09:49: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=9YeaHLmicVOdp2NeKB/6HJ2XK6JQdpKzOtj7T+m86tc=; b=OR NWl1Z046LC+8xqoipeUuw+iE+XQdOCihVMxjQ/eKdsXX3Muv2PvkqllFNeRuLQQy RX7/GuF10B/iGhxX+oagQWl6PdZDpyWJKUAg1Db274UL4Zz0Fhk/sKnbc+lH6gvh CFEmO+2nnCkd6qVq/tRzNe0XGhtSKtN3Q8316hAFL7SBnHFXT1NNVByBG3nYDZcR IePZWE6D/7lkJDFsuTUXGq74t+6gG5jL7Dxt1NMljwze549+dm2x+RCtB7L/BY23 ShCQOusLavsyCA4nYVgSlo46KWfHJffk1WYFdLmfIoz9gM08NHFt+olhUClgzICE jf+NpbgHCUb4PWNQDxdA== 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 3xm51wcpdb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 25 Apr 2024 09:49: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 853F640044; Thu, 25 Apr 2024 09:49:18 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node3.st.com [10.75.129.71]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 20777212FDC; Thu, 25 Apr 2024 09:48:54 +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:53 +0200 From: Patrick Delaunay To: Alexandre TORGUE , Liam Girdwood , Mark Brown , Maxime Coquelin CC: Patrick Delaunay , , , Subject: [PATCH 2/3] regulator: stm32-pwr: add support of correct compatible Date: Thu, 25 Apr 2024 09:48:33 +0200 Message-ID: <20240425094829.2.I04ec53442753147c35efad1307b6ec133f53b471@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_004931_761841_D8DB1C84 X-CRM114-Status: GOOD ( 11.35 ) 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 support the new compatible "st,stm32mp1-pwr-reg". The old compatible is keept for compatibility with old device trees. Signed-off-by: Patrick Delaunay --- 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..f6a761167726 100644 --- a/drivers/regulator/stm32-pwr.c +++ b/drivers/regulator/stm32-pwr.c @@ -165,6 +165,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,stm32mp1,pwr-reg", }, {}, };