diff mbox series

dt-bindings: mips: lantiq: Document Lantiq Xway PMU bindings

Message ID 20201231163153.4512-1-olek2@wp.pl
State Accepted
Commit 6f6b3ed55aef08b296cb1a2add01c61e8dd677c7
Headers show
Series dt-bindings: mips: lantiq: Document Lantiq Xway PMU bindings | expand

Commit Message

Aleksander Jan Bajkowski Dec. 31, 2020, 4:31 p.m. UTC
Document the Lantiq Xway SoC series Power Management Unit (PMU) bindings.

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
---
 .../bindings/mips/lantiq/lantiq,pmu.yaml      | 32 +++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mips/lantiq/lantiq,pmu.yaml

Comments

Rob Herring Jan. 11, 2021, 10:20 p.m. UTC | #1
On Thu, 31 Dec 2020 17:31:53 +0100, Aleksander Jan Bajkowski wrote:
> Document the Lantiq Xway SoC series Power Management Unit (PMU) bindings.

> 

> Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>

> ---

>  .../bindings/mips/lantiq/lantiq,pmu.yaml      | 32 +++++++++++++++++++

>  1 file changed, 32 insertions(+)

>  create mode 100644 Documentation/devicetree/bindings/mips/lantiq/lantiq,pmu.yaml

> 


Reviewed-by: Rob Herring <robh@kernel.org>
Thomas Bogendoerfer Jan. 13, 2021, 10:09 a.m. UTC | #2
On Thu, Dec 31, 2020 at 05:31:53PM +0100, Aleksander Jan Bajkowski wrote:
> Document the Lantiq Xway SoC series Power Management Unit (PMU) bindings.

> 

> Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>

> ---

>  .../bindings/mips/lantiq/lantiq,pmu.yaml      | 32 +++++++++++++++++++

>  1 file changed, 32 insertions(+)

>  create mode 100644 Documentation/devicetree/bindings/mips/lantiq/lantiq,pmu.yaml


applied to mips-next.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/mips/lantiq/lantiq,pmu.yaml b/Documentation/devicetree/bindings/mips/lantiq/lantiq,pmu.yaml
new file mode 100644
index 000000000000..4982b458ac12
--- /dev/null
+++ b/Documentation/devicetree/bindings/mips/lantiq/lantiq,pmu.yaml
@@ -0,0 +1,32 @@ 
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/mips/lantiq/lantiq,pmu.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Lantiq Xway SoC series Power Management Unit (PMU)
+
+maintainers:
+  - John Crispin <john@phrozen.org>
+
+properties:
+  compatible:
+    items:
+      - enum:
+          - lantiq,pmu-xway
+
+  reg:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+    pmu@102000 {
+        compatible = "lantiq,pmu-xway";
+        reg = <0x102000 0x1000>;
+    };