lkml.org 
[lkml]   [2021]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v4 3/8] dt-bindings: arm: mediatek: Add new document bindings for APU
Date
Document the apusys bindings.

Signed-off-by: Flora Fu <flora.fu@mediatek.com>
Reviewed-by: Rob Herring <robh@kernel.org>

---
.../arm/mediatek/mediatek,apusys.yaml | 50 +++++++++++++++++++
1 file changed, 50 insertions(+)
create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,apusys.yaml

diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,apusys.yaml b/Documentation/devicetree/bindings/arm/mediatek/mediatek,apusys.yaml
new file mode 100644
index 000000000000..7643c66dfaa2
--- /dev/null
+++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,apusys.yaml
@@ -0,0 +1,50 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+# Copyright (C) 2021 MediaTek Inc.
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/arm/mediatek/mediatek,apusys.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: MediaTek APUSYS Controller
+
+maintainers:
+ - Flora Fu <flora.fu@mediatek.com>
+
+description:
+ The MediaTek apusys controller provides functional configurations and clocks
+ to the system.
+
+properties:
+ compatible:
+ items:
+ - enum:
+ - mediatek,mt8192-apu-conn
+ - mediatek,mt8192-apu-vcore
+ - const: syscon
+
+ reg:
+ maxItems: 1
+
+ '#clock-cells':
+ const: 1
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ apu_conn: apu_conn@19020000 {
+ compatible = "mediatek,mt8192-apu-conn", "syscon";
+ reg = <0x19020000 0x1000>;
+ #clock-cells = <1>;
+ };
+
+ - |
+ apu_vcore: apu_vcore@19029000 {
+ compatible = "mediatek,mt8192-apu-vcore", "syscon";
+ reg = <0x19029000 0x1000>;
+ #clock-cells = <1>;
+ };
--
2.18.0
\
 
 \ /
  Last update: 2021-12-10 18:02    [W:0.066 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site