Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp10773090rwp; Fri, 21 Jul 2023 04:58:24 -0700 (PDT) X-Google-Smtp-Source: APBJJlEU80LLINaFczSGgYX0ZHqtwOMcsKydR4ikn8z1aA+aYu6Ep0ezE3xLphKTh4ZRUbDDbsFa X-Received: by 2002:a05:6a00:a8d:b0:668:8493:2545 with SMTP id b13-20020a056a000a8d00b0066884932545mr1589903pfl.24.1689940703683; Fri, 21 Jul 2023 04:58:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689940703; cv=none; d=google.com; s=arc-20160816; b=j7y0l+ydH3DZMzUjYTTzqP4DMWOhUb1SdWeGB2kmPcNyawsGB+KFZGAW4BmALzq7H7 VbQuWjKPEm33QBw2Lf5/clFPxsbOYf9DgM6X/rpMO9UB42LjrP1sBgtGbsqbPs9b5DtY tvXxS4QFH4IHOxjdguqXxEjCKqOYV+xaGIVZKrrft+881zM+H0wK30fez+8Y/Nej5dE/ Hyfd1wb5AYHLqMluQvQo7I9VExH448BpG2v/dPwBbI9RmFYevjQ41+T94h3hiC3ujIHW JVh0SHn7C5haKOoYVBUgayJyTnmXlOyKrGFoNneIudUyIciPM6v4k2Yn7qw9y6CG3eKB PaPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=tvcjtZ3fAd3T86N+Nc8tchF47bEM+Sgqc4f9Howik4k=; fh=5mISRLqXN/9+f49u6PMRRpdC3+h6BMpHPFHONjCnXcg=; b=T7ziAD8IBOQdcvDUbEhV0jd9rxtNX5YmuUBn3zlVhTJUfBJ5E1AE1swd6jTBqI4G4M 7llRFELDchXmZXuKp273dV3sROUp1KTPZIWzcRAq8Z2HVloOBc9i7E22/niDDtN0QCCL t2d0P9mdzyi2P6WhbaIce0qAoxTofgmBB8/kcoNfDNemYSGgIct/vf3xjK+yhUiMNYBv UZA28R3z3tg0yTDb9JdAcJZPJUwpG5Zra1tiTsVW+bSmq5Tqs0aSgln0vbCRAmXoPGlK zrIaUJudA8mcDS7UbgRxeMUo/bHbMqSz6U93aPT4H3+nJBdgPu8Ojjb4RfNzWa35nsHn BmpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EGiXyHnd; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l70-20020a639149000000b0055c3f915b0asi2983928pge.733.2023.07.21.04.58.10; Fri, 21 Jul 2023 04:58:23 -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=@linaro.org header.s=google header.b=EGiXyHnd; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229884AbjGULnY (ORCPT + 99 others); Fri, 21 Jul 2023 07:43:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229653AbjGULnW (ORCPT ); Fri, 21 Jul 2023 07:43:22 -0400 Received: from mail-yb1-xb2b.google.com (mail-yb1-xb2b.google.com [IPv6:2607:f8b0:4864:20::b2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1FFBF2130 for ; Fri, 21 Jul 2023 04:43:20 -0700 (PDT) Received: by mail-yb1-xb2b.google.com with SMTP id 3f1490d57ef6-c84fd44593aso1693744276.0 for ; Fri, 21 Jul 2023 04:43:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689939799; x=1690544599; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=tvcjtZ3fAd3T86N+Nc8tchF47bEM+Sgqc4f9Howik4k=; b=EGiXyHnd1GNRAWNyIwBe7+h+QQH8y8Js9qx1hsQU5of8F097niky+LG8agfSm1GrUi F2XkHmx2OkZ6atX5nIZr4BTXS+UC6HQ25TpIMh93GzjixPXyK5wBJDN9cw3bD/d8v6ks Fq88y5xF26mRLX99GReYUvQ4SaNHFrgaAHl9Exr08UyQNHtHTcZ3yFppkI+2LiZu7Rnz eRQry1U7RCB4EpSfGcEcii8/Q873kRzPKtw8pb6TZPsHqeqwmW0VZXTICHOLFG9MQ/fL E3jLMTsYdhGeCIU4A6Kf+kJEr2BDz6aUPbFeF1HUtRQ6Vfa4iysKXwP99wv9tEisv6OL YPfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689939799; x=1690544599; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=tvcjtZ3fAd3T86N+Nc8tchF47bEM+Sgqc4f9Howik4k=; b=a0JdV0skFi3CyJJZD/QFP23hAjF7HUZxFXHQQD/o1KDDU7flkarWKhMqxE6Nb/k5j3 N63xrvlj9CfJw/BUM6aAn3ISqIdlLSX6aWMDWUQToR6qwjaW6YniW8JYYrI9pKf1/BVf Qn8WYUV5+iGHP+upQv/xRZ/pDYhZWvEudQ6YJBp/+aYTIp7dNAs5aaW00jOuYKbeBxPD brW6IaFTIwzL9uvsLRglLrZxxG5M1Nzwjccja3/votBGz1jQFW5280SjzpXqaEcDu/FR SewAD3+hn9KsunZ8kx9QGrQfaHyU5001d7My3+qt9/Ze0ilGrVLp6BJJ6+bot4bwsrpF cZ6g== X-Gm-Message-State: ABy/qLZfnP4s09QVbopR+xgP47VaHVmHtRbdlK8vX9Vt8+BFTZzp7NEg ALIGJj5tgIS+9h5nakquYOQCG6oeetmIZ7EGNYDK3w== X-Received: by 2002:a25:dbc1:0:b0:c11:6638:af3e with SMTP id g184-20020a25dbc1000000b00c116638af3emr1389589ybf.45.1689939799341; Fri, 21 Jul 2023 04:43:19 -0700 (PDT) MIME-Version: 1.0 References: <20230713141738.23970-1-ulf.hansson@linaro.org> <20230713141738.23970-9-ulf.hansson@linaro.org> <20230719151716.qhobfnclrjf4yqkg@bogus> In-Reply-To: <20230719151716.qhobfnclrjf4yqkg@bogus> From: Ulf Hansson Date: Fri, 21 Jul 2023 13:42:43 +0200 Message-ID: Subject: Re: [PATCH v2 08/11] dt-bindings: firmware: arm,scmi: Extend bindings for protocol@13 To: Sudeep Holla Cc: 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, Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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 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!? Kind regards Uffe