Skip to content
Snippets Groups Projects
Verified Commit 2cf4a704 authored by Johannes Schauer Marin Rodrigues's avatar Johannes Schauer Marin Rodrigues
Browse files

linux/patches6.8: refresh patches

parent 9694f457
No related branches found
No related tags found
1 merge request!39Fixes for i.MX8M Plus in MNT Reform
Pipeline #2127 passed
......@@ -4,8 +4,6 @@ Date: Thu May 30 14:46:50 2024 +0200
ti-sn65dsi86: use HS clock of samsung dsim host directly
diff --git a/drivers/gpu/drm/bridge/ti-sn65dsi86.c b/drivers/gpu/drm/bridge/ti-sn65dsi86.c
index 09ce7d09..331eb3ea 100644
--- a/drivers/gpu/drm/bridge/ti-sn65dsi86.c
+++ b/drivers/gpu/drm/bridge/ti-sn65dsi86.c
@@ -186,6 +186,7 @@ struct ti_sn65dsi86 {
......@@ -16,7 +14,7 @@ index 09ce7d09..331eb3ea 100644
int dp_lanes;
u8 ln_assign;
u8 ln_polrs;
@@ -288,7 +289,11 @@ static void ti_sn_bridge_set_refclk_freq(struct ti_sn65dsi86 *pdata)
@@ -288,7 +289,11 @@ static void ti_sn_bridge_set_refclk_freq
refclk_lut_size = ARRAY_SIZE(ti_sn_bridge_refclk_lut);
clk_prepare_enable(pdata->refclk);
} else {
......@@ -29,9 +27,9 @@ index 09ce7d09..331eb3ea 100644
refclk_lut = ti_sn_bridge_dsiclk_lut;
refclk_lut_size = ARRAY_SIZE(ti_sn_bridge_dsiclk_lut);
}
@@ -728,6 +733,15 @@ static int ti_sn_attach_host(struct auxiliary_device *adev, struct ti_sn65dsi86
printk(KERN_ALERT "DEBUG ti_sn65dsi86: burst mode enabled\n");
};
@@ -718,6 +723,15 @@ static int ti_sn_attach_host(struct auxi
dsi->format = MIPI_DSI_FMT_RGB888;
dsi->mode_flags = MIPI_DSI_MODE_VIDEO;
+ /* For i.MX8MP / Samsung DSIM Host, don't guess the HS rate, but read it from DTS */
+ if (of_device_is_compatible(pdata->host_node, "fsl,imx8mp-mipi-dsim")) {
......
......@@ -9,7 +9,7 @@ Subject: [PATCH 16/21] sn65dsi86-burst-mode-support
--- a/drivers/gpu/drm/bridge/ti-sn65dsi86.c
+++ b/drivers/gpu/drm/bridge/ti-sn65dsi86.c
@@ -717,6 +717,10 @@ static int ti_sn_attach_host(struct auxi
@@ -722,6 +722,10 @@ static int ti_sn_attach_host(struct auxi
dsi->lanes = 4;
dsi->format = MIPI_DSI_FMT_RGB888;
dsi->mode_flags = MIPI_DSI_MODE_VIDEO;
......@@ -18,5 +18,5 @@ Subject: [PATCH 16/21] sn65dsi86-burst-mode-support
+ printk(KERN_ALERT "DEBUG ti_sn65dsi86: burst mode enabled\n");
+ };
/* check if continuous dsi clock is required or not */
pm_runtime_get_sync(dev);
/* For i.MX8MP / Samsung DSIM Host, don't guess the HS rate, but read it from DTS */
if (of_device_is_compatible(pdata->host_node, "fsl,imx8mp-mipi-dsim")) {
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment