summaryrefslogtreecommitdiff
path: root/recipes-kernel
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-04-04 18:00:43 +0200
commitb73269c2e622219e826ffc3b5f086eb3b50096ee (patch)
tree99999cbe251978b7f267da6c0262a1eb0644a38b /recipes-kernel
parent9d50761711820fc85c1ae81826e338e01045e691 (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> (cherry picked from commit 6c82237275618542457b3ebc13fe2b276196628d)
Diffstat (limited to 'recipes-kernel')
-rw-r--r--recipes-kernel/linux/linux-toradex-mainline-git/defconfig12
-rw-r--r--recipes-kernel/linux/linux-toradex-mainline-git/toradex_imx_v6_v7.config7
2 files changed, 12 insertions, 7 deletions
diff --git a/recipes-kernel/linux/linux-toradex-mainline-git/defconfig b/recipes-kernel/linux/linux-toradex-mainline-git/defconfig
index 5131072..954ab39 100644
--- a/recipes-kernel/linux/linux-toradex-mainline-git/defconfig
+++ b/recipes-kernel/linux/linux-toradex-mainline-git/defconfig
@@ -210,15 +210,15 @@ CONFIG_REGULATOR_GPIO=y
CONFIG_REGULATOR_PFUZE100=y
CONFIG_REGULATOR_RN5T618=y
CONFIG_REGULATOR_SY7636A=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
@@ -324,13 +324,13 @@ 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
@@ -344,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 2de57a4..8bb9c1f 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
@@ -204,7 +204,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
@@ -272,3 +273,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