Skip to content

Commit e130291

Browse files
slongerbeammchehab
authored andcommitted
[media] media: Add i.MX media core driver
Add the core media driver for i.MX SOC. Switch from the v4l2_of_ APIs to the v4l2_fwnode_ APIs. Add the bayer formats to imx-media's list of supported pixel and bus formats. Signed-off-by: Steve Longerbeam <[email protected]> Signed-off-by: Philipp Zabel <[email protected]> Signed-off-by: Russell King <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent a2bce37 commit e130291

File tree

13 files changed

+3585
-0
lines changed

13 files changed

+3585
-0
lines changed

Documentation/media/v4l-drivers/imx.rst

Lines changed: 614 additions & 0 deletions
Large diffs are not rendered by default.

drivers/staging/media/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ source "drivers/staging/media/cxd2099/Kconfig"
2727

2828
source "drivers/staging/media/davinci_vpfe/Kconfig"
2929

30+
source "drivers/staging/media/imx/Kconfig"
31+
3032
source "drivers/staging/media/omap4iss/Kconfig"
3133

3234
# Keep LIRC at the end, as it has sub-menus

drivers/staging/media/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
obj-$(CONFIG_I2C_BCM2048) += bcm2048/
22
obj-$(CONFIG_DVB_CXD2099) += cxd2099/
3+
obj-$(CONFIG_VIDEO_IMX_MEDIA) += imx/
34
obj-$(CONFIG_LIRC_STAGING) += lirc/
45
obj-$(CONFIG_VIDEO_DM365_VPFE) += davinci_vpfe/
56
obj-$(CONFIG_VIDEO_OMAP4) += omap4iss/

drivers/staging/media/imx/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
config VIDEO_IMX_MEDIA
2+
tristate "i.MX5/6 V4L2 media core driver"
3+
depends on MEDIA_CONTROLLER && VIDEO_V4L2 && ARCH_MXC && IMX_IPUV3_CORE
4+
select V4L2_FWNODE
5+
---help---
6+
Say yes here to enable support for video4linux media controller
7+
driver for the i.MX5/6 SOC.

drivers/staging/media/imx/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
imx-media-objs := imx-media-dev.o imx-media-internal-sd.o imx-media-of.o
2+
imx-media-common-objs := imx-media-utils.o imx-media-fim.o
3+
4+
obj-$(CONFIG_VIDEO_IMX_MEDIA) += imx-media.o
5+
obj-$(CONFIG_VIDEO_IMX_MEDIA) += imx-media-common.o

0 commit comments

Comments
 (0)