Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp2727258rwp; Fri, 14 Jul 2023 10:18:53 -0700 (PDT) X-Google-Smtp-Source: APBJJlHTjnuOv1OHRWxtg1Ep0xuDbIWXzEo7fvqylOEr3Gau2WL1NfgvfSwZFkTMiKrTqD/Yd/8g X-Received: by 2002:a05:6402:164d:b0:51d:e2c4:f94a with SMTP id s13-20020a056402164d00b0051de2c4f94amr4642007edx.20.1689355133205; Fri, 14 Jul 2023 10:18:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689355133; cv=none; d=google.com; s=arc-20160816; b=e7zmYFNnKawGI3kVg+rCGIB009TV69Lq2o9e0ok5uibi0zReTZ5INGYvmFMIxd5jQI ZJ/yJCFCo/qHYeR1PAa06F14kQNyNix7yZ5Wt8cIo+sfb5PX3QyLcyZpx31uNstJzvvO 67Ki8Oi6kPU9MRlJZFXeCEeob9UxW6Fr1yGL8hz3NolR9B64490ifkyEXeL52pzIzju1 /eaXNg2pWetfgYpEBGD1JYbO+xSdsA+iHc5Sm932g+8wL9zfThy0y/hXiI0mQCClqh3z dy8X3xD18rpOxHr9mJh2q6fM+iGJ2bZD3AAynmTopgm/NQqouhqe9gg0L8sx2+thY+Rz dzsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=4cZN/0yPBRg716uGY862ik2lzGILyhxLtVW1gjub4RQ=; fh=A5zb3LoHP5rkq1dM7QlsbinnnGGbuvq1eoLXe2GU8Fg=; b=m6NNS042MY1+03hiuwbf//j5Cja2bPZAU0zmntaUtoEnUggBbcd2H1cwfzt7i9nQug VE2G5a/n2Rz6/089cdEDswgAyiidaZv9KBzDzX2GlIWSOx/8NHa3dpkyfBS6BXMYOolb QOxqI05YNXO+BOx2a8Mp4uMMbI4n2t4DJ4/kL0Y69ZGoXr0GUwoLeQZk9fgGaGlmk3vB lLcLbqnN+6o0cQTZZU7SKYWNYM5kZsXZemkM91YI/eZsS646j3eMq1u+tgDwSoKn2w55 6Xu/9iEiFtUJilhdGMLql9sHfqp7GfkA01av5n/cDDjwpT48NOEpe5f65Jr9+C5+LVUK Yx9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HrS1OMo4; 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 bo5-20020a0564020b2500b0051bfa6da365si9036979edb.585.2023.07.14.10.18.26; Fri, 14 Jul 2023 10:18:53 -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=HrS1OMo4; 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 S235667AbjGNRPI (ORCPT + 99 others); Fri, 14 Jul 2023 13:15:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229557AbjGNRPH (ORCPT ); Fri, 14 Jul 2023 13:15:07 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69CBB1BF3; Fri, 14 Jul 2023 10:15:05 -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 0577B61D7E; Fri, 14 Jul 2023 17:15:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5B906C433C8; Fri, 14 Jul 2023 17:15:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689354904; bh=4cZN/0yPBRg716uGY862ik2lzGILyhxLtVW1gjub4RQ=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=HrS1OMo40K9SGEnFXfWqSCA4sqVQpUw3vDGxvQs9MXbJrAA0cC7Ix/oUdbYrS1ITN BqrYaZARZhbCLLzELlfnqqLeMPMECIbsBPzL26FPaG2HoipukDMciYCrfUCDZJaJLi zh/WhS0PkeJwAg3u20Sq5GL9Atk+CkRA+D9da2o7/Vj0cTlBsBElZdblVCBGG3mnaU NwfTh/prZEXznMzj+POGFuTmvAhJRYj2N8FBjtk0Fjw8QF1N/hudS60E7yTY3bUmCB T0zoALchAviCcQRi414eHuGDa8+P+LAY/gypxeevTaNZzfqVu5FvkFLtoahFzZwI3w /4hNmjiP1ee1A== Received: by mail-lj1-f169.google.com with SMTP id 38308e7fff4ca-2b6fbf0c0e2so33188901fa.2; Fri, 14 Jul 2023 10:15:04 -0700 (PDT) X-Gm-Message-State: ABy/qLY3kaOkCBHS7yJX9ZWahqAE7uAPsOSJJhLazHY/+kmkbZ0+ck9C OqLTNmV2Y1buJqejkeX8SA6xDNSXU18tKfgKrg== X-Received: by 2002:a2e:9158:0:b0:2b7:7b9:4767 with SMTP id q24-20020a2e9158000000b002b707b94767mr4532281ljg.41.1689354902353; Fri, 14 Jul 2023 10:15:02 -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: From: Rob Herring Date: Fri, 14 Jul 2023 11:14:50 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 09/16] dt-bindings: firmware: arm,scmi: Extend bindings for protocol@13 To: Ulf Hansson 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" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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, Jun 15, 2023 at 3:11=E2=80=AFAM Ulf Hansson wrote: > > 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. IMO, power-domains should be for power islands which can be power gated. I know they are abused though. Of course, when things are hidden in firmware, you don't really know. A power-domain could be just a clock or a clock could be multiple physical clocks. > 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? If power-domains are sufficient, then why do we have performance-domains? We need clear rules for when to use what. Rob