dtc tool will check graph port to see if node->name is "port" or not, and
output the warning if the node->name is not "port". For overlay node, the
node->name is "__overlay__" and cause the warning. Use the overlay's parent
node for graph port to describe the node to avoid below building issue:
arch/arm64/boot/dts/ti/k3-am62x-sk-csi2-imx219.dtso:59.13-68.3: Warning 
(graph_port): /fragment@2/__overlay__: graph port node name should be 'port'

Signed-off-by: Xulin Sun <xulin....@windriver.com>
---
 .../boot/dts/ti/k3-am62x-sk-csi2-imx219.dtso   | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

diff --git a/arch/arm64/boot/dts/ti/k3-am62x-sk-csi2-imx219.dtso 
b/arch/arm64/boot/dts/ti/k3-am62x-sk-csi2-imx219.dtso
index 449f2c4ef839..e1a9dadf8c7c 100644
--- a/arch/arm64/boot/dts/ti/k3-am62x-sk-csi2-imx219.dtso
+++ b/arch/arm64/boot/dts/ti/k3-am62x-sk-csi2-imx219.dtso
@@ -56,13 +56,17 @@
        };
 };
 
-&csi0_port0 {
-       status = "okay";
+&cdns_csi2rx0 {
+       ports {
+               port@0 {
+                       status = "okay";
 
-       csi2rx0_in_sensor: endpoint {
-               remote-endpoint = <&csi2_cam0>;
-               bus-type = <4>; /* CSI2 DPHY. */
-               clock-lanes = <0>;
-               data-lanes = <1 2>;
+                       csi2rx0_in_sensor: endpoint {
+                               remote-endpoint = <&csi2_cam0>;
+                               bus-type = <4>; /* CSI2 DPHY. */
+                               clock-lanes = <0>;
+                               data-lanes = <1 2>;
+                       };
+               };
        };
 };
-- 
2.35.5

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13643): 
https://lists.yoctoproject.org/g/linux-yocto/message/13643
Mute This Topic: https://lists.yoctoproject.org/mt/104761482/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to