Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp439202pxm; Wed, 23 Feb 2022 03:53:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJxYUNIJabMpbTK/tkGmMSLdEym3hjeAxkJeIHV6/9/1FCHeAycDDehuot/Nu/nsTWHmQTeB X-Received: by 2002:a17:906:cb83:b0:6d0:fbb0:f75f with SMTP id mf3-20020a170906cb8300b006d0fbb0f75fmr15163301ejb.543.1645617230378; Wed, 23 Feb 2022 03:53:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645617230; cv=none; d=google.com; s=arc-20160816; b=Twgo8ErY1fI56IWcVBT77Gh3KBmEeYDuykrodHke6SiPo8WMRk+T3OjkNKN5lx1Pm6 lXpksKT7TGbmm0Ko2xj4hvTq8QcdDR+v2ImBeilf+VqbmN+h0rT9Vr7TRkDEdOFBXC55 YYRN0l2/PPCTyUceKZRCTf7VmlAgqh4uoWxT437+TGa7/zRv/XlWJpODCPZWAN4irqzS KdGtQ2bTaG7cb7+JNu0ZOoLbmS1SKY0uQs1d2JgBqdUFdGKMIjhM6MUM1pRPP8gD4sbd UVfOt71OSPH08DNifTj88L9WvCUeVhavtq6NIG+X/NmdG8YspQsbcs2UKPPvpOxtdDow mnzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=lqJH19FrWjS+jNYp08ijI0hygBCmyPlVFAZWxy9hjMw=; b=O4xCNy9BWYYOj9B7dcUbBHqLZW2mWwnuFl1k5yRFvs6F5u/1O3TWRQHEZ2iu9ovAk3 uOWlPaArKuxKWT1/DNehI92SE53V5k4Y7dNnYsrGcafTWPaHZ9/hkhs05zW4AFTkB8MT +SzFsv6+ssfifIqoNMPM/Gs9dH1h0WtuBmr234+xBS+FsWNxEpO0SwBIVG9Y15kSiHNx /Y+9d+Nf0I+sJQOgSvzNJYYAKACM4WodHR432JWKvDC7cmb0rgetC1rSKLhBAE+GMKcB XKjxxsK1y7guWvL6IIb7tdTRu+v9CPuTyvnrkpf2/l03L+tZX3NnFResUjskVB60i/ww RVKg== 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 nb36si12003708ejc.90.2022.02.23.03.53.26; Wed, 23 Feb 2022 03:53:50 -0800 (PST) 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 S238996AbiBWIji (ORCPT + 99 others); Wed, 23 Feb 2022 03:39:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233549AbiBWIjh (ORCPT ); Wed, 23 Feb 2022 03:39:37 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 425254CD4A; Wed, 23 Feb 2022 00:39:10 -0800 (PST) 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 0CAF1ED1; Wed, 23 Feb 2022 00:39:10 -0800 (PST) Received: from [10.57.9.184] (unknown [10.57.9.184]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 14F233F5A1; Wed, 23 Feb 2022 00:39:07 -0800 (PST) Message-ID: Date: Wed, 23 Feb 2022 08:39:06 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [[PATCH v2 1/2] dt-bindings: opp: Add 'opp-microwatt' entry in the OPP Content-Language: en-US To: Viresh Kumar Cc: linux-kernel@vger.kernel.org, dietmar.eggemann@arm.com, rafael@kernel.org, daniel.lezcano@linaro.org, nm@ti.com, sboyd@kernel.org, mka@chromium.org, dianders@chromium.org, robh+dt@kernel.org, devicetree@vger.kernel.org, linux-pm@vger.kernel.org References: <20220222140746.12293-1-lukasz.luba@arm.com> <20220222140746.12293-2-lukasz.luba@arm.com> <20220223055006.zlcwco7oducggxjw@vireshk-i7> From: Lukasz Luba In-Reply-To: <20220223055006.zlcwco7oducggxjw@vireshk-i7> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, 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 2/23/22 05:50, Viresh Kumar wrote: > On 22-02-22, 14:07, Lukasz Luba wrote: >> Add new entry for the OPP which provides information about power >> expressed in micro-Watts. It is useful for the Energy Model framework. >> >> Signed-off-by: Lukasz Luba >> --- >> Documentation/devicetree/bindings/opp/opp-v2-base.yaml | 7 +++++++ >> 1 file changed, 7 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/opp/opp-v2-base.yaml b/Documentation/devicetree/bindings/opp/opp-v2-base.yaml >> index 15a76bcd6d42..3f07a279ed2a 100644 >> --- a/Documentation/devicetree/bindings/opp/opp-v2-base.yaml >> +++ b/Documentation/devicetree/bindings/opp/opp-v2-base.yaml >> @@ -93,6 +93,13 @@ patternProperties: >> minItems: 1 >> maxItems: 8 # Should be enough regulators >> >> + opp-microwatt: >> + description: >> + Power for the OPP >> + >> + A value representing power for the OPP in micro-Watts. >> + $ref: /schemas/types.yaml#/definitions/uint32 >> + > > I was expecting a much larger change here. Look at how opp-microvolt and > opp-microamp is defined in this file. > > Should this value be made per-supply/regulator, just like voltage/current ? > For the EM we need only one value. If there would be some other users of this field in future we might add the multiple power values support. Currently there is no need I would say, unless it's a hard requirement to be aligned with opp-microvolt.