Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp287004pxm; Wed, 2 Mar 2022 15:29:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJwTHg2OCWEwKfPhb/8GtQzLVZOF+uAhUavy+mI+f3in346Onu64n1CtuW9gSuBKK53ukC5n X-Received: by 2002:a65:5bc3:0:b0:378:4f82:d73d with SMTP id o3-20020a655bc3000000b003784f82d73dmr22452690pgr.191.1646263752254; Wed, 02 Mar 2022 15:29:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646263752; cv=none; d=google.com; s=arc-20160816; b=tvbS4OmLqaDb6wCEUDM52CN/Jk6FxXxbize2/iNAm2MqwSJglcz//AbNZStSktFOot jIVicaLdUAb+iBMEkNdIvxhf1mYNthA0SKeDIvJ2SYqaVfYSt/afY6mEmzUEsZU/GPoq 7H5RjwAz7FYLECsciQDxPLDZ5XEE78EPbFAFVldh68nYhRL+jxSlSGVJ4EhMJz89DM/g HOZBzXpe5zX9M/0I2LdnirHnUrhElypuSRG+tRdwcvLVpJ05JuIkdUMbXK5ayj7wyH6e 9P0lEmDA/D2jyfdIIQS4DYqLmaDkSAF1ZgpkgAYUnCmhzTBHHvPMueTIzWaJgxJ+GRt6 GHMA== 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=ma9roFPBef72fq/oBUDqSTHNnszPU1Fgldj44JWR6TE=; b=l489F8gh9XehAkzpyQvprwLvV7oKDHVke8xFTpCQfcrXXuyOHTjktFgwuC/ofGCOm2 pIDHFMlPdI5GF6nlR5rhv/V8tmtmzUjpAthnBve7UnhydPeeDbAL7aO/bpiU++sxlasC FyCkPn1N/WU2wgNl4QmarAHRRXpU85p/oIdRDd1BSEZxdvVXx36rsRQcY8QMDPk72N5t tzRSGvQo4CWlp/YIvM1iqfjhouXXgEir37lkU3dK1yLBDCz6R9hBivCx8daCMS5N2WmV 4D2FtrpGPCsFSveZXNFvGihuMTjq33vgNBUePZ83oY+YyazJFVW3LAayMzG+XIbxMC/f 4pTQ== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id qe9-20020a17090b4f8900b001bf0cc96fa5si280809pjb.119.2022.03.02.15.29.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Mar 2022 15:29:12 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0FEB21470E6; Wed, 2 Mar 2022 15:00:57 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241444AbiCBLaW (ORCPT + 99 others); Wed, 2 Mar 2022 06:30:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240557AbiCBLaN (ORCPT ); Wed, 2 Mar 2022 06:30:13 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 581D031214; Wed, 2 Mar 2022 03:29:30 -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 2768A13D5; Wed, 2 Mar 2022 03:29:30 -0800 (PST) Received: from e123648.arm.com (unknown [10.57.21.27]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id E31383F70D; Wed, 2 Mar 2022 03:29:27 -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 v5 1/5] dt-bindings: opp: Add "opp-microwatt" entry in the OPP Date: Wed, 2 Mar 2022 11:29:13 +0000 Message-Id: <20220302112917.27270-2-lukasz.luba@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220302112917.27270-1-lukasz.luba@arm.com> References: <20220302112917.27270-1-lukasz.luba@arm.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/Documentation/devicetree/bindings/opp/opp-v2-base.yaml b/Documentation/devicetree/bindings/opp/opp-v2-base.yaml index 15a76bcd6d42..04a592c0f862 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. @@ -203,6 +218,14 @@ patternProperties: minItems: 1 maxItems: 8 # Should be enough regulators + '^opp-microwatt': + description: + Named opp-microwatt property. Similar to opp-microamp property, + but for microwatt instead. + $ref: /schemas/types.yaml#/definitions/uint32-array + minItems: 1 + maxItems: 8 # Should be enough regulators + dependencies: opp-avg-kBps: [ opp-peak-kBps ] -- 2.17.1