Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1328965pxm; Thu, 24 Feb 2022 00:34:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJzj9v4n3vTXZjYAYqzKkcUpFTUgDIdKDXrsBdjBGnnAPwQG+N4y3IeSQmDdj8C8H1MAPZE2 X-Received: by 2002:a17:90a:a78d:b0:1bc:d11c:ad40 with SMTP id f13-20020a17090aa78d00b001bcd11cad40mr445948pjq.246.1645691673844; Thu, 24 Feb 2022 00:34:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645691673; cv=none; d=google.com; s=arc-20160816; b=nU4J10rkW/G4WA0qrbz004dqPfor5GgaO7DzxuQgtrQ+0j3BqEgb/byNTpokfRzj47 0pTnu6LTkm5Z4rY737Dnw/TvPjSuOSugq9neFE7GtBQ+Y1tHInNoo2iwslJkh81e6uMy c795ipQN6XvMLKnBHRCdaIcb0X5XW/gqr4Bc5BpHnMOZ5Bj7K7oAC1DDXhTuA4NAadd8 YjBiwxN3oqeX1HeUPGTOSF8ootIxGw5DxfytxacQb1a5HdtJ9SIFT6I+5ApreP+pjo01 aL1DCkwNs9HYrl0COMKAsc5rnjrkkcEP2KH1v+pzKw2K8/Y90DF8DTnpH7MwxH9RxZIe dWFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=6vgILEroOe18A1O86E3cCqaCvZhpj284U+M5c0UoFU4=; b=Yz6QkyYjYDfat2yJpdPX0y4YdvubBL7xNZMfWiv3rTX/mlRZ0a5lHju9RUilhUO7Np tQYzYpktMsOUhkWuqswQvKPdzbZ8YD1Gjz/4XROhhBPkFe1DSdDHdOT34SG3QW9h79n2 8FV/Hiv+ZgZbV43Jb26Ytv19Oyuqko8uEb2/R2lhLaWYuKif6bDew0E0Y/1JNzeP3Y7g J3svG9EhgoTnSBgtwqKeVTBVFIOGJl/DcHzof166w9TUvNlwA2iVnU5pICvsb+d8epgf 3KtUaAjnURaDok/LF9LqCGK1aPSg2g3RxmeeSTpUpA2QgeB0NlhyEZ/ltHaHlgXvyel2 ZpuQ== 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 w16si1672451plk.529.2022.02.24.00.34.17; Thu, 24 Feb 2022 00:34:33 -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 S231922AbiBXINB (ORCPT + 99 others); Thu, 24 Feb 2022 03:13:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231652AbiBXIM0 (ORCPT ); Thu, 24 Feb 2022 03:12:26 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5EFA22018F; Thu, 24 Feb 2022 00:11:43 -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 C736F1509; Thu, 24 Feb 2022 00:11:42 -0800 (PST) Received: from e123648.arm.com (unknown [10.57.8.211]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 916623F70D; Thu, 24 Feb 2022 00:11:40 -0800 (PST) From: Lukasz Luba To: linux-kernel@vger.kernel.org Cc: lukasz.luba@arm.com, dietmar.eggemann@arm.com, viresh.kumar@linaro.org, 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 Subject: [PATCH v3 1/4] dt-bindings: opp: Add "opp-microwatt" entry in the OPP Date: Thu, 24 Feb 2022 08:11:28 +0000 Message-Id: <20220224081131.27282-2-lukasz.luba@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220224081131.27282-1-lukasz.luba@arm.com> References: <20220224081131.27282-1-lukasz.luba@arm.com> X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,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 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 --- .../devicetree/bindings/opp/opp-v2-base.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Documentation/devicetree/bindings/opp/opp-v2-base.yaml b/Documentation/devicetree/bindings/opp/opp-v2-base.yaml index 15a76bcd6d42..433164186a98 100644 --- a/Documentation/devicetree/bindings/opp/opp-v2-base.yaml +++ b/Documentation/devicetree/bindings/opp/opp-v2-base.yaml @@ -93,6 +93,21 @@ patternProperties: minItems: 1 maxItems: 8 # Should be enough regulators + opp-microwatt: + description: | + The power for the OPP in micro-Watts. + + Entries for multiple regulators shall be provided in the same field + separated by angular brackets <>. If current values aren't required + for a regulator, then it shall be filled with 0. If power values + aren't required for any of the regulators, then this field is not + required. The OPP binding doesn't provide any provisions to relate the + values to their power supplies or the order in which the supplies need + to be configured and that is left for the implementation specific + binding. + minItems: 1 + maxItems: 8 # Should be enough regulators + opp-level: description: A value representing the performance level of the device. -- 2.17.1