diff options
author | Francesco Dolcini <francesco.dolcini@toradex.com> | 2023-04-27 16:29:31 +0200 |
---|---|---|
committer | Robert Foss <rfoss@kernel.org> | 2023-05-05 20:11:48 +0200 |
commit | 77a089328da791118af9692543a5eedc79eb5fd4 (patch) | |
tree | 180897c59d5b009c1af128325a6208498899b664 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ee18698e212b1659dd0850d7e2ae0f22e16ed3d3 (diff) |
drm/bridge: tc358768: fix THS_ZEROCNT computation
Correct computation of THS_ZEROCNT register.
This register must be set to a value that ensure that
THS_PREPARE + THS_ZERO > 145ns + 10*UI
with the actual value of (THS_PREPARE + THS_ZERO) being
((1 to 2) + 1 + (TCLK_ZEROCNT + 1) + (3 to 4)) x ByteClk cycle +
+ HSByteClk x (2 + (1 to 2)) + (PHY delay)
with PHY delay being about
(8 + (5 to 6)) x MIPIBitClk cycle in the BitClk conversion.
Fixes: ff1ca6397b1d ("drm/bridge: Add tc358768 driver")
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Reviewed-by: Robert Foss <rfoss@kernel.org>
Signed-off-by: Robert Foss <rfoss@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230427142934.55435-7-francesco@dolcini.it
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions