[PATCH] dt-bindings: usb: Use consistent indentation in the example
From: Krzysztof Kozlowski
Date: Sun Sep 13 2026 - 08:36:16 EST
Correct indentation in the examples to consistent 2- or 4-spaces
indentation to fix dt-check-style warnings ("example 0
[indent-consistent] indent mismatch ..."). Preferred is 4-spaces, but
re-indenting entire example just for that is too much churn.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>
---
.../devicetree/bindings/usb/ci-hdrc-usb2.yaml | 2 +-
.../bindings/usb/corechips,sl6341.yaml | 20 +++++++-------
.../bindings/usb/maxim,max3421.yaml | 12 ++++-----
.../devicetree/bindings/usb/nxp,ptn5110.yaml | 8 +++---
.../bindings/usb/realtek,rts5411.yaml | 2 +-
.../devicetree/bindings/usb/ti,j721e-usb.yaml | 26 +++++++++----------
.../devicetree/bindings/usb/ti,usb8041.yaml | 4 +--
7 files changed, 37 insertions(+), 37 deletions(-)
diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml
index 620b564914d4..26731c45a604 100644
--- a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml
+++ b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml
@@ -130,7 +130,7 @@ examples:
phy-names = "usb-phy";
vbus-supply = <®_usb0_vbus>;
itc-setting = <0x4>; /* 4 micro-frames */
- /* Incremental burst of unspecified length */
+ /* Incremental burst of unspecified length */
ahb-burst-config = <0x0>;
tx-burst-size-dword = <0x10>; /* 64 bytes */
rx-burst-size-dword = <0x10>;
diff --git a/Documentation/devicetree/bindings/usb/corechips,sl6341.yaml b/Documentation/devicetree/bindings/usb/corechips,sl6341.yaml
index 82996791aaf1..4ddfc7594846 100644
--- a/Documentation/devicetree/bindings/usb/corechips,sl6341.yaml
+++ b/Documentation/devicetree/bindings/usb/corechips,sl6341.yaml
@@ -61,19 +61,19 @@ examples:
/* 2.0 hub */
hub_2_0: hub@1 {
- compatible = "usb3431,6241";
- reg = <1>;
- peer-hub = <&hub_3_0>;
- reset-gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
- vdd1v1-supply = <&vdd1v1_hub>;
+ compatible = "usb3431,6241";
+ reg = <1>;
+ peer-hub = <&hub_3_0>;
+ reset-gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
+ vdd1v1-supply = <&vdd1v1_hub>;
};
/* 3.0 hub */
hub_3_0: hub@2 {
- compatible = "usb3431,6341";
- reg = <2>;
- peer-hub = <&hub_2_0>;
- reset-gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
- vdd1v1-supply = <&vdd1v1_hub>;
+ compatible = "usb3431,6341";
+ reg = <2>;
+ peer-hub = <&hub_2_0>;
+ reset-gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
+ vdd1v1-supply = <&vdd1v1_hub>;
};
};
diff --git a/Documentation/devicetree/bindings/usb/maxim,max3421.yaml b/Documentation/devicetree/bindings/usb/maxim,max3421.yaml
index 4639be7ab059..042dfc3467d2 100644
--- a/Documentation/devicetree/bindings/usb/maxim,max3421.yaml
+++ b/Documentation/devicetree/bindings/usb/maxim,max3421.yaml
@@ -57,11 +57,11 @@ examples:
#size-cells = <0>;
usb@0 {
- compatible = "maxim,max3421";
- reg = <0>;
- maxim,vbus-en-pin = <3 1>;
- spi-max-frequency = <26000000>;
- interrupt-parent = <&gpio>;
- interrupts = <42>;
+ compatible = "maxim,max3421";
+ reg = <0>;
+ maxim,vbus-en-pin = <3 1>;
+ spi-max-frequency = <26000000>;
+ interrupt-parent = <&gpio>;
+ interrupts = <42>;
};
};
diff --git a/Documentation/devicetree/bindings/usb/nxp,ptn5110.yaml b/Documentation/devicetree/bindings/usb/nxp,ptn5110.yaml
index 581e5916eadd..fe9a02f21c67 100644
--- a/Documentation/devicetree/bindings/usb/nxp,ptn5110.yaml
+++ b/Documentation/devicetree/bindings/usb/nxp,ptn5110.yaml
@@ -67,10 +67,10 @@ examples:
#size-cells = <0>;
port@0 {
- reg = <0>;
- typec1_dr_sw: endpoint {
- remote-endpoint = <&usb1_drd_sw>;
- };
+ reg = <0>;
+ typec1_dr_sw: endpoint {
+ remote-endpoint = <&usb1_drd_sw>;
+ };
};
};
};
diff --git a/Documentation/devicetree/bindings/usb/realtek,rts5411.yaml b/Documentation/devicetree/bindings/usb/realtek,rts5411.yaml
index a020afaf2d6e..9c8868c478c0 100644
--- a/Documentation/devicetree/bindings/usb/realtek,rts5411.yaml
+++ b/Documentation/devicetree/bindings/usb/realtek,rts5411.yaml
@@ -84,7 +84,7 @@ examples:
port@4 {
reg = <4>;
endpoint {
- remote-endpoint = <&usb_a0_ss>;
+ remote-endpoint = <&usb_a0_ss>;
};
};
};
diff --git a/Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml b/Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml
index 0aaaadb584e4..176737156d77 100644
--- a/Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml
+++ b/Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml
@@ -94,19 +94,19 @@ examples:
#size-cells = <2>;
usb@6000000 {
- compatible = "cdns,usb3";
- reg = <0x00 0x6000000 0x00 0x10000>,
- <0x00 0x6010000 0x00 0x10000>,
- <0x00 0x6020000 0x00 0x10000>;
- reg-names = "otg", "xhci", "dev";
- interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>, /* irq.0 */
- <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>, /* irq.6 */
- <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>; /* otgirq.0 */
- interrupt-names = "host",
- "peripheral",
- "otg";
- maximum-speed = "super-speed";
- dr_mode = "otg";
+ compatible = "cdns,usb3";
+ reg = <0x00 0x6000000 0x00 0x10000>,
+ <0x00 0x6010000 0x00 0x10000>,
+ <0x00 0x6020000 0x00 0x10000>;
+ reg-names = "otg", "xhci", "dev";
+ interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>, /* irq.0 */
+ <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>, /* irq.6 */
+ <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>; /* otgirq.0 */
+ interrupt-names = "host",
+ "peripheral",
+ "otg";
+ maximum-speed = "super-speed";
+ dr_mode = "otg";
};
};
};
diff --git a/Documentation/devicetree/bindings/usb/ti,usb8041.yaml b/Documentation/devicetree/bindings/usb/ti,usb8041.yaml
index 07e13fae640b..e75956f0f85a 100644
--- a/Documentation/devicetree/bindings/usb/ti,usb8041.yaml
+++ b/Documentation/devicetree/bindings/usb/ti,usb8041.yaml
@@ -65,8 +65,8 @@ examples:
reset-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
hub@1 {
- compatible = "usb123,4567";
- reg = <1>;
+ compatible = "usb123,4567";
+ reg = <1>;
};
};
--
2.53.0