media: i2c: Add driver for THine THP7312
The THP7312 is an external camera ISP from THine. Add a V4L2 subdev driver for it. Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> Co-developed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> [Sakari Ailus: squash a patch to fix missing mutex_unlock by Laurent.] Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
This commit is contained in:
parent
0d9e32a807
commit
7a52ab415b
@ -21671,6 +21671,7 @@ S: Maintained
|
||||
T: git git://linuxtv.org/media_tree.git
|
||||
F: Documentation/devicetree/bindings/media/i2c/thine,thp7312.yaml
|
||||
F: Documentation/userspace-api/media/drivers/thp7312.rst
|
||||
F: drivers/media/i2c/thp7312.c
|
||||
F: include/uapi/linux/thp7312.h
|
||||
|
||||
THUNDERBOLT DMA TRAFFIC TEST DRIVER
|
||||
|
@ -638,6 +638,22 @@ source "drivers/media/i2c/et8ek8/Kconfig"
|
||||
|
||||
endif
|
||||
|
||||
menu "Camera ISPs"
|
||||
visible if MEDIA_CAMERA_SUPPORT
|
||||
|
||||
config VIDEO_THP7312
|
||||
tristate "THine THP7312 support"
|
||||
depends on I2C
|
||||
select MEDIA_CONTROLLER
|
||||
select V4L2_CCI_I2C
|
||||
select V4L2_FWNODE
|
||||
select VIDEO_V4L2_SUBDEV_API
|
||||
help
|
||||
This is a Video4Linux2 sensor-level driver for the THine
|
||||
THP7312 ISP.
|
||||
|
||||
endmenu
|
||||
|
||||
menu "Lens drivers"
|
||||
visible if MEDIA_CAMERA_SUPPORT
|
||||
|
||||
|
@ -129,6 +129,7 @@ obj-$(CONFIG_VIDEO_TDA7432) += tda7432.o
|
||||
obj-$(CONFIG_VIDEO_TDA9840) += tda9840.o
|
||||
obj-$(CONFIG_VIDEO_TEA6415C) += tea6415c.o
|
||||
obj-$(CONFIG_VIDEO_TEA6420) += tea6420.o
|
||||
obj-$(CONFIG_VIDEO_THP7312) += thp7312.o
|
||||
obj-$(CONFIG_VIDEO_THS7303) += ths7303.o
|
||||
obj-$(CONFIG_VIDEO_THS8200) += ths8200.o
|
||||
obj-$(CONFIG_VIDEO_TLV320AIC23B) += tlv320aic23b.o
|
||||
|
2240
drivers/media/i2c/thp7312.c
Normal file
2240
drivers/media/i2c/thp7312.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user