Re: [PATCH v3 02/13] dt-bindings: usb: Add NVIDIA Tegra234 XUSB host controller binding

From: Jon Hunter
Date: Fri Nov 18 2022 - 06:48:08 EST


Hi Rob,

On 14/11/2022 19:16, Rob Herring wrote:

On Mon, 14 Nov 2022 20:40:42 +0800, Wayne Chang wrote:
Add device-tree binding documentation for the XUSB host controller present
on Tegra234 SoC. This controller supports the USB 3.1 specification.

Signed-off-by: Wayne Chang <waynec@xxxxxxxxxx>
---
depends on the following change
https://lore.kernel.org/all/20221003125141.123759-1-jonathanh@xxxxxxxxxx/
V2 -> V3:nothing has changed but added the dependency here
V1 -> V2:new change for adding nvidia,tegra234-xusb.yaml
.../bindings/usb/nvidia,tegra234-xusb.yaml | 159 ++++++++++++++++++
1 file changed, 159 insertions(+)
create mode 100644 Documentation/devicetree/bindings/usb/nvidia,tegra234-xusb.yaml


My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check'
on your patch (DT_CHECKER_FLAGS is new in v5.13):

yamllint warnings/errors:

dtschema/dtc warnings/errors:
Error: Documentation/devicetree/bindings/usb/nvidia,tegra234-xusb.example.dts:36.27-28 syntax error
FATAL ERROR: Unable to parse input tree
make[1]: *** [scripts/Makefile.lib:406: Documentation/devicetree/bindings/usb/nvidia,tegra234-xusb.example.dtb] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:1492: dt_binding_check] Error 2

doc reference errors (make refcheckdocs):

See https://patchwork.ozlabs.org/patch/

This check can fail if there are any dependencies. The base for a patch
series is generally the most recent rc1.

If you already ran 'make dt_binding_check' and didn't see the above
error(s), then make sure 'yamllint' is installed and dt-schema is up to
date:

pip3 install dtschema --upgrade

Please check and re-submit.


I am very much responsible for this because of my patch [0] to get all the necessary headers for Tegra234. I was hoping this would be a good thing, but now I see this is a bit of a headache for maintainers.

So I am not sure what is a good way to handle this. We would like to get this merged for v6.2, and so please let me know if this is OK with you? Please note that this is similar to the other Tegra USB bindings you have reviewed for v6.2.

Thanks
Jon

[0] https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git/commit/?h=for-6.2/dt-bindings&id=ea4777f6715016168cb72a1edc835dad480c8cfb
[1] https://lore.kernel.org/linux-tegra/20221103144200.1479640-1-thierry.reding@xxxxxxxxx/

--
nvpublic