* [PATCH v2] arm64: dts: ti: k3-j721e-main: Add DSI and DPHY-TX
@ 2025-09-04 10:59 Harikrishna Shenoy
2025-09-04 11:02 ` Krzysztof Kozlowski
0 siblings, 1 reply; 2+ messages in thread
From: Harikrishna Shenoy @ 2025-09-04 10:59 UTC (permalink / raw)
To: nm, vigneshr, kristo, robh, krzk+dt, conor+dt, linux-arm-kernel,
devicetree, linux-kernel, devarsht, u-kumar1, s-jain1
From: Rahul T R <r-ravikumar@ti.com>
TI's J721E SoC supports a DPI to DSI video signal conversion bridge on
it's platform bus. The IP is from Cadence, and it has a custom TI
wrapper around it to facilitate integration.
This IP takes the DPI video signals from DSS and alongwith the DPHY IP,
it transmits DSI video signals out of the SoC.
Add support for DSI bridge and the DPHY-TX.
Signed-off-by: Rahul T R <r-ravikumar@ti.com>
Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
Signed-off-by: Harikrishna Shenoy <h-shenoy@ti.com>
---
Changelog v1 --> v2:
- Updated phy labels
Link to v1:https://lore.kernel.org/all/1adea165-ae87-463f-a03e-2fe27f4b8695@ti.com/
arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 35 +++++++++++++++++++++--
1 file changed, 33 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi
index ab3666ff4297..df489bce86c9 100644
--- a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi
@@ -671,7 +671,7 @@ cdns_csi2rx1: csi-bridge@4514000 {
<&k3_clks 27 2>, <&k3_clks 27 3>, <&k3_clks 27 3>;
clock-names = "sys_clk", "p_clk", "pixel_if0_clk",
"pixel_if1_clk", "pixel_if2_clk", "pixel_if3_clk";
- phys = <&dphy1>;
+ phys = <&dphy_rx>;
phy-names = "dphy";
ports {
@@ -714,7 +714,7 @@ dphy0: phy@4580000 {
status = "disabled";
};
- dphy1: phy@4590000 {
+ dphy_rx: phy@4590000 {
compatible = "cdns,dphy-rx";
reg = <0x0 0x4590000 0x0 0x1100>;
#phy-cells = <0>;
@@ -1887,6 +1887,37 @@ port@4 {
};
};
+ dphy_tx: phy@4480000 {
+ compatible = "ti,j721e-dphy";
+ reg = <0x00 0x04480000 0x00 0x1000>;
+ clocks = <&k3_clks 296 1>, <&k3_clks 296 3>;
+ clock-names = "psm", "pll_ref";
+ #phy-cells = <0>;
+ power-domains = <&k3_pds 296 TI_SCI_PD_EXCLUSIVE>;
+ assigned-clocks = <&k3_clks 296 3>;
+ assigned-clock-parents = <&k3_clks 296 4>;
+ assigned-clock-rates = <19200000>;
+ status = "disabled";
+ };
+
+ dsi0: dsi@4800000 {
+ compatible = "ti,j721e-dsi";
+ reg = <0x00 0x04800000 0x00 0x100000>, <0x00 0x04710000 0x00 0x100>;
+ clocks = <&k3_clks 150 1>, <&k3_clks 150 5>;
+ clock-names = "dsi_p_clk", "dsi_sys_clk";
+ power-domains = <&k3_pds 150 TI_SCI_PD_EXCLUSIVE>;
+ interrupt-parent = <&gic500>;
+ interrupts = <GIC_SPI 600 IRQ_TYPE_LEVEL_HIGH>;
+ phys = <&dphy_tx>;
+ phy-names = "dphy";
+ status = "disabled";
+
+ dsi0_ports: ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ };
+ };
+
dss: dss@4a00000 {
compatible = "ti,j721e-dss";
reg =
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] arm64: dts: ti: k3-j721e-main: Add DSI and DPHY-TX
2025-09-04 10:59 [PATCH v2] arm64: dts: ti: k3-j721e-main: Add DSI and DPHY-TX Harikrishna Shenoy
@ 2025-09-04 11:02 ` Krzysztof Kozlowski
0 siblings, 0 replies; 2+ messages in thread
From: Krzysztof Kozlowski @ 2025-09-04 11:02 UTC (permalink / raw)
To: Harikrishna Shenoy, nm, vigneshr, kristo, robh, krzk+dt, conor+dt,
linux-arm-kernel, devicetree, linux-kernel, devarsht, u-kumar1,
s-jain1
On 04/09/2025 12:59, Harikrishna Shenoy wrote:
> + dsi0: dsi@4800000 {
> + compatible = "ti,j721e-dsi";
> + reg = <0x00 0x04800000 0x00 0x100000>, <0x00 0x04710000 0x00 0x100>;
> + clocks = <&k3_clks 150 1>, <&k3_clks 150 5>;
> + clock-names = "dsi_p_clk", "dsi_sys_clk";
> + power-domains = <&k3_pds 150 TI_SCI_PD_EXCLUSIVE>;
> + interrupt-parent = <&gic500>;
> + interrupts = <GIC_SPI 600 IRQ_TYPE_LEVEL_HIGH>;
> + phys = <&dphy_tx>;
> + phy-names = "dphy";
> + status = "disabled";
> +
> + dsi0_ports: ports {
> + #address-cells = <1>;
> + #size-cells = <0>;
Missing ports. This is quite odd to see only cells here. You probably
wanted to omit endpoints, but ports are fixed per SoC.
> + };
> + };
> +
> dss: dss@4a00000 {
> compatible = "ti,j721e-dss";
> reg =
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-09-04 11:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-04 10:59 [PATCH v2] arm64: dts: ti: k3-j721e-main: Add DSI and DPHY-TX Harikrishna Shenoy
2025-09-04 11:02 ` Krzysztof Kozlowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).