[PATCH] dt-bindings: usb: Correct indentation and style in DTS example
Alexander Stein
alexander.stein at ew.tq-group.com
Wed Jan 8 00:47:27 AEDT 2025
Am Dienstag, 7. Januar 2025, 14:10:13 CET schrieb Krzysztof Kozlowski:
> DTS example in the bindings should be indented with 2- or 4-spaces and
> aligned with opening '- |', so correct any differences like 3-spaces or
> mixtures 2- and 4-spaces in one binding.
>
> No functional changes here, but saves some comments during reviews of
> new patches built on existing code.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
> ---
> .../bindings/usb/aspeed,usb-vhub.yaml | 40 +++++++++----------
> .../devicetree/bindings/usb/brcm,bdc.yaml | 14 +++----
> .../devicetree/bindings/usb/cypress,hx3.yaml | 24 +++++------
> .../devicetree/bindings/usb/dwc2.yaml | 4 +-
> .../devicetree/bindings/usb/fcs,fsa4480.yaml | 20 +++++-----
> .../bindings/usb/intel,keembay-dwc3.yaml | 30 +++++++-------
> .../devicetree/bindings/usb/ite,it5205.yaml | 18 ++++-----
> .../bindings/usb/maxim,max3420-udc.yaml | 28 ++++++-------
> .../bindings/usb/nvidia,tegra210-xusb.yaml | 4 +-
> .../bindings/usb/renesas,rzv2m-usb3drd.yaml | 36 ++++++++---------
> .../bindings/usb/renesas,usb3-peri.yaml | 24 +++++------
> .../devicetree/bindings/usb/ti,hd3ss3220.yaml | 38 +++++++++---------
> .../bindings/usb/ti,tusb73x0-pci.yaml | 6 +--
> .../devicetree/bindings/usb/ti,usb8020b.yaml | 20 +++++-----
> .../devicetree/bindings/usb/ti,usb8041.yaml | 16 ++++----
> 15 files changed, 161 insertions(+), 161 deletions(-)
>
> [snip]
> diff --git a/Documentation/devicetree/bindings/usb/ti,usb8041.yaml b/Documentation/devicetree/bindings/usb/ti,usb8041.yaml
> index c2e29bd61e11..bce730a5e237 100644
> --- a/Documentation/devicetree/bindings/usb/ti,usb8041.yaml
> +++ b/Documentation/devicetree/bindings/usb/ti,usb8041.yaml
> @@ -51,17 +51,17 @@ examples:
>
> /* 2.0 hub on port 1 */
> hub_2_0: hub at 1 {
> - compatible = "usb451,8142";
> - reg = <1>;
> - peer-hub = <&hub_3_0>;
> - reset-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
> + compatible = "usb451,8142";
> + reg = <1>;
> + peer-hub = <&hub_3_0>;
> + reset-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
> };
>
> /* 3.0 hub on port 2 */
> hub_3_0: hub at 2 {
> - compatible = "usb451,8140";
> - reg = <2>;
> - peer-hub = <&hub_2_0>;
> - reset-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
> + compatible = "usb451,8140";
> + reg = <2>;
> + peer-hub = <&hub_2_0>;
> + reset-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
> };
> };
>
For ti,usb8041.yaml:
Reviewed-by: Alexander Stein <alexander.stein at ew.tq-group.com>
--
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/
More information about the Linux-aspeed
mailing list