dt-bindings: arm: realtek: Tidy up conversion to json-schema

Restore the device names for compatible strings as comments.
Prepare for adding more SoCs by inserting oneOf.

Fixes: 693af5f3ee ("dt-bindings: arm: Convert Realtek board/soc bindings to json-schema")
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
Andreas Färber 2019-10-19 20:39:39 +02:00
parent 54ecb8f702
commit 0d3ccc1cde
1 changed files with 8 additions and 7 deletions

View File

@ -13,11 +13,12 @@ properties:
$nodename:
const: '/'
compatible:
# RTD1295 SoC based boards
items:
- enum:
- mele,v9
- probox2,ava
- zidoo,x9s
- const: realtek,rtd1295
oneOf:
# RTD1295 SoC based boards
- items:
- enum:
- mele,v9 # MeLE V9
- probox2,ava # ProBox2 AVA
- zidoo,x9s # Zidoo X9S
- const: realtek,rtd1295
...