From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EEA4AC48BC3 for ; Mon, 19 Feb 2024 20:19:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=SqxU2BINmexfp3jpCMaGms+lNZCgRkYYMRXeXDz2BMA=; b=m3g2yzZCJLERtr 2IREt1fQXFq8xq95QDVX7PWrg4WydlMgqTaR8Bpre1j+akcGPXh8XjZ3+o16DSrgKN3F11qDTQKI/ VB8AfrrzQ0QeUFtkHv5I0IwLJiuG3g9Xr42xB1ERsIzyn0AD+UvXAkEZxDzciSniztUtZVddR697B XBeIJfHXg3vO5RfLiQ+5O840+yP5bAKoUJnztaS0epi5zHmyI/NMzjNmrGLc4SqvqGLTTaPIqhjCH J82T2vr7ATcmr4rSpWX43R2rfrN8h5m/MWmVneo5Hi5+1kLvoCTCPGn1riCltllQ8rdMWLdcMgJR/ LFUZJNqQxAFaFQGremRQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rcA6n-0000000C40C-0Zpb; Mon, 19 Feb 2024 20:19:25 +0000 Received: from relay1-d.mail.gandi.net ([2001:4b98:dc4:8::221]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rcA6j-0000000C3yB-1KGz for linux-arm-kernel@lists.infradead.org; Mon, 19 Feb 2024 20:19:23 +0000 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> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <96c0f613-7c53-4189-bfc8-7d572b308b9f@amd.com> X-GND-Sasl: alexandre.belloni@bootlin.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240219_121921_688820_EF382C4C X-CRM114-Status: GOOD ( 22.81 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel