media: aspeed: Add macro for the fields of the mode-detect registers
authorJammy Huang <jammy_huang@aspeedtech.com>
Wed, 26 Jan 2022 01:47:24 +0000 (09:47 +0800)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Tue, 22 Feb 2022 08:41:11 +0000 (09:41 +0100)
commitd6f9a60f648e10adbf12a8d24c44f8e69c905c4f
tree6c01691fcf5e3f9136511ac7de14a632349271af
parenta12403affeac3d478ac5464a6c04ca8c3a2bf9fe
media: aspeed: Add macro for the fields of the mode-detect registers

VE_MODE_DT_HOR_TOLER: the tolerance in detecting for stable horizontal
signal.
VE_MODE_DT_VER_TOLER: the tolerance in detecting for stable vertical
signal.
VE_MODE_DT_HOR_STABLE: the minimum required count in detecting stable
HSYNC signal to set mode detection horizontal signal stable.
VE_MODE_DT_VER_STABLE: the minimum required count in detecting stable
VSYNC signal to set mode detection vertical signal stable.

Signed-off-by: Jammy Huang <jammy_huang@aspeedtech.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/platform/aspeed-video.c