]> git.baikalelectronics.ru Git - kernel.git/commit
media: i2c: Add ov7251_pll_configure()
authorDaniel Scally <djrscally@gmail.com>
Thu, 5 May 2022 23:03:53 +0000 (01:03 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Tue, 17 May 2022 07:49:54 +0000 (09:49 +0200)
commit92647a75ccc4c1a9ebdfe464055e634345f0b7db
tree101969675b78ad215ff9a519934c54c37ae25d0f
parentcf718e07a3ae6770a716fa4ab633001ec92f87f4
media: i2c: Add ov7251_pll_configure()

Rather than having the pll settings hidden inside mode blobs, define
them in structs and use a dedicated function to set them. This makes
it simpler to extend the driver to support other frequencies for both
the external clock and desired link frequency.

Signed-off-by: Daniel Scally <djrscally@gmail.com>
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/i2c/ov7251.c