Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp529861lqp; Tue, 11 Jun 2024 11:16:40 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWoJ7DEkZcYvSr7hl0jThCJ58J5zTsh2s71WBVluK4ayvQI72HsuuBAdvs50A8DOHcBiuBSm8Pnpk7kIKUN8Ai3zc1P1CBrcPpW8O0u8g== X-Google-Smtp-Source: AGHT+IG2ccA4lSUjBEnbqqW0aqrJRAs9z/T7nWDJkJhuhanUrlKhEKaNOr0mAC9VbjbkgF+mhj5y X-Received: by 2002:a17:903:1c2:b0:1f7:1cbb:1d21 with SMTP id d9443c01a7336-1f72895516bmr45463875ad.31.1718129799710; Tue, 11 Jun 2024 11:16:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718129799; cv=pass; d=google.com; s=arc-20160816; b=ZLAtp7HcAQ00ROgqkuniXwsB/mw27YqBkazTy/kv4MWJgq6p6cMFPK1krnAn3yVcQ9 zy+nN4S2dkGBdO9ZhI1yumKiaUOJu3FkOmQbL+v1tOFXxaPnatGiMZpNHrjkwRoAms2q zqtcGKly7hMZsqieieAPQDzyjOQOb9gopb4sunR5hdx6O0t7IeU2CR4PfqvDWfkVEO2d XOU+hlbVeuxYqRgg201vMy2dqhLeBdQUffQFfRNe9bhSdzkLfUT6cde+Jv9vxXxLfC60 iiAfuWTC+lnbNKVOhirNCQcEkxeNfb51o8PYS6EB9o1Q/g0bhV4KkJ7b4AkNFDY3pMZN UTjA== 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=NfjWH45RCKVDAEvdfe/QFWLz3OCJ1MBwo8WlzQ6TLD0=; fh=UL6bZ52eYKDNDWej/y7sI31ut+Lx2nl5/ZBHCa3kicQ=; b=jpShtmFLXzduWfMTQdqiHN9/v/qvqC0TbYft1p2DzCgtwAhUqU8ViY2MdoqdmVYQbS BdJgk8FOlnUR5n9GyuqHoNxrkLq8Nb0G0DPT+RmFsoG2Aa/bfajS2bmyJpqu57B+UHvt KVcTsTjbq5UMbkqp9jKv+tQrsjmPvvGfrkhUbNRFiLBBzm7Hnc+mHjTB9a+Baf7eNEIk LOcGO4KlmcmB/gxtCENNo3eUWB1fRhvM8okCZIo5ONEa+WyK8CgyLakRvCMt91feUpWP jfZOju5OAXLWOx+6yMTjK4dxE7CLpLac7VECKhcyDlkCXP2Aowz/HR0KnXFdras341uS tGPg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pEPxnzB8; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-210412-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210412-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c302dbbc9bsi4205877a91.49.2024.06.11.11.16.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 11:16:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-210412-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pEPxnzB8; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-210412-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210412-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 7F5C428D36B for ; Tue, 11 Jun 2024 18:16:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9AAD46EB74; Tue, 11 Jun 2024 18:16:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="pEPxnzB8" 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 B1CF274418; Tue, 11 Jun 2024 18:16:29 +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=1718129789; cv=none; b=RtxiRcypHlQBDILSODBeNGxVRpJBx6dJ+QqRJOzllb605rd8pAnuo3UNrHuxAt3UVfTzpEVzL6xlY81KSNTgcFE8nru28nc1CKfwiG2KZQ/u6lX3yRaz50GMBJKE26bhZn6AklKchjAesvDpuEKcw2GoLCL8Uev83UMWAH5vkKw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718129789; c=relaxed/simple; bh=QhiccRUa8nUsNwUtkF0DHVHRaqAFjgzP5RrKB+6T1JY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bQMvk29cuZ5pdYpRdxHQcNsniITSmJCuGViZluiWpsh8tDE3goO35BMvXwEaHaMsJOVeAhrDnYlJ39OwBvgpVqMNYNe6vCNnfIRLIoPwaEDmeHv7wfAJKku58HLqPzLc3SEKm/eM3cYTc2If0NpugLH9UQTqxwFfJljJeB2uy3U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=pEPxnzB8; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 08239C2BD10; Tue, 11 Jun 2024 18:16:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718129789; bh=QhiccRUa8nUsNwUtkF0DHVHRaqAFjgzP5RrKB+6T1JY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pEPxnzB8t7dMfbQEPHmexKo0L4OWfieS9RXtZ4ZFc3/2fSzLcXqPQepAcvTrqtHLd swqvZEK56Eai0ZNq9HFFFks6VlBoARyn+FIZNySty+FPp2GocnCdVhAkdDnOqpDRQs wq1MUYKD6OWlM+vNeRH3hkV8OrzY7PU5ZVj/Ywnk0A2sbb0MsoC+LXX9uyoryiqRgg Z7HVuzfDTubzLDmHXjYRWFW5rqFEtNiHOB3Au83wdMtTIR7+7QxfqhxnmAGVN2GAp3 A1lCO5FZvpfLxspUkn5zrF+iLAmcXC3F/AH7mhrHGwAAyu5UIKGM6C4/DfmLcDArhI NoX7FEHV+mhuA== Date: Tue, 11 Jun 2024 19:16:24 +0100 From: Conor Dooley To: Valentin Caron Cc: Alexandre Belloni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alexandre Torgue , linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] dt-bindings: rtc: stm32: introduce new st,stm32mp25-rtc compatible Message-ID: <20240611-sample-remold-a75d6f6515d8@spud> References: <20240611161958.469209-1-valentin.caron@foss.st.com> <20240611161958.469209-2-valentin.caron@foss.st.com> 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="KKwSS3olauYNtTau" Content-Disposition: inline In-Reply-To: <20240611161958.469209-2-valentin.caron@foss.st.com> --KKwSS3olauYNtTau Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 11, 2024 at 06:19:57PM +0200, Valentin Caron wrote: > Introduce new st,stm32mp25-rtc compatible. It is based on st,stm32mp1-rtc. >=20 > Difference is that stm32mp25 SoC implements a triple protection on RTC > registers: > - Secure bit based protection > - Privileged context based protection > - Compartment ID filtering based protection > This driver will now check theses configurations before probing to avoid > exceptions and fake reads on register. >=20 > Link: https://www.st.com/resource/en/reference_manual/rm0457-stm32mp25xx-= advanced-armbased-3264bit-mpus-stmicroelectronics.pdf#page=3D4081 > Signed-off-by: Valentin Caron > --- > Documentation/devicetree/bindings/rtc/st,stm32-rtc.yaml | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) >=20 > diff --git a/Documentation/devicetree/bindings/rtc/st,stm32-rtc.yaml b/Do= cumentation/devicetree/bindings/rtc/st,stm32-rtc.yaml > index 4703083d1f11f..65a8a93ef5753 100644 > --- a/Documentation/devicetree/bindings/rtc/st,stm32-rtc.yaml > +++ b/Documentation/devicetree/bindings/rtc/st,stm32-rtc.yaml > @@ -15,6 +15,7 @@ properties: > - st,stm32-rtc > - st,stm32h7-rtc > - st,stm32mp1-rtc > + - st,stm32mp25-rtc > =20 > reg: > maxItems: 1 > @@ -90,7 +91,9 @@ allOf: > properties: > compatible: > contains: > - const: st,stm32mp1-rtc > + anyOf: > + - const: st,stm32mp1-rtc anyOf: - const: foo - const: bar is just the same as using enum: - foo - bar Thanks, Conor. > + - const: st,stm32mp25-rtc > =20 > then: > properties: > --=20 > 2.25.1 >=20 --KKwSS3olauYNtTau Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZmiUeAAKCRB4tDGHoIJi 0vaeAP40eEjU5fOjvpKKJDIRxVKhVBgtjG8rxLq1chsBTt6ukQEAoXjCusbWQHYQ 5OMNChI7TBH/+N8h7CaL9XazCcw9CwY= =91pq -----END PGP SIGNATURE----- --KKwSS3olauYNtTau--