merged.

Bruce

In message: [linux-yocto][linux-yocto v6.1/standard/ti-sdk-6.1/ti-j7xxx & 
v6.1/standard/preempt-rt/ti-sdk-6.1/ti-j7xxx][PATCH]  arm64: dts: ti: use the 
overlay's parent node for graph port for dtso
on 22/12/2023 Xulin Sun wrote:

> 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-j721e-evm-csi2-ov5640.dtso:43.13-52.3: Warning 
> (graph_port): /fragment@2/__overlay__: graph port node name should be 'port'
> arch/arm64/boot/dts/ti/k3-j721e-evm-fusion.dtso:87.13-96.3: Warning 
> (graph_port): /fragment@2/__overlay__: graph port node name should be 'port'
> arch/arm64/boot/dts/ti/k3-j721e-evm-fusion.dtso:98.13-107.3: Warning 
> (graph_port): /fragment@3/__overlay__: graph port node name should be 'port'
> 
> Signed-off-by: Xulin Sun <xulin....@windriver.com>
> ---
>  .../boot/dts/ti/k3-j721e-evm-csi2-ov5640.dtso | 20 ++++++----
>  .../boot/dts/ti/k3-j721e-evm-fusion.dtso      | 38 +++++++++++--------
>  .../boot/dts/ti/k3-j721s2-evm-fusion.dtso     | 38 +++++++++++--------
>  3 files changed, 58 insertions(+), 38 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/ti/k3-j721e-evm-csi2-ov5640.dtso 
> b/arch/arm64/boot/dts/ti/k3-j721e-evm-csi2-ov5640.dtso
> index 1d314f071d2e..8f0eccd76db9 100644
> --- a/arch/arm64/boot/dts/ti/k3-j721e-evm-csi2-ov5640.dtso
> +++ b/arch/arm64/boot/dts/ti/k3-j721e-evm-csi2-ov5640.dtso
> @@ -40,13 +40,17 @@
>       };
>  };
>  
> -&csi0_port0 {
> -     status = "okay";
> -
> -     csi2rx0_in_sensor: endpoint {
> -             remote-endpoint = <&csi2_cam0>;
> -             bus-type = <4>; /* CSI2 DPHY */
> -             clock-lanes = <0>;
> -             data-lanes = <1 2>;
> +&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>;
> +                     };
> +             };
>       };
>  };
> diff --git a/arch/arm64/boot/dts/ti/k3-j721e-evm-fusion.dtso 
> b/arch/arm64/boot/dts/ti/k3-j721e-evm-fusion.dtso
> index 39156234e67d..47a3f4d4ca09 100644
> --- a/arch/arm64/boot/dts/ti/k3-j721e-evm-fusion.dtso
> +++ b/arch/arm64/boot/dts/ti/k3-j721e-evm-fusion.dtso
> @@ -84,24 +84,32 @@
>       };
>  };
>  
> -&csi0_port0 {
> -     status = "okay";
> -
> -     csi2_phy0: endpoint {
> -             remote-endpoint = <&ds90ub960_0_csi_out>;
> -             clock-lanes = <0>;
> -             data-lanes = <1 2 3 4>;
> -             link-frequencies = /bits/ 64 <800000000>;
> +&cdns_csi2rx0 {
> +     ports {
> +             port@0 {
> +                     status = "okay";
> +
> +                     csi2_phy0: endpoint {
> +                             remote-endpoint = <&ds90ub960_0_csi_out>;
> +                             clock-lanes = <0>;
> +                             data-lanes = <1 2 3 4>;
> +                             link-frequencies = /bits/ 64 <800000000>;
> +                     };
> +             };
>       };
>  };
>  
> -&csi1_port0 {
> -     status = "okay";
> +&cdns_csi2rx1 {
> +     ports {
> +             port@0 {
> +                     status = "okay";
>  
> -     csi2_phy1: endpoint {
> -             remote-endpoint = <&ds90ub960_1_csi_out>;
> -             clock-lanes = <0>;
> -             data-lanes = <1 2 3 4>;
> -             link-frequencies = /bits/ 64 <800000000>;
> +                     csi2_phy1: endpoint {
> +                             remote-endpoint = <&ds90ub960_1_csi_out>;
> +                             clock-lanes = <0>;
> +                             data-lanes = <1 2 3 4>;
> +                             link-frequencies = /bits/ 64 <800000000>;
> +                     };
> +             };
>       };
>  };
> diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-evm-fusion.dtso 
> b/arch/arm64/boot/dts/ti/k3-j721s2-evm-fusion.dtso
> index e8d824cbb385..5116c0ce565f 100644
> --- a/arch/arm64/boot/dts/ti/k3-j721s2-evm-fusion.dtso
> +++ b/arch/arm64/boot/dts/ti/k3-j721s2-evm-fusion.dtso
> @@ -84,24 +84,32 @@
>       };
>  };
>  
> -&csi0_port0 {
> -     status = "okay";
> -
> -     csi2_phy0: endpoint {
> -             remote-endpoint = <&ds90ub960_0_csi_out>;
> -             clock-lanes = <0>;
> -             data-lanes = <1 2 3 4>;
> -             link-frequencies = /bits/ 64 <800000000>;
> +&cdns_csi2rx0 {
> +     ports {
> +             port@0 {
> +                     status = "okay";
> +
> +                     csi2_phy0: endpoint {
> +                             remote-endpoint = <&ds90ub960_0_csi_out>;
> +                             clock-lanes = <0>;
> +                             data-lanes = <1 2 3 4>;
> +                             link-frequencies = /bits/ 64 <800000000>;
> +                     };
> +             };
>       };
>  };
>  
> -&csi1_port0 {
> -     status = "okay";
> +&cdns_csi2rx1 {
> +     ports {
> +             port@0 {
> +                     status = "okay";
>  
> -     csi2_phy1: endpoint {
> -             remote-endpoint = <&ds90ub960_1_csi_out>;
> -             clock-lanes = <0>;
> -             data-lanes = <1 2 3 4>;
> -             link-frequencies = /bits/ 64 <800000000>;
> +                     csi2_phy1: endpoint {
> +                             remote-endpoint = <&ds90ub960_1_csi_out>;
> +                             clock-lanes = <0>;
> +                             data-lanes = <1 2 3 4>;
> +                             link-frequencies = /bits/ 64 <800000000>;
> +                     };
> +             };
>       };
>  };
> -- 
> 2.34.1
> 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13441): 
https://lists.yoctoproject.org/g/linux-yocto/message/13441
Mute This Topic: https://lists.yoctoproject.org/mt/103311614/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: 
https://lists.yoctoproject.org/g/linux-yocto/leave/6687884/21656/624485779/xyzzy
 [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to