diff options
author | Francesco Dolcini <francesco.dolcini@toradex.com> | 2023-04-27 16:29:33 +0200 |
---|---|---|
committer | Robert Foss <rfoss@kernel.org> | 2023-05-05 20:11:49 +0200 |
commit | bac7842cd179572e8e0fc2d7b5254e40c6e9e057 (patch) | |
tree | 56f693997d7dce2b67f984db63730eeec4d374ef /drivers/input/input-poller.c | |
parent | 3666aad8185af8d0ce164fd3c4974235417d6d0b (diff) |
drm/bridge: tc358768: fix THS_TRAILCNT computation
Correct computation of THS_TRAILCNT register.
This register must be set to a value that ensure that
THS_TRAIL > 60 ns + 4 x UI
and
THS_TRAIL > 8 x UI
and
THS_TRAIL < TEOT
with
TEOT = 105 ns + (12 x UI)
with the actual value of THS_TRAIL being
(1 + THS_TRAILCNT) x ByteClk cycle + ((1 to 2) + 2) xHSBYTECLK cycle +
- (PHY output delay)
with PHY output 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-9-francesco@dolcini.it
Diffstat (limited to 'drivers/input/input-poller.c')
0 files changed, 0 insertions, 0 deletions