Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp846056rwd; Thu, 15 Jun 2023 02:57:06 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6qzXJcEQPd0XwHm68YvnVcOAaNt20SxRjbJ3YwFjb/ILdENzHI/h3anv1Rx9Df3OrogNjz X-Received: by 2002:a05:6a20:3d23:b0:119:10a3:d79d with SMTP id y35-20020a056a203d2300b0011910a3d79dmr4112977pzi.14.1686823026060; Thu, 15 Jun 2023 02:57:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686823026; cv=none; d=google.com; s=arc-20160816; b=WpwuSUaZ2oXxRdcqlRbidL9DByfAjB08v5C5Lskz/5yJ2pPCoJ85lE0cOCy+gbZ985 6xkNq8H6GeHtO7XbZcboo1xs5QmBtCenxEe/RbQahSqbfrmCu9E0g4Xu+zjra3XiZ+eo 8T1TYkdzjRjL3ce6e/anfibAmN9P73BAPuJAaYb/2Mw5+r94EotPlgxgWejo7dXX16JO PC8n6492Y0JCqLdBCqH1Zbqjo398k44t2SItcewo1xdFzqA5n5Xug2ZfpnIFnVRnh0TQ I9E+5eWOU5UBXjkWAFhG8DFj3utvA8YyMGC+ueFBOw3yTZ3FfDhL/Xu26nShbFsrTpQN 4TvQ== 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=pONVwxSbcdmVOA8XkSolp+WWOJM51GesmR2PoAupnRk=; b=wb2lnPeG2uz79recnMANJazRMjCI+Tkj2fiMjobimo/ZS9aExh6zEGFBkDwBKO4UvA rB9C+XneKLFPYNM3xB0snILcFuU24HmJcPlYJjCysBNWQlcQILnpbufmcaSsnov19lGG chCwlt5anbseyNZ4zMxteBU4r7pjsLeIeGmk5IH1HEp91wsrsUyMoQ/1RqjOXWdf+L4p xDTviTxC5Tp8lmwhwq9/EVXJsCjuVVpvZPJBV5Kd3IlYI2yWZSzKLFQXzyIU5cEDz5bp kVGFDH/Zdn+hgfg++2reT/k113i5S9p4uARYhffyqhHXCKPm/AkH6roQsSmRLuumVxT/ dn1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=il2E8gCL; 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 k12-20020aa79d0c000000b00646479e5702si12556799pfp.381.2023.06.15.02.56.54; Thu, 15 Jun 2023 02:57:06 -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=il2E8gCL; 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 S240190AbjFOJmr (ORCPT + 99 others); Thu, 15 Jun 2023 05:42:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343817AbjFOJkT (ORCPT ); Thu, 15 Jun 2023 05:40:19 -0400 Received: from mail-yb1-xb34.google.com (mail-yb1-xb34.google.com [IPv6:2607:f8b0:4864:20::b34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE0622942 for ; Thu, 15 Jun 2023 02:39:44 -0700 (PDT) Received: by mail-yb1-xb34.google.com with SMTP id 3f1490d57ef6-bd744ffc263so1520823276.3 for ; Thu, 15 Jun 2023 02:39:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686821983; x=1689413983; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=pONVwxSbcdmVOA8XkSolp+WWOJM51GesmR2PoAupnRk=; b=il2E8gCL+JWp48g/KlDGkGoqwb15G67wPu0om5aaLUMK/h+ozjsQ9h3QN8cUShKrbD BJ786HuEGzi7Tk+HKm8mIbD1D4wmncguwAQPIrflmBKtrxtD4gJZ7GUbnjc/WjYcMVsY sd7gmhDRzGbLtLQ+jpmdU+o7EwLgd32biy1131QZS+3TPeQGj70vROAcXzooq78hCx/6 cHTUmtjRmv/CZufnYAGv38qBL3HfxO9/9rrj/i6UE0OCluwc5oEtVdCsxGNejvLRe+v4 7UcmquirexrdLHXWSEjccdse7j8IRS/xwihZxRsK8RqT/V6h9xbo6Ux0Eesj60kr7Lhr zWrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686821983; x=1689413983; 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=pONVwxSbcdmVOA8XkSolp+WWOJM51GesmR2PoAupnRk=; b=DMkPyo2J01RuNlOcklexL4FI20bN941VsIzmSSNSpmzh4EdVVPGw2cMby/hCWJ1ATY WvVSL2bahZ4xHnWDRI2bZ7HQriHrehFkbxeCGbOnSFnuAiS3lNEJIV1tTjyIyslahPKt Q9+FePeP08bMk3RjlA4HiUyd9AYn+hSkI3eSV25N+js4BjI7S1/f3xhP6zPfxqYbiNn2 AS+dYFDLRHAhWvxObjqCJEXlKBLVE0X3h6HXCXYoZbf30223k7NjT/35za6fn+CQsRUr qGbmGPxdfJNEf6OzAtlbNw/Az0Kwi4AsG/ZpgRUCmhSm8BXUzGXUU3djvxoq4xVPhT5e jPQQ== X-Gm-Message-State: AC+VfDwgir9c2nlFhl2FK5U1lkOQHWq1cxCYOgSijw8xQdVkFMQW69Mq R7CYQG8lACTDvJnpyqwql8AZ7vsUgxXBKEx8NOU1oQ== X-Received: by 2002:a25:240d:0:b0:bd5:4e6d:9159 with SMTP id k13-20020a25240d000000b00bd54e6d9159mr4249969ybk.17.1686821983011; Thu, 15 Jun 2023 02:39:43 -0700 (PDT) MIME-Version: 1.0 References: <20230607124628.157465-1-ulf.hansson@linaro.org> <20230607124628.157465-10-ulf.hansson@linaro.org> <20230615084430.boamsz56kqqi3n6h@bogus> In-Reply-To: <20230615084430.boamsz56kqqi3n6h@bogus> From: Ulf Hansson Date: Thu, 15 Jun 2023 11:39:06 +0200 Message-ID: Subject: Re: [PATCH 09/16] 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_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Thu, 15 Jun 2023 at 10:44, Sudeep Holla wrote: > > On Wed, Jun 07, 2023 at 02:46:21PM +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 domain" too. The common way to describe this, is to > > use the "power-domain" bindings, so let's use that. > > > > Cc: Rob Herring > > Cc: Krzysztof Kozlowski > > Cc: Conor Dooley > > Cc: devicetree@vger.kernel.org > > Signed-off-by: Ulf Hansson > > --- > > Documentation/devicetree/bindings/firmware/arm,scmi.yaml | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/firmware/arm,scmi.yaml b/Documentation/devicetree/bindings/firmware/arm,scmi.yaml > > index 5824c43e9893..cff9d1e4cea1 100644 > > --- a/Documentation/devicetree/bindings/firmware/arm,scmi.yaml > > +++ b/Documentation/devicetree/bindings/firmware/arm,scmi.yaml > > @@ -145,8 +145,8 @@ properties: > > '#clock-cells': > > const: 1 > > > > - required: > > - - '#clock-cells' > > I am yet to look at the patches, just looked at this binding changes for now. > > Won't this break compatibility with existing DTBs. IMO, this is strict > no no, you can't drop #clock-cells. I wanted to add performance-domains > here as alternative but decided to not as I knew you were working on this. Thanks for reviewing! The point with the suggested change was to allow any kind of combination of using #clock-cells and/or #power-domain-cells. Honestly I didn't really know how to best express that in the binding, but maybe someone can help me out here? I think enforcing #clock-cells to be used is unnecessary. Making it optional should not break existing DTBs, right? Moreover, currently it seems to be only Juno that uses "protocol@13" and the "#clock-cells" (at least by looking at the DTSes in-kernel). So, I wonder if it's really such a big deal to update the DT bindings for "protocol@13" at this point, but I may not have the complete picture. Kind regards Uffe