Skip to contentSkip to conversation

dt-bindings: memory: add binding for Mediatek's MT7621 SDRAM memory controller

PATCH Applied Sergio Paracuellos 2 participants 2 messages Oct 2, 2021 – Oct 12, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: memory: add binding for Mediatek's MT7621 SDRAM memory controller

Add binding documentation for Mediatek's SDRAM memory controller present on MT7621 SoC.

---
 .../mediatek,mt7621-memc.yaml                 | 30 +++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/memory-controllers/mediatek,mt7621-memc.yaml
Documentation/devicetree/bindings/memory-controllers/mediatek,mt7621-memc.yaml new file +30 -0
new file mode 100644
index 000000000000..85e02854f083
@@ -0,0 +1,30 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/memory-controllers/mediatek,mt7621-memc.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: MT7621 SDRAM controller
+
+maintainers:
+  - Sergio Paracuellos <[email protected]>
+
+properties:
+  compatible:
+    const: mediatek,mt7621-memc
+
+  reg:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+    memory-controller@5000 {
+        compatible = "mediatek,mt7621-memc";
+        reg = <0x5000 0x1000>;
+    };
Signature · 1 line
2.25.1
maintainer Applied
#1 lore raw
Quoted 9 lines · Sergio Paracuellos

Add binding documentation for Mediatek's SDRAM memory controller present on MT7621 SoC.

---
 .../mediatek,mt7621-memc.yaml                 | 30 +++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/memory-controllers/mediatek,mt7621-memc.yaml

Applied, thanks!