Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp150899iol; Thu, 9 Jun 2022 00:32:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwZoj/93KpFYomdnccgcsiJyIun+JMGCHuz6GagFARzjgeuyH5sVHcD9Q5v780Y6601aD// X-Received: by 2002:a17:90b:4a42:b0:1e3:331e:d3ec with SMTP id lb2-20020a17090b4a4200b001e3331ed3ecmr2067751pjb.147.1654759954702; Thu, 09 Jun 2022 00:32:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654759954; cv=none; d=google.com; s=arc-20160816; b=bnRkE6lFiZVQOLozidLom++EBYF/p6XxvBtlac9Z2jfURHgAQI3cVO4uJRk/HHZsNn eQ8UWrKsxLHrOFm51IIfMpfjsxvSuGbf4qM1JTwGNAXv7dCy0WTM4Msz2c/v5wMAuujl flavI58rEYwKTYNiZNzv7M5+aYW32iBo1zPd48Ty5W0chxmRtWh6c1q0fI18HWm20lr1 4XEkBF9G+8zSuvuUq23YnQYz6edgx/4Wp0a6XGSHn+yg49Ufp7XQSbRlDZugfPJeoxCJ GjjOCdz1+D2+Jf040GLJQ2nBfxZ7cTi66NNty2nPKjPbc4kD6PUd4k4UYBflTtnH7JEQ mfaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=cAhVzC+Qy8SQ5zAT4fg0oQl3ms6QKh++cVsGH/r5o6M=; b=WfbQ13i7W1FDROVRigWXEeWn01bW3T8+ujC+4GzWvPnoSGUBUuh/Ry8TBujxSZ5J/p YQt/WsR9DDiA+hdP/MJypNL82Uyvth/8vomC2O175O29sc6/3cEldLwrs1XJHwC9CDdI UL58z+P88r2jN2LKme+tZmAaziGpVBGZSMxyjjptlPQDf2ONUw17KaDYCRy9k+L/4ZEA /NQ6WhcScho3ObnHl/UNqSrflF1mPTIEMUEz6gweyD6dG7cMhcaec+0lmaBB4KZeyav7 fRlvuOis7Et/fAWTarDxua706TZb3sHVXOZ2vYlMpfkB7jAgzzqkelyyDeAZYQYw+MVF OBFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=PXdLcVmh; 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=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b7-20020a170902bd4700b0016184e70124si29417404plx.192.2022.06.09.00.32.20; Thu, 09 Jun 2022 00:32:34 -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; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=PXdLcVmh; 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=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239848AbiFIHUo (ORCPT + 99 others); Thu, 9 Jun 2022 03:20:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236716AbiFIHUl (ORCPT ); Thu, 9 Jun 2022 03:20:41 -0400 Received: from alexa-out-sd-01.qualcomm.com (alexa-out-sd-01.qualcomm.com [199.106.114.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38A7C243EE7; Thu, 9 Jun 2022 00:20:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1654759240; x=1686295240; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=cAhVzC+Qy8SQ5zAT4fg0oQl3ms6QKh++cVsGH/r5o6M=; b=PXdLcVmhXDX3lycrE7XDmz4mFmU7ItzGtia84XGw60belc/agCXeyCdX ifzXU2yxPMioYsM1tAZgBPvNAzn62Jsk11H7aSXCB8mIx68ETOuK1kBTt palwfy6IJbztfLOO6b592br8RL2xzqSLkaTfwmLpzTHg3STsPaIFmj3ca A=; Received: from unknown (HELO ironmsg02-sd.qualcomm.com) ([10.53.140.142]) by alexa-out-sd-01.qualcomm.com with ESMTP; 09 Jun 2022 00:20:39 -0700 X-QCInternal: smtphost Received: from nasanex01b.na.qualcomm.com ([10.46.141.250]) by ironmsg02-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jun 2022 00:20:39 -0700 Received: from localhost (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Thu, 9 Jun 2022 00:20:38 -0700 From: Neeraj Upadhyay To: , , , CC: , , , , , , Neeraj Upadhyay Subject: [RFC 1/3] dt-bindings: arm: Add document for SCMI Virtio backend device Date: Thu, 9 Jun 2022 12:49:54 +0530 Message-ID: <20220609071956.5183-2-quic_neeraju@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220609071956.5183-1-quic_neeraju@quicinc.com> References: <20220609071956.5183-1-quic_neeraju@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01b.na.qualcomm.com (10.46.141.250) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Document the properties for ARM SCMI Virtio backend device node. Signed-off-by: Neeraj Upadhyay --- .../firmware/arm,scmi-vio-backend.yaml | 85 +++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 Documentation/devicetree/bindings/firmware/arm,scmi-vio-backend.yaml diff --git a/Documentation/devicetree/bindings/firmware/arm,scmi-vio-backend.yaml b/Documentation/devicetree/bindings/firmware/arm,scmi-vio-backend.yaml new file mode 100644 index 000000000000..c95d4e093a3c --- /dev/null +++ b/Documentation/devicetree/bindings/firmware/arm,scmi-vio-backend.yaml @@ -0,0 +1,85 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/firmware/arm,scmi-vio-backend.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: System Control and Management Interface (SCMI) Virtio backend bindings + +maintainers: + - Neeraj Upadhyay + +description: | + This binding defines the interface for configuring the ARM SCMI Virtio + backend using device tree. + +properties: + $nodename: + const: scmi-vio-backend + + compatible: + const: arm,scmi-vio-backend + + '#address-cells': + const: 1 + + '#size-cells': + const: 0 + + protocol@11: + type: object + properties: + reg: + const: 0x11 + + protocol@13: + type: object + properties: + reg: + const: 0x13 + + protocol@14: + type: object + properties: + reg: + const: 0x14 + + protocol@15: + type: object + properties: + reg: + const: 0x15 + + protocol@16: + type: object + properties: + reg: + const: 0x16 + + protocol@17: + type: object + properties: + reg: + const: 0x17 + +required: + - compatible + +examples: + - | + firmware { + scmi-vio-backend { + compatible = "arm,scmi-vio-backend"; + + scmi_vio_backend_clk: protocol@14 { + reg = <0x14>; + }; + + scmi_vio_backend_voltage: protocol@17 { + reg = <0x17>; + }; + }; + }; + +... -- 2.17.1