diff options
author | Andreas Färber <afaerber@suse.de> | 2019-10-19 21:39:39 +0300 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2019-10-26 16:31:11 +0300 |
commit | 0d3ccc1cdeb75269e2a7e849c3c4ce2f73cc1e18 (patch) | |
tree | bc724f7c0ff8e078893c0e680ab84743e5d4b720 | |
parent | 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c (diff) | |
download | linux-0d3ccc1cdeb75269e2a7e849c3c4ce2f73cc1e18.tar.xz |
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: 693af5f3eeaa ("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>
-rw-r--r-- | Documentation/devicetree/bindings/arm/realtek.yaml | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/Documentation/devicetree/bindings/arm/realtek.yaml b/Documentation/devicetree/bindings/arm/realtek.yaml index 3528b61963b4..66458a3f422d 100644 --- a/Documentation/devicetree/bindings/arm/realtek.yaml +++ b/Documentation/devicetree/bindings/arm/realtek.yaml @@ -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 ... |