summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAishwarya Kothari <aishwarya.kothari@toradex.com>2023-03-16 17:51:43 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2023-03-22 09:56:51 +0000
commit6c82237275618542457b3ebc13fe2b276196628d (patch)
treef729fe2e31b8e4a3f28a90000ef6ac5e7c7c5680
parent4d6e71f6b40415841d402afdbd54c9c89adf10f5 (diff)
linux-toradex-mainline: defconfig: set camera drivers built-in.
With camera drivers as modules the ov5640 camera doesnot work on Apalis iMX6. /dev/media0 was not created. Related-to: ELB-4616 Signed-off-by: Aishwarya Kothari <aishwarya.kothari@toradex.com>
-rw-r--r--recipes-kernel/linux/linux-toradex-mainline-git/defconfig11
-rw-r--r--recipes-kernel/linux/linux-toradex-mainline-git/toradex_imx_v6_v7.config7
2 files changed, 12 insertions, 6 deletions
diff --git a/recipes-kernel/linux/linux-toradex-mainline-git/defconfig b/recipes-kernel/linux/linux-toradex-mainline-git/defconfig
index 4e2af88..d02d313 100644
--- a/recipes-kernel/linux/linux-toradex-mainline-git/defconfig
+++ b/recipes-kernel/linux/linux-toradex-mainline-git/defconfig
@@ -208,15 +208,15 @@ CONFIG_REGULATOR_ANATOP=y
CONFIG_REGULATOR_GPIO=y
CONFIG_REGULATOR_PFUZE100=y
CONFIG_REGULATOR_RN5T618=y
-CONFIG_MEDIA_SUPPORT=m
+CONFIG_MEDIA_SUPPORT=y
# CONFIG_DVB_NET is not set
CONFIG_MEDIA_USB_SUPPORT=y
CONFIG_USB_VIDEO_CLASS=m
CONFIG_V4L_PLATFORM_DRIVERS=y
CONFIG_V4L_MEM2MEM_DRIVERS=y
-CONFIG_VIDEO_MUX=m
+CONFIG_VIDEO_MUX=y
CONFIG_VIDEO_CODA=m
-CONFIG_VIDEO_IMX_PXP=m
+CONFIG_VIDEO_IMX_PXP=y
CONFIG_VIDEO_OV5640=m
CONFIG_VIDEO_ADV7180=m
# CONFIG_CXD2880_SPI_DRV is not set
@@ -323,13 +323,14 @@ CONFIG_RTC_DRV_DS1307=y
CONFIG_RTC_DRV_MXC=y
CONFIG_RTC_DRV_SNVS=y
CONFIG_DMADEVICES=y
+CONFIG_FSL_EDMA=y
CONFIG_IMX_SDMA=m
CONFIG_MXS_DMA=y
CONFIG_DMATEST=m
CONFIG_STAGING=y
CONFIG_R8188EU=m
CONFIG_STAGING_MEDIA=y
-CONFIG_VIDEO_IMX_MEDIA=m
+CONFIG_VIDEO_IMX_MEDIA=y
CONFIG_COMMON_CLK_PWM=y
CONFIG_EXTCON_USB_GPIO=y
CONFIG_IIO=y
@@ -343,7 +344,7 @@ CONFIG_NVMEM_IMX_OCOTP=y
CONFIG_NVMEM_SNVS_LPGPR=y
CONFIG_TEE=y
CONFIG_OPTEE=y
-CONFIG_MUX_MMIO=m
+CONFIG_MUX_MMIO=y
CONFIG_EXT2_FS=m
CONFIG_EXT2_FS_XATTR=y
CONFIG_EXT2_FS_POSIX_ACL=y
diff --git a/recipes-kernel/linux/linux-toradex-mainline-git/toradex_imx_v6_v7.config b/recipes-kernel/linux/linux-toradex-mainline-git/toradex_imx_v6_v7.config
index 8cdb1b7..e52d065 100644
--- a/recipes-kernel/linux/linux-toradex-mainline-git/toradex_imx_v6_v7.config
+++ b/recipes-kernel/linux/linux-toradex-mainline-git/toradex_imx_v6_v7.config
@@ -201,7 +201,8 @@ CONFIG_VIDEO_OV5645=n
CONFIG_CXD2880_SPI_DRV=n
# This compiles all media-related drivers as modules and disables TV stuff
-CONFIG_MEDIA_SUPPORT=m
+CONFIG_MEDIA_SUPPORT=y
+CONFIG_VIDEO_IMX_MEDIA=y
CONFIG_MEDIA_DIGITAL_TV_SUPPORT=n
CONFIG_MEDIA_ANALOG_TV_SUPPORT=n
CONFIG_MEDIA_RADIO_SUPPORT=n
@@ -269,3 +270,7 @@ CONFIG_DEBUG_MUTEXES=n
CONFIG_DEBUG_WW_MUTEX_SLOWPATH=n
CONFIG_DEBUG_RWSEMS=n
CONFIG_DEBUG_LOCK_ALLOC=n
+
+CONFIG_DMADEVICES=y
+CONFIG_FSL_EDMA=y
+CONFIG_DMA_VIRTUAL_CHANNELS=y