gpu: drm: tegra: Adjust dsi phy timing
PATCH 1/1 gpu: drm: tegra: Adjust dsi phy timing
Fixing DSI phy setting of HS trail timings.
--- drivers/gpu/drm/tegra/mipi-phy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/tegra/mipi-phy.c +1 -1
@@ -34,7 +34,7 @@ int mipi_dphy_timing_get_default(struct mipi_dphy_timing *timing, timing->hszero =145 +5 * period; timing->hssettle =85 +6 * period; timing->hsskip =40 ; - timing->hstrail =max (8 * period,60 +4 * period); + timing->hstrail =3 * period *8 +max (8 * period,60 +4 * period); timing->init =100000 ; timing->lpx =60 ; timing->taget =5 * timing->lpx;
Signature · 1 line
1.8.1.5
A message that is not in the archive (sent off-list or not yet received): 1417481522-32110-1-git-send-email-davidu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org
Please use the scripts/get_maintainer.pl script to find the correct list of recipients.
Quoted 1 line · David Ung
Fixing DSI phy setting of HS trail timings.
You're going to have to explain /why/ you're making this change and describe what exactly this fixes. DSI works fine on any of the boards that I have, so I'm surprised that this would need "fixing".
Also: "phy" -> "PHY".
Quoted 11 lines
Signed-off-by David Ung <[email protected]>--- drivers/gpu/drm/tegra/mipi-phy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/tegra/mipi-phy.c +0
-0
drivers/gpu/drm/tegra/mipi-phy.c int mipi_dphy_timing_get_default(struct mipi_dphy_timing *timing, · line 37
Quoted 5 lines
drivers/gpu/drm/tegra/mipi-phy.c +1
-1@@ -34,7 +34,7 @@ int mipi_dphy_timing_get_default(struct mipi_dphy_timing *timing, timing->hszero =145 +5 * period; timing->hssettle =85 +6 * period; timing->hsskip =40 ; - timing->hstrail =max (8 * period,60 +4 * period); + timing->hstrail =3 * period *8 +max (8 * period,60 +4 * period);
My recollection is that I took these timing values straight from the D-PHY specification, so you're going to have to explain why this is necessary and where you took this from.
Thierry
Quoted 3 lines
Please use the
scripts/get_maintainer.plscript to find the correct list of recipients.
ccing [email protected], [email protected], [email protected] and [email protected]
Quoted 5 lines
Quoted 1 line
Fixing DSI phy setting of HS trail timings.
You're going to have to explain /why/ you're making this change and describe what exactly this fixes. DSI works fine on any of the boards that I have, so I'm surprised that this would need "fixing".
It is found by hardware that after HS data burst, the HS trail is off by -12% during compliance testing.
Quoted 1 line
Also: "phy" -> "PHY".
I'll adjust comment.
Quoted 3 lines
My recollection is that I took these timing values straight from the D-PHY specification, so you're going to have to explain why this is necessary and where you took this from.
There is set of timings recommendations in the tegra dsi programming guide. The D-PHY spec is the minimal setting, but the SOC may need other adjustments.
David