Add sensor driver support for the ov13b10 camera.
Arec Kao
maintainerPATCH v2 1/1 Add sensor driver support for the ov13b10 camera.
This driver supports following features:
- phase detection auto focus (PDAF)
- manual exposure and analog/digital gain control
- vblank/hblank control
- test pattern
- image vertical flip and horizontal mirror control
- 4208x3120 at 30FPS
- 2080x1170 at 60FPS
--- drivers/media/i2c/Kconfig | 10 + drivers/media/i2c/Makefile | 1 + drivers/media/i2c/ov13b10.c | 1415 +++++++++++++++++++++++++++++++++++ 3 files changed, 1426 insertions(+) create mode 100644 drivers/media/i2c/ov13b10.c
drivers/media/i2c/Kconfig +10 -0
@@ -1186,6 +1186,16 @@ config VIDEO_OV13858 This is a Video4Linux2 sensor driver for the OmniVision OV13858 camera. +config VIDEO_OV13B10 + tristate "OmniVision OV13B10 sensor support" + depends on I2C && VIDEO_V4L2 + select MEDIA_CONTROLLER + select VIDEO_V4L2_SUBDEV_API + select V4L2_FWNODE + help + This is a Video4Linux2 sensor driver for the OmniVision + OV13B10 camera. + config VIDEO_VS6624 tristate "ST VS6624 sensor support" depends on VIDEO_V4L2 && I2C
drivers/media/i2c/Makefile +1 -0
@@ -89,6 +89,7 @@ obj-$(CONFIG_VIDEO_OV9640) += ov9640.o obj-$(CONFIG_VIDEO_OV9650) += ov9650.o obj-$(CONFIG_VIDEO_OV9734) += ov9734.o obj-$(CONFIG_VIDEO_OV13858) += ov13858.o +obj-$(CONFIG_VIDEO_OV13B10) += ov13b10.o obj-$(CONFIG_VIDEO_MT9M001) += mt9m001.o obj-$(CONFIG_VIDEO_MT9M032) += mt9m032.o obj-$(CONFIG_VIDEO_MT9M111) += mt9m111.o
drivers/media/i2c/ov13b10.c new file +1415 -0
1,415 lines not on this page · raw message
Signature · 1 line
2.17.1
Sakari Ailus
maintainerHi Arec,
Quoted 9 lines · Arec Kao
This driver supports following features:
- phase detection auto focus (PDAF)
- manual exposure and analog/digital gain control
- vblank/hblank control
- test pattern
- image vertical flip and horizontal mirror control
- 4208x3120 at 30FPS
- 2080x1170 at 60FPS
Forgot a few things on v2... I noticed the driver doesn't check the link frequency used by the driver at the moment is valid for the given board. Could you add that?
See e.g. drivers/media/i2c/imx319.c for an example.
Also an entry in MAINTAINERS is needed, see e.g. one for IMX319 again.
Signature · 3 lines
Kind regards, Sakari Ailus
Kao, Arec
maintainerHi Sakari,
Thank you for, I was not aware of that! Will add this to this driver.
Thanks,
BRs,
Arec Kao
-----Original Message-----
From: Sakari Ailus <[email protected]>
Sent: Friday, August 13, 2021 10:31 PM
To: Kao, Arec <[email protected]>
Cc: [email protected]; Yeh, Andy <[email protected]>; Chang, Wei Shun <[email protected]>
Subject: Re: [PATCH v2] Add sensor driver support for the ov13b10 camera.
Hi Arec,
Quoted 9 lines · Arec Kao
This driver supports following features:
- phase detection auto focus (PDAF)
- manual exposure and analog/digital gain control
- vblank/hblank control
- test pattern
- image vertical flip and horizontal mirror control
- 4208x3120 at 30FPS
- 2080x1170 at 60FPS
Forgot a few things on v2... I noticed the driver doesn't check the link frequency used by the driver at the moment is valid for the given board. Could you add that?
See e.g. drivers/media/i2c/imx319.c for an example.
Also an entry in MAINTAINERS is needed, see e.g. one for IMX319 again.
--
Kind regards,
Sakari Ailus