Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3933524ybc; Tue, 26 Nov 2019 00:50:11 -0800 (PST) X-Google-Smtp-Source: APXvYqwbl4CDvHQt+raR75HjglVOg069KhIPUaMXbeUTob4lm3vVIpH7yTu5X3o/1zGQZxP1XHGU X-Received: by 2002:a17:906:cca:: with SMTP id l10mr41747495ejh.161.1574758210983; Tue, 26 Nov 2019 00:50:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574758210; cv=none; d=google.com; s=arc-20160816; b=U+7uzcBm2kN7CQyno82lJJxBbkhnP0H3eaPmvbAZpBPfoVhGtZCWod6KZoezQty2c3 BRHfIhLi//PM5Zm3kC312ZdfzWmdDAbPEUukjjlnCdJ4J6rwFCPoRJzi2tOd8GPZRu87 2o7qiUxC0eOll9uvYFYue+1AcFziWK+oeeUw0U748j4v2jtNXRlAtiahRuRs9KRCW6jp qTCWwz+ouhjdKVMA4eBS+jq/JUZOX2tu5HXqQ2hJTpa6N6OZw/yriAhOcEQAYr7Ao3m+ lvtdTVZL57XuhZCaOCy3u0V9vvWCHsN0IDoOd1VZi+u1j+9pNU44hwxTOPQBMqXUCWfS Xcwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=pXeJgWyhuPkH7avbkDvkKt/DocEQyP3gPARDNl1d+k0=; b=BYgMcfBrFkUwoDuAWt7uQjmir+jtOfJfLf0We7/f9qosszlcmezJGMEWYB5xeGpFOP Z8j7XD4CmSyNaulBRn2KMqKt8zzbmQVxnGloyh/HjvH2++SK1QV5vt3xf/Ac2iqasSRW W/y0XtEVtyPrxW7GqnTtjKNfH49c+FeJUKlemm0aecdRrQj1gKYqLylRcWv+Korelocn rjaN75NBKSBgWeIAgzZXnkwV+cubURdYx36XSOHu+QmdNIO9IkOFKaDLcdgTm8DaBZS6 71egcOzCLdWA/RVR7zMgLVeIJB+QKH7pwp0PLWYXtMhUK5/987RnFWF8fDn/PSlvWjDf /oPA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t6si7029429edr.52.2019.11.26.00.49.48; Tue, 26 Nov 2019 00:50:10 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727194AbfKZIsq convert rfc822-to-8bit (ORCPT + 99 others); Tue, 26 Nov 2019 03:48:46 -0500 Received: from mx1.unisoc.com ([222.66.158.135]:50175 "EHLO SHSQR01.spreadtrum.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727126AbfKZIsq (ORCPT ); Tue, 26 Nov 2019 03:48:46 -0500 Received: from ig2.spreadtrum.com (bjmbx02.spreadtrum.com [10.0.64.8]) by SHSQR01.spreadtrum.com with ESMTPS id xAQ8krvo006861 (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO); Tue, 26 Nov 2019 16:46:53 +0800 (CST) (envelope-from Chunyan.Zhang@unisoc.com) Received: from localhost (10.0.74.88) by BJMBX02.spreadtrum.com (10.0.64.8) with Microsoft SMTP Server (TLS) id 15.0.847.32; Tue, 26 Nov 2019 16:46:56 +0800 From: Chunyan Zhang To: Rob Herring , Mark Rutland CC: , , Orson Zhai , Baolin Wang , Chunyan Zhang , Chunyan Zhang Subject: [PATCH v3 1/3] dt-bindings: arm: sprd: add global registers bindings Date: Tue, 26 Nov 2019 16:46:42 +0800 Message-ID: <20191126084644.17207-2-chunyan.zhang@unisoc.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191126084644.17207-1-chunyan.zhang@unisoc.com> References: <20191126084644.17207-1-chunyan.zhang@unisoc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="utf-8" X-Originating-IP: [10.0.74.88] X-ClientProxiedBy: SHCAS03.spreadtrum.com (10.0.1.207) To BJMBX02.spreadtrum.com (10.0.64.8) X-MAIL: SHSQR01.spreadtrum.com xAQ8krvo006861 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The global registers would be used by different peripheral devices which we can see them as syscon clients which can use regmap interface that syscon driver provides. Signed-off-by: Chunyan Zhang --- .../bindings/arm/sprd/global-regs.yaml | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/sprd/global-regs.yaml diff --git a/Documentation/devicetree/bindings/arm/sprd/global-regs.yaml b/Documentation/devicetree/bindings/arm/sprd/global-regs.yaml new file mode 100644 index 000000000000..012207166116 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/sprd/global-regs.yaml @@ -0,0 +1,34 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright 2019 Unisoc Inc. +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/arm/sprd/global-regs.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Unisoc Global Registers + +maintainers: + - Orson Zhai + - Baolin Wang + - Chunyan Zhang + +properties: + compatible: + oneOf: + - items: + - enum: + - sprd,sc9860-glbregs + - sprd,sc9863a-glbregs + - const: syscon + + reg: + maxItems: 1 + +examples: + - | + apb_regs: syscon@402e0000 { + compatible = "sprd,sc9863a-glbregs", "syscon"; + reg = <0x402e0000 0x4000>; + }; + +... -- 2.20.1 ________________________________ This email (including its attachments) is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. Unauthorized use, dissemination, distribution or copying of this email or the information herein or taking any action in reliance on the contents of this email or the information herein, by anyone other than the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, is strictly prohibited. If you are not the intended recipient, please do not read, copy, use or disclose any part of this e-mail to others. Please notify the sender immediately and permanently delete this e-mail and any attachments if you received it in error. Internet communications cannot be guaranteed to be timely, secure, error-free or virus-free. The sender does not accept liability for any errors or omissions. 本邮件及其附件具有保密性质,受法律保护不得泄露,仅发送给本邮件所指特定收件人。严禁非经授权使用、宣传、发布或复制本邮件或其内容。若非该特定收件人,请勿阅读、复制、 使用或披露本邮件的任何内容。若误收本邮件,请从系统中永久性删除本邮件及所有附件,并以回复邮件的方式即刻告知发件人。无法保证互联网通信及时、安全、无误或防毒。发件人对任何错漏均不承担责任。