Received: by 2002:a05:6359:6e8a:b0:12b:e873:ff31 with SMTP id ti10csp7083917rwb; Fri, 21 Jul 2023 07:45:17 -0700 (PDT) X-Google-Smtp-Source: APBJJlGCB6mS1EQG/LcGaT34C7K7U/npW5632lZn47B5jj4QgPLPBcO9GJm/RIj/zZo9s9f/Da3r X-Received: by 2002:a17:906:1043:b0:982:c69c:8c30 with SMTP id j3-20020a170906104300b00982c69c8c30mr1808738ejj.55.1689950716868; Fri, 21 Jul 2023 07:45:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689950716; cv=none; d=google.com; s=arc-20160816; b=XV3lxjX2jr2aB11wCknRT84kOp7XYpQfJ8e5VOHZpBTRosGC/O7qWaF5hJkZZySeNk ddYzw6sbhzqfZPFCLm07j3CaZj6KxT6BLexmcsbpO6nGEv8YdOSReBSGVQbWYb5h6MF1 K+uM7QW3Jes7Ka7h9YoZq00y2vgx9B4c5uWYmJuTa5kmi6BW5Q5zXojWZFm9dYPW0aRV P1n/ysHZfbFRuowC/LHXs7O65an2a6FTNRkNG9x/O/mqBf2bNtL5t28B/J4E1yLXf3Jj vGU1Tc94v9+R/875LvVGsEmw09GNGqkWFDN0c/uaDLPMe6SdHiAukrXaZ/2Ei9SH2Bfs UY3w== 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=yA+q35RLU+h/BrXNBxwBB+lq2qH/mLMkdbDJPSOedhQ=; fh=i4tNEYiptP7sBZPcnFY5jZSfg+/jdw+cvNj5IEJai2s=; b=r7qiZgCTd4wR3Bw0Pef3h58vWPhse5qCNLYCS0lk/mxynmQecaEbOA6vTIJm1zZrg2 bcIBsi4m02a9wRku7hDBju6Q2IhwloBKGVkXeRzFoOxWoO9UQSFCe/9WTh6vXpZPv5CA qChTHsHgyIM175AH4qpy6D9pJSmZjJ73AmG0sRrVOdXqONR2jxwxlEnnwDHgg36q5kiX YjTp7KGNFyBJSvk5yT7JNc7h/Q5oQvsyq3QzcYry8CEjlKnaB/HaDdXi0K1sbX3ZYa3K 1+yFIA3+RISC1xe9JeJNAryVsdXB6H+Rm7MRdjtNW5MwqozlM7O7/wE61Z1SgWfN4OT0 jWog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bymN+Iy3; 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 l10-20020a170906078a00b00992ac0466e2si2062801ejc.653.2023.07.21.07.44.52; Fri, 21 Jul 2023 07:45: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=bymN+Iy3; 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 S231279AbjGUOdN (ORCPT + 99 others); Fri, 21 Jul 2023 10:33:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231788AbjGUOdI (ORCPT ); Fri, 21 Jul 2023 10:33:08 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1EEAE68; Fri, 21 Jul 2023 07:33:07 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 55BB061C5B; Fri, 21 Jul 2023 14:33:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A077DC433C9; Fri, 21 Jul 2023 14:33:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689949986; bh=9YgoooZ1+5ex0bT6wHIjCPICCL0FV+SDivmd0dBm1Yg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bymN+Iy39Hk04ez4RfAMumeKdmq9Wbus0j/aDF2biw6x+HBfPs7RncrNXgo92dbB1 irqAjHtE44GXEowvyDSgO9oM/chPKotX9XrizhZbejy8RHIl/TXuigoHoDUyOyusVF zRgHzAJOgvnV7jtxHfp7wjYQjEaQW1cP90UUEccm++gpymgsewlyo4JTJACYHKwUZL 8UDOm4ic94yqxJS5+qtvuSYsCCCnV5qIMEiJouh1BiikrAmIDr3cllyX1VqqGe4DUd 8qQmu7xOKVRfXJvLfYdTJe2NgYtLgGYsmSxE7m810re6mzoV1RUuaRwQHtVYX4v3Xg EINKEe8TrapNg== Received: (nullmailer pid 1099660 invoked by uid 1000); Fri, 21 Jul 2023 14:33:04 -0000 Date: Fri, 21 Jul 2023 08:33:04 -0600 From: Rob Herring To: Sudeep Holla Cc: Ulf Hansson , Cristian Marussi , Viresh Kumar , Nishanth Menon , Stephen Boyd , Nikunj Kela , Prasad Sodagudi , Alexandre Torgue , linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, 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: <20230721143304.GA1092306-robh@kernel.org> References: <20230713141738.23970-1-ulf.hansson@linaro.org> <20230713141738.23970-9-ulf.hansson@linaro.org> <20230719151716.qhobfnclrjf4yqkg@bogus> <20230721115535.mx46dg56pxjnzbuv@bogus> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230721115535.mx46dg56pxjnzbuv@bogus> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_BLOCKED, 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 On Fri, Jul 21, 2023 at 12:55:35PM +0100, Sudeep Holla wrote: > 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. I commented on v1. Looks like abuse of "power-domains" to me, but nothing new really. Please define when to use a power domain vs. a perf domain and don't leave it up to the whims of the platform. Maybe perf domains was a mistake and they should be deprecated? Rob