aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorDave Stevenson <dave.stevenson@raspberrypi.com>2025-01-29 15:03:50 +0000
committerHans Verkuil <hverkuil@xs4all.nl>2025-02-15 15:22:58 +0100
commit4e42bc8bf9899ad7f40474594e324d08b7612119 (patch)
treeb9f613fdf11f05a42d66e71d4956ee50ce3deba6 /tools/perf/scripts/python/bin
parentmedia: i2c: imx415: Add read/write control of VBLANK (diff)
downloadlinux-4e42bc8bf9899ad7f40474594e324d08b7612119.tar.gz
linux-4e42bc8bf9899ad7f40474594e324d08b7612119.zip
media: i2c: imx415: Make HBLANK controllable and in consistent units
The control of HMAX documented in the datasheet is consistent with being in terms of a scaled INCK, being always 72MHz or 74.25MHz. It is NOT link frequency dependent, but the minimum value for HMAX is dictated by the link frequency. If PIXEL_RATE is defined as being 12 times the 72 or 74.25MHz, and all values are scaled down again when writing HMAX, then the numbers all work out regardless of INCK or link frequency. Retain an hmax_min (set to the same value as the previous fixed hmax register value) to set as the default value to avoid changing the behaviour for existing users. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com> Reviewed-by: Michael Riesch <michael.riesch@wolfvision.net> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions