diff mbox series

arm64: zynqmp: Describe DisplayPort connector for Kria

Message ID c8738cb9951c73c6c00a4ce8d0025fb372372346.1711036494.git.michal.simek@amd.com
State Accepted
Commit 8e462bf3bdea694dbc359de5933fd3aabd8c7ac3
Delegated to: Michal Simek
Headers show
Series arm64: zynqmp: Describe DisplayPort connector for Kria | expand

Commit Message

Michal Simek March 21, 2024, 3:54 p.m. UTC
From: Vishal Sagar <vishal.sagar@amd.com>

Add a device tree node to describe the DisplayPort connector, and
connect it to the DPSUB output.

The patch was tested on kv260-revB/rev2 and also kr260-revB.

Signed-off-by: Vishal Sagar <vishal.sagar@amd.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
---

 arch/arm/dts/zynqmp-sck-kr-g-revB.dtso | 20 ++++++++++++++++++++
 arch/arm/dts/zynqmp-sck-kv-g-revB.dtso | 20 ++++++++++++++++++++
 2 files changed, 40 insertions(+)

Comments

Michal Simek April 2, 2024, 1:06 p.m. UTC | #1
On 3/21/24 16:54, Michal Simek wrote:
> From: Vishal Sagar <vishal.sagar@amd.com>
> 
> Add a device tree node to describe the DisplayPort connector, and
> connect it to the DPSUB output.
> 
> The patch was tested on kv260-revB/rev2 and also kr260-revB.
> 
> Signed-off-by: Vishal Sagar <vishal.sagar@amd.com>
> Signed-off-by: Michal Simek <michal.simek@amd.com>
> ---
> 
>   arch/arm/dts/zynqmp-sck-kr-g-revB.dtso | 20 ++++++++++++++++++++
>   arch/arm/dts/zynqmp-sck-kv-g-revB.dtso | 20 ++++++++++++++++++++
>   2 files changed, 40 insertions(+)
> 
> diff --git a/arch/arm/dts/zynqmp-sck-kr-g-revB.dtso b/arch/arm/dts/zynqmp-sck-kr-g-revB.dtso
> index 6c29f6574134..0a0cbd2b69ae 100644
> --- a/arch/arm/dts/zynqmp-sck-kr-g-revB.dtso
> +++ b/arch/arm/dts/zynqmp-sck-kr-g-revB.dtso
> @@ -66,6 +66,18 @@
>   		#clock-cells = <0>;
>   		clock-frequency = <74250000>;
>   	};
> +
> +	dpcon {
> +		compatible = "dp-connector";
> +		label = "P11";
> +		type = "full-size";
> +
> +		port {
> +			dpcon_in: endpoint {
> +				remote-endpoint = <&dpsub_dp_out>;
> +			};
> +		};
> +	};
>   };
>   
>   &i2c1 { /* I2C_SCK C26/C27 - MIO from SOM */
> @@ -130,6 +142,14 @@
>   	phy-names = "dp-phy0";
>   	phys = <&psgtr 1 PHY_TYPE_DP 0 1>;
>   	assigned-clock-rates = <27000000>, <25000000>, <300000000>;
> +
> +	ports {
> +		port@5 {
> +			dpsub_dp_out: endpoint {
> +				remote-endpoint = <&dpcon_in>;
> +			};
> +		};
> +	};
>   };
>   
>   &zynqmp_dpdma {
> diff --git a/arch/arm/dts/zynqmp-sck-kv-g-revB.dtso b/arch/arm/dts/zynqmp-sck-kv-g-revB.dtso
> index a4b4465d2038..a449c1161b1e 100644
> --- a/arch/arm/dts/zynqmp-sck-kv-g-revB.dtso
> +++ b/arch/arm/dts/zynqmp-sck-kv-g-revB.dtso
> @@ -63,6 +63,18 @@
>   		#clock-cells = <0>;
>   		clock-frequency = <27000000>;
>   	};
> +
> +	dpcon {
> +		compatible = "dp-connector";
> +		label = "P11";
> +		type = "full-size";
> +
> +		port {
> +			dpcon_in: endpoint {
> +				remote-endpoint = <&dpsub_dp_out>;
> +			};
> +		};
> +	};
>   };
>   
>   &i2c1 { /* I2C_SCK C23/C24 - MIO from SOM */
> @@ -97,6 +109,14 @@
>   	phy-names = "dp-phy0", "dp-phy1";
>   	phys = <&psgtr 1 PHY_TYPE_DP 0 0>, <&psgtr 0 PHY_TYPE_DP 1 0>;
>   	assigned-clock-rates = <27000000>, <25000000>, <300000000>;
> +
> +	ports {
> +		port@5 {
> +			dpsub_dp_out: endpoint {
> +				remote-endpoint = <&dpcon_in>;
> +			};
> +		};
> +	};
>   };
>   
>   &zynqmp_dpdma {

Applied.
M
diff mbox series

Patch

diff --git a/arch/arm/dts/zynqmp-sck-kr-g-revB.dtso b/arch/arm/dts/zynqmp-sck-kr-g-revB.dtso
index 6c29f6574134..0a0cbd2b69ae 100644
--- a/arch/arm/dts/zynqmp-sck-kr-g-revB.dtso
+++ b/arch/arm/dts/zynqmp-sck-kr-g-revB.dtso
@@ -66,6 +66,18 @@ 
 		#clock-cells = <0>;
 		clock-frequency = <74250000>;
 	};
+
+	dpcon {
+		compatible = "dp-connector";
+		label = "P11";
+		type = "full-size";
+
+		port {
+			dpcon_in: endpoint {
+				remote-endpoint = <&dpsub_dp_out>;
+			};
+		};
+	};
 };
 
 &i2c1 { /* I2C_SCK C26/C27 - MIO from SOM */
@@ -130,6 +142,14 @@ 
 	phy-names = "dp-phy0";
 	phys = <&psgtr 1 PHY_TYPE_DP 0 1>;
 	assigned-clock-rates = <27000000>, <25000000>, <300000000>;
+
+	ports {
+		port@5 {
+			dpsub_dp_out: endpoint {
+				remote-endpoint = <&dpcon_in>;
+			};
+		};
+	};
 };
 
 &zynqmp_dpdma {
diff --git a/arch/arm/dts/zynqmp-sck-kv-g-revB.dtso b/arch/arm/dts/zynqmp-sck-kv-g-revB.dtso
index a4b4465d2038..a449c1161b1e 100644
--- a/arch/arm/dts/zynqmp-sck-kv-g-revB.dtso
+++ b/arch/arm/dts/zynqmp-sck-kv-g-revB.dtso
@@ -63,6 +63,18 @@ 
 		#clock-cells = <0>;
 		clock-frequency = <27000000>;
 	};
+
+	dpcon {
+		compatible = "dp-connector";
+		label = "P11";
+		type = "full-size";
+
+		port {
+			dpcon_in: endpoint {
+				remote-endpoint = <&dpsub_dp_out>;
+			};
+		};
+	};
 };
 
 &i2c1 { /* I2C_SCK C23/C24 - MIO from SOM */
@@ -97,6 +109,14 @@ 
 	phy-names = "dp-phy0", "dp-phy1";
 	phys = <&psgtr 1 PHY_TYPE_DP 0 0>, <&psgtr 0 PHY_TYPE_DP 1 0>;
 	assigned-clock-rates = <27000000>, <25000000>, <300000000>;
+
+	ports {
+		port@5 {
+			dpsub_dp_out: endpoint {
+				remote-endpoint = <&dpcon_in>;
+			};
+		};
+	};
 };
 
 &zynqmp_dpdma {