media: vsp1: Update LIF buffer thresholds
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 26 Oct 2017 06:27:51 +0000 (02:27 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 17 Sep 2018 18:51:10 +0000 (14:51 -0400)
commitde2bc45c84f7f0c5b0be441c998035b70cbe4614
treee67747eb1c3874419ed9e3a66a6dfd530b794745
parent5eea860a6fec1e60709d19832015ee0991d3e80c
media: vsp1: Update LIF buffer thresholds

The LIF module has a data buffer to accommodate clock rate differences
between the DU and the VSP. Several programmable threshold values
control DU start of frame notification by the VSP and VSP clock
stop/resume. The R-Car Gen2 and Gen3 datasheets recommend values for the
different SoCs. Update the driver to use the recommended values for
optimal operation.

Based on a BSP patch from Koji Matsuoka <koji.matsuoka.xm@renesas.com>,
with Gen2 and V3H/V3M updates.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/vsp1/vsp1_lif.c