Re: [PATCH v3 1/4] dt-bindings: pinctrl: tegra: Convert to json-schema

Rob Herring
2022-11-07T20:48:51Z

On Fri, 04 Nov 2022 15:23:42 +0100, Thierry Reding wrote:
> From: Thierry Reding <treding@nvidia.com>
>
> Convert the NVIDIA Tegra pinmux controller bindings from the free-form
> text format to json-schema.
>
> Signed-off-by: Thierry Reding <treding@nvidia.com>
> ---
> Changes in v3:
> - add missing "type: object" to patternProperties definitions
> - restructure common bindings according to Rob's comments
>
> Changes in v2:
> - wrap lines at 80 characters instead of the standard 100 characters in Linux
> - use GPL-2.0-only instead of GPL-2.0+ license for DT bindings
> - reorder additionalProperties for better readability
> - move common definitions into a shared schema
> - remove consumer snippets from examples
>
> .../bindings/clock/nvidia,tegra124-dfll.yaml | 2 +-
> .../pinctrl/nvidia,tegra-pinmux-common.yaml | 178 ++++++++++++++++++
> .../pinctrl/nvidia,tegra114-pinmux.txt | 131 -------------
> .../pinctrl/nvidia,tegra114-pinmux.yaml | 155 +++++++++++++++
> .../pinctrl/nvidia,tegra124-pinmux.txt | 153 ---------------
> .../pinctrl/nvidia,tegra124-pinmux.yaml | 176 +++++++++++++++++
> .../pinctrl/nvidia,tegra194-pinmux.txt | 107 -----------
> .../pinctrl/nvidia,tegra194-pinmux.yaml | 89 +++++++++
> .../pinctrl/nvidia,tegra20-pinmux.txt | 143 --------------
> .../pinctrl/nvidia,tegra20-pinmux.yaml | 112 +++++++++++
> .../pinctrl/nvidia,tegra210-pinmux.txt | 166 ----------------
> .../pinctrl/nvidia,tegra210-pinmux.yaml | 142 ++++++++++++++
> .../pinctrl/nvidia,tegra30-pinmux.txt | 144 --------------
> .../pinctrl/nvidia,tegra30-pinmux.yaml | 176 +++++++++++++++++
> 14 files changed, 1029 insertions(+), 845 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra-pinmux-common.yaml
> delete mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra114-pinmux.txt
> create mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra114-pinmux.yaml
> delete mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra124-pinmux.txt
> create mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra124-pinmux.yaml
> delete mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra194-pinmux.txt
> create mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra194-pinmux.yaml
> delete mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra20-pinmux.txt
> create mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra20-pinmux.yaml
> delete mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra210-pinmux.txt
> create mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra210-pinmux.yaml
> delete mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra30-pinmux.txt
> create mode 100644 Documentation/devicetree/bindings/pinctrl/nvidia,tegra30-pinmux.yaml
>

Reviewed-by: Rob Herring <robh@kernel.org>