Skip to content

Commit e621384

Browse files
shawntuxmchehab
authored andcommitted
media: hi556: Add support for Hi-556 sensor
Add a V4L2 sub-device driver for Hynix Hi-556 image sensor. This is a camera sensor using the I2C bus for control and the CSI-2 bus for data. This driver supports following features: - manual exposure and analog/digital gain control support - vblank/hblank control support - test pattern support - media controller support - runtime PM support - support following resolutions: + 2592x1944 at 30FPS + 1296x972 at 30FPS [[email protected]: Remove MEDIA_CAMERA_SUPPORT from Kconfig dependencies] Signed-off-by: Shawn Tu <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent ce22c6f commit e621384

File tree

4 files changed

+1220
-0
lines changed

4 files changed

+1220
-0
lines changed

MAINTAINERS

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7554,6 +7554,13 @@ L: [email protected]
75547554
S: Maintained
75557555
F: arch/x86/kernel/cpu/hygon.c
75567556

7557+
HYNIX HI556 SENSOR DRIVER
7558+
M: Shawn Tu <[email protected]>
7559+
7560+
T: git git://linuxtv.org/media_tree.git
7561+
S: Maintained
7562+
F: drivers/media/i2c/hi556.c
7563+
75577564
Hyper-V CORE AND DRIVERS
75587565
M: "K. Y. Srinivasan" <[email protected]>
75597566
M: Haiyang Zhang <[email protected]>

drivers/media/i2c/Kconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,18 @@ config VIDEO_SMIAPP_PLL
568568

569569
if MEDIA_CAMERA_SUPPORT
570570

571+
config VIDEO_HI556
572+
tristate "Hynix Hi-556 sensor support"
573+
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
574+
depends on MEDIA_CONTROLLER
575+
select V4L2_FWNODE
576+
help
577+
This is a Video4Linux2 sensor driver for the Hynix
578+
Hi-556 camera.
579+
580+
To compile this driver as a module, choose M here: the
581+
module will be called hi556.
582+
571583
config VIDEO_IMX214
572584
tristate "Sony IMX214 sensor support"
573585
depends on GPIOLIB && I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API

drivers/media/i2c/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ obj-$(CONFIG_VIDEO_I2C) += video-i2c.o
109109
obj-$(CONFIG_VIDEO_ML86V7667) += ml86v7667.o
110110
obj-$(CONFIG_VIDEO_OV2659) += ov2659.o
111111
obj-$(CONFIG_VIDEO_TC358743) += tc358743.o
112+
obj-$(CONFIG_VIDEO_HI556) += hi556.o
112113
obj-$(CONFIG_VIDEO_IMX214) += imx214.o
113114
obj-$(CONFIG_VIDEO_IMX258) += imx258.o
114115
obj-$(CONFIG_VIDEO_IMX274) += imx274.o

0 commit comments

Comments
 (0)