Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp812875rwd; Thu, 15 Jun 2023 02:21:00 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5oxt4/rzMMwXp9+wLSoDnQM4omSfCxXC2s1yZ/MBAEOtmUg80iQ7Qz1T2tfh/otSJWmUHi X-Received: by 2002:aca:f0f:0:b0:39c:7a20:6245 with SMTP id 15-20020aca0f0f000000b0039c7a206245mr12025716oip.43.1686820859954; Thu, 15 Jun 2023 02:20:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686820859; cv=none; d=google.com; s=arc-20160816; b=jhIYb8cfpgDGINYqog/GzzPM6RgJBMn/a8Aav5Nxi32rzOys36saCBUI3NwXkywmut e9F6km6LC6K8/MNEuDNQyVkorwTdw34xJ9WKZtJda1UlUOrcpQYjeL+bUiadl9okrNG8 nJRq9ws4CqCUOgg2TmCKqizQJwhwFXtZUFZG+PCnEnegV2XYK4S4R9SoT0BeHSbRwsof MOlwZRxFdfmcIWyU6Mhpbzu3MSCBpm7iaPcjtXhS/99pIQRTdXux/zw0k/INCCifYxmv Ub7njUMGIn6kYAPJPa0SSbiZxGieLFIzetF1P7eM4X19dJ1yQ27unYNmAZnAFrKoMs++ LPYw== 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=TQPLMyR4pKq4IPm2+bhCecPp0fIioHDXW0A5vWxMnNM=; b=AtZLaLew2yOjet3epkKsKQkZEWG900QDjujbUPsMWDSZ+c2tp+/M9hN67RF4qlbTO5 41cJgVMlnxFvV39tcgL7E1dZrlK6WKDPZsNHm2JznZl/mIEWO6GZxPbRn2W5A9jfkzp3 jWpC+ObZuIeOIRsvrqeZPuH5s8Cndba3WkILmdC1+xx14CYEQ1nUS4ijb/x4enUIxQ+b pQ9/AzoVt4t9lM3qdMvsSN9T9WnOfjPKh79mMWSuNfSWWiQRJfdnEAUHwHZckFPbyQAK /Wq8ElTsdz1geXZBj4J2G2w7MNBY6WkVXjmVXoD0ebaZvBAHsQgAvciaBUKrwNpCXZ6s k+Ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TDChaGtQ; 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 t12-20020a17090aba8c00b002597c3244c5si12632550pjr.80.2023.06.15.02.20.42; Thu, 15 Jun 2023 02:20:59 -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=TDChaGtQ; 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 S241356AbjFOJLU (ORCPT + 99 others); Thu, 15 Jun 2023 05:11:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230501AbjFOJLR (ORCPT ); Thu, 15 Jun 2023 05:11:17 -0400 Received: from mail-yb1-xb2d.google.com (mail-yb1-xb2d.google.com [IPv6:2607:f8b0:4864:20::b2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13B92212C for ; Thu, 15 Jun 2023 02:11:16 -0700 (PDT) Received: by mail-yb1-xb2d.google.com with SMTP id 3f1490d57ef6-bc405d9682cso1531515276.0 for ; Thu, 15 Jun 2023 02:11:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686820275; x=1689412275; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=TQPLMyR4pKq4IPm2+bhCecPp0fIioHDXW0A5vWxMnNM=; b=TDChaGtQXK3DyxbLvJwl+OZ2YXx05CLUWvVyLhBHVuLJjFRwfdmfwm4PbibuKEQzVI zU3zmqorXPXshAUJgPSCw4aHTGOOzUcnIzdde8QAEt4TLbiJFPOxrUu15gEXigLiEep3 qx8aHB6PgkcxelOgcGOR3yWfYJ6cpftV4Rk6rFvJPkeGOH6h+SZbUUhFWCJ4OpicHkuS RYR4oGsX0NxdpoXSz/gOWj/lFezgtAPCLTwp1IvOskQuu0ugNK7XpFJkfj+rYKQUYaA9 tZwiyuPilGQJNkFbMAWXn1DdlxFuXKysvmrG6zvX0zLJQsY7IVBL3E+047etzA+4pjQi SMmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686820275; x=1689412275; 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=TQPLMyR4pKq4IPm2+bhCecPp0fIioHDXW0A5vWxMnNM=; b=S/NXtQfELwPzqswfi/VbvveXJj+QqbNgn9jP9QhUiYFgsijkBiE4Wd7fZeiI6WMylv 3HMrKTD/7uNZvpzSb7Nmp4kriSPhMSVO6QNZnQYhl33UCNiWIkVWaCxra6Re+9628vQh 5Ul2wYTTs9HMRonj5HyvZnp4Urtrc1nevj9Bx0WaRByxVA83bvHMi7d8GeLNyd0zNKJ3 hVKQLyvDoK/XHLS32EihwPnaLJZFdQyt6C+B3FKa294TDJ0FP6YYQWMftJyoyNYpjXxu 4EjfqhrlwkkwQtJQ35FVzYXHBuq2EZj6+1P31Ck+hArCl8ITwiH6lDofqQ0jV3gBtz8B utpg== X-Gm-Message-State: AC+VfDzIxUVwhrPUBubPm5xHvbNEg9Qu4gHdinSQzxXkNgskoJhcRgbW 58hUPBQcHNhaM39S/5gQB6hnVV4CAtAq/rTPFylVew== X-Received: by 2002:a25:ae10:0:b0:ba7:99dc:908f with SMTP id a16-20020a25ae10000000b00ba799dc908fmr4095705ybj.27.1686820275299; Thu, 15 Jun 2023 02:11:15 -0700 (PDT) MIME-Version: 1.0 References: <20230607124628.157465-1-ulf.hansson@linaro.org> <20230607124628.157465-10-ulf.hansson@linaro.org> <20230614230044.GA3019052-robh@kernel.org> In-Reply-To: <20230614230044.GA3019052-robh@kernel.org> From: Ulf Hansson Date: Thu, 15 Jun 2023 11:10:38 +0200 Message-ID: Subject: Re: [PATCH 09/16] dt-bindings: firmware: arm,scmi: Extend bindings for protocol@13 To: Rob Herring Cc: Sudeep Holla , 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 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=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 Thu, 15 Jun 2023 at 01:00, Rob Herring 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. > > What's wrong with the performance-domain binding? In my opinion I think the performance-domain binding is superfluous. We already have plenty of power-domains that do performance scaling too - and they stick with the power-domain binding, as it's sufficient. That said, I would rather follow the defacto standard that has been used for many years in the kernel. Do you have a preference that we should stick to? Kind regards Uffe > > > > > 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' > > + '#power-domain-cells': > > + const: 1 > > > > protocol@14: > > $ref: '#/$defs/protocol-node' > > -- > > 2.34.1 > >