2019-10-20 04:10:06

by Andreas Färber

[permalink] [raw]
Subject: [PATCH v2 3/8] 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")
Signed-off-by: Andreas Färber <[email protected]>
---
v2: New

Documentation/devicetree/bindings/arm/realtek.yaml | 15 ++++++++-------
1 file 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
...
--
2.16.4


2019-10-25 21:24:43

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH v2 3/8] dt-bindings: arm: realtek: Tidy up conversion to json-schema

On Sun, 20 Oct 2019 06:08:12 +0200, =?UTF-8?q?Andreas=20F=C3=A4rber?= wrote:
> 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")
> Signed-off-by: Andreas F?rber <[email protected]>
> ---
> v2: New
>
> Documentation/devicetree/bindings/arm/realtek.yaml | 15 ++++++++-------
> 1 file changed, 8 insertions(+), 7 deletions(-)
>

Reviewed-by: Rob Herring <[email protected]>

2019-10-26 13:58:56

by Andreas Färber

[permalink] [raw]
Subject: Re: [PATCH v2 3/8] dt-bindings: arm: realtek: Tidy up conversion to json-schema

Am 25.10.19 um 23:21 schrieb Rob Herring:
> On Sun, 20 Oct 2019 06:08:12 +0200, =?UTF-8?q?Andreas=20F=C3=A4rber?= wrote:
>> 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")
>> Signed-off-by: Andreas Färber <[email protected]>
>> ---
>> v2: New
>>
>> Documentation/devicetree/bindings/arm/realtek.yaml | 15 ++++++++-------
>> 1 file changed, 8 insertions(+), 7 deletions(-)
>>
>
> Reviewed-by: Rob Herring <[email protected]>

Thanks, applied to linux-realtek.git v5.5/dt64:

https://git.kernel.org/pub/scm/linux/kernel/git/afaerber/linux-realtek.git/log/?h=v5.5/dt64

Regards,
Andreas

--
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer
HRB 36809 (AG Nürnberg)