Re: [PATCH 2/4] dt-bindings: usb: tegra: Convert to json-schema

Rob Herring
2021-12-09T20:56:07Z

On Thu, 09 Dec 2021 17:53:37 +0100, Thierry Reding wrote:
> From: Thierry Reding <treding@nvidia.com>
>
> Convert the old plain-text device tree bindings for the USB EHCI
> controller found on NVIDIA Tegra SoCs to the json-schema format.
>
> Signed-off-by: Thierry Reding <treding@nvidia.com>
>
> ---
> Changes in v2:
> - include usb-hcd.yaml and usb-drd.yaml
> - drop redundant phy_type property
>
> .../bindings/clock/nvidia,tegra124-car.yaml | 5 +
> .../bindings/clock/nvidia,tegra20-car.yaml | 5 +
> .../bindings/usb/nvidia,tegra20-ehci.txt | 23 ---
> .../bindings/usb/nvidia,tegra20-ehci.yaml | 156 ++++++++++++++++++
> 4 files changed, 166 insertions(+), 23 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/usb/nvidia,tegra20-ehci.txt
> create mode 100644 Documentation/devicetree/bindings/usb/nvidia,tegra20-ehci.yaml
>

Running 'make dtbs_check' with the schema in this patch gives the
following warnings. Consider if they are expected or the schema is
incorrect. These may not be new warnings.

Note that it is not yet a requirement to have 0 warnings for dtbs_check.
This will change in the future.

Full log is available here: https://patchwork.ozlabs.org/patch/1565844

usb@7d004000: asix@1: 'compatible' is a required property
arch/arm/boot/dts/tegra30-colibri-eval-v3.dt.yaml

usb@c5004000: asix@1: 'compatible' is a required property
arch/arm/boot/dts/tegra20-colibri-eval-v3.dt.yaml
arch/arm/boot/dts/tegra20-colibri-iris.dt.yaml