]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: i2c: imx258: Change register settings for variants of the sensor
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Wed, 1 May 2024 15:24:36 +0000 (09:24 -0600)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Tue, 4 Jun 2024 06:31:24 +0000 (08:31 +0200)
commit799c46e849b1b051fcf33547231aec6888fe5003
tree7bbc40b9274ce0aea3929b39e12e0c3984ee7c4a
parent8bae5ecb11970fc3ff4d7017b557f548e4e4f784
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>
Signed-off-by: Luis Garcia <git@luigi311.com>
Reviewed-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/i2c/imx258.c