Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2115945lqo; Mon, 13 May 2024 08:17:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUZmP529JD/xxXz6qUMKG3X+Hwy/rHUFX1s4FhRc548t7gbVUd6xMaQiqLNeEs8Axkv08PDU3KvwzrYeCkwCUdXxnXCdJHLCHGVkouo4g== X-Google-Smtp-Source: AGHT+IHGxlQl9KECisuCGvsRgjbvj6awe0LqGY/MEfpiHrkG/eHgkEICld0iOCBypYtP+g25HbwB X-Received: by 2002:a05:6358:7204:b0:192:8935:4067 with SMTP id e5c5f4694b2df-193bb612b4fmr1257049555d.14.1715613435109; Mon, 13 May 2024 08:17:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715613435; cv=pass; d=google.com; s=arc-20160816; b=TZUpE4SjtrJA7NsOfRWiFFxvRnl14b7P/HinSdDM5fsnKgiF4gqjBPwbwy4y2ObPtk dO4zcNoa1hxDFG87SkNmF1TF2/9DoY8lxdci75x2neaXeog8xcMMqFmfFqCe9RN7RHMF /0sobxat2qZObdBbtiKEUAKpkBTSNyY8oaQG5+0DxO4plOp356W+HZj9nvjwzf4Hv/Xg oHyCMbI67iNxj7PYhI10JeQbRkClT3lQ2IFS0hSoLI7fSO3x8gmRAnk4Qb88vB9SX9Af EOoUznl7mogtURRE2wgxvxvLr+/piS7fqej5Pjztr86a03NWCc5PoldEG6OKGnqBmVh/ 44pw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=WbHrHe/ndBSIEC8iGTwV1lvGlY1TNlJLlixYLYv9/E8=; fh=u9d1i/YUzCM14K1I8VQ5RxezgjGvKFhm2qUCp2iKWzM=; b=iRz39s8TikbOW0TBRi5Cr00pVBN3Y/N9sbVQqq4USSnmT5aDyZgP5ZQT1y643ADPTE rPEcyegk1uZQvvWEQ5Ka2lQhp1SOFc5edYlDS/wVon4gjrz+oxj5H3HpQiLW/HJ/zKxV tgzb6o2zT5xZQOkFY2GywpyJjqB4mzMXA3v4qWWIdgS2qJGGzuh+ni0L7rr1CAJRLOgF RXosrOsJx7wovwuIPnO0bVWkXJDK17bo+R4/KR20ST5JUhp4+yRnjrNC3CEC2WVR9d/Z sNvUs1df/bVenIprOiCK2sbznubBmU78Oym8f6CEyANYeOZKOwEB+QwyXPpTM/pW2oWA 5AAA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lxrHjuKh; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-177740-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177740-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-43df56d59cesi95335431cf.708.2024.05.13.08.17.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 08:17:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-177740-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lxrHjuKh; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-177740-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177740-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id CDBE21C2155A for ; Mon, 13 May 2024 15:17:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 27F3F6139; Mon, 13 May 2024 15:16:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="lxrHjuKh" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 4A6811EB2B; Mon, 13 May 2024 15:16:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715613409; cv=none; b=P/+l+IE9DmDROQpSjWqAjja9jGEyryQqh4YkvjZsU442V6woq2pLzOZ9COfPiyMdDpQUfqrmFxVDQqTztyiZCuz3JfIOFcYtLQJvsAPlL+92fbf4BIsmIbxh84jWwLFAIVZJiyTJlQtWeTVq1RAfgHHGbKDpP6sGm9WiPGm5s/4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715613409; c=relaxed/simple; bh=HU9Kthyf9AMvfavUhbOcA41Vuir/Y1fnNqQMRB+ThnI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=rcbToy9gLFou71/6DlA6FZhQRlJQSrOOzjrGOP40KngZxIV5rR5003XzSsUikKN12kRYd1cFOwzx2HaGyGxmM6hq3Rew5gTDnfzPaxYPcUWy02VaRhV6cI20rnZ9Sw+g5/vMyyV2i5hQDVYuW4Phr2zAqw2XvexbbmGMolf218k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=lxrHjuKh; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 15316C113CC; Mon, 13 May 2024 15:16:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715613408; bh=HU9Kthyf9AMvfavUhbOcA41Vuir/Y1fnNqQMRB+ThnI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lxrHjuKhb3JXMA3yvXcjLCZF753vbE9sWINCd0Ep1XXA/LSaBp0ZDXvT/q/5gKO++ Lzw2/twgMrGiuEScOAO2zDy7CNwaxX60tVhSo6+rkjF/wCWkAWuAVKl9TgahRpbc2W txo0MSgdR8a7Xaa22nzigdLN+L/2/TNXt1OtiXtpcY8l07zZwtDiquDwe/NfbOsgJI /pznRwlM7FwQt7kBN7vaWpxl23/sqHvUTabMWXUG+WBr8X8Oa+Dba4lawv9R6hE1Dg 5QdcD1DRFHRnjtvt7PtcdVMh+mR+jzwqk1ZMF0ipkEChrgIvzW9RgXC5vjYDCTZU+b v5p+29TQr+oxw== Date: Mon, 13 May 2024 16:16:43 +0100 From: Conor Dooley To: Marek Vasut Cc: Patrick Delaunay , Alexandre TORGUE , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Pascal Paillet , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com Subject: Re: [PATCH v3 1/2] dt-bindings: regulator: st,stm32mp1-pwr-reg: add compatible for STM32MP13 Message-ID: <20240513-stabilize-proofread-81f0f9ee38b9@spud> References: <20240513095605.218042-1-patrick.delaunay@foss.st.com> <20240513115601.v3.1.Ia0a99d90acb512aa020a6e7a8cca8cc1b71f1759@changeid> <615dfdcb-cbda-426f-895e-810f03a8ce60@denx.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="7WL8bDW+3sE8qEPT" Content-Disposition: inline In-Reply-To: <615dfdcb-cbda-426f-895e-810f03a8ce60@denx.de> --7WL8bDW+3sE8qEPT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 13, 2024 at 04:34:20PM +0200, Marek Vasut wrote: > On 5/13/24 11:56 AM, Patrick Delaunay wrote: > > Add new compatible "st,stm32mp13-pwr-reg" for STM32MP13 SoC family. > >=20 > > Signed-off-by: Patrick Delaunay > > --- > >=20 > > Changes in v3: > > - Replace oneOf/const by enum; solve the V2 issues for dt_binding_check > >=20 > > Changes in v2: > > - update for Rob review, only add compatible for STM32MP13 family > >=20 > > .../devicetree/bindings/regulator/st,stm32mp1-pwr-reg.yaml | 4 +++- > > 1 file changed, 3 insertions(+), 1 deletion(-) > >=20 > > diff --git a/Documentation/devicetree/bindings/regulator/st,stm32mp1-pw= r-reg.yaml b/Documentation/devicetree/bindings/regulator/st,stm32mp1-pwr-re= g.yaml > > index c9586d277f41..c766f0a15a31 100644 > > --- a/Documentation/devicetree/bindings/regulator/st,stm32mp1-pwr-reg.y= aml > > +++ b/Documentation/devicetree/bindings/regulator/st,stm32mp1-pwr-reg.y= aml > > @@ -11,7 +11,9 @@ maintainers: > > properties: > > compatible: > > - const: st,stm32mp1,pwr-reg > > + enum: > > + - st,stm32mp1,pwr-reg > > + - st,stm32mp13-pwr-reg >=20 > Should the st,stm32mp1,pwr-reg be treated as fallback compatible for > st,stm32mp13-pwr-reg or not ? >=20 > In other words, should the DT contain: > compatible =3D "st,stm32mp13-pwr-reg", "st,stm32mp1,pwr-reg"; > or > compatible =3D "st,stm32mp13-pwr-reg"; > ? Which one is preferable ? >=20 > I think the former one, since the MP13 PWR block could also be operated by > older MP1(5) PWR block driver(s) without any adverse effects, except the = SD > IO domain configuration won't be available, right ? Aye, the fallback sounds like what should be being used here, especially if another user of the DT might not need to implement the extra domain. --7WL8bDW+3sE8qEPT Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZkIu2wAKCRB4tDGHoIJi 0lvfAP9rGyh8L75hqzO31KKo0VjnQVaddbWqnT+TfJuogvhOPgD+K/V4pOzfwW3l NyOTQkYcM9fqIXgdfeeXPmIZ/6VV3QI= =kDOI -----END PGP SIGNATURE----- --7WL8bDW+3sE8qEPT--