Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: usb: smsc,usb3503: Correct indentation and style in DTS example

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@linaro.org>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20250324125142.81910-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Krzysztof Kozlowski and committed by
Greg Kroah-Hartman
1b4dab85 015c0e63

+45 -45
+45 -45
Documentation/devicetree/bindings/usb/smsc,usb3503.yaml
··· 106 106 107 107 examples: 108 108 - | 109 - i2c { 110 - #address-cells = <1>; 111 - #size-cells = <0>; 109 + i2c { 110 + #address-cells = <1>; 111 + #size-cells = <0>; 112 112 113 - usb-hub@8 { 114 - compatible = "smsc,usb3503"; 115 - reg = <0x08>; 116 - connect-gpios = <&gpx3 0 1>; 117 - disabled-ports = <2 3>; 118 - intn-gpios = <&gpx3 4 1>; 119 - reset-gpios = <&gpx3 5 1>; 120 - initial-mode = <1>; 121 - clocks = <&clks 80>; 122 - clock-names = "refclk"; 123 - }; 124 - }; 125 - 126 - - | 127 - i2c { 128 - #address-cells = <1>; 129 - #size-cells = <0>; 130 - 131 - usb-hub@8 { 132 - compatible = "smsc,usb3803"; 133 - reg = <0x08>; 134 - connect-gpios = <&gpx3 0 1>; 135 - disabled-ports = <2 3>; 136 - intn-gpios = <&gpx3 4 1>; 137 - reset-gpios = <&gpx3 5 1>; 138 - bypass-gpios = <&gpx3 6 1>; 139 - initial-mode = <3>; 140 - clocks = <&clks 80>; 141 - clock-names = "refclk"; 142 - }; 143 - }; 113 + usb-hub@8 { 114 + compatible = "smsc,usb3503"; 115 + reg = <0x08>; 116 + connect-gpios = <&gpx3 0 1>; 117 + disabled-ports = <2 3>; 118 + intn-gpios = <&gpx3 4 1>; 119 + reset-gpios = <&gpx3 5 1>; 120 + initial-mode = <1>; 121 + clocks = <&clks 80>; 122 + clock-names = "refclk"; 123 + }; 124 + }; 144 125 145 126 - | 146 - #include <dt-bindings/gpio/gpio.h> 127 + i2c { 128 + #address-cells = <1>; 129 + #size-cells = <0>; 147 130 148 - usb-hub { 149 - /* I2C is not connected */ 150 - compatible = "smsc,usb3503"; 151 - initial-mode = <1>; /* initialize in HUB mode */ 152 - disabled-ports = <1>; 153 - intn-gpios = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */ 154 - reset-gpios = <&pio 4 16 GPIO_ACTIVE_LOW>; /* PE16 */ 155 - connect-gpios = <&pio 4 17 GPIO_ACTIVE_HIGH>; /* PE17 */ 156 - refclk-frequency = <19200000>; 157 - }; 131 + usb-hub@8 { 132 + compatible = "smsc,usb3803"; 133 + reg = <0x08>; 134 + connect-gpios = <&gpx3 0 1>; 135 + disabled-ports = <2 3>; 136 + intn-gpios = <&gpx3 4 1>; 137 + reset-gpios = <&gpx3 5 1>; 138 + bypass-gpios = <&gpx3 6 1>; 139 + initial-mode = <3>; 140 + clocks = <&clks 80>; 141 + clock-names = "refclk"; 142 + }; 143 + }; 144 + 145 + - | 146 + #include <dt-bindings/gpio/gpio.h> 147 + 148 + usb-hub { 149 + /* I2C is not connected */ 150 + compatible = "smsc,usb3503"; 151 + initial-mode = <1>; /* initialize in HUB mode */ 152 + disabled-ports = <1>; 153 + intn-gpios = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */ 154 + reset-gpios = <&pio 4 16 GPIO_ACTIVE_LOW>; /* PE16 */ 155 + connect-gpios = <&pio 4 17 GPIO_ACTIVE_HIGH>; /* PE17 */ 156 + refclk-frequency = <19200000>; 157 + }; 158 158 159 159 ...