media: ccs-pll: Check for derating and overrating, support non-derating sensors
authorSakari Ailus <sakari.ailus@linux.intel.com>
Fri, 28 Aug 2020 06:24:18 +0000 (08:24 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 7 Dec 2020 14:59:59 +0000 (15:59 +0100)
commit38c94eb8d7aa60e32ed6da9e4ecd4b5a1597760e
tree7db4114ad24da8e43981c0bf2029db3c88f72be7
parent3e2db036c9b706e68016db7610c333ed926425be
media: ccs-pll: Check for derating and overrating, support non-derating sensors

Some sensors support derating (VT domain speed faster than OP) or
overrating (VT domain speed slower than OP). While this was supported for
the driver, the hardware support for the feature was never verified. Do
that now, and for those devices without that support, VT and OP speeds
have to match.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/ccs-pll.c
drivers/media/i2c/ccs-pll.h
drivers/media/i2c/ccs/ccs-core.c