Skip to content

Commit 9dbc9be

Browse files
Kriskura176767andersson
authored andcommitted
arm64: dts: qcom: sm8550: Fix compile warnings in USB controller node
With W=1, the following error comes up: Warning (avoid_unnecessary_addr_size): /soc@0/usb@a600000: unnecessary #address-cells/#size-cells without "ranges", "dma-ranges" or child "reg" or "ranges" property This is because the child node being removed during flattening and moving to latest bindings. Fixes: 3345087 ("arm64: dts: qcom: sm8550: Flatten the USB nodes") Signed-off-by: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Link: https://lore.kernel.org/r/20251203144856.2711440-2-krishna.kurapati@oss.qualcomm.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent 868b979 commit 9dbc9be

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

arch/arm64/boot/dts/qcom/sm8550.dtsi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4133,8 +4133,6 @@
41334133
usb_1: usb@a600000 {
41344134
compatible = "qcom,sm8550-dwc3", "qcom,snps-dwc3";
41354135
reg = <0x0 0x0a600000 0x0 0xfc100>;
4136-
#address-cells = <1>;
4137-
#size-cells = <0>;
41384136

41394137
clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
41404138
<&gcc GCC_USB30_PRIM_MASTER_CLK>,

0 commit comments

Comments
 (0)