Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1804196rwl; Wed, 12 Apr 2023 19:36:11 -0700 (PDT) X-Google-Smtp-Source: AKy350bC8RAz37kGEuQMtVVrYcMVOhu6qBVR3OJBl6v8F3wHfi8HG/eh3IhUjoMtg5HlkV03A1dm X-Received: by 2002:a05:6a20:835e:b0:d6:91f5:2b10 with SMTP id z30-20020a056a20835e00b000d691f52b10mr365716pzc.58.1681353371437; Wed, 12 Apr 2023 19:36:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681353371; cv=none; d=google.com; s=arc-20160816; b=DKqQ36sKJp6p5FNZ7r4rn+94FXr9lruFjr1zJ11By7Wvo9dDwauF97ndrUwjQ/BMj5 Wwt7NL8BVOLTfLvNPF87pe2ND7YxEbiw08dZ2p+tnwOV5RSrjYFTzmXbFP5czyrwQY/0 OPD6b3CmPaMg0xfZxhbkO2CSCxwcg8rMvnB2dIlZMQ6j9qgOBeVu1OmgkEoADy2OCwYr WkG2rSH3KlYwUMYR1n37sBZv/5BTuufXgnHrW8tdtYdkF0hQWZUuksn7gJhfONqS3Vve H0Reu6FYBf4v/8pDw1g+y0iWFg6CAFWWf3s0+HrxdnYSxSUuGBLa8B8wQQnsyWImxjn/ nYJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=7C4NU9zP/l1Vg4jo/qKYCT55QW9LEv1ZCOtGSCsZB0g=; b=JSa5dHSBmawi3O58u3Z/K3VzV423rtscxaA/WmJztSUXxIEdnFRkt7wXrA0c0iEx7T fwcGU9uK+Ef2jAz6Z145XxPRduzsoj7oGWmnzGDC6WgossiQjMB7J7A0J39ul+3peQX0 ZVgRHPe10LevlSjwyhbx6XicJDsZsrvs0/LUZ2fYhDivU44SLxCMrGFtOHpj4/FqfAyF k/L1mDzynFPC3DSe1WLuRUyIjnjrMkPhaf5oSt8I/OlbmIDizQBOml0a5evHAv9OSszK tpobHSop2McfRofHdfpe6j3sYvVHzyha9gZcGexbaM4KbXaUQ23N5ON9ZwudQvAtFGfF DYXw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e188-20020a6369c5000000b0051854bde329si743644pgc.367.2023.04.12.19.36.00; Wed, 12 Apr 2023 19:36:11 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229746AbjDMCMI (ORCPT + 99 others); Wed, 12 Apr 2023 22:12:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229484AbjDMCMH (ORCPT ); Wed, 12 Apr 2023 22:12:07 -0400 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E9D74C3D; Wed, 12 Apr 2023 19:12:05 -0700 (PDT) Received: from EXMBX166.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX166", Issuer "EXMBX166" (not verified)) by fd01.gateway.ufhost.com (Postfix) with ESMTP id A23618016; Thu, 13 Apr 2023 10:11:55 +0800 (CST) Received: from EXMBX162.cuchost.com (172.16.6.72) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 13 Apr 2023 10:11:55 +0800 Received: from [192.168.125.82] (183.27.97.249) by EXMBX162.cuchost.com (172.16.6.72) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 13 Apr 2023 10:11:54 +0800 Message-ID: Date: Thu, 13 Apr 2023 10:11:53 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v1 1/7] dt-bindings: power: Constrain properties for JH7110 PMU Content-Language: en-US To: Krzysztof Kozlowski , Conor Dooley CC: Rob Herring , Krzysztof Kozlowski , Emil Renner Berthing , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou , Walker Chen , , , References: <20230411064743.273388-1-changhuang.liang@starfivetech.com> <20230411064743.273388-2-changhuang.liang@starfivetech.com> <20230412-trifle-outplayed-8a1c795fab8b@wendy> From: Changhuang Liang In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [183.27.97.249] X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX162.cuchost.com (172.16.6.72) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS 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 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. >>> [...] >>>>> >>>>> 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 turn on/off >>> DPHY. So it in power, not a phy. >> >> 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). > > Depends whether this is the same case or not. AFAIR, for AON/SYS/STG > these were blocks with few features, not only clock controller. > > 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 > Hi, Coner and Krzysztof, Next version I will change commit message: dt-bindings: power: Add JH7110 DPHY PMU support. Add DPHY PMU for StarFive JH7110 SoC, it can be used to turn on/off DPHY rx/tx power switch, and it don't need the reg and interrupt properties. I think this commit message will helpful for you to understand it. Best regards, Changhuang