Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp1933225lqo; Mon, 13 May 2024 02:58:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUzHsJ0y48mRWM0ih3ljpu48TiaWTCt0hEcdsUUQXdlMTNcD9r2jOR6q+PF/1TwoM21wJD12n/rDujEf7ascZAFCKWmz5Jc3uavctAkIg== X-Google-Smtp-Source: AGHT+IFq9yaI+NvpF6xwkd2ai1/ZHW8lH5dJ10rpLvmtEvZdxpEKw6EPeZwRwLq8Gf+QaQU8ZSis X-Received: by 2002:a50:9ec8:0:b0:572:69be:9b00 with SMTP id 4fb4d7f45d1cf-5734d5cfd13mr5877911a12.16.1715594287509; Mon, 13 May 2024 02:58:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715594287; cv=pass; d=google.com; s=arc-20160816; b=GTJxNtTf3DsSNXmcJO1UeCZUCSKCWWVtJAHn+6Q/qmeTBieVvmk0b1ZI6EF0UCFvrV 1ffTrx2RpR7wxeFCbtljR9qr+roAISrqlKHsHMu6KXyr7+MwAh8LCeFqq8t23ZloaZ7r 6be2yIBEnH5DSvlBkxAsLkKB5yYJ0tnY0m3X+Op1B5QNDOCtCmdnhuwGsWhmaeWAzoAW yGkV5M+m21fo1NWF02osC0yaJoCAlzcaTuRCMPB5D3BYI2PP0fQ0YDGP81CYqXhBPtda PJp15Qp6gUMQgtaaTgA3ecyOPk1fw0CzQWDsMffEoyNzi3IgDiZe8CwYTIQr1hgk+/EL 6IRA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=IVz8GLjJytTTaf9y+4NV3G5TkNUJmDm03ovIMIb2MbE=; fh=gny4uTkeEUMsWWUGAgvuVBB9SsRoRY9C8wvq9wQHwSI=; b=ILLed9V4mEorcENnG9SsNLXyFsE3lL/xaAELwgMlsIyEL2p1OahTB6jaBnvl+vkfdT njOVXATSbgnsQqzsgzuO64Xdt/kz3yyskBL6SQuTxEB2ePMD4DpUBMaGmtXorgK+XD+c Iu1hZZW3ko5I1RyUVbRo12kX8qFbUKT9mWnQxJkUSYCSZLi/yXQA+yTe5Xj5fwSOiEue RYYR011knN0dd834fRvtUvJ8mEko+8aXeZyzKpAkVvjcN+cIk5PLJlH2sZ5LrIis1rQm LJ9OW1+yN50xFY/Q/sq5zEJoSTEYdMv+OUUj7caDfOt7FF7RLDctgTwbY80puFZ++Rqu CIig==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=Xn+ALl5c; arc=pass (i=1 spf=pass spfdomain=foss.st.com dkim=pass dkdomain=foss.st.com dmarc=pass fromdomain=foss.st.com); spf=pass (google.com: domain of linux-kernel+bounces-177429-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177429-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5733c2e450asi5314174a12.239.2024.05.13.02.58.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 02:58:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-177429-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=Xn+ALl5c; arc=pass (i=1 spf=pass spfdomain=foss.st.com dkim=pass dkdomain=foss.st.com dmarc=pass fromdomain=foss.st.com); spf=pass (google.com: domain of linux-kernel+bounces-177429-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177429-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 413011F223AC for ; Mon, 13 May 2024 09:58:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E2D8214A0A2; Mon, 13 May 2024 09:57:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b="Xn+ALl5c" Received: from mx08-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 82810148FE3; Mon, 13 May 2024 09:57:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.207.212.93 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715594264; cv=none; b=byJeK9/xjzMULM5KS+Q1a38+x7P66eYGc5l782LfSdb7cCoW1scIAIUQA+2KL9RIQ7JwzsmPr9w3o9bGtnnIKsGHWKzdP2monMnwHwVDpcGncThMrrUT4tfef9tfEe7i7T6y8a/iCttuLLmpDkO2Yytl0T4j7wW0sZa4pOrMVNA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715594264; c=relaxed/simple; bh=I3TEGDltJv2QQsYppV9FRanJLs8vAg/I31dXMaxtWyk=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=rs4Un3UhRWCepVNZrl1l2rZQdsypNA8G8odEbuXqSOBZrwpvXmiXE2p2fEp+M9FWwni+R2v++eQscQYj2Q7CVVsoiy61knuAAwZSH1hPrso6uBtfNr9Q3S6nhiWa1fH7UdTMpNsfZKiflAUk/jhKvjXXeF7nkr3Qn3u3N5KUl5E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com; spf=pass smtp.mailfrom=foss.st.com; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b=Xn+ALl5c; arc=none smtp.client-ip=91.207.212.93 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=foss.st.com Received: from pps.filterd (m0369457.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 44D8M5wE008202; Mon, 13 May 2024 11:57:26 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding:content-type; s=selector1; bh=IVz8GLj JytTTaf9y+4NV3G5TkNUJmDm03ovIMIb2MbE=; b=Xn+ALl5clpNlkGDk5FTGdl0 EaVogPgMkKil0F46xIH7ubIMtpMgfvVPkR75Pd8sV8xjAPjpF2irfrhAu9AJM8Vd rDMOjYEgl/7VImDtUn8W08BZioT1N8KZ/k4aDX6x0GEKcj6MjmkHh9XGgPz6Rtxq PtH2ymI9OzUcUSP6TjO/DX75VQ3Zl9ieC98v65ddvbPYPmMPYK6JiIYhAM4xuY4P NdOVsKMXcz3siW7D5SgpBOi0PGZCFyI6khG/G+V0oUZMtsTUAx1eGuKQOmdsBf+Q digsh3YJi+5bG9uC5QVFtZdulb/7hiVuB4/NrypjCzqxdHdXe6rUpSJYt7xNJsw= = 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 3y2kmhkjd2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 May 2024 11:57:26 +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 DC1D840058; 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 E9B53216605; Mon, 13 May 2024 11:56:31 +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:31 +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 0/2] ARM: st: add new compatible for PWR regulators on STM32MP13 Date: Mon, 13 May 2024 11:56:03 +0200 Message-ID: <20240513095605.218042-1-patrick.delaunay@foss.st.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain 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 This patchset adds the new PWR regulators compatible for STM32MP13: "st,stm32mp13-pwr-reg". As this node is just introduced by [1] and it is is not used by any board in Linux, it is the good time to introduced this compatible and update the STM32MP13 SoC dtsi without ABI break. A new compatible is needed as the content of the PWR_CR3 register, used by this driver change with new bits on STM32MP13 for SD IO domain: - bit 23: VDDSD2VALID - bit 22: VDDSD1VALID - bit 16: VDDSD2RDY - bit 15: VDDSD2EN - bit 14: VDDSD1RDY - bit 13: VDDSD1EN I will push a update on STM32MP13 SoC dtsi if this new compatible is accepted to preserve the bisectability. [1] commit f798f7079233 ("ARM: dts: stm32: add PWR regulators support on stm32mp131") https://lore.kernel.org/linux-arm-kernel/b89d0531-067f-4356-91b0-ed7434cee3d7@foss.st.com/ Changes in v3: - Replace oneOf/const by enum; solve the V2 issues for dt_binding_check Changes in v2: - Add new compatible for STM32MP13 and change title after Rob remarks V1: "ARM: st: use a correct pwr compatible for stm32mp15" Patrick Delaunay (2): dt-bindings: regulator: st,stm32mp1-pwr-reg: add compatible for STM32MP13 regulator: stm32-pwr: add support of STM32MP13 .../devicetree/bindings/regulator/st,stm32mp1-pwr-reg.yaml | 4 +++- drivers/regulator/stm32-pwr.c | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) -- 2.25.1