Re: [PATCH v4 2/4] dt-bindings: soc: rockchip: convert grf.txt to YAML

From: Rob Herring
Date: Wed May 12 2021 - 16:35:24 EST


On Tue, 11 May 2021 07:05:09 +0200, Johan Jonker wrote:
> Current dts files with 'grf' nodes are manually verified.
> In order to automate this process grf.txt has to be
> converted to YAML.
>
> Most compatibility strings are in use with "simple-mfd" added.
>
> Add description already in use:
> "rockchip,rv1108-pmugrf", "syscon"
>
> Add new descriptions for:
> "rockchip,rk3568-grf", "syscon", "simple-mfd"
> "rockchip,rk3568-pmugrf", "syscon", "simple-mfd"
>
> Signed-off-by: Johan Jonker <jbx6244@xxxxxxxxx>
> ---
>
> Changed V4:
> revert separate schemas for each 'if' subset
> add additionalProperties
> move properties to top level
>
> Changed V3:
> remove select
> change unevaluatedProperties
> add separate schemas for each 'if' subset
>
> Changed V2:
> add rockchip,rk3328-grf-gpio.yaml
> rename grf-gpio nodename
> ---
> .../devicetree/bindings/soc/rockchip/grf.txt | 61 -----
> .../devicetree/bindings/soc/rockchip/grf.yaml | 246 +++++++++++++++++++++
> 2 files changed, 246 insertions(+), 61 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/soc/rockchip/grf.txt
> create mode 100644 Documentation/devicetree/bindings/soc/rockchip/grf.yaml
>

Reviewed-by: Rob Herring <robh@xxxxxxxxxx>