Skip to content

Commit 3e89586

Browse files
kbinghammchehab
authored andcommitted
media: i2c: adv748x: add adv748x driver
Provide support for the ADV7481 and ADV7482. The driver is modelled with 4 subdevices to allow simultaneous streaming from the AFE (Analog front end) and HDMI inputs though two CSI TX entities. The HDMI entity is linked to the TXA CSI bus, whilst the AFE is linked to the TXB CSI bus. The driver is based on a prototype by Koji Matsuoka in the Renesas BSP, and an earlier rework by Niklas Söderlund. Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
1 parent e695951 commit 3e89586

8 files changed

Lines changed: 2924 additions & 0 deletions

File tree

‎drivers/media/i2c/Kconfig‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,18 @@ config VIDEO_ADV7183
204204
To compile this driver as a module, choose M here: the
205205
module will be called adv7183.
206206

207+
config VIDEO_ADV748X
208+
tristate "Analog Devices ADV748x decoder"
209+
depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API
210+
depends on OF
211+
select REGMAP_I2C
212+
---help---
213+
V4L2 subdevice driver for the Analog Devices
214+
ADV7481 and ADV7482 HDMI/Analog video decoders.
215+
216+
To compile this driver as a module, choose M here: the
217+
module will be called adv748x.
218+
207219
config VIDEO_ADV7604
208220
tristate "Analog Devices ADV7604 decoder"
209221
depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API

‎drivers/media/i2c/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ obj-$(CONFIG_VIDEO_ADV7180) += adv7180.o
2828
obj-$(CONFIG_VIDEO_ADV7183) += adv7183.o
2929
obj-$(CONFIG_VIDEO_ADV7343) += adv7343.o
3030
obj-$(CONFIG_VIDEO_ADV7393) += adv7393.o
31+
obj-$(CONFIG_VIDEO_ADV748X) += adv748x/
3132
obj-$(CONFIG_VIDEO_ADV7604) += adv7604.o
3233
obj-$(CONFIG_VIDEO_ADV7842) += adv7842.o
3334
obj-$(CONFIG_VIDEO_AD9389B) += ad9389b.o

‎drivers/media/i2c/adv748x/Makefile‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
adv748x-objs := \
2+
adv748x-afe.o \
3+
adv748x-core.o \
4+
adv748x-csi2.o \
5+
adv748x-hdmi.o
6+
7+
obj-$(CONFIG_VIDEO_ADV748X) += adv748x.o

0 commit comments

Comments
 (0)