* [PATCH] arm64: dts: qcom: sm8650-hdk: Fix compile warnings in typec-mux node
@ 2025-12-04 2:59 Krishna Kurapati
2025-12-04 7:29 ` Krzysztof Kozlowski
0 siblings, 1 reply; 2+ messages in thread
From: Krishna Kurapati @ 2025-12-04 2:59 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Konrad Dybcio, Neil Armstrong, Vladimir Zapolskiy
Cc: linux-arm-msm, devicetree, linux-kernel, Krishna Kurapati
With W=1, the following error comes up:
Warning (graph_child_address): /soc@0/geniqup@ac0000/i2c@a8c000/typec-mux@e/ports: graph node has single child node 'port@0', #address-cells/#size-cells are not necessary
Fix this up by adding only one port node.
Fixes: 01061441029e7 ("arm64: dts: qcom: sm8650: add support for the SM8650-HDK board")
Signed-off-by: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>
---
This patch has only been compile tested.
arch/arm64/boot/dts/qcom/sm8650-hdk.dts | 13 +++----------
1 file changed, 3 insertions(+), 10 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/sm8650-hdk.dts b/arch/arm64/boot/dts/qcom/sm8650-hdk.dts
index 5bf1af3308ce..46700ec9ac9b 100644
--- a/arch/arm64/boot/dts/qcom/sm8650-hdk.dts
+++ b/arch/arm64/boot/dts/qcom/sm8650-hdk.dts
@@ -831,16 +831,9 @@ wcd_usbss: typec-mux@e {
mode-switch;
orientation-switch;
- ports {
- #address-cells = <1>;
- #size-cells = <0>;
-
- port@0 {
- reg = <0>;
-
- wcd_usbss_sbu_mux: endpoint {
- remote-endpoint = <&pmic_glink_sbu>;
- };
+ port {
+ wcd_usbss_sbu_mux: endpoint {
+ remote-endpoint = <&pmic_glink_sbu>;
};
};
};
--
2.34.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] arm64: dts: qcom: sm8650-hdk: Fix compile warnings in typec-mux node
2025-12-04 2:59 [PATCH] arm64: dts: qcom: sm8650-hdk: Fix compile warnings in typec-mux node Krishna Kurapati
@ 2025-12-04 7:29 ` Krzysztof Kozlowski
0 siblings, 0 replies; 2+ messages in thread
From: Krzysztof Kozlowski @ 2025-12-04 7:29 UTC (permalink / raw)
To: Krishna Kurapati, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Bjorn Andersson, Konrad Dybcio, Neil Armstrong,
Vladimir Zapolskiy
Cc: linux-arm-msm, devicetree, linux-kernel
On 04/12/2025 03:59, Krishna Kurapati wrote:
> With W=1, the following error comes up:
>
> Warning (graph_child_address): /soc@0/geniqup@ac0000/i2c@a8c000/typec-mux@e/ports: graph node has single child node 'port@0', #address-cells/#size-cells are not necessary
We don't fix these warnings if they lead to incomplete or incorrect
code. We discussed this already ~2 years ago.
Explain why you claim there is no altmode switching here on WCD938x
side? IOW, why incomplete DTS is the correct one.
Before blindly fixing such warnings, you really need to think about the
fix and solve it in correct way. Otherwise you got the same comment as
last time - please stop hammering every possible issue just because you
have the hammer and you see something which can be hammered...
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-12-04 7:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-04 2:59 [PATCH] arm64: dts: qcom: sm8650-hdk: Fix compile warnings in typec-mux node Krishna Kurapati
2025-12-04 7:29 ` Krzysztof Kozlowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®