[PATCH 3/4] dt-bindings: mfd: Add bindings for Samsung SysMgr

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add an devicetree binding for Samsung system manager.
This driver is used for SoCs produced by Samsung Foundry to provide
Samsung sysmgr API. The read/write request of sysmgr is delivered to
Samsung secure monitor call.

Signed-off-by: Dongjin Yang <dj76.yang@xxxxxxxxxxx>
---
 .../devicetree/bindings/mfd/samsung,sys-mgr.yaml   | 42 ++++++++++++++++++++++
 MAINTAINERS                                        |  1 +
 2 files changed, 43 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mfd/samsung,sys-mgr.yaml

diff --git a/Documentation/devicetree/bindings/mfd/samsung,sys-mgr.yaml b/Documentation/devicetree/bindings/mfd/samsung,sys-mgr.yaml
new file mode 100644
index 000000000000..83b9d73a5420
--- /dev/null
+++ b/Documentation/devicetree/bindings/mfd/samsung,sys-mgr.yaml
@@ -0,0 +1,42 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/firmware/samsung,sys-mgr.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Samsung System Manager
+
+maintainers:
+  - Jesper Nilsson <jesper.nilsson@xxxxxxxx>
+
+description: |
+  The file documents device tree bindings of Samsung system manager.
+
+properties:
+  compatible:
+    enum:
+      - samsung,sys-mgr
+      - samsung,sys-mgr-smccc
+
+  reg:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+
+    syscon_imem@10020000 {
+        compatible = "samsung,sys-mgr";
+        reg = <0x0 0x10020000 0x0 0x1000>;
+    };
+
+    syscon_fsys: syscon@16c20000 {
+        compatible = "samsung,sys-mgr-smccc";
+        reg = <0x0 0x16c20000 0x0 0x1000>;
+    };
+...
diff --git a/MAINTAINERS b/MAINTAINERS
index d173043ffb46..55cb8901ccdc 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1863,6 +1863,7 @@ M:	Lars Persson <lars.persson@xxxxxxxx>
 L:	linux-arm-kernel@xxxxxxxx
 S:	Maintained
 F:	Documentation/devicetree/bindings/firmware/samsung,smccc-svc.yaml
+F:	Documentation/devicetree/bindings/mfd/samsung,sys-mgr.yaml
 F:	Documentation/devicetree/bindings/pinctrl/axis,artpec6-pinctrl.txt
 F:	arch/arm/boot/dts/artpec6*
 F:	arch/arm/mach-artpec
-- 
2.9.5



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux