* [PATCH 0/7] Add DSI display support for TI's Jacinto platforms
@ 2025-04-11 10:51 Jayesh Choudhary
2025-04-11 10:51 ` [PATCH 1/7] arm64: dts: ti: k3-j784s4-j742s2-main-common: add DSI & DSI PHY Jayesh Choudhary
` (7 more replies)
0 siblings, 8 replies; 16+ messages in thread
From: Jayesh Choudhary @ 2025-04-11 10:51 UTC (permalink / raw)
To: nm, vigneshr, u-kumar1, devarsht, linux-kernel
Cc: robh, krzk+dt, conor+dt, kristo, devicetree, linux-arm-kernel,
j-choudhary
Hello All,
This series adds the dts support to enable DSI on 3 platforms for TI SoCs:
- J784S4-EVM
- J721S2-EVM
- AM68-SK
This series *depends* upon a couple of driver series[0][1]and a config
patch[2] that enables CDNS_DSI and CDNS_DPHY.
[0]: <https://lore.kernel.org/all/20250402-cdns-dsi-impro-v2-0-4a093eaa5e27@ideasonboard.com/>
This series adds cdns-dsi-core fixes
[1]: <https://lore.kernel.org/all/20250411092307.238398-1-j-choudhary@ti.com/>
This patch adds the necessary DSI flags that are used in cdns-dsi-core
driver which are propagated from sn65dsi86 bridge.
[2]: <https://lore.kernel.org/all/20250411095043.272488-1-j-choudhary@ti.com/>
This patch enables the required configs for DSI.
I have locally tested using kmstest utility on all 3 platforms.
NOTE: For higher resolutions, we need bigger CMA region.
But for validation, the default value is enough.
I am posting another series to add CMA region to Jacinto platforms
similar to Sitara family soon:
<https://lore.kernel.org/all/20240613150902.2173582-1-devarsht@ti.com/>
Jayesh Choudhary (5):
arm64: dts: ti: k3-j784s4-j742s2-main-common: add DSI & DSI PHY
arm64: dts: ti: k3-j784s4-j742s2-evm-common: Enable DisplayPort-1
arm64: dts: ti: k3-j721s2-common-proc-board: Add main_i2c4 instance
arm64: dts: ti: k3-j721s2-common-proc-board: Enable DisplayPort-1
arm64: dts: ti: k3-am68-sk: Enable DSI on DisplayPort-0
Rahul T R (2):
arm64: dts: ti: k3-j721s2-main: add DSI & DSI PHY
arm64: dts: ti: k3-j721s2-som-p0: add DSI to eDP
.../boot/dts/ti/k3-am68-sk-base-board.dts | 96 ++++++++++++++
.../dts/ti/k3-j721s2-common-proc-board.dts | 116 +++++++++++++++++
arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi | 37 ++++++
arch/arm64/boot/dts/ti/k3-j721s2-som-p0.dtsi | 52 ++++++++
.../dts/ti/k3-j784s4-j742s2-evm-common.dtsi | 117 +++++++++++++++++-
.../dts/ti/k3-j784s4-j742s2-main-common.dtsi | 37 ++++++
6 files changed, 454 insertions(+), 1 deletion(-)
--
2.34.1
^ permalink raw reply [flat|nested] 16+ messages in thread
* [PATCH 1/7] arm64: dts: ti: k3-j784s4-j742s2-main-common: add DSI & DSI PHY
2025-04-11 10:51 [PATCH 0/7] Add DSI display support for TI's Jacinto platforms Jayesh Choudhary
@ 2025-04-11 10:51 ` Jayesh Choudhary
2025-04-11 10:51 ` [PATCH 2/7] arm64: dts: ti: k3-j784s4-j742s2-evm-common: Enable DisplayPort-1 Jayesh Choudhary
` (6 subsequent siblings)
7 siblings, 0 replies; 16+ messages in thread
From: Jayesh Choudhary @ 2025-04-11 10:51 UTC (permalink / raw)
To: nm, vigneshr, u-kumar1, devarsht, linux-kernel
Cc: robh, krzk+dt, conor+dt, kristo, devicetree, linux-arm-kernel,
j-choudhary
Add DT nodes for DPI to DSI Bridge and DSI Phy.
The DSI bridge is Cadence DSI and the PHY is a
Cadence DPHY with TI wrapper.
Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
---
.../dts/ti/k3-j784s4-j742s2-main-common.dtsi | 37 +++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-j742s2-main-common.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4-j742s2-main-common.dtsi
index 1944616ab357..2f8df2e0332e 100644
--- a/arch/arm64/boot/dts/ti/k3-j784s4-j742s2-main-common.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j784s4-j742s2-main-common.dtsi
@@ -2512,6 +2512,43 @@ watchdog18: watchdog@2550000 {
status = "reserved";
};
+ dphy_tx0: phy@4480000 {
+ compatible = "ti,j721e-dphy";
+ reg = <0x0 0x04480000 0x0 0x1000>;
+ clocks = <&k3_clks 402 20>, <&k3_clks 402 3>;
+ clock-names = "psm", "pll_ref";
+ #phy-cells = <0>;
+ power-domains = <&k3_pds 402 TI_SCI_PD_EXCLUSIVE>;
+ assigned-clocks = <&k3_clks 402 3>;
+ assigned-clock-parents = <&k3_clks 402 4>;
+ assigned-clock-rates = <19200000>;
+ status = "disabled";
+ };
+
+ dsi0: dsi@4800000 {
+ compatible = "ti,j721e-dsi";
+ reg = <0x0 0x04800000 0x0 0x100000>, <0x0 0x04710000 0x0 0x100>;
+ clocks = <&k3_clks 215 2>, <&k3_clks 215 5>;
+ clock-names = "dsi_p_clk", "dsi_sys_clk";
+ power-domains = <&k3_pds 215 TI_SCI_PD_EXCLUSIVE>;
+ interrupt-parent = <&gic500>;
+ interrupts = <GIC_SPI 600 IRQ_TYPE_LEVEL_HIGH>;
+ phys = <&dphy_tx0>;
+ phy-names = "dphy";
+ status = "disabled";
+
+ dsi0_ports: ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ port@0 {
+ reg = <0>;
+ };
+ port@1 {
+ reg = <1>;
+ };
+ };
+ };
+
mhdp: bridge@a000000 {
compatible = "ti,j721e-mhdp8546";
reg = <0x0 0xa000000 0x0 0x30a00>,
--
2.34.1
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH 2/7] arm64: dts: ti: k3-j784s4-j742s2-evm-common: Enable DisplayPort-1
2025-04-11 10:51 [PATCH 0/7] Add DSI display support for TI's Jacinto platforms Jayesh Choudhary
2025-04-11 10:51 ` [PATCH 1/7] arm64: dts: ti: k3-j784s4-j742s2-main-common: add DSI & DSI PHY Jayesh Choudhary
@ 2025-04-11 10:51 ` Jayesh Choudhary
2025-04-11 10:51 ` [PATCH 3/7] arm64: dts: ti: k3-j721s2-main: add DSI & DSI PHY Jayesh Choudhary
` (5 subsequent siblings)
7 siblings, 0 replies; 16+ messages in thread
From: Jayesh Choudhary @ 2025-04-11 10:51 UTC (permalink / raw)
To: nm, vigneshr, u-kumar1, devarsht, linux-kernel
Cc: robh, krzk+dt, conor+dt, kristo, devicetree, linux-arm-kernel,
j-choudhary
Enable DSI display for J784S4 EVM.
Add DT node for DSI-to-eDP bridge. The DSI to eDP bridge is
SN65DSI86 on the board.
Add the endpoint nodes to describe connection from:
DSS => DSI => SN65DSI86 bridge => DisplayPort-1
Set status for all required nodes for display as 'okay'.
Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
---
.../dts/ti/k3-j784s4-j742s2-evm-common.dtsi | 117 +++++++++++++++++-
1 file changed, 116 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-j742s2-evm-common.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4-j742s2-evm-common.dtsi
index 303f8ba9025a..0d19ca6523d6 100644
--- a/arch/arm64/boot/dts/ti/k3-j784s4-j742s2-evm-common.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j784s4-j742s2-evm-common.dtsi
@@ -306,6 +306,52 @@ codec_audio: sound {
clock-names = "cpb-mcasp-auxclk", "cpb-mcasp-auxclk-48000",
"cpb-codec-scki", "cpb-codec-scki-48000";
};
+
+ vsys_io_1v8: regulator-vsys-io-1v8 {
+ compatible = "regulator-fixed";
+ regulator-name = "vsys_io_1v8";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-always-on;
+ regulator-boot-on;
+ };
+
+ vsys_io_1v2: regulator-vsys-io-1v2 {
+ compatible = "regulator-fixed";
+ regulator-name = "vsys_io_1v2";
+ regulator-min-microvolt = <1200000>;
+ regulator-max-microvolt = <1200000>;
+ regulator-always-on;
+ regulator-boot-on;
+ };
+
+ edp1_refclk: clock-edp1-refclk {
+ #clock-cells = <0>;
+ compatible = "fixed-clock";
+ clock-frequency = <19200000>;
+ };
+
+ dp1_pwr_3v3: regulator-dp1-prw {
+ compatible = "regulator-fixed";
+ regulator-name = "dp1-pwr";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ gpio = <&exp4 1 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+ };
+
+ dp1: connector-dp1 {
+ compatible = "dp-connector";
+ label = "DP1";
+ type = "full-size";
+ dp-pwr-supply = <&dp1_pwr_3v3>;
+
+ port {
+ dp1_connector_in: endpoint {
+ remote-endpoint = <&dp1_out>;
+ };
+ };
+ };
};
&wkup_gpio0 {
@@ -1345,12 +1391,24 @@ &mhdp {
};
&dss_ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
/* DP */
- port {
+ port@0 {
+ reg = <0>;
dpi0_out: endpoint {
remote-endpoint = <&dp0_in>;
};
};
+
+ /* DSI */
+ port@2 {
+ reg = <2>;
+ dpi2_out: endpoint {
+ remote-endpoint = <&dsi0_in>;
+ };
+ };
};
&main_i2c4 {
@@ -1365,6 +1423,63 @@ exp4: gpio@20 {
gpio-controller;
#gpio-cells = <2>;
};
+
+ dsi_edp_bridge: dsi-edp-bridge@2c {
+ compatible = "ti,sn65dsi86";
+ reg = <0x2c>;
+
+ clock-names = "refclk";
+ clocks = <&edp1_refclk>;
+
+ enable-gpios = <&exp4 2 GPIO_ACTIVE_HIGH>;
+
+ vpll-supply = <&vsys_io_1v8>;
+ vccio-supply = <&vsys_io_1v8>;
+ vcca-supply = <&vsys_io_1v2>;
+ vcc-supply = <&vsys_io_1v2>;
+
+ dsi_edp_bridge_ports: ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ port@0 {
+ reg = <0>;
+ dp1_in: endpoint {
+ remote-endpoint = <&dsi0_out>;
+ };
+ };
+
+ port@1 {
+ reg = <1>;
+ dp1_out: endpoint {
+ remote-endpoint = <&dp1_connector_in>;
+ };
+ };
+ };
+ };
+};
+
+&dsi0_ports {
+ port@0 {
+ reg = <0>;
+ dsi0_out: endpoint {
+ remote-endpoint = <&dp1_in>;
+ };
+ };
+
+ port@1 {
+ reg = <1>;
+ dsi0_in: endpoint {
+ remote-endpoint = <&dpi2_out>;
+ };
+ };
+};
+
+&dphy_tx0 {
+ status = "okay";
+};
+
+&dsi0 {
+ status = "okay";
};
&dp0_ports {
--
2.34.1
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH 3/7] arm64: dts: ti: k3-j721s2-main: add DSI & DSI PHY
2025-04-11 10:51 [PATCH 0/7] Add DSI display support for TI's Jacinto platforms Jayesh Choudhary
2025-04-11 10:51 ` [PATCH 1/7] arm64: dts: ti: k3-j784s4-j742s2-main-common: add DSI & DSI PHY Jayesh Choudhary
2025-04-11 10:51 ` [PATCH 2/7] arm64: dts: ti: k3-j784s4-j742s2-evm-common: Enable DisplayPort-1 Jayesh Choudhary
@ 2025-04-11 10:51 ` Jayesh Choudhary
2025-04-11 10:51 ` [PATCH 4/7] arm64: dts: ti: k3-j721s2-common-proc-board: Add main_i2c4 instance Jayesh Choudhary
` (4 subsequent siblings)
7 siblings, 0 replies; 16+ messages in thread
From: Jayesh Choudhary @ 2025-04-11 10:51 UTC (permalink / raw)
To: nm, vigneshr, u-kumar1, devarsht, linux-kernel
Cc: robh, krzk+dt, conor+dt, kristo, devicetree, linux-arm-kernel,
j-choudhary
From: Rahul T R <r-ravikumar@ti.com>
Add DT nodes for DPI to DSI Bridge and DSI Phy.
The DSI bridge is Cadence DSI and the PHY is a
Cadence DPHY with TI wrapper.
Signed-off-by: Rahul T R <r-ravikumar@ti.com>
[j-choudhary@ti.com: disable dsi and dphy nodes, rename dphy node]
Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
---
arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi | 37 ++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi
index 92bf48fdbeba..b91943349024 100644
--- a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi
@@ -1790,6 +1790,43 @@ main_spi7: spi@2170000 {
status = "disabled";
};
+ dphy_tx0: phy@4480000 {
+ compatible = "ti,j721e-dphy";
+ reg = <0x0 0x04480000 0x0 0x1000>;
+ clocks = <&k3_clks 363 8>, <&k3_clks 363 14>;
+ clock-names = "psm", "pll_ref";
+ #phy-cells = <0>;
+ power-domains = <&k3_pds 363 TI_SCI_PD_EXCLUSIVE>;
+ assigned-clocks = <&k3_clks 363 14>;
+ assigned-clock-parents = <&k3_clks 363 15>;
+ assigned-clock-rates = <19200000>;
+ status = "disabled";
+ };
+
+ dsi0: dsi@4800000 {
+ compatible = "ti,j721e-dsi";
+ reg = <0x0 0x04800000 0x0 0x100000>, <0x0 0x04710000 0x0 0x100>;
+ clocks = <&k3_clks 154 4>, <&k3_clks 154 1>;
+ clock-names = "dsi_p_clk", "dsi_sys_clk";
+ power-domains = <&k3_pds 154 TI_SCI_PD_EXCLUSIVE>;
+ interrupt-parent = <&gic500>;
+ interrupts = <GIC_SPI 600 IRQ_TYPE_LEVEL_HIGH>;
+ phys = <&dphy_tx0>;
+ phy-names = "dphy";
+ status = "disabled";
+
+ dsi0_ports: ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ port@0 {
+ reg = <0>;
+ };
+ port@1 {
+ reg = <1>;
+ };
+ };
+ };
+
dss: dss@4a00000 {
compatible = "ti,j721e-dss";
reg = <0x00 0x04a00000 0x00 0x10000>, /* common_m */
--
2.34.1
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH 4/7] arm64: dts: ti: k3-j721s2-common-proc-board: Add main_i2c4 instance
2025-04-11 10:51 [PATCH 0/7] Add DSI display support for TI's Jacinto platforms Jayesh Choudhary
` (2 preceding siblings ...)
2025-04-11 10:51 ` [PATCH 3/7] arm64: dts: ti: k3-j721s2-main: add DSI & DSI PHY Jayesh Choudhary
@ 2025-04-11 10:51 ` Jayesh Choudhary
2025-04-19 9:23 ` Kumar, Udit
2025-04-11 10:51 ` [PATCH 5/7] arm64: dts: ti: k3-j721s2-som-p0: add DSI to eDP Jayesh Choudhary
` (3 subsequent siblings)
7 siblings, 1 reply; 16+ messages in thread
From: Jayesh Choudhary @ 2025-04-11 10:51 UTC (permalink / raw)
To: nm, vigneshr, u-kumar1, devarsht, linux-kernel
Cc: robh, krzk+dt, conor+dt, kristo, devicetree, linux-arm-kernel,
j-choudhary
Add dt node for main_i2c4 instance along with required pinmuxing.
Also add the gpio expander 'exp4' required by display connector.
Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
---
.../dts/ti/k3-j721s2-common-proc-board.dts | 21 +++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts
index e2fc1288ed07..f691ae4c19e6 100644
--- a/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts
+++ b/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts
@@ -148,6 +148,13 @@ J721S2_IOPAD(0x060, PIN_INPUT_PULLUP, 13) /* (AC27) MCASP2_AXR1.I2C3_SDA */
>;
};
+ main_i2c4_pins_default: main-i2c4-default-pins {
+ pinctrl-single,pins = <
+ J721S2_IOPAD(0x014, PIN_INPUT_PULLUP, 8) /* (AD25) I2C4_SCL */
+ J721S2_IOPAD(0x010, PIN_INPUT_PULLUP, 8) /* (AF28) I2C4_SDA */
+ >;
+ };
+
main_i2c5_pins_default: main-i2c5-default-pins {
pinctrl-single,pins = <
J721S2_IOPAD(0x01c, PIN_INPUT, 8) /* (Y24) MCAN15_TX.I2C5_SCL */
@@ -370,6 +377,20 @@ exp2: gpio@22 {
};
};
+&main_i2c4 {
+ status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&main_i2c4_pins_default>;
+ clock-frequency = <400000>;
+
+ exp4: gpio@20 {
+ compatible = "ti,tca6408";
+ reg = <0x20>;
+ gpio-controller;
+ #gpio-cells = <2>;
+ };
+};
+
&main_i2c5 {
pinctrl-names = "default";
pinctrl-0 = <&main_i2c5_pins_default>;
--
2.34.1
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH 5/7] arm64: dts: ti: k3-j721s2-som-p0: add DSI to eDP
2025-04-11 10:51 [PATCH 0/7] Add DSI display support for TI's Jacinto platforms Jayesh Choudhary
` (3 preceding siblings ...)
2025-04-11 10:51 ` [PATCH 4/7] arm64: dts: ti: k3-j721s2-common-proc-board: Add main_i2c4 instance Jayesh Choudhary
@ 2025-04-11 10:51 ` Jayesh Choudhary
2025-04-11 10:51 ` [PATCH 6/7] arm64: dts: ti: k3-j721s2-common-proc-board: Enable DisplayPort-1 Jayesh Choudhary
` (2 subsequent siblings)
7 siblings, 0 replies; 16+ messages in thread
From: Jayesh Choudhary @ 2025-04-11 10:51 UTC (permalink / raw)
To: nm, vigneshr, u-kumar1, devarsht, linux-kernel
Cc: robh, krzk+dt, conor+dt, kristo, devicetree, linux-arm-kernel,
j-choudhary
From: Rahul T R <r-ravikumar@ti.com>
Add DT nodes for DSI to eDP bridge. The DSI to eDP
bridge is SN65DSI86 on SOM.
Signed-off-by: Rahul T R <r-ravikumar@ti.com>
Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
---
arch/arm64/boot/dts/ti/k3-j721s2-som-p0.dtsi | 52 ++++++++++++++++++++
1 file changed, 52 insertions(+)
diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-som-p0.dtsi b/arch/arm64/boot/dts/ti/k3-j721s2-som-p0.dtsi
index 6adb2bbe4066..421c1468ba90 100644
--- a/arch/arm64/boot/dts/ti/k3-j721s2-som-p0.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j721s2-som-p0.dtsi
@@ -160,6 +160,30 @@ transceiver0: can-phy0 {
#phy-cells = <0>;
max-bitrate = <5000000>;
};
+
+ vsys_io_1v8: regulator-vsys-io-1v8 {
+ compatible = "regulator-fixed";
+ regulator-name = "vsys_io_1v8";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-always-on;
+ regulator-boot-on;
+ };
+
+ vsys_io_1v2: regulator-vsys-io-1v2 {
+ compatible = "regulator-fixed";
+ regulator-name = "vsys_io_1v2";
+ regulator-min-microvolt = <1200000>;
+ regulator-max-microvolt = <1200000>;
+ regulator-always-on;
+ regulator-boot-on;
+ };
+
+ edp1_refclk: clock-edp1-refclk {
+ #clock-cells = <0>;
+ compatible = "fixed-clock";
+ clock-frequency = <19200000>;
+ };
};
&wkup_pmx0 {
@@ -638,3 +662,31 @@ &c71_1 {
memory-region = <&c71_1_dma_memory_region>,
<&c71_1_memory_region>;
};
+
+&main_i2c4 {
+ dsi_edp_bridge: dsi-edp-bridge@2c {
+ compatible = "ti,sn65dsi86";
+ reg = <0x2c>;
+
+ clock-names = "refclk";
+ clocks = <&edp1_refclk>;
+
+ enable-gpios = <&exp_som 5 0>;
+
+ vpll-supply = <&vsys_io_1v8>;
+ vccio-supply = <&vsys_io_1v8>;
+ vcca-supply = <&vsys_io_1v2>;
+ vcc-supply = <&vsys_io_1v2>;
+
+ dsi_edp_bridge_ports: ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ port@0 {
+ reg = <0>;
+ };
+ port@1 {
+ reg = <1>;
+ };
+ };
+ };
+};
--
2.34.1
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH 6/7] arm64: dts: ti: k3-j721s2-common-proc-board: Enable DisplayPort-1
2025-04-11 10:51 [PATCH 0/7] Add DSI display support for TI's Jacinto platforms Jayesh Choudhary
` (4 preceding siblings ...)
2025-04-11 10:51 ` [PATCH 5/7] arm64: dts: ti: k3-j721s2-som-p0: add DSI to eDP Jayesh Choudhary
@ 2025-04-11 10:51 ` Jayesh Choudhary
2025-04-19 9:29 ` Kumar, Udit
2025-04-11 10:51 ` [PATCH 7/7] arm64: dts: ti: k3-am68-sk: Enable DSI on DisplayPort-0 Jayesh Choudhary
2025-04-19 8:53 ` [PATCH 0/7] Add DSI display support for TI's Jacinto platforms Kumar, Udit
7 siblings, 1 reply; 16+ messages in thread
From: Jayesh Choudhary @ 2025-04-11 10:51 UTC (permalink / raw)
To: nm, vigneshr, u-kumar1, devarsht, linux-kernel
Cc: robh, krzk+dt, conor+dt, kristo, devicetree, linux-arm-kernel,
j-choudhary
Enable DSI display for J721S2 EVM.
Add the endpoint nodes to describe connection from:
DSS => DSI Bridge => DSI to eDP bridge => DisplayPort-1
Set status for all required nodes for DisplayPort-1 as 'okay'.
Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
---
.../dts/ti/k3-j721s2-common-proc-board.dts | 95 +++++++++++++++++++
1 file changed, 95 insertions(+)
diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts
index f691ae4c19e6..15a7d9b813d3 100644
--- a/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts
+++ b/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts
@@ -93,6 +93,29 @@ vdd_sd_dv: gpio-regulator-TLV71033 {
<3300000 0x1>;
};
+ dp1_pwr_3v3: regulator-dp1-prw {
+ compatible = "regulator-fixed";
+ regulator-name = "dp1-pwr";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ gpio = <&exp4 1 GPIO_ACTIVE_HIGH>; /* P1 - DP1_PWR_SW_EN */
+ enable-active-high;
+ regulator-always-on;
+ };
+
+ dp1: connector-dp1 {
+ compatible = "dp-connector";
+ label = "DP1";
+ type = "full-size";
+ dp-pwr-supply = <&dp1_pwr_3v3>;
+
+ port {
+ dp1_connector_in: endpoint {
+ remote-endpoint = <&dp1_out>;
+ };
+ };
+ };
+
transceiver1: can-phy1 {
compatible = "ti,tcan1043";
#phy-cells = <0>;
@@ -560,3 +583,75 @@ &main_mcan5 {
pinctrl-0 = <&main_mcan5_pins_default>;
phys = <&transceiver4>;
};
+
+&dss {
+ /*
+ * These clock assignments are chosen to enable the following outputs:
+ *
+ * VP0 - DisplayPort SST
+ * VP1 - DPI0
+ * VP2 - DSI
+ * VP3 - DPI1
+ */
+ status = "okay";
+ assigned-clocks = <&k3_clks 158 2>,
+ <&k3_clks 158 5>,
+ <&k3_clks 158 14>,
+ <&k3_clks 158 18>;
+ assigned-clock-parents = <&k3_clks 158 3>,
+ <&k3_clks 158 7>,
+ <&k3_clks 158 16>,
+ <&k3_clks 158 22>;
+};
+
+&dss_ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@2 {
+ reg = <2>;
+ dpi2_out: endpoint {
+ remote-endpoint = <&dsi0_in>;
+ };
+ };
+};
+
+&dsi0_ports {
+ port@0 {
+ reg = <0>;
+ dsi0_out: endpoint {
+ remote-endpoint = <&dp1_in>;
+ };
+ };
+
+ port@1 {
+ reg = <1>;
+ dsi0_in: endpoint {
+ remote-endpoint = <&dpi2_out>;
+ };
+ };
+};
+
+&dsi_edp_bridge_ports {
+ port@0 {
+ reg = <0>;
+ dp1_in: endpoint {
+ remote-endpoint = <&dsi0_out>;
+ };
+ };
+
+ port@1 {
+ reg = <1>;
+ dp1_out: endpoint {
+ remote-endpoint = <&dp1_connector_in>;
+ };
+ };
+};
+
+&dphy_tx0 {
+ status = "okay";
+};
+
+&dsi0 {
+ status = "okay";
+};
--
2.34.1
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH 7/7] arm64: dts: ti: k3-am68-sk: Enable DSI on DisplayPort-0
2025-04-11 10:51 [PATCH 0/7] Add DSI display support for TI's Jacinto platforms Jayesh Choudhary
` (5 preceding siblings ...)
2025-04-11 10:51 ` [PATCH 6/7] arm64: dts: ti: k3-j721s2-common-proc-board: Enable DisplayPort-1 Jayesh Choudhary
@ 2025-04-11 10:51 ` Jayesh Choudhary
2025-04-19 9:34 ` Kumar, Udit
2025-04-19 8:53 ` [PATCH 0/7] Add DSI display support for TI's Jacinto platforms Kumar, Udit
7 siblings, 1 reply; 16+ messages in thread
From: Jayesh Choudhary @ 2025-04-11 10:51 UTC (permalink / raw)
To: nm, vigneshr, u-kumar1, devarsht, linux-kernel
Cc: robh, krzk+dt, conor+dt, kristo, devicetree, linux-arm-kernel,
j-choudhary
Enable DSI support for AM68-SK platform.
Add DT node for DSI2eDP bridge. The DSI to eDP bridge is sn65dsi86
on the board.
Add the endpoint nodes to describe connection from:
DSS => DSI => SN65DSI86 bridge => DisplayPort-0
Set status for all required nodes for DisplayPort-0 as 'okay'.
Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
---
.../boot/dts/ti/k3-am68-sk-base-board.dts | 96 +++++++++++++++++++
1 file changed, 96 insertions(+)
diff --git a/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts b/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts
index 11522b36e0ce..df54de2d8236 100644
--- a/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts
+++ b/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts
@@ -124,6 +124,35 @@ transceiver4: can-phy3 {
max-bitrate = <5000000>;
};
+ edp0_refclk: clock-edp0-refclk {
+ #clock-cells = <0>;
+ compatible = "fixed-clock";
+ clock-frequency = <19200000>;
+ };
+
+ dp0_pwr_3v3: fixedregulator-dp0-pwr {
+ compatible = "regulator-fixed";
+ regulator-name = "dp0-pwr";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ gpio = <&exp2 2 GPIO_ACTIVE_HIGH>; /*P0 - DP0_3V3 _EN */
+ enable-active-high;
+ regulator-always-on;
+ };
+
+ dp0: dp0-connector {
+ compatible = "dp-connector";
+ label = "DP0";
+ type = "full-size";
+ dp-pwr-supply = <&dp0_pwr_3v3>;
+
+ port {
+ dp0_connector_in: endpoint {
+ remote-endpoint = <&dp0_out>;
+ };
+ };
+ };
+
connector-hdmi {
compatible = "hdmi-connector";
label = "hdmi";
@@ -594,6 +623,39 @@ exp2: gpio@20 {
gpio-line-names = "HDMI_PDn","HDMI_LS_OE",
"DP0_3V3_EN","eDP_ENABLE";
};
+
+ dsi_edp_bridge: dsi-edp-bridge@2c {
+ compatible = "ti,sn65dsi86";
+ reg = <0x2c>;
+ clock-names = "refclk";
+ clocks = <&edp0_refclk>;
+ enable-gpios = <&exp2 3 GPIO_ACTIVE_HIGH>;
+ vpll-supply = <&vsys_io_1v8>;
+ vccio-supply = <&vsys_io_1v8>;
+ vcca-supply = <&vsys_io_1v2>;
+ vcc-supply = <&vsys_io_1v2>;
+
+ dsi_edp_bridge_ports: ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+
+ dp0_in: endpoint {
+ remote-endpoint = <&dsi0_out>;
+ };
+ };
+
+ port@1 {
+ reg = <1>;
+
+ dp0_out: endpoint {
+ remote-endpoint = <&dp0_connector_in>;
+ };
+ };
+ };
+ };
};
&main_sdhci1 {
@@ -688,6 +750,15 @@ dpi_out0: endpoint {
remote-endpoint = <&tfp410_in>;
};
};
+
+ /* DSI */
+ port@2 {
+ reg = <2>;
+
+ dpi0_out: endpoint {
+ remote-endpoint = <&dsi0_in>;
+ };
+ };
};
&serdes_ln_ctrl {
@@ -745,3 +816,28 @@ &usb0 {
phys = <&serdes0_usb_link>;
phy-names = "cdns3,usb3-phy";
};
+
+&dphy_tx0 {
+ status = "okay";
+};
+
+&dsi0 {
+ status = "okay";
+};
+
+&dsi0_ports {
+
+ port@0 {
+ reg = <0>;
+ dsi0_out: endpoint {
+ remote-endpoint = <&dp0_in>;
+ };
+ };
+
+ port@1 {
+ reg = <1>;
+ dsi0_in: endpoint {
+ remote-endpoint = <&dpi0_out>;
+ };
+ };
+};
--
2.34.1
^ permalink raw reply related [flat|nested] 16+ messages in thread
* Re: [PATCH 0/7] Add DSI display support for TI's Jacinto platforms
2025-04-11 10:51 [PATCH 0/7] Add DSI display support for TI's Jacinto platforms Jayesh Choudhary
` (6 preceding siblings ...)
2025-04-11 10:51 ` [PATCH 7/7] arm64: dts: ti: k3-am68-sk: Enable DSI on DisplayPort-0 Jayesh Choudhary
@ 2025-04-19 8:53 ` Kumar, Udit
2025-04-21 12:18 ` Jayesh Choudhary
7 siblings, 1 reply; 16+ messages in thread
From: Kumar, Udit @ 2025-04-19 8:53 UTC (permalink / raw)
To: Jayesh Choudhary, nm, vigneshr, devarsht, linux-kernel
Cc: robh, krzk+dt, conor+dt, kristo, devicetree, linux-arm-kernel
On 4/11/2025 4:21 PM, Jayesh Choudhary wrote:
> Hello All,
>
> This series adds the dts support to enable DSI on 3 platforms for TI SoCs:
> - J784S4-EVM
> - J721S2-EVM
> - AM68-SK
>
> [..]
>
> NOTE: For higher resolutions, we need bigger CMA region.
> But for validation, the default value is enough.
I am not sure , how DSS uses CMA region
> I am posting another series to add CMA region to Jacinto platforms
> similar to Sitara family soon:
> <https://lore.kernel.org/all/20240613150902.2173582-1-devarsht@ti.com/>
>
> Jayesh Choudhary (5):
> arm64: dts: ti: k3-j784s4-j742s2-main-common: add DSI & DSI PHY
> arm64: dts: ti: k3-j784s4-j742s2-evm-common: Enable DisplayPort-1
> arm64: dts: ti: k3-j721s2-common-proc-board: Add main_i2c4 instance
> arm64: dts: ti: k3-j721s2-common-proc-board: Enable DisplayPort-1
> arm64: dts: ti: k3-am68-sk: Enable DSI on DisplayPort-0
>
> Rahul T R (2):
> arm64: dts: ti: k3-j721s2-main: add DSI & DSI PHY
> arm64: dts: ti: k3-j721s2-som-p0: add DSI to eDP
>
> .../boot/dts/ti/k3-am68-sk-base-board.dts | 96 ++++++++++++++
> .../dts/ti/k3-j721s2-common-proc-board.dts | 116 +++++++++++++++++
> arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi | 37 ++++++
> arch/arm64/boot/dts/ti/k3-j721s2-som-p0.dtsi | 52 ++++++++
> .../dts/ti/k3-j784s4-j742s2-evm-common.dtsi | 117 +++++++++++++++++-
> .../dts/ti/k3-j784s4-j742s2-main-common.dtsi | 37 ++++++
> 6 files changed, 454 insertions(+), 1 deletion(-)
>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 4/7] arm64: dts: ti: k3-j721s2-common-proc-board: Add main_i2c4 instance
2025-04-11 10:51 ` [PATCH 4/7] arm64: dts: ti: k3-j721s2-common-proc-board: Add main_i2c4 instance Jayesh Choudhary
@ 2025-04-19 9:23 ` Kumar, Udit
2025-04-21 10:09 ` Jayesh Choudhary
0 siblings, 1 reply; 16+ messages in thread
From: Kumar, Udit @ 2025-04-19 9:23 UTC (permalink / raw)
To: Jayesh Choudhary, nm, vigneshr, devarsht, linux-kernel
Cc: robh, krzk+dt, conor+dt, kristo, devicetree, linux-arm-kernel,
u-kumar1
On 4/11/2025 4:21 PM, Jayesh Choudhary wrote:
> Add dt node for main_i2c4 instance along with required pinmuxing.
> Also add the gpio expander 'exp4' required by display connector.
>
> Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
> ---
> .../dts/ti/k3-j721s2-common-proc-board.dts | 21 +++++++++++++++++++
> 1 file changed, 21 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts
> index e2fc1288ed07..f691ae4c19e6 100644
> --- a/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts
> +++ b/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts
> @@ -148,6 +148,13 @@ J721S2_IOPAD(0x060, PIN_INPUT_PULLUP, 13) /* (AC27) MCASP2_AXR1.I2C3_SDA */
> >;
> };
>
> + main_i2c4_pins_default: main-i2c4-default-pins {
> + pinctrl-single,pins = <
> + J721S2_IOPAD(0x014, PIN_INPUT_PULLUP, 8) /* (AD25) I2C4_SCL */
> + J721S2_IOPAD(0x010, PIN_INPUT_PULLUP, 8) /* (AF28) I2C4_SDA */
> + >;
> + };
> +
> main_i2c5_pins_default: main-i2c5-default-pins {
> pinctrl-single,pins = <
> J721S2_IOPAD(0x01c, PIN_INPUT, 8) /* (Y24) MCAN15_TX.I2C5_SCL */
> @@ -370,6 +377,20 @@ exp2: gpio@22 {
> };
> };
>
> +&main_i2c4 {
> + status = "okay";
> + pinctrl-names = "default";
> + pinctrl-0 = <&main_i2c4_pins_default>;
> + clock-frequency = <400000>;
> +
> + exp4: gpio@20 {
> + compatible = "ti,tca6408";
> + reg = <0x20>;
> + gpio-controller;
> + #gpio-cells = <2>;
I suggest to add, gpio-line-names as well for this gpio expander.
> + };
> +};
> +
> &main_i2c5 {
> pinctrl-names = "default";
> pinctrl-0 = <&main_i2c5_pins_default>;
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 6/7] arm64: dts: ti: k3-j721s2-common-proc-board: Enable DisplayPort-1
2025-04-11 10:51 ` [PATCH 6/7] arm64: dts: ti: k3-j721s2-common-proc-board: Enable DisplayPort-1 Jayesh Choudhary
@ 2025-04-19 9:29 ` Kumar, Udit
2025-04-21 12:02 ` Jayesh Choudhary
0 siblings, 1 reply; 16+ messages in thread
From: Kumar, Udit @ 2025-04-19 9:29 UTC (permalink / raw)
To: Jayesh Choudhary, nm, vigneshr, devarsht, linux-kernel
Cc: robh, krzk+dt, conor+dt, kristo, devicetree, linux-arm-kernel,
u-kumar1
On 4/11/2025 4:21 PM, Jayesh Choudhary wrote:
> Enable DSI display for J721S2 EVM.
>
> Add the endpoint nodes to describe connection from:
> DSS => DSI Bridge => DSI to eDP bridge => DisplayPort-1
>
> Set status for all required nodes for DisplayPort-1 as 'okay'.
>
> Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
> ---
> .../dts/ti/k3-j721s2-common-proc-board.dts | 95 +++++++++++++++++++
> 1 file changed, 95 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts
> index f691ae4c19e6..15a7d9b813d3 100644
> --- a/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts
> +++ b/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts
> @@ -93,6 +93,29 @@ vdd_sd_dv: gpio-regulator-TLV71033 {
> <3300000 0x1>;
> };
>
> [..]
> +
> +&dss {
> + /*
> + * These clock assignments are chosen to enable the following outputs:
> + *
> + * VP0 - DisplayPort SST
> + * VP1 - DPI0
> + * VP2 - DSI
> + * VP3 - DPI1
> + */
Sorry for basic question, In this series , you are enabling only DSI
interface.
why you need clocking for other interfaces ?
> + status = "okay";
> [..]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 7/7] arm64: dts: ti: k3-am68-sk: Enable DSI on DisplayPort-0
2025-04-11 10:51 ` [PATCH 7/7] arm64: dts: ti: k3-am68-sk: Enable DSI on DisplayPort-0 Jayesh Choudhary
@ 2025-04-19 9:34 ` Kumar, Udit
2025-04-21 11:10 ` Jayesh Choudhary
0 siblings, 1 reply; 16+ messages in thread
From: Kumar, Udit @ 2025-04-19 9:34 UTC (permalink / raw)
To: Jayesh Choudhary, nm, vigneshr, devarsht, linux-kernel
Cc: robh, krzk+dt, conor+dt, kristo, devicetree, linux-arm-kernel,
u-kumar1
On 4/11/2025 4:21 PM, Jayesh Choudhary wrote:
> Enable DSI support for AM68-SK platform.
>
> Add DT node for DSI2eDP bridge. The DSI to eDP bridge is sn65dsi86
> on the board.
>
> Add the endpoint nodes to describe connection from:
> DSS => DSI => SN65DSI86 bridge => DisplayPort-0
>
> Set status for all required nodes for DisplayPort-0 as 'okay'.
>
> Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
> ---
> .../boot/dts/ti/k3-am68-sk-base-board.dts | 96 +++++++++++++++++++
> 1 file changed, 96 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts b/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts
> index 11522b36e0ce..df54de2d8236 100644
> --- a/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts
> +++ b/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts
> @@ -124,6 +124,35 @@ transceiver4: can-phy3 {
> max-bitrate = <5000000>;
> };
>
> + edp0_refclk: clock-edp0-refclk {
> + #clock-cells = <0>;
> + compatible = "fixed-clock";
> + clock-frequency = <19200000>;
> + };
I assume on this board and through out series, display is DP not eDP.
do you see possibility to change wording from eDP to DP
> +
> + dp0_pwr_3v3: fixedregulator-dp0-pwr {
> + compatible = "regulator-fixed";
> + regulator-name = "dp0-pwr";
> + regulator-min-microvolt = <3300000>;
> + regulator-max-microvolt = <3300000>;
> + gpio = <&exp2 2 GPIO_ACTIVE_HIGH>; /*P0 - DP0_3V3 _EN */
> + enable-active-high;
> + regulator-always-on;
> + };
> +
> [..]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 4/7] arm64: dts: ti: k3-j721s2-common-proc-board: Add main_i2c4 instance
2025-04-19 9:23 ` Kumar, Udit
@ 2025-04-21 10:09 ` Jayesh Choudhary
0 siblings, 0 replies; 16+ messages in thread
From: Jayesh Choudhary @ 2025-04-21 10:09 UTC (permalink / raw)
To: Kumar, Udit, nm, vigneshr, devarsht, linux-kernel
Cc: robh, krzk+dt, conor+dt, kristo, devicetree, linux-arm-kernel
Hello Udit,
On 19/04/25 14:53, Kumar, Udit wrote:
>
> On 4/11/2025 4:21 PM, Jayesh Choudhary wrote:
>> Add dt node for main_i2c4 instance along with required pinmuxing.
>> Also add the gpio expander 'exp4' required by display connector.
>>
>> Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
>> ---
>> .../dts/ti/k3-j721s2-common-proc-board.dts | 21 +++++++++++++++++++
>> 1 file changed, 21 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts
>> b/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts
>> index e2fc1288ed07..f691ae4c19e6 100644
>> --- a/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts
>> +++ b/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts
>> @@ -148,6 +148,13 @@ J721S2_IOPAD(0x060, PIN_INPUT_PULLUP, 13) /*
>> (AC27) MCASP2_AXR1.I2C3_SDA */
>> >;
>> };
>> + main_i2c4_pins_default: main-i2c4-default-pins {
>> + pinctrl-single,pins = <
>> + J721S2_IOPAD(0x014, PIN_INPUT_PULLUP, 8) /* (AD25)
>> I2C4_SCL */
>> + J721S2_IOPAD(0x010, PIN_INPUT_PULLUP, 8) /* (AF28)
>> I2C4_SDA */
>> + >;
>> + };
>> +
>> main_i2c5_pins_default: main-i2c5-default-pins {
>> pinctrl-single,pins = <
>> J721S2_IOPAD(0x01c, PIN_INPUT, 8) /* (Y24)
>> MCAN15_TX.I2C5_SCL */
>> @@ -370,6 +377,20 @@ exp2: gpio@22 {
>> };
>> };
>> +&main_i2c4 {
>> + status = "okay";
>> + pinctrl-names = "default";
>> + pinctrl-0 = <&main_i2c4_pins_default>;
>> + clock-frequency = <400000>;
>> +
>> + exp4: gpio@20 {
>> + compatible = "ti,tca6408";
>> + reg = <0x20>;
>> + gpio-controller;
>> + #gpio-cells = <2>;
>
> I suggest to add, gpio-line-names as well for this gpio expander.
>
Sure, I will add gpio-line-names.
>
>> + };
>> +};
>> +
>> &main_i2c5 {
>> pinctrl-names = "default";
>> pinctrl-0 = <&main_i2c5_pins_default>;
Thanks,
Jayesh
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 7/7] arm64: dts: ti: k3-am68-sk: Enable DSI on DisplayPort-0
2025-04-19 9:34 ` Kumar, Udit
@ 2025-04-21 11:10 ` Jayesh Choudhary
0 siblings, 0 replies; 16+ messages in thread
From: Jayesh Choudhary @ 2025-04-21 11:10 UTC (permalink / raw)
To: Kumar, Udit, nm, vigneshr, devarsht, linux-kernel
Cc: robh, krzk+dt, conor+dt, kristo, devicetree, linux-arm-kernel
Hello Udit,
On 19/04/25 15:04, Kumar, Udit wrote:
>
> On 4/11/2025 4:21 PM, Jayesh Choudhary wrote:
>> Enable DSI support for AM68-SK platform.
>>
>> Add DT node for DSI2eDP bridge. The DSI to eDP bridge is sn65dsi86
>> on the board.
>>
>> Add the endpoint nodes to describe connection from:
>> DSS => DSI => SN65DSI86 bridge => DisplayPort-0
>>
>> Set status for all required nodes for DisplayPort-0 as 'okay'.
>>
>> Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
>> ---
>> .../boot/dts/ti/k3-am68-sk-base-board.dts | 96 +++++++++++++++++++
>> 1 file changed, 96 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts
>> b/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts
>> index 11522b36e0ce..df54de2d8236 100644
>> --- a/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts
>> +++ b/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts
>> @@ -124,6 +124,35 @@ transceiver4: can-phy3 {
>> max-bitrate = <5000000>;
>> };
>> + edp0_refclk: clock-edp0-refclk {
>> + #clock-cells = <0>;
>> + compatible = "fixed-clock";
>> + clock-frequency = <19200000>;
>> + };
>
> I assume on this board and through out series, display is DP not eDP.
>
> do you see possibility to change wording from eDP to DP
>
Yes, the display is DP.
But this is the refclk consumed by SN65DSI86 bridge (DSI-to-eDP bridge)
Hence the naming.
>
>> +
>> + dp0_pwr_3v3: fixedregulator-dp0-pwr {
>> + compatible = "regulator-fixed";
>> + regulator-name = "dp0-pwr";
>> + regulator-min-microvolt = <3300000>;
>> + regulator-max-microvolt = <3300000>;
>> + gpio = <&exp2 2 GPIO_ACTIVE_HIGH>; /*P0 - DP0_3V3 _EN */
>> + enable-active-high;
>> + regulator-always-on;
>> + };
>> +
>> [..]
Thanks,
Jayesh
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 6/7] arm64: dts: ti: k3-j721s2-common-proc-board: Enable DisplayPort-1
2025-04-19 9:29 ` Kumar, Udit
@ 2025-04-21 12:02 ` Jayesh Choudhary
0 siblings, 0 replies; 16+ messages in thread
From: Jayesh Choudhary @ 2025-04-21 12:02 UTC (permalink / raw)
To: Kumar, Udit, nm, vigneshr, devarsht, linux-kernel
Cc: robh, krzk+dt, conor+dt, kristo, devicetree, linux-arm-kernel
Hello Udit,
On 19/04/25 14:59, Kumar, Udit wrote:
>
> On 4/11/2025 4:21 PM, Jayesh Choudhary wrote:
>> Enable DSI display for J721S2 EVM.
>>
>> Add the endpoint nodes to describe connection from:
>> DSS => DSI Bridge => DSI to eDP bridge => DisplayPort-1
>>
>> Set status for all required nodes for DisplayPort-1 as 'okay'.
>>
>> Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
>> ---
>> .../dts/ti/k3-j721s2-common-proc-board.dts | 95 +++++++++++++++++++
>> 1 file changed, 95 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts
>> b/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts
>> index f691ae4c19e6..15a7d9b813d3 100644
>> --- a/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts
>> +++ b/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts
>> @@ -93,6 +93,29 @@ vdd_sd_dv: gpio-regulator-TLV71033 {
>> <3300000 0x1>;
>> };
>> [..]
>> +
>> +&dss {
>> + /*
>> + * These clock assignments are chosen to enable the following
>> outputs:
>> + *
>> + * VP0 - DisplayPort SST
>> + * VP1 - DPI0
>> + * VP2 - DSI
>> + * VP3 - DPI1
>> + */
>
> Sorry for basic question, In this series , you are enabling only DSI
> interface.
>
> why you need clocking for other interfaces ?
>
We do not need them.
We only need clockID 14 with its parent clock as 16 (which is not the
selected parent by default)
The other display on the EVM (MHDP on DP-0) will consume clockID 2
whose default parent selection is okay.
I will change this.
Thanks,
Jayesh
>
>> + status = "okay";
>> [..]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 0/7] Add DSI display support for TI's Jacinto platforms
2025-04-19 8:53 ` [PATCH 0/7] Add DSI display support for TI's Jacinto platforms Kumar, Udit
@ 2025-04-21 12:18 ` Jayesh Choudhary
0 siblings, 0 replies; 16+ messages in thread
From: Jayesh Choudhary @ 2025-04-21 12:18 UTC (permalink / raw)
To: Kumar, Udit, nm, vigneshr, devarsht, linux-kernel
Cc: robh, krzk+dt, conor+dt, kristo, devicetree, linux-arm-kernel
Hello Udit,
On 19/04/25 14:23, Kumar, Udit wrote:
>
> On 4/11/2025 4:21 PM, Jayesh Choudhary wrote:
>> Hello All,
>>
>> This series adds the dts support to enable DSI on 3 platforms for TI
>> SoCs:
>> - J784S4-EVM
>> - J721S2-EVM
>> - AM68-SK
>>
>> [..]
>>
>> NOTE: For higher resolutions, we need bigger CMA region.
>> But for validation, the default value is enough.
>
> I am not sure , how DSS uses CMA region
>
The framebuffers for dss are allocated from cma-pool.
By default the cma-region is of 32MiB that is shared by various peripherals.
1920x1080 requires ~16MiB of CMA but sometimes due to fragmentation,
we cannot get even this much for framebuffer and memory is not allocated
resulting in display failures.
And large resolutions like 4k@60fps require ~64MiB straight away.
So it is better to reserve appropriate CMA region.
Thanks
Jayesh
>
>> I am posting another series to add CMA region to Jacinto platforms
>> similar to Sitara family soon:
>> <https://lore.kernel.org/all/20240613150902.2173582-1-devarsht@ti.com/>
>>
>> Jayesh Choudhary (5):
>> arm64: dts: ti: k3-j784s4-j742s2-main-common: add DSI & DSI PHY
>> arm64: dts: ti: k3-j784s4-j742s2-evm-common: Enable DisplayPort-1
>> arm64: dts: ti: k3-j721s2-common-proc-board: Add main_i2c4 instance
>> arm64: dts: ti: k3-j721s2-common-proc-board: Enable DisplayPort-1
>> arm64: dts: ti: k3-am68-sk: Enable DSI on DisplayPort-0
>>
>> Rahul T R (2):
>> arm64: dts: ti: k3-j721s2-main: add DSI & DSI PHY
>> arm64: dts: ti: k3-j721s2-som-p0: add DSI to eDP
>>
>> .../boot/dts/ti/k3-am68-sk-base-board.dts | 96 ++++++++++++++
>> .../dts/ti/k3-j721s2-common-proc-board.dts | 116 +++++++++++++++++
>> arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi | 37 ++++++
>> arch/arm64/boot/dts/ti/k3-j721s2-som-p0.dtsi | 52 ++++++++
>> .../dts/ti/k3-j784s4-j742s2-evm-common.dtsi | 117 +++++++++++++++++-
>> .../dts/ti/k3-j784s4-j742s2-main-common.dtsi | 37 ++++++
>> 6 files changed, 454 insertions(+), 1 deletion(-)
>>
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2025-04-21 12:21 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-11 10:51 [PATCH 0/7] Add DSI display support for TI's Jacinto platforms Jayesh Choudhary
2025-04-11 10:51 ` [PATCH 1/7] arm64: dts: ti: k3-j784s4-j742s2-main-common: add DSI & DSI PHY Jayesh Choudhary
2025-04-11 10:51 ` [PATCH 2/7] arm64: dts: ti: k3-j784s4-j742s2-evm-common: Enable DisplayPort-1 Jayesh Choudhary
2025-04-11 10:51 ` [PATCH 3/7] arm64: dts: ti: k3-j721s2-main: add DSI & DSI PHY Jayesh Choudhary
2025-04-11 10:51 ` [PATCH 4/7] arm64: dts: ti: k3-j721s2-common-proc-board: Add main_i2c4 instance Jayesh Choudhary
2025-04-19 9:23 ` Kumar, Udit
2025-04-21 10:09 ` Jayesh Choudhary
2025-04-11 10:51 ` [PATCH 5/7] arm64: dts: ti: k3-j721s2-som-p0: add DSI to eDP Jayesh Choudhary
2025-04-11 10:51 ` [PATCH 6/7] arm64: dts: ti: k3-j721s2-common-proc-board: Enable DisplayPort-1 Jayesh Choudhary
2025-04-19 9:29 ` Kumar, Udit
2025-04-21 12:02 ` Jayesh Choudhary
2025-04-11 10:51 ` [PATCH 7/7] arm64: dts: ti: k3-am68-sk: Enable DSI on DisplayPort-0 Jayesh Choudhary
2025-04-19 9:34 ` Kumar, Udit
2025-04-21 11:10 ` Jayesh Choudhary
2025-04-19 8:53 ` [PATCH 0/7] Add DSI display support for TI's Jacinto platforms Kumar, Udit
2025-04-21 12:18 ` Jayesh Choudhary
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).