media: i2c: Add support for 19.2MHz clock to ov7251
authorDaniel Scally <djrscally@gmail.com>
Tue, 15 Feb 2022 23:07:33 +0000 (23:07 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 21 Mar 2022 16:04:43 +0000 (16:04 +0000)
commitfae56be69876e9b13c5b6c14334bab842cc512f1
tree68eee93707ec45d724a1488f971d23a5deb004c6
parent08cd8186d74f68e95ba6d1baf221422ad666c1cf
media: i2c: Add support for 19.2MHz clock to ov7251

The OV7251 sensor is used as the IR camera sensor on the Microsoft
Surface line of tablets; this provides a 19.2MHz external clock. Add
the ability to support that rate to the driver by defining a new set
of PLL configs. Extend the clock handling in .probe() to check for
either supported frequency.

Signed-off-by: Daniel Scally <djrscally@gmail.com>
drivers/media/i2c/ov7251.c