Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1349627rdb; Mon, 19 Feb 2024 12:19:36 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWxAgzOzCktOE6G7qRgmuzdyZB2OY2bW8NtCAPrbmil4F1Gb+3Y+fJsUT5NnfBaTROKokdZJPkNE7//zNMihvqA7ZQ+mA+D6gCXBG8UlA== X-Google-Smtp-Source: AGHT+IHf8Kmpwxqiqi4wpqZUsEso5TCgbe8TjLnxff2LHrjkAw1V7+CNKVAXNdo3efYf9KtVK7gx X-Received: by 2002:a05:6a21:2d8e:b0:1a0:7e41:cdcd with SMTP id ty14-20020a056a212d8e00b001a07e41cdcdmr13359806pzb.57.1708373976533; Mon, 19 Feb 2024 12:19:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708373976; cv=pass; d=google.com; s=arc-20160816; b=zXIqH/zWJ846IbCfxgU9u0YrI0pQzUuKSAubZvquqkcnFw5Smi6LvWqDhLIYBrvcyZ QLQNHNBR/gXyASP7JCsFmeK9JQwVs5X9aq4KGcOxvuE1H4SKQRa/vCNAxNstH5UvBCFQ nNdZGTDWAOqHSyDHb2OvMpcfHuPisUKcaOKrDw1HOi7go3e2DvMgwxdJ5sFi2kSKyIns JcWb/OM7ReX/kp5gXi4KkW45BBzN86MVDUHFgwQEc+cvb+yYs9ewMnJK6I1jgvhLGBOH e7L/El95Gnj+57vcaSxKDyMcladgODF1QJRKVuqG5GKGY6nfry8Htc6aaDB/nt4u5T4z dYCA== 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=/eFa1OZ6RfBH4efn1I84fs1ja49iC4gp/bJRJKYHyLY=; fh=6h76EsIA0JjPjRmYfVIu/Zuzr2LKPlShifvcuaZO/Eg=; b=Pc9s+mBcuRWtWcY3J79+OnCLQGJbZLztA8Llzr1s93ViyFFuei43bpSPFSYvLbWKLr IWQC7cmJ4pp6ruyi+8ZGsu1xrHC9cmm1MYQ7Fjpg8XzhIZ7Ns8OU6fdOGiFCR4EDb37u aPwfD4FlofjHn1s+koWmM+/N0pgjfR8PRFjmx/K8oiFxbf3iTGoXy3JeVBgJKHmqNrkT tQkPQoOS2MgPdKNB5igymQoz7bTdAMR5JPI77LLRKy5Uqg0cm90FNGo+FwZt0wMAVD89 A8tn4gWTjsgyYql7LRfA/JbSJkDqh0r/UJpMS5m4vc4yVVDqaxaU33EU02W32G9qUFCq b/9A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=ZJJBiWbb; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-71953-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71953-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id k12-20020a170902c40c00b001d9773a198fsi3376110plk.409.2024.02.19.12.19.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 12:19:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-71953-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=@bootlin.com header.s=gm1 header.b=ZJJBiWbb; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-71953-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71953-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 3EC19289898 for ; Mon, 19 Feb 2024 20:19:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A395A3B19D; Mon, 19 Feb 2024 20:19:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="ZJJBiWbb" Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) (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 98C09524C0; Mon, 19 Feb 2024 20:19:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.193 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708373968; cv=none; b=CyM55jKjV2lXGT+7+GokUtGaJaEi5d37dhIpVN+KJey9rSC+6DNs3nA1QaFAeutMSICkfN/TCIXE2BhbG+4Y2Ub1l2Rtj+hP0xiHW20WCIVbCRDz/txGISFhvjmzW1VrFKEbS/QptRludGnLLdTWa61nj8fUhkPwCAXI+MhyH98= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708373968; c=relaxed/simple; bh=EwTBXOokFY4P9ANdyfQvACUoGgEpku28/zv8Debf6KQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ERRnDhHYB+4R1fXE9uNMbj/UmuOznIHYbRcwocpzAC9t5M8/FX4lZs2G6exC/cPsD06FxP7ZIG2k0gEzaYKK0aQsjdt3zsebJ+YeDGDfyisIwFOelLKWtKI8ekjzjZaTLx4k5cJ/lYb6jRHe5mUAsRimiSNQCUNG/IPOWiqUXQg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=ZJJBiWbb; arc=none smtp.client-ip=217.70.183.193 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 1FC0F240003; Mon, 19 Feb 2024 20:19:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1708373957; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=/eFa1OZ6RfBH4efn1I84fs1ja49iC4gp/bJRJKYHyLY=; b=ZJJBiWbbQlaBB2D6VpMjxy7mi1VJFKuuQHHbAVy2+IbVDdQ6zzJNgzwpTrdZy3I7Z5Xl81 lmZ/fVm4w9xg7xsGvRp47527tcWFUhfrz6mGGNeQ2uzs4msTJbniB8ZKQq2pYnxwH/SsdX YRVfyuatTfzV0WAY6i2dJyzxDEdEuCm41W+B9LzOpSscxlaSNYOphuOgHlO1O+bcljUUxz Qem3xafhQyRKvcG+A57yYeIjrYlz8WMWqMjfJY7Oa3blsQV6klPHBz1RRKl0XokY2ILVQh FD3Sc4jN8ItbrLxZXE5SKqG+N5MFkgsNQwDZ7xEAfIttA/j6f33s5t1RtpgUMA== Date: Mon, 19 Feb 2024 21:19:16 +0100 From: Alexandre Belloni To: Michal Simek Cc: Krzysztof Kozlowski , linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com, 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] dt-bindings: rtc: zynqmp: Describe power-domains property Message-ID: <202402192019160b9c4120@mail.local> References: <94726c90ff519185767475f672d70311472ea925.1708073513.git.michal.simek@amd.com> <5a81f16b-8ece-4263-b424-4dd6cd6e386f@linaro.org> <96c0f613-7c53-4189-bfc8-7d572b308b9f@amd.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <96c0f613-7c53-4189-bfc8-7d572b308b9f@amd.com> X-GND-Sasl: alexandre.belloni@bootlin.com On 19/02/2024 14:11:50+0100, Michal Simek wrote: > > > On 2/17/24 09:26, Krzysztof Kozlowski wrote: > > On 16/02/2024 10:42, Michal Simek wrote: > > > > > > > > > On 2/16/24 10:19, Krzysztof Kozlowski wrote: > > > > On 16/02/2024 09:51, Michal Simek wrote: > > > > > RTC has its own power domain on Xilinx Versal SOC that's why describe it as > > > > > optional property. > > > > > > > > > > Signed-off-by: Michal Simek > > > > > --- > > > > > > > > > > Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml | 3 +++ > > > > > 1 file changed, 3 insertions(+) > > > > > > > > > > > > > But Versal is not described in this binding, is it? I see only one > > > > compatible. > > > > > > It is the same IP only as is on zynqmp with own power rail. > > > > Then you should have separate compatible, because they are not > > identical. It would also allow you to narrow the domains to versal and > > also require it (on versal). > > I can double check with HW guys but I am quite sure IP itself is exactly the > same. What it is different is that there is own power domain to it (not > shared one as is in zynqmp case). > > Also Linux is non secure sw and if secure firmware won't allow to change > setting of it it can't be required. I am just saying that Linux doesn't need > to be owner of any power domain that's why it shouldn't be required > property. I guess because the integration is different, you still need a differente compatible so you can forbid the property on non-Versal. > > Thanks, > Michal -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com