Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3977imw; Mon, 4 Jul 2022 04:15:51 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uWVeLuwdECQ6vCYLDauy5wsdJ6gxJMmU7xYi2aiKaQKuYZz6lM0KCcYtNO1rDnnoOnFUDd X-Received: by 2002:a17:906:9c82:b0:6e1:2c94:1616 with SMTP id fj2-20020a1709069c8200b006e12c941616mr28001954ejc.64.1656933351497; Mon, 04 Jul 2022 04:15:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656933351; cv=none; d=google.com; s=arc-20160816; b=nebyUwfx7/YsileOxFVp0u4C5QWa8C/PIbY+GBR6djg/LCADWoOiYO+miYoAJoQZdh Gsy92kMCSBcoDhtgUScG1LVFzssrxmD4+/he/4DOvA1VPNqlaEaOk1GUNE0dglOSBcbl AyYRHb3UuuWRPdrlC+h/yktrO0RFlQbHeT0HXyQYamuDH5ZtZvpFgmzuQ11NXUE0cMsy zVvKaoPWAngBxfkTGi4qnHFkaKRNLUXH7hmRsnK42yrIVqE7vIFm4TPjB3liWuWB/7Fc ocymqGBHfCBeMySE4+KTnaActI9rGN4EvI++E+k1GjzZ58HovbaUxWZWePUxoR3F2neT 1CYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=6CzmMsgALvv1CdL4ZkFDHXfhi2ic47OrPqBhyVvDnOo=; b=fExGXZY3r1dm/0W04ySt2N33WMquQD5l24Lj/7yiSWMj17eeTTfJbTBpQpf2HcPCs+ y9Qslq+6vlhqGsbHRp2c4KZE2rnFwtR5w4Wmfsiy6he3PxxUsjRSTL/i44P8zgY7YCb4 W5i3HZlklQP+hfjyeo23cbnRvN7zydY0sFlcA3J+PxXqLt88hdGS1l/8VbP77wt16BdN PEH6OJzxm/K8ERvwPCrzD1Wlrw3R4aQVXH540iGwahwt8StqQUzQ3Q1DWk9tWKKnhN/j HZqaCnbG5TJ86M3kfH6EMh8JhvN2u1/Bln8hPgRl/HEBL2H4v9qMIVHlKrWIObIsw0Mj 3nAA== 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 s12-20020a1709064d8c00b007262c36fb83si6286936eju.561.2022.07.04.04.15.26; Mon, 04 Jul 2022 04:15:51 -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 S233518AbiGDKYC (ORCPT + 99 others); Mon, 4 Jul 2022 06:24:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233130AbiGDKXH (ORCPT ); Mon, 4 Jul 2022 06:23:07 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 92F93114; Mon, 4 Jul 2022 03:23:05 -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 A0A8ED6E; Mon, 4 Jul 2022 03:23:05 -0700 (PDT) Received: from e120937-lin.home (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 1E00A3F792; Mon, 4 Jul 2022 03:23:03 -0700 (PDT) From: Cristian Marussi To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: sudeep.holla@arm.com, james.quinlan@broadcom.com, Jonathan.Cameron@Huawei.com, f.fainelli@gmail.com, etienne.carriere@linaro.org, vincent.guittot@linaro.org, daniel.lezcano@linaro.org, tarek.el-sherbiny@arm.com, adrian.slatineanu@arm.com, souvik.chakravarty@arm.com, wleavitt@marvell.com, wbartczak@marvell.com, Cristian Marussi , Rob Herring , Rob Herring , devicetree@vger.kernel.org Subject: [PATCH v4 1/7] dt-bindings: firmware: arm,scmi: Add powercap protocol Date: Mon, 4 Jul 2022 11:22:35 +0100 Message-Id: <20220704102241.2988447-2-cristian.marussi@arm.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220704102241.2988447-1-cristian.marussi@arm.com> References: <20220704102241.2988447-1-cristian.marussi@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_NONE,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 SCMIv3.1 Powercap protocol bindings definitions and example. Acked-by: Rob Herring Cc: Rob Herring Cc: devicetree@vger.kernel.org Signed-off-by: Cristian Marussi --- .../devicetree/bindings/firmware/arm,scmi.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/firmware/arm,scmi.yaml b/Documentation/devicetree/bindings/firmware/arm,scmi.yaml index 948e2a38beed..1c0388da6721 100644 --- a/Documentation/devicetree/bindings/firmware/arm,scmi.yaml +++ b/Documentation/devicetree/bindings/firmware/arm,scmi.yaml @@ -183,6 +183,12 @@ properties: required: - reg + protocol@18: + type: object + properties: + reg: + const: 0x18 + additionalProperties: false patternProperties: @@ -323,6 +329,10 @@ examples: }; }; }; + + scmi_powercap: protocol@18 { + reg = <0x18>; + }; }; }; -- 2.32.0