[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20191223092948.24824-2-zhang.lyra@gmail.com>
Date: Mon, 23 Dec 2019 17:29:46 +0800
From: Chunyan Zhang <zhang.lyra@...il.com>
To: soc@...nel.org, Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>
Cc: devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
Orson Zhai <orsonzhai@...il.com>,
Baolin Wang <baolin.wang7@...il.com>,
Chunyan Zhang <zhang.lyra@...il.com>,
Chunyan Zhang <chunyan.zhang@...soc.com>
Subject: [PATCH v5 1/3] dt-bindings: arm: sprd: add global registers bindings
From: Chunyan Zhang <chunyan.zhang@...soc.com>
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 <chunyan.zhang@...soc.com>
---
.../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 <orsonzhai@...il.com>
+ - Baolin Wang <baolin.wang7@...il.com>
+ - Chunyan Zhang <zhang.lyra@...il.com>
+
+properties:
+ compatible:
+ oneOf:
+ - items:
+ - enum:
+ - sprd,sc9860-glbregs
+ - sprd,sc9863a-glbregs
+ - const: syscon
+
+ reg:
+ maxItems: 1
+
+examples:
+ - |
+ apb_regs: syscon@...e0000 {
+ compatible = "sprd,sc9863a-glbregs", "syscon";
+ reg = <0x402e0000 0x4000>;
+ };
+
+...
--
2.20.1
Powered by blists - more mailing lists