media: i2c: imx258: Change register settings for variants of the sensor
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Tue, 21 Jun 2022 13:55:41 +0000 (14:55 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:34 +0000 (11:33 +0000)
commit6b86d6648cbe9fe046e4e77d655bdeaf1d66c376
treeda8054e49c83c30df5b8af8f1918de9c0fbfab25
parentae9d58181247e4dd9e70ac2fb80248b0d9775adc
media: i2c: imx258: Change register settings for variants of the sensor

Sony have advised that there are variants of the IMX258 sensor which
require slightly different register configuration to the mainline
imx258 driver defaults.

There is no available run-time detection for the variant, so add
configuration via the DT compatible string.

The Vision Components imx258 module supports PDAF, so add the
register differences for that variant

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/media/i2c/imx258.c