]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: qcom: x1e80100: Fix compile warnings for USB HS controller
authorKrishna Kurapati <krishna.kurapati@oss.qualcomm.com>
Sun, 19 Oct 2025 11:56:30 +0000 (17:26 +0530)
committerBjorn Andersson <andersson@kernel.org>
Mon, 27 Oct 2025 14:02:50 +0000 (09:02 -0500)
With W=1, the following error comes up:

Warning (graph_child_address): /soc@0/usb@a2f8800/usb@a200000/ports: graph node has single child node 'port@0', #address-cells/#size-cells are not necessary

This could be since the controller is only HS capable and only one port
node is added.

Fixes: 4af46b7bd66f ("arm64: dts: qcom: x1e80100: Add USB nodes")
Signed-off-by: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20251019115630.2222720-1-krishna.kurapati@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/x1e80100.dtsi

index cc76b9933a9bbff396ec4739f4a1dd3d2cc81f0f..633b7402ae848a5408da371968f5f0f84280f55f 100644 (file)
 
                                dma-coherent;
 
-                               ports {
-                                       #address-cells = <1>;
-                                       #size-cells = <0>;
-
-                                       port@0 {
-                                               reg = <0>;
-
-                                               usb_2_dwc3_hs: endpoint {
-                                               };
+                               port {
+                                       usb_2_dwc3_hs: endpoint {
                                        };
                                };
                        };