Thread (27 messages) flat view 27 messages, 11 authors, 2021-09-03

Re: [PATCH 2/5] dt-bindings: arm: econet: Add binding for EN7523 SoC and EVB

From: Rob Herring <robh@kernel.org>
Date: 2021-08-06 21:04:46
Also in: linux-arm-kernel, lkml

On Fri, Jul 30, 2021 at 03:45:49PM +0200, Bert Vermeulen wrote:
quoted hunk ↗ jump to hunk
From: John Crispin <john@phrozen.org>

Add devicetree binding for Econet EN7523 SoC and evaluation board.

Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: Bert Vermeulen <redacted>
---
 .../devicetree/bindings/arm/econet.yaml       | 27 +++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/arm/econet.yaml
diff --git a/Documentation/devicetree/bindings/arm/econet.yaml b/Documentation/devicetree/bindings/arm/econet.yaml
new file mode 100644
index 000000000000..39128f959fef
--- /dev/null
+++ b/Documentation/devicetree/bindings/arm/econet.yaml
@@ -0,0 +1,27 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/arm/econet.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: EcoNet SoC based Platforms Device Tree Bindings
+
+maintainers:
+  - Felix Fietkau <nbd@nbd.name>
+  - John Crispin <john@phrozen.org>
Blank line
+description: |
Don't need '|' if no formatting to maintain.
+  Boards with an EcoNet SoC shall have the following properties.
+
+properties:
+  $nodename:
+    const: '/'
+  compatible:
+    oneOf:
Expecting other SoCs soonish? If not, drop 'oneOf'.
+      - items:
+          - enum:
+              - econet,en7523-evb
+          - const: econet,en7523
+
+additionalProperties: true
+
+...
-- 
2.25.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help