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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C6075C7619A for ; Wed, 12 Apr 2023 11:42:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229877AbjDLLmx (ORCPT ); Wed, 12 Apr 2023 07:42:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48274 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229791AbjDLLmt (ORCPT ); Wed, 12 Apr 2023 07:42:49 -0400 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E383C7293 for ; Wed, 12 Apr 2023 04:42:29 -0700 (PDT) Received: by mail-ej1-x635.google.com with SMTP id sg7so39420727ejc.9 for ; Wed, 12 Apr 2023 04:42:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681299746; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=fJyqTEHoLZS3AbdsFdXhAUrC5DrToCewd/skrvNJpNI=; b=lnq7M+kR4hW0+hjGF6qWpuB8f9IIXQNtoVT8olKuLMVRc50IBEZrHGhc0pZSWCG4GI DJeA2/GIHkQGl3ZqIlz5mZD5tonjL1EtAa7u40kC75p3vtctF5Z0BmLzC7ncAVx/WVre BQvK1EyLppj2hOJi3YMfKnEzJE6x4pl5SwA+BLR8bS20/dNtvjRxhOsIn3IGYV6ou0mY HR0yLassL5hRymJhLDSG+DUXRYvELGVSmzlLCr14XkKGeqeLdXdBHluv0xb3kLSPGwyw f33ul37CIgdkrkXAzkKB/hAP2EfSJE5tur/MVHBPUAf+ItVJ70uQrTxwLPNb3CGGk87J 3A9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681299746; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=fJyqTEHoLZS3AbdsFdXhAUrC5DrToCewd/skrvNJpNI=; b=yiRUTc/NWt6DnYfhDgnFhwG5ZfWOQmC3zTGWXp7r7gNAJsxLJiQnJm/0bTXihsxuvd wv7BJDXy5sPbaPnAvm90ETPl6wndqj5ar5YqUfOmft6mdzgz5jjRX4G3cEn8jwP6MOQr kpNmcZX9HZoJO0rAN42PGy+GN65wi1XUw7QGHNxwh1gv+248x0JtZxun36+MOWB8EVn/ IcV/KtDOmCu1PiEys4NUvYkI0Suvv0rOLkcKVnu5EqZQFp6m+8fEdP0xTdclt5OCmk0U EWHIcZWT2bVVpmOdeOTYrtk+gInE2k83RwXQLiuDdGBp+JuX8WtM3sy0EP0/1IZzWxqR qMfg== X-Gm-Message-State: AAQBX9fsgRB+y1dXtRKRgWUejrSi2Oik7aUwMtV1oOBRAV1uaGFsB9pC B7PEAcILHHIU1xtW+8V+jIgZsAFqXedXsvpoe5E= X-Google-Smtp-Source: AKy350br4Y9CUS+K7knoYE8kFb8eku7TCZzpnUfEtRlKwcgWkPZSs/wUM8aZVxbWOeE72ExZALTlzA== X-Received: by 2002:a17:906:a4b:b0:94e:4700:7a66 with SMTP id x11-20020a1709060a4b00b0094e47007a66mr2587909ejf.6.1681298999193; Wed, 12 Apr 2023 04:29:59 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:8fa0:9989:3f72:b14f? ([2a02:810d:15c0:828:8fa0:9989:3f72:b14f]) by smtp.gmail.com with ESMTPSA id pv5-20020a170907208500b0094a8d25f7d1sm3079153ejb.82.2023.04.12.04.29.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 12 Apr 2023 04:29:58 -0700 (PDT) Message-ID: Date: Wed, 12 Apr 2023 13:29:57 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH v1 1/7] dt-bindings: power: Constrain properties for JH7110 PMU Content-Language: en-US To: Conor Dooley , Changhuang Liang Cc: Rob Herring , Krzysztof Kozlowski , Emil Renner Berthing , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou , Walker Chen , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org References: <20230411064743.273388-1-changhuang.liang@starfivetech.com> <20230411064743.273388-2-changhuang.liang@starfivetech.com> <20230412-trifle-outplayed-8a1c795fab8b@wendy> From: Krzysztof Kozlowski In-Reply-To: <20230412-trifle-outplayed-8a1c795fab8b@wendy> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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