media: tc358743: Increase FIFO trigger level to 374
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Wed, 11 Jun 2025 18:37:14 +0000 (19:37 +0100)
committerHans Verkuil <hverkuil@xs4all.nl>
Tue, 17 Jun 2025 08:50:00 +0000 (10:50 +0200)
commit86addd25314a1e77dbdcfddfeed0bab2f27da0e2
tree7f1910c90f2257bfd17be6bc7344f8e33c14e1de
parentd8192cc01a11e40fa18da44c00c25df5c7beac53
media: tc358743: Increase FIFO trigger level to 374

The existing fixed value of 16 worked for UYVY 720P60 over
2 lanes at 594MHz, or UYVY 1080P60 over 4 lanes. (RGB888
1080P60 needs 6 lanes at 594MHz).
It doesn't allow for lower resolutions to work as the FIFO
underflows.

374 is required for 1080P24 or 1080P30 UYVY over 2 lanes @
972Mbit/s, but >374 means that the FIFO underflows on 1080P50
UYVY over 2 lanes @ 972Mbit/s.

Whilst it would be nice to compute it, the required information
isn't published by Toshiba.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/i2c/tc358743.c