Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 738d57f2 authored by Rob Herring's avatar Rob Herring
Browse files

dt-bindings: arm: Convert ZTE board/soc bindings to json-schema



Convert ZTE SoC bindings to DT schema format using json-schema.

Cc: Jun Nie <jun.nie@linaro.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: devicetree@vger.kernel.org
Acked-by: default avatarShawn Guo <shawnguo@kernel.org>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 3da3d9be
Loading
Loading
Loading
Loading
+0 −14
Original line number Diff line number Diff line
ZTE platforms device tree bindings

---------------------------------------
-  ZX296702 board:
    Required root node properties:
      - compatible = "zte,zx296702-ad1", "zte,zx296702"

---------------------------------------
-  ZX296718 SoC:
    Required root node properties:
      - compatible = "zte,zx296718"

ZX296718 EVB board:
      - "zte,zx296718-evb"
+26 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0
%YAML 1.2
---
$id: http://devicetree.org/schemas/arm/zte.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: ZTE platforms device tree bindings

maintainers:
  - Jun Nie <jun.nie@linaro.org>

properties:
  $nodename:
    const: '/'
  compatible:
    oneOf:
      - items:
          - enum:
              - zte,zx296702-ad1
          - const: zte,zx296702
      - items:
          - enum:
              - zte,zx296718-evb
          - const: zte,zx296718

...
+1 −1
Original line number Diff line number Diff line
@@ -2342,7 +2342,7 @@ F: drivers/pinctrl/zte/
F:	drivers/soc/zte/
F:	drivers/thermal/zx2967_thermal.c
F:	drivers/watchdog/zx2967_wdt.c
F:	Documentation/devicetree/bindings/arm/zte.txt
F:	Documentation/devicetree/bindings/arm/zte.yaml
F:	Documentation/devicetree/bindings/clock/zx2967*.txt
F:	Documentation/devicetree/bindings/dma/zxdma.txt
F:	Documentation/devicetree/bindings/gpio/zx296702-gpio.txt