From patchwork Thu Dec 22 18:38:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Marussi X-Patchwork-Id: 35901 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp108690wrn; Thu, 22 Dec 2022 10:46:06 -0800 (PST) X-Google-Smtp-Source: AMrXdXvF4q8mBAK3O3Gss1nsJo7XUbtI2Iv7uAsmR1vCJkRhL5E0Hmofy9rxtmBGoOGGnDpq7Rww X-Received: by 2002:aa7:dd13:0:b0:45c:937d:25c8 with SMTP id i19-20020aa7dd13000000b0045c937d25c8mr5885695edv.1.1671734765968; Thu, 22 Dec 2022 10:46:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671734765; cv=none; d=google.com; s=arc-20160816; b=hGyZTbEY14iR4UeCqmAwAbp8Go60SFRRRh8m07DerklKmQWjTevhK3ol65lwcg5MR8 jcWxv1qv2tTqXwMphYmSMGj0tEKXqQSYAUR/PH4vgPeuEg05IRwa3BqUoEaetmD6PEGI bXf05gY0Emq2nCvgTX68HQXThNZcKWtEi6UHIPVkeapLWZOo/nKYzJclFQfpaCt/XjgA 52Uyz5dUAyrfXmGQ2gZccqSBFnh8a1GPxD6pAhRJ+kcX8vYQliTLbffGh2xEQiBWFtDi AXyy9UaMafmelkyIt4ImEkGDyxdMmijefLcfalhRiHSp6mpNosp900uV0Y3SwljTVzzd y95g== 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=vSRHk3tF4RzYxXaHI8hgErzcouS2nfh1gm07p3d87aA=; b=dY3aELgHkAddHQSCiuTmnPo2rgnZCkgiBxgDxXTeDLhUigmZECZC0SJ18M2b/RKgX3 ALhXMgWNeSxIzGI9xqI6a0sSfvIzXD+pX+CcH2l7PN6EylLugfJU+7HhPnffnU2blM40 NNl8lzSxQhVWqnjwiFE5zidf8aLi6/UP0Itjxi1v82EIwqsV7fbHvDLWR3HqhlkfVvqJ Bb0vi32c0DjN65bGcj0AjUaqihc7w1gNkA1VE1w07oPa8DtvrWdh6bYzhpb6WrwcUrQN T9yCpIGoB43B/eVaoUoC+fgyNXWSnhPAQSQISmEFBq3G40rf4OrZ1a0W0UknlTw0BwXk FGxA== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a21-20020a05640213d500b00472982b0adbsi1088287edx.55.2022.12.22.10.45.41; Thu, 22 Dec 2022 10:46:05 -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 S235427AbiLVSjB (ORCPT + 99 others); Thu, 22 Dec 2022 13:39:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56362 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235230AbiLVSir (ORCPT ); Thu, 22 Dec 2022 13:38:47 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D8D9C1D329; Thu, 22 Dec 2022 10:38:46 -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 B253F16A3; Thu, 22 Dec 2022 10:39:27 -0800 (PST) Received: from e120937-lin.. (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id B075F3FAFB; Thu, 22 Dec 2022 10:38:45 -0800 (PST) From: Cristian Marussi To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: sudeep.holla@arm.com, cristian.marussi@arm.com, Rob Herring , devicetree@vger.kernel.org Subject: [PATCH 4/5] dt-bindings: firmware: arm,scmi: Add support for syspower protocol Date: Thu, 22 Dec 2022 18:38:22 +0000 Message-Id: <20221222183823.518856-5-cristian.marussi@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221222183823.518856-1-cristian.marussi@arm.com> References: <20221222183823.518856-1-cristian.marussi@arm.com> MIME-Version: 1.0 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752940953687901516?= X-GMAIL-MSGID: =?utf-8?q?1752940953687901516?= Add new SCMI Syspower protocol bindings definitions and example. Cc: Rob Herring Cc: devicetree@vger.kernel.org Signed-off-by: Cristian Marussi --- Got lost in translation probably...from txt to yaml --- .../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 1c0388da6721..f3dd77a470dd 100644 --- a/Documentation/devicetree/bindings/firmware/arm,scmi.yaml +++ b/Documentation/devicetree/bindings/firmware/arm,scmi.yaml @@ -111,6 +111,12 @@ properties: required: - '#power-domain-cells' + protocol@12: + type: object + properties: + reg: + const: 0x12 + protocol@13: type: object properties: @@ -285,6 +291,10 @@ examples: #power-domain-cells = <1>; }; + scmi_syspower: protocol@12 { + reg = <0x12>; + }; + scmi_dvfs: protocol@13 { reg = <0x13>; #clock-cells = <1>;