Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp1299680rwi; Thu, 3 Nov 2022 03:46:27 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6oqIrXMn9Bcjo9nuVQciPY09xu5FtFIOCQ5WLOLC64+2Kpw8ArZdIkQ5KG6PK5g0EyzBME X-Received: by 2002:a17:906:7055:b0:78b:9148:6b41 with SMTP id r21-20020a170906705500b0078b91486b41mr27959607ejj.629.1667472387019; Thu, 03 Nov 2022 03:46:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667472387; cv=none; d=google.com; s=arc-20160816; b=A0QuTCU0S3Ja+PTh2xWkq1ungBZ9jin4B78RWyMvHy/TT/7PcsyWo+0k3UsGJR2EiU D2ky/KCLY+W/C8aWO5g7QzVMxNO3Ct4jRpgZLFH4/lDZDD0bsh9UTUP852oeUWNY2uxt A/5+PIxg+QHBm/CSmwwk8CbuWQUVaVm8mv1EzO7udx5QiwmBxD6XVlzgqp4us9tNdPcr z/yuSO22+74B7cbhLtyTvyq1ynb+yg7VeBEAdC6s8NIIXu5YdzAJkjimJWbLN359mv97 xPhm3SYtge4grooKBwxoWpqYreLo7+pzPqZRLQBiuMLprD0hdmFQlbK7VFsOI7IdHUeB 2Hmg== 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; bh=gqzff/oUdHCHLaB+Yk9zB5hKM8fKwPNqYlA7Qu5ClYI=; b=DaD4mK9hYuFV2off+8vjdPFQWsnTAulARNsYpFrZG+mNUOenVuz/fWY16JY9DyzOcb kby7jsg6B4th/U2mgHn5OIQ9RZx5E9w2bav/zYdKN4vLo7m6hLW5j0AiAoBKxX9h+Ihh fKRgUkhZr3/A2S5H2gBlvhvGYSaUNRCjUuWrGV/5pWzDKQ1Wb6+81Uqg+FbJLXChnM+m X6HzjNItA43In2BDwxrkSHsFZc/0V0ec9aCtxpsgyi3mvSQIYXaxw1sx6Q2gZ/bOZnVv +TKXS7/O9D76FvXQhvFkmA282CtR4ulzKr3wLt/kmph/+H8O3P5g4l7Wz8OEwjI6lzcf Bavw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mp3-20020a1709071b0300b0078e2d2d1a67si809411ejc.344.2022.11.03.03.46.01; Thu, 03 Nov 2022 03:46:27 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230473AbiKCKTS (ORCPT + 98 others); Thu, 3 Nov 2022 06:19:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229754AbiKCKTQ (ORCPT ); Thu, 3 Nov 2022 06:19:16 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2480C65FE; Thu, 3 Nov 2022 03:19:16 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 1D1491FB; Thu, 3 Nov 2022 03:19:22 -0700 (PDT) Received: from bogus (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2A6B43F5A1; Thu, 3 Nov 2022 03:19:14 -0700 (PDT) Date: Thu, 3 Nov 2022 10:19:11 +0000 From: Sudeep Holla To: Sibi Sankar Cc: andersson@kernel.org, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, cristian.marussi@arm.com, agross@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, konrad.dybcio@somainline.org, quic_avajid@quicinc.com, Souvik.Chakravarty@arm.com, Sudeep Holla Subject: Re: [RFC 1/2] dt-bindings: firmware: arm,scmi: Add support for memlat vendor protocol Message-ID: <20221103101911.2qr3cla5mm4ctoe3@bogus> References: <1667451512-9655-1-git-send-email-quic_sibis@quicinc.com> <1667451512-9655-2-git-send-email-quic_sibis@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1667451512-9655-2-git-send-email-quic_sibis@quicinc.com> X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE 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, Nov 03, 2022 at 10:28:31AM +0530, Sibi Sankar wrote: > Add bindings support for the SCMI QTI memlat (memory latency) vendor > protocol. The memlat vendor protocol enables the frequency scaling of > various buses (L3/LLCC/DDR) based on the memory latency governor > running on the CPUSS Control Processor. > > Signed-off-by: Sibi Sankar > --- > .../devicetree/bindings/firmware/arm,scmi.yaml | 164 +++++++++++++++++++++ > 1 file changed, 164 insertions(+) > > diff --git a/Documentation/devicetree/bindings/firmware/arm,scmi.yaml b/Documentation/devicetree/bindings/firmware/arm,scmi.yaml > index 1c0388da6721..efc8a5a8bffe 100644 > --- a/Documentation/devicetree/bindings/firmware/arm,scmi.yaml > +++ b/Documentation/devicetree/bindings/firmware/arm,scmi.yaml > @@ -189,6 +189,47 @@ properties: > reg: > const: 0x18 > > + protocol@80: > + type: object > + properties: > + reg: > + const: 0x80 > + > + qcom,bus-type: > + $ref: /schemas/types.yaml#/definitions/uint32-array > + items: > + minItems: 1 > + description: > + Identifier of the bus type to be scaled by the memlat protocol. > + Why is this part of the provider of the service ? > + cpu-map: > + type: object > + description: > + The list of all cpu cluster configurations to be tracked by the memlat protocol > + > + patternProperties: > + '^cluster[0-9]': > + type: object > + description: > + Each cluster node describes the frequency domain associated with the > + CPUFREQ HW engine and bandwidth requirements of the buses to be scaled. > + > + properties: > + operating-points-v2: true > + > + qcom,freq-domain: > + $ref: /schemas/types.yaml#/definitions/phandle-array > + description: > + Reference to the frequency domain of the CPUFREQ HW engine > + items: > + - items: > + - description: phandle to CPUFREQ HW engine > + - description: frequency domain associated with the cluster > + > + required: > + - qcom,freq-domain > + - operating-points-v2 > + I would avoid all these here as part of provider node. It should be part of the consumer to have all these details and do what it needs to do with any such information. -- Regards, Sudeep