Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp10781979rwp; Fri, 21 Jul 2023 05:04:34 -0700 (PDT) X-Google-Smtp-Source: APBJJlErN6Ol0Zn9zf3NEC0riDyMUpl6EDUmTYv9n7Iep6rjIdymLOKZMxc/BuR2j5K/hC9Bxc0F X-Received: by 2002:a2e:83cd:0:b0:2b5:9e51:2912 with SMTP id s13-20020a2e83cd000000b002b59e512912mr1240005ljh.24.1689941074527; Fri, 21 Jul 2023 05:04:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689941074; cv=none; d=google.com; s=arc-20160816; b=zSxBWem0ox18TUzpi4TkVN3FtKJvFRI1NpBtwUcKFdD+1iKeUfG0CQnJQUu6txypMU krNvEVxMzTo39io0lIAlbq4RxYEcjWY8Vs9QQawuyOZ9Is3EW9N6Lhap+onbSobRdKYK cEA7nqlS4/H15pZNJ5L3cv7Q5txQuT94s1y3H8yEpw1GVueiTKuCJ3nZtRU5qyGrjHWb XPNtl5qS5PXk6SSZdRhZvwUk/zEIDvT3ZaBjkDRrH7LOP7AVryZG3FUVSFW91GoFiV9b I3ckVOPXm7K9+wqxgm7wo5P72exkKNTrRSYEFmxdpjWbRsELT1+bOzlmhqbsM8UEvNMu HECQ== 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; bh=ArLfZsVPYIYbFu/linGek8L9uP1NzD/Qd3jZVW1gU90=; fh=bBxX5Cx5LyOyeJTRVKVjLBSlXtm4vBnrTun0tSJo8vk=; b=RAN/tL4YssWk5KHpqfG9n5sQzGYwHPsSv67G+b8MIQHBTicwi1GsHy560Z71XIhfNZ rvuDfWw8A3T6i5YHDfDST09iCzD1iHjYNQ3PqULcX/3PfygN3PKetu901nQk49EtD0gl o1fLFr35K+aS0fTbZEgfDq2samEre5z3bLRugC/+M/9STQgnVgDTKeOxE6ambArD++9L 9sMfqbNHQHBrjJ6liRkorBqx+jy20yYf6xd3qlygHiNvxsd3ikdHZcVmpCs4SqI3cg2I zJGn4U9Y0FMhp/xmTbMLZqDevYnionN3T5K5CFnx8dbTNmWbWF4p73kuD8ecv//wBZPc ErGg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gq24-20020a170906e25800b00986560ae9a7si2097180ejb.307.2023.07.21.05.03.56; Fri, 21 Jul 2023 05:04:34 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230390AbjGUL4L (ORCPT + 99 others); Fri, 21 Jul 2023 07:56:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230362AbjGUL4K (ORCPT ); Fri, 21 Jul 2023 07:56:10 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C3F002D75; Fri, 21 Jul 2023 04:56:06 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 9E0132F4; Fri, 21 Jul 2023 04:56:49 -0700 (PDT) Received: from bogus (unknown [10.57.96.100]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D467C3F6C4; Fri, 21 Jul 2023 04:56:02 -0700 (PDT) Date: Fri, 21 Jul 2023 12:55:35 +0100 From: Sudeep Holla To: Ulf Hansson Cc: Cristian Marussi , Viresh Kumar , Nishanth Menon , Stephen Boyd , Nikunj Kela , Sudeep Holla , Prasad Sodagudi , Alexandre Torgue , linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org Subject: Re: [PATCH v2 08/11] dt-bindings: firmware: arm,scmi: Extend bindings for protocol@13 Message-ID: <20230721115535.mx46dg56pxjnzbuv@bogus> References: <20230713141738.23970-1-ulf.hansson@linaro.org> <20230713141738.23970-9-ulf.hansson@linaro.org> <20230719151716.qhobfnclrjf4yqkg@bogus> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE,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 On Fri, Jul 21, 2023 at 01:42:43PM +0200, Ulf Hansson wrote: > On Wed, 19 Jul 2023 at 17:17, Sudeep Holla wrote: > > > > On Thu, Jul 13, 2023 at 04:17:35PM +0200, Ulf Hansson wrote: > > > The protocol@13 node is describing the performance scaling option for the > > > ARM SCMI interface, as a clock provider. This is unnecessary limiting, as > > > performance scaling is in many cases not limited to switching a clock's > > > frequency. > > > > > > Therefore, let's extend the binding so the interface can be modelled as a > > > generic performance domaintoo. The common way to describe this, is to use > > > the "power-domain" DT bindings, so let's use that. > > > > > > > One thing I forgot to ask earlier is how we can manage different domain IDs > > for perf and power domains which is the case with current SCMI platforms as > > the spec never mandated or can ever mandate the perf and power domains IDs > > to match. They need not be same anyways. > > Based upon what you describe above, I have modelled the perf-domain > and the power-domain as two separate power-domain providers. > > A consumer device being hooked up to both domains, would specify the > domain IDs in the second power-domain-cell, along the lines of the > below. Then we would use power-domain-names to specify what each > power-domain represents. > > power-domains = <&scmi_pd 2>, <&scmi_dvfs 4>; > power-domain-names = "power", "perf"; > > I hope this makes it clearer!? Yes it make is clear definitely, but it does change the definition of the generic binding of the "power-domains" property now. I am interesting in the feedback from the binding maintainers with respect to that. Or is it already present ? IIUC, the ones supported already are generally both power and performance providers. May be it doesn't matter much, just wanted to explicit ask and confirm those details. -- Regards, Sudeep