Skip to content

Commit

Permalink
media: i2c: Add driver for Sony IMX477 sensor
Browse files Browse the repository at this point in the history
Adds a driver for the 12MPix Sony IMX477 CSI2 sensor.
Whilst the sensor supports 2 or 4 CSI2 data lanes, this driver
currently only supports 2 lanes.

The following Bayer modes are currently available:

4056x3040 12-bit @ 10fps
2028x1520 12-bit (binned) @ 40fps
2028x1050 12-bit (cropped/binned) @ 50fps
1012x760 10-bit (scaled) @ 120 fps

Signed-off-by: Naushir Patuck <[email protected]>
  • Loading branch information
naushir authored and popcornmix committed Jan 27, 2021
1 parent 1a56156 commit f5547db
Show file tree
Hide file tree
Showing 4 changed files with 2,211 additions and 0 deletions.
8 changes: 8 additions & 0 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -16346,6 +16346,14 @@ S: Maintained
T: git git://linuxtv.org/media_tree.git
F: drivers/media/i2c/imx355.c

SONY IMX477 SENSOR DRIVER
M: Raspberry Pi Kernel Maintenance <[email protected]>
L: [email protected]
S: Maintained
T: git git://linuxtv.org/media_tree.git
F: Documentation/devicetree/bindings/media/i2c/imx477.yaml
F: drivers/media/i2c/imx477.c

SONY MEMORYSTICK SUBSYSTEM
M: Maxim Levitsky <[email protected]>
M: Alex Dubov <[email protected]>
Expand Down
11 changes: 11 additions & 0 deletions drivers/media/i2c/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -801,6 +801,17 @@ config VIDEO_IMX290
To compile this driver as a module, choose M here: the
module will be called imx290.

config VIDEO_IMX477
tristate "Sony IMX477 sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
depends on MEDIA_CAMERA_SUPPORT
help
This is a Video4Linux2 sensor driver for the Sony
IMX477 camera.

To compile this driver as a module, choose M here: the
module will be called imx477.

config VIDEO_IMX319
tristate "Sony IMX319 sensor support"
depends on I2C && VIDEO_V4L2
Expand Down
1 change: 1 addition & 0 deletions drivers/media/i2c/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ obj-$(CONFIG_VIDEO_IMX219) += imx219.o
obj-$(CONFIG_VIDEO_IMX258) += imx258.o
obj-$(CONFIG_VIDEO_IMX274) += imx274.o
obj-$(CONFIG_VIDEO_IMX290) += imx290.o
obj-$(CONFIG_VIDEO_IMX477) += imx477.o
obj-$(CONFIG_VIDEO_IMX319) += imx319.o
obj-$(CONFIG_VIDEO_IMX355) += imx355.o
obj-$(CONFIG_VIDEO_MAX9286) += max9286.o
Expand Down
Loading

0 comments on commit f5547db

Please sign in to comment.