Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp55033lqi; Wed, 6 Mar 2024 09:53:20 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVQp1inODBr6rInYKkWfLSHTemRM1cnAwLgpaZvTFmqBYigQOCrhu2A9/+krgz0wPkAfF4l6M1r62eXvAXmjiV2A0XsQ9ohYP6/mxsknw== X-Google-Smtp-Source: AGHT+IE4FYWm5YBYQgSBBROs8Ve7dE1lW3W8UrTMxT/VUH2oNNIeu+Ybs9h3CpIB+m+TUpamBeQO X-Received: by 2002:a05:6402:31f3:b0:567:dd5:7afc with SMTP id dy19-20020a05640231f300b005670dd57afcmr6362045edb.8.1709747600586; Wed, 06 Mar 2024 09:53:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709747600; cv=pass; d=google.com; s=arc-20160816; b=vRpcmzYMWLR4S/KEpdoeoGrunReqGwxwHZDZ2RImcLe4LEsBEa4QK1i1hvCbz3hmCG woy2mf5uX9/lb5sKLtGVlGKS3mHylcFFZEWHDwZ2TK7vOp1WZHsiX9JBim92ipY1/ZMp h5tXKv1316kYCzAJ49DjTTllBQ03Xo1lQK7mjfjFxkgatpmaY3Y9Q7PAoQOs49pfs+Tg 97O6dNi6ZzAc0HEpyjaNNI4vd9WRZ5zKXus1B/P539VFCToXlw631xtkTscQMRG2nxgh q1FlFmX2VFajMu0DSN+Hymp0EsJOw1X/g0SFfSELIGESCDRhexY4M7BE9USLlB+sH718 SGFQ== 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=JaELgiJwNtIbKNMuvWdktVScWFvo7ogFghkNOafpk34=; fh=5BOvItitsQpLwKPZoQPI/imj8itlC4a6ZY4IkhBwWQU=; b=EsonNjGHrI1YPjs4zE9tqPuPK/LdCQ4n+HXDRHta29ygwYN91CrNdWxycCxit/fLNL v21sO4CJkldyMTOoLaifbEAF6zMbTPpOjPs9lT+hVS149kFbnh70jBYCH5pbDQOb/UV0 ca8vnOrG3DSdipKV2b7RFoVRScjWOULsA7QmsQgDpZ6Y1gvWwRVLSXozA3r993fxTYOg kUGRwwKF0fSxgoN60x9ODAgw1UUXltS7zIS25RkFE95u+Ee8eh7tgaATjNaQC6CQi9Y5 eFgtaO9lSPN2MxsVUcvJ0JCAThDAg0WIynmDSl1nKGD/GuoRWjH8Vwv2e+D6/lT0w1mI qm4A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=thRr20yN; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-94351-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94351-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id r12-20020a05640251cc00b00566dbc6c353si5171456edd.90.2024.03.06.09.53.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 09:53:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-94351-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=thRr20yN; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-94351-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94351-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 536F51F24FFA for ; Wed, 6 Mar 2024 17:53:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8779F13C9CA; Wed, 6 Mar 2024 17:53:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="thRr20yN" 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 AAA3F135418; Wed, 6 Mar 2024 17:53:10 +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=1709747590; cv=none; b=rjRYxu0Pm/IbqjHW3wYDuNV8zunBj/CcYeLVvlrrQOlg9mlfsO4d310AQTdRojJTWmQdkOqUxhXI4lFZ/CxM+E4rbMUIl8FdQOP79TG+yjyEYH6zcCdgS1SKsL2WB6XNZaFJHFK/Kd3RHrQMb9LhNsoeqw142TlhJ38gEidxc48= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709747590; c=relaxed/simple; bh=J4pW+9sn+ycWvhZXkL8EDJX7Gbm1CDDis3/1Tf2LG7Q=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=V4UjCaGfDP+zjoeRK+RMgT+JzWmVUOCYAw78nwOHOVoN+E0svbpXrrhRX7YFvgMrAnhz+s3pFNkjQCFdI2z0d+R7Tp1Jew6cyZ9MZRvDgM2dig3lYBjIWGPb9oUAov4yM6LeNWCfNAfsrLwIG1s1vEYHXtmddwo5csuRyz/BE7Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=thRr20yN; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D5F7CC43390; Wed, 6 Mar 2024 17:53:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709747590; bh=J4pW+9sn+ycWvhZXkL8EDJX7Gbm1CDDis3/1Tf2LG7Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=thRr20yNSs4YSLr3Z1rnir4XCdj3nBoHgNa3v8yaRVIvQFRJtI097Cduh7FfZcAoE xu9xdwUhWWOio8ea1MIRPpUeEoPJrgp/pzWYLAXRmFM34BUW0quSOcBGJcViRuT+/a lt9qTqmDGD6Z7j6/sZ+i5eaMJlMNev28SPLM0/XgE7WLHWqU/RvsZJ8xbVhUJSGfHw V8lSsd3xiS9QA6l0wVc34z5bFyyOCQwShYW1RRBKpetgo8c7VdH6cb5LZVPijsz0wd EOC0ya/lRtQxeYyEclJ0tq0ZgiMj9pL/YvkZoeFSd/erCYHF37Lz50wllgP+KdBwEy nALwWxPEiAgFg== Date: Wed, 6 Mar 2024 17:53:05 +0000 From: Conor Dooley To: Michal Simek Cc: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com, Alexandre Belloni , Conor Dooley , Krzysztof Kozlowski , Rob Herring , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/ZYNQ ARCHITECTURE" , "open list:REAL TIME CLOCK (RTC) SUBSYSTEM" Subject: Re: [PATCH v2] dt-bindings: rtc: zynqmp: Add support for Versal/Versal NET SoCs Message-ID: <20240306-mystify-playset-5b4ae2f955f3@spud> References: <70b646d60f53cccc734afbc7f22245d53394075e.1709728587.git.michal.simek@amd.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="p/fOP0/kzkjNlStW" Content-Disposition: inline In-Reply-To: <70b646d60f53cccc734afbc7f22245d53394075e.1709728587.git.michal.simek@amd.com> --p/fOP0/kzkjNlStW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 06, 2024 at 01:36:34PM +0100, Michal Simek wrote: > Add support for Versal and Versal NET SoCs. Both of them should use the > same IP core but differences can be in integration part that's why create > separate compatible strings. >=20 > Also describe optional power-domains property. It is optional because pow= er > domain doesn't need to be onwed by non secure firmware hence no access to > control it via any driver. >=20 > Signed-off-by: Michal Simek > --- >=20 > Changes in v2: > - Change subject > - Add compatible string for versal and versal NET > - Update commit message to reflect why power domain is optional. >=20 > .../devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) >=20 > diff --git a/Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml b= /Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml > index d1f5eb996dba..5652df8ec121 100644 > --- a/Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml > +++ b/Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml > @@ -18,7 +18,10 @@ allOf: > =20 > properties: > compatible: > - const: xlnx,zynqmp-rtc > + enum: > + - xlnx,versal-rtc > + - xlnx,versal-net-rtc > + - xlnx,zynqmp-rtc You sure chief? I don't see a driver patch alongside this adding these new versal compatibles there, so should these versal compatibles not fall back to the zynqmp one? Thanks, Conor. > =20 > reg: > maxItems: 1 > @@ -48,6 +51,9 @@ properties: > default: 0x198233 > deprecated: true > =20 > + power-domains: > + maxItems: 1 > + > required: > - compatible > - reg > --=20 > 2.36.1 >=20 --p/fOP0/kzkjNlStW Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZeitgQAKCRB4tDGHoIJi 0lR0AQDThWJ+9/UbQ2HAJQImVzfkdbfv85FsDZpRODFQwqT+BwD9GMputTe1LtAz 1aZaDasFqMBFJ8Tn1IH6vfz8bq6C8AY= =m8/k -----END PGP SIGNATURE----- --p/fOP0/kzkjNlStW--