Skip to content

Commit d8a76e4

Browse files
thierryredingrobherring
authored andcommitted
dt-bindings: usb: tegra-xusb: Remove path references
Unresolved path references are now flagged as errors when checking the device tree binding examples, so convert them into label references. Reported-by: Conor Dooley <[email protected]> Suggested-by: Rob Herring <[email protected]> Signed-off-by: Thierry Reding <[email protected]> Acked-by: Rob Herring <[email protected]> Tested-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring <[email protected]>
1 parent a7d550f commit d8a76e4

File tree

4 files changed

+6
-18
lines changed

4 files changed

+6
-18
lines changed

Documentation/devicetree/bindings/usb/nvidia,tegra124-xusb.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,7 @@ examples:
186186
187187
nvidia,xusb-padctl = <&padctl>;
188188
189-
phys = <&{/padctl@0,7009f000/pads/usb2/lanes/usb2-1}>, /* mini-PCIe USB */
190-
<&{/padctl@0,7009f000/pads/usb2/lanes/usb2-2}>, /* USB A */
191-
<&{/padctl@0,7009f000/pads/pcie/lanes/pcie-0}>; /* USB A */
189+
phys = <&phy_usb2_1>, <&phy_usb2_2>, <&phy_pcie_0>;
192190
phy-names = "usb2-1", "usb2-2", "usb3-0";
193191
194192
avddio-pex-supply = <&vdd_1v05_run>;

Documentation/devicetree/bindings/usb/nvidia,tegra186-xusb.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,6 @@ examples:
166166
#address-cells = <1>;
167167
#size-cells = <0>;
168168
169-
phys = <&{/padctl@3520000/pads/usb2/lanes/usb2-0}>,
170-
<&{/padctl@3520000/pads/usb2/lanes/usb2-1}>,
171-
<&{/padctl@3520000/pads/usb3/lanes/usb3-0}>;
169+
phys = <&phy_usb2_0>, <&phy_usb2_1>, <&phy_usb3_0>;
172170
phy-names = "usb2-0", "usb2-1", "usb3-0";
173171
};

Documentation/devicetree/bindings/usb/nvidia,tegra194-xusb.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -169,11 +169,7 @@ examples:
169169
170170
nvidia,xusb-padctl = <&xusb_padctl>;
171171
172-
phys = <&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-0}>,
173-
<&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-1}>,
174-
<&{/bus@0/padctl@3520000/pads/usb2/lanes/usb2-3}>,
175-
<&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-0}>,
176-
<&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-2}>,
177-
<&{/bus@0/padctl@3520000/pads/usb3/lanes/usb3-3}>;
172+
phys = <&phy_usb2_0>, <&phy_usb2_1>, <&phy_usb2_3>, <&phy_usb3_0>,
173+
<&phy_usb3_2>, <&phy_usb3_3>;
178174
phy-names = "usb2-0", "usb2-1", "usb2-3", "usb3-0", "usb3-2", "usb3-3";
179175
};

Documentation/devicetree/bindings/usb/nvidia,tegra210-xusb.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -173,12 +173,8 @@ examples:
173173
174174
nvidia,xusb-padctl = <&padctl>;
175175
176-
phys = <&{/padctl@7009f000/pads/usb2/lanes/usb2-0}>,
177-
<&{/padctl@7009f000/pads/usb2/lanes/usb2-1}>,
178-
<&{/padctl@7009f000/pads/usb2/lanes/usb2-2}>,
179-
<&{/padctl@7009f000/pads/usb2/lanes/usb2-3}>,
180-
<&{/padctl@7009f000/pads/pcie/lanes/pcie-6}>,
181-
<&{/padctl@7009f000/pads/pcie/lanes/pcie-5}>;
176+
phys = <&phy_usb2_0>, <&phy_usb2_1>, <&phy_usb2_2>, <&phy_usb2_3>,
177+
<&phy_pcie_6>, <&phy_pcie_5>;
182178
phy-names = "usb2-0", "usb2-1", "usb2-2", "usb2-3", "usb3-0",
183179
"usb3-1";
184180
dvddio-pex-supply = <&vdd_pex_1v05>;

0 commit comments

Comments
 (0)