media: i2c: add ov01a10 image sensor driver
PATCH v3 1/1 media: i2c: add ov01a10 image sensor driver
From: Bingbu Cao <[email protected]>
Add v4l2 device driver for OmniVision ov01a10 image sensor, ov01a10 image sensor can deliver 1280x800 resolution BGGR10 images at 60 fps.
Signed-off-by Yating Wang <[email protected]>
Signed-off-by Bingbu Cao <[email protected]>
---
Changes v2->v3:
- Add support for v4l2 get selection API
- Wrap acpi_device_id table with CONFIG_ACPI
Changes from v1:
- Create ORIENTATION and ROTATION controls if fwnode properties exists
- Move sensor PLL related settings into mipi_data_rate_720mbps[]
- Use v4l2 subdev active state API and remove private mutex
- Add support for vertical and horizontal flip v4l2 control
- Update the copyright header comment format
- Remove some unused macros
- Add entry in MAINTAINERS
--- MAINTAINERS | 7 + drivers/media/i2c/Kconfig | 13 + drivers/media/i2c/Makefile | 1 + drivers/media/i2c/ov01a10.c | 1004 +++++++++++++++++++++++++++++++++++ 4 files changed, 1025 insertions(+) create mode 100644 drivers/media/i2c/ov01a10.c
MAINTAINERS +7 -0
@@ -15337,6 +15337,13 @@ L: [email protected] S: Maintained F: drivers/media/i2c/og01a1b.c +OMNIVISION OV01A10 SENSOR DRIVER +M: Bingbu Cao <[email protected]> +L: [email protected] +S: Maintained +T: git git://linuxtv.org/media_tree.git +F: drivers/media/i2c/ov01a10.c + OMNIVISION OV02A10 SENSOR DRIVER M: Dongchun Zhu <[email protected]> L: [email protected]
drivers/media/i2c/Kconfig +13 -0
@@ -365,6 +365,19 @@ config VIDEO_OG01A1B To compile this driver as a module, choose M here: the module will be called og01a1b. +config VIDEO_OV01A10 + tristate "OmniVision OV01A10 sensor support" + depends on VIDEO_DEV && I2C + select MEDIA_CONTROLLER + select VIDEO_V4L2_SUBDEV_API + select V4L2_FWNODE + help + This is a Video4Linux2 sensor driver for the OmniVision + OV01A10 camera. + + To compile this driver as a module, choose M here: the + module will be called ov01a10. + config VIDEO_OV02A10 tristate "OmniVision OV02A10 sensor support" depends on VIDEO_DEV && I2C
drivers/media/i2c/Makefile +1 -0
@@ -72,6 +72,7 @@ obj-$(CONFIG_VIDEO_MT9V032) += mt9v032.o obj-$(CONFIG_VIDEO_MT9V111) += mt9v111.o obj-$(CONFIG_VIDEO_NOON010PC30) += noon010pc30.o obj-$(CONFIG_VIDEO_OG01A1B) += og01a1b.o +obj-$(CONFIG_VIDEO_OV01A10) += ov01a10.o obj-$(CONFIG_VIDEO_OV02A10) += ov02a10.o obj-$(CONFIG_VIDEO_OV08D10) += ov08d10.o obj-$(CONFIG_VIDEO_OV08X40) += ov08x40.o
drivers/media/i2c/ov01a10.c new file +1004 -0
1,004 lines not on this page · raw message
Signature · 1 line
2.39.1