summaryrefslogtreecommitdiff
path: root/drivers/media/i2c/Kconfig
diff options
context:
space:
mode:
authorConor Dooley <conor.dooley@microchip.com>2024-06-07 16:50:23 +0100
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2024-06-15 11:16:40 +0200
commit3cdc776e0a5f1784c3ae5d3371b64215c228bf1f (patch)
treebce61c1640c616fc50d585b43a187bd34e1f0fc4 /drivers/media/i2c/Kconfig
parente0b66a6e471f628d4029e317a4a5701960b83dcd (diff)
media: i2c: imx219: fix msr access command sequence
It was reported to me that the imx219 didn't work on one of our development kits partly because the access sequence is incorrect. The datasheet I could find [1] for this camera has the access sequence: Seq. No. Address (Hex) data 1 30EB 05 2 30EB 0C 3 300A FF 4 300B FF 5 30EB 05 6 30EB 09 but the driver swaps the first two elements. Laurent pointed out on IRC that the original code used the correct sequence for 1920x1080 but the current sequence for 3280x2464 and 1640x1232. During refactoring of the init sequence the current order was used for all formats. Switch to using the documented sequence. Link: https://www.opensourceinstruments.com/Electronics/Data/IMX219PQ.pdf [1] Fixes: 8508455961d5 ("media: i2c: imx219: Split common registers from mode tables") Fixes: 1283b3b8f82b ("media: i2c: Add driver for Sony IMX219 sensor") Signed-off-by: Conor Dooley <conor.dooley@microchip.com> Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com> Tested-by: Dave Stevenson <dave.stevenson@raspberrypi.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Tested-by: Adam Ford <aford173@gmail.com> #imx8mp-beacon-kit Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'drivers/media/i2c/Kconfig')
0 files changed, 0 insertions, 0 deletions