Skip to content

Commit

Permalink
dt-bindings: arm: Convert nuvoton,npcm750 binding to YAML
Browse files Browse the repository at this point in the history
The general trend is to have devicetree bindings in YAML format, to
allow automatic validation of bindings and devicetrees.

Convert the NPCM SoC family's binding to YAML before it accumulates more
entries.

The nuvoton,npcm750-evb compatible string is introduced to keep the
structure of the binding a little simpler.

Signed-off-by: Jonathan Neuschäfer <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joel Stanley <[email protected]>
  • Loading branch information
neuschaefer authored and shenki committed Apr 8, 2021
1 parent a38fd87 commit 281192c
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Documentation/devicetree/bindings/arm/npcm/npcm.txt

This file was deleted.

23 changes: 23 additions & 0 deletions Documentation/devicetree/bindings/arm/npcm/npcm.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/arm/npcm/npcm.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: NPCM Platforms Device Tree Bindings

maintainers:
- Jonathan Neuschäfer <[email protected]>

properties:
$nodename:
const: '/'
compatible:
oneOf:
- description: NPCM750 based boards
items:
- enum:
- nuvoton,npcm750-evb # NPCM750 evaluation board
- const: nuvoton,npcm750

additionalProperties: true

0 comments on commit 281192c

Please sign in to comment.