Skip to content

Commit f9b1e0f

Browse files
roliver-rpipelwell
authored andcommitted
media: i2c: Add driver for Sony IMX500 sensor
The Sony IMX500 is a stacked 1/2.3-inch CMOS digital image sensor and inbuilt AI processor with an active array CNN (Convolutional Neural Network) inference engine. The native sensor size is 4056H x 3040V, and the module also contains an in-built ISP for the CNN. The module is programmable through an I2C interface with firmware and neural network uploads being made over SPI. This driver supports imaging only. Signed-off-by: Richard Oliver <richard.oliver@raspberrypi.com>
1 parent 30921dd commit f9b1e0f

File tree

4 files changed

+1624
-0
lines changed

4 files changed

+1624
-0
lines changed

MAINTAINERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20131,6 +20131,7 @@ L: linux-media@vger.kernel.org
2013120131
S: Maintained
2013220132
T: git git://linuxtv.org/media_tree.git
2013320133
F: Documentation/devicetree/bindings/media/i2c/sony,imx500.yaml
20134+
F: drivers/media/i2c/imx500.c
2013420135

2013520136
SONY IMX519 SENSOR DRIVER
2013620137
M: Arducam Kernel Maintenance <info@arducam.com>

drivers/media/i2c/Kconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,18 @@ config VIDEO_IMX477
236236
To compile this driver as a module, choose M here: the
237237
module will be called imx477.
238238

239+
config VIDEO_IMX500
240+
tristate "Sony IMX500 sensor support"
241+
depends on I2C && VIDEO_DEV
242+
select VIDEO_V4L2_SUBDEV_API
243+
select V4L2_CCI_I2C
244+
help
245+
This is a Video4Linux2 sensor driver for the Sony
246+
IMX500 camera.
247+
248+
To compile this driver as a module, choose M here: the
249+
module will be called IMX500.
250+
239251
config VIDEO_IMX519
240252
tristate "Arducam IMX519 sensor support"
241253
depends on I2C && VIDEO_DEV

drivers/media/i2c/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ obj-$(CONFIG_VIDEO_IMX355) += imx355.o
5858
obj-$(CONFIG_VIDEO_IMX412) += imx412.o
5959
obj-$(CONFIG_VIDEO_IMX415) += imx415.o
6060
obj-$(CONFIG_VIDEO_IMX477) += imx477.o
61+
obj-$(CONFIG_VIDEO_IMX500) += imx500.o
6162
obj-$(CONFIG_VIDEO_IMX519) += imx519.o
6263
obj-$(CONFIG_VIDEO_IMX708) += imx708.o
6364
obj-$(CONFIG_VIDEO_IR_I2C) += ir-kbd-i2c.o

0 commit comments

Comments
 (0)