Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp4403402rwe; Mon, 17 Apr 2023 12:05:17 -0700 (PDT) X-Google-Smtp-Source: AKy350aIGGtWoDwcnIX57E3WxyPWAUeWa5+94JZRbvD+Z1gWEqRT4NQEf9uLvxFXZyWd9DXmXWtc X-Received: by 2002:a17:902:d415:b0:1a6:b2e3:5dc4 with SMTP id b21-20020a170902d41500b001a6b2e35dc4mr15818ple.14.1681758316553; Mon, 17 Apr 2023 12:05:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681758316; cv=none; d=google.com; s=arc-20160816; b=tmh9fhV1lqlWoEG1BePnoX0ZyIImARanv+rs7O8B2s2VbkghraTdd07IxvHYeD6IYx DsAx9sH7+ibkb5Ix5t4kYZJwBcVXx8Cx9E1sLx46g61nsiqw7Cofv1xoNISNw9YUADYA 8amlD08Cn/pQUdTDz7BW9g660EUfoSfKXlUqO5pQZTQiw0hy+1j3V6t1w9SSGGeCPL+P K/SdKDz+y/FvKMnX6dhDpDocec5VKJt75yso4BAbkYtlCIlIJXVflICUgg8tIRji65lQ dAUvl4BEXnAvgGBfv6iLSiTWVm4w024NyG7dhoA+aOjWGbcX39jhiwfPl/mjItCAHIzs ftcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=XAov7/Bnzd1CyCi8Czxpv46qA+TuWQbDgSndrrXMB20=; b=QiOCmeU6HfT8cvEWTar9JIRtummJ1LeXX4oYsamMXX8qPD3+Zua/+JAgWRnpfpq8n9 sM+hGJT9+a6PG5CE76f/SQTfvUnrAblcrom7rld8B8cL0q3fuvG/Q8POEGuQhCj/+XHO wPR/V+kMJUmvmk6Eu2XfHs9dWveIT5OanNrsqH9O9+N57mZX/WaQ+JIVS1dAk3zf7wSv v/ADVynblobm7FHhEOd6zIQOSIjxV3GkvF7nT2SqxRsA0U02fAu+qs4V3F1SiWrufu3N 0m9b1iQbpZehi1K3YqVYpGMlBCYQ5edwgMyk6apiCSwrDHnrq8bCykvofXWIExmLUGha wq5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cKtSFaY8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m11-20020a170902db0b00b001a690adc847si11723135plx.203.2023.04.17.12.05.00; Mon, 17 Apr 2023 12:05:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cKtSFaY8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230207AbjDQSzM (ORCPT + 99 others); Mon, 17 Apr 2023 14:55:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230157AbjDQSzK (ORCPT ); Mon, 17 Apr 2023 14:55:10 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 644A230D0; Mon, 17 Apr 2023 11:55:07 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id CC6A961B7A; Mon, 17 Apr 2023 18:55:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7015FC433EF; Mon, 17 Apr 2023 18:55:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681757706; bh=a67vqx0zLJeULnY4ySGNK+OdFOK9hdjKSEI9T8MMhD8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cKtSFaY8Budl3dBXR0jj1QEKyCa3jwo4l1PHQ0jWx0Zh/xJk37SDdUpUiODwm6lfI aQ77Z5m5MQUOZZ7XKrrFQjPwvS0/Lsflg0kHWHJj+U0j86zv8F1KdzXGTDh3bQvt5A YHXU+u99d0p0d0nn3ehMgKxUXRGEAgUSAUhPNAKW/JiiTog6RSSxEX+tGKNMV7OOmS d1Tg1ZMcEXtCPLQHfagd7uzcGx3jENaUOSYu+B7g70iiRjr3pCEbkoeS3aKzIpQN+R SFtmag72/Zq5WwmCeuZFszj09rNAO627PodFSNpO6uIUXCSAd7ChGMR4E52OdyLct8 5VRGo+w+TBgoQ== Date: Mon, 17 Apr 2023 19:55:00 +0100 From: Conor Dooley To: Changhuang Liang Cc: Krzysztof Kozlowski , Conor Dooley , Rob Herring , Krzysztof Kozlowski , Emil Renner Berthing , Paul Walmsley , Palmer Dabbelt , Albert Ou , Walker Chen , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Subject: Re: [PATCH v1 1/7] dt-bindings: power: Constrain properties for JH7110 PMU Message-ID: <20230417-ramrod-carpool-cd05b0def1a2@spud> References: <20230411064743.273388-1-changhuang.liang@starfivetech.com> <20230411064743.273388-2-changhuang.liang@starfivetech.com> <20230412-trifle-outplayed-8a1c795fab8b@wendy> <84300997-31f8-b36e-e54e-876c266fc953@starfivetech.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="m9nc9K7NjCFO2sFe" Content-Disposition: inline In-Reply-To: <84300997-31f8-b36e-e54e-876c266fc953@starfivetech.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --m9nc9K7NjCFO2sFe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 14, 2023 at 10:20:31AM +0800, Changhuang Liang wrote: >=20 >=20 > On 2023/4/12 19:29, Krzysztof Kozlowski wrote: > > On 12/04/2023 11:42, Conor Dooley wrote: > >> On Wed, Apr 12, 2023 at 04:51:16PM +0800, Changhuang Liang wrote: > >>> > >>> > >>> On 2023/4/12 16:35, Krzysztof Kozlowski wrote: > >>>> On 11/04/2023 08:47, Changhuang Liang wrote: > >>>>> When use "starfive,jh7110-pmu-dphy" compatible, do not need the reg= and > >>>>> interrupts properties. > >>> [...] > >>>>> =20 > >>>>> description: | > >>>>> StarFive JH7110 SoC includes support for multiple power domains = which can be > >>>>> @@ -17,6 +18,7 @@ properties: > >>>>> compatible: > >>>>> enum: > >>>>> - starfive,jh7110-pmu > >>>>> + - starfive,jh7110-pmu-dphy > >>>> > >>>> You do here much more than commit msg says. > >>>> > >>>> Isn'y DPHY a phy? Why is it in power? > >>>> > >>> > >>> OK, I will add more description. This is a power framework used to tu= rn on/off=20 > >>> DPHY. So it in power, not a phy. >=20 > I found something wrong with my description here, not turn on/off DPHY, > is turn on/off DPHY power switch.=20 >=20 > >> > >> Perhaps tie it less to its role w/ the phy, and more to do with its > >> location, say "jh7110-aon-pmu"? > >> There's already "aon"/"sys"/"stg" stuff used in clock-controller and > >> syscon compatibles etc. > >> > >> Krzysztof, what do you think of that? (if you remember the whole > >> discussion we previously had about using those identifiers a few weeks > >> ago). > >=20 > > Depends whether this is the same case or not. AFAIR, for AON/SYS/STG > > these were blocks with few features, not only clock controller. > >=20 > > This sounds like just phy. Powering on/off phy is still a job of phy > > controller... unless it is a power domain controller. > > Best regards, > > Krzysztof > >=20 >=20 > So, next version the compatible can be changed to "jh7110-aon-pmu"? Hmm, is the dphy the only thing that's power is controlled by registers in the aon syscon? I tried looking in the "preliminary" TRM that I have, but it's not really got a proper register map so I could not tell. If there are, it'd help your case I think Changhuang Liang. --m9nc9K7NjCFO2sFe Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZD2WBAAKCRB4tDGHoIJi 0vyrAP40p9+eWy0HrXzGbRGnh12ucDUKDIndOUg1jtl07fmWDAEAlx5fHF/hyhd+ cM0x7QGv6LiQILIX9j6p+Ha/5wFgKAM= =A2lK -----END PGP SIGNATURE----- --m9nc9K7NjCFO2sFe--