summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2016-10-23 22:00:57 +1000
committerNathan Rossi <nathan@nathanrossi.com>2016-11-19 21:36:36 +1000
commit061a16fd21bc0f419eda03aee6ee0ce11b48f27a (patch)
tree1b269269a127a2d5a6b1467818fb0ae5fbc8e0a9
parentc6c05c6ab9f313483b8dc4045efe94f0a01c6cc3 (diff)
downloadmeta-xilinx-061a16fd21bc0f419eda03aee6ee0ce11b48f27a.tar.gz
linux/config: Update and improve config fragments
Update and add new config fragments to enable newer features that are now in the newer kernels (e.g. Zynq and ZynqMP drivers/features). This update also attempts to cover ZynqMP configuration that is normally provided by the ZynqMP defconfig in linux-xlnx, this allows for better consistency between the Zynq/ZynqMP/MicroBlaze configuration for linux-xlnx as well as enabling better configuration setup for the linux-yocto* kernels. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
-rw-r--r--recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/xilinx.cfg18
-rw-r--r--recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/zynq7.cfg5
-rw-r--r--recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/zynqmp.cfg27
-rw-r--r--recipes-kernel/linux/config/xilinx-base/features/hugetlb/hugepages.cfg3
-rw-r--r--recipes-kernel/linux/config/xilinx-base/features/hugetlb/hugepages.scc4
-rw-r--r--recipes-kernel/linux/config/xilinx-base/features/hugetlb/hugetlb.cfg2
-rw-r--r--recipes-kernel/linux/config/xilinx-base/features/hugetlb/hugetlb.scc4
-rw-r--r--recipes-kernel/linux/config/xilinx-base/features/leds/leds.cfg19
-rw-r--r--recipes-kernel/linux/config/xilinx-base/features/leds/leds.scc4
-rw-r--r--recipes-kernel/linux/config/xilinx-base/features/scsi/scsi.cfg2
-rw-r--r--recipes-kernel/linux/config/xilinx-base/ktypes/standard/standard.cfg6
-rw-r--r--recipes-kernel/linux/config/xilinx-base/ktypes/standard/standard.scc3
-rw-r--r--recipes-kernel/linux/config/xilinx-common/bsp/digilent/drm-digilent.cfg3
-rw-r--r--recipes-kernel/linux/config/xilinx-common/bsp/xilinx/board-common.cfg33
-rw-r--r--recipes-kernel/linux/config/xilinx-common/bsp/xilinx/board-common.scc2
-rw-r--r--recipes-kernel/linux/config/xilinx-common/bsp/xilinx/common.cfg6
-rw-r--r--recipes-kernel/linux/config/xilinx-common/bsp/xilinx/common.scc1
-rw-r--r--recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/drivers/xilinx.cfg1
-rw-r--r--recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/drivers/zynq7.cfg7
-rw-r--r--recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/drivers/zynqmp.cfg14
-rw-r--r--recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynqmp.cfg4
-rw-r--r--recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynqmp.scc2
-rw-r--r--recipes-kernel/linux/config/xilinx-common/features/debug/debug.cfg3
-rw-r--r--recipes-kernel/linux/config/xilinx-common/features/drm/drm-xilinx.cfg5
-rw-r--r--recipes-kernel/linux/config/xilinx-common/features/hugetlb/hugepages.cfg3
-rw-r--r--recipes-kernel/linux/config/xilinx-common/features/hugetlb/hugepages.scc4
-rw-r--r--recipes-kernel/linux/config/xilinx-common/features/scsi/scsi-generic.cfg5
-rw-r--r--recipes-kernel/linux/config/xilinx-common/features/scsi/scsi-generic.scc5
-rw-r--r--recipes-kernel/linux/config/xilinx-common/features/uio/uio.cfg2
-rw-r--r--recipes-kernel/linux/config/xilinx-common/features/v4l2/v4l2-xilinx.cfg8
-rw-r--r--recipes-kernel/linux/config/xilinx-machine/bsp/zybo-linux-bd-zynq7/zybo-snd.cfg3
-rw-r--r--recipes-kernel/linux/linux-xlnx.inc6
32 files changed, 177 insertions, 37 deletions
diff --git a/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/xilinx.cfg b/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/xilinx.cfg
index 6640de7a..1c8b2f50 100644
--- a/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/xilinx.cfg
+++ b/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/xilinx.cfg
@@ -1,12 +1,20 @@
1 1
2# DMA 2# Xilinx DMA engines
3CONFIG_XILINX_DMA_ENGINES=y 3CONFIG_XILINX_DMA_ENGINES=y
4CONFIG_XILINX_AXIDMA=y
5CONFIG_XILINX_AXICDMA=y
6# DMA (linux-xlnx 3.14 only)
7CONFIG_XILINX_AXIVDMA=y
8 4
9# Xilinx Traffic Generator 5# Xilinx Traffic Generator
10CONFIG_XILINX_TRAFGEN=y 6CONFIG_XILINX_TRAFGEN=y
11 7
8# Xilinx Perfmon UIO driver
9CONFIG_UIO_XILINX_APM=y
10
11# Interrupt controller
12CONFIG_XILINX_INTC=y
13
14# Xilinx PHY
12CONFIG_XILINX_PHY=y 15CONFIG_XILINX_PHY=y
16
17# JESD204B PHY
18CONFIG_XILINX_JESD204B=y
19CONFIG_XILINX_JESD204B_PHY=y
20
diff --git a/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/zynq7.cfg b/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/zynq7.cfg
index de22f5ba..ac8cdb29 100644
--- a/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/zynq7.cfg
+++ b/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/zynq7.cfg
@@ -12,8 +12,3 @@ CONFIG_SPI_ZYNQ_QSPI=y
12CONFIG_MTD_NAND_PL353=y 12CONFIG_MTD_NAND_PL353=y
13CONFIG_MTD_NAND_PL35X=y 13CONFIG_MTD_NAND_PL35X=y
14 14
15# EDAC
16CONFIG_EDAC=y
17CONFIG_EDAC_MM_EDAC=y
18CONFIG_EDAC_ZYNQ=y
19
diff --git a/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/zynqmp.cfg b/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/zynqmp.cfg
index 37d02cb9..e7c6e7ec 100644
--- a/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/zynqmp.cfg
+++ b/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/zynqmp.cfg
@@ -1,16 +1,39 @@
1 1
2CONFIG_SOC_XILINX_ZYNQMP=y
3
2# DMA 4# DMA
3CONFIG_DMADEVICES=y 5CONFIG_DMADEVICES=y
4CONFIG_XILINX_DMA_ENGINES=y 6CONFIG_XILINX_DMA_ENGINES=y
5CONFIG_XILINX_DPDMA=y 7CONFIG_XILINX_DPDMA=y
6CONFIG_XILINX_ZYNQMP_DMA=y
7 8
8# NAND 9# NAND
10CONFIG_MTD=y
11CONFIG_MTD_NAND=y
9CONFIG_MTD_NAND_ARASAN=y 12CONFIG_MTD_NAND_ARASAN=y
10 13
11# PCIe 14# PCIe
12CONFIG_PCI=y 15CONFIG_PCI=y
13CONFIG_PCI_MSI=y 16CONFIG_PCI_MSI=y
14CONFIG_PCI_XILINX_NWL=y 17CONFIG_PCIE_XILINX_NWL=y
15 18
16# CONFIG_ARM_MALI is not set 19# CONFIG_ARM_MALI is not set
20
21CONFIG_PHY_XILINX_ZYNQMP=y
22
23# EDAC
24CONFIG_EDAC=y
25CONFIG_EDAC_MM_EDAC=y
26CONFIG_EDAC_CORTEX_ARM64=y
27CONFIG_EDAC_SYNOPSYS=y
28CONFIG_EDAC_ZYNQMP_OCM=y
29
30# Sound
31CONFIG_SOUND=y
32CONFIG_SND=y
33CONFIG_SND_DRIVERS=y
34CONFIG_SND_SOC=y
35CONFIG_SND_SOC_XILINX_DP=y
36
37# Ethernet
38CONFIG_MACB_EXT_BD=y
39
diff --git a/recipes-kernel/linux/config/xilinx-base/features/hugetlb/hugepages.cfg b/recipes-kernel/linux/config/xilinx-base/features/hugetlb/hugepages.cfg
new file mode 100644
index 00000000..190c3bca
--- /dev/null
+++ b/recipes-kernel/linux/config/xilinx-base/features/hugetlb/hugepages.cfg
@@ -0,0 +1,3 @@
1CONFIG_TRANSPARENT_HUGEPAGE=y
2CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y
3
diff --git a/recipes-kernel/linux/config/xilinx-base/features/hugetlb/hugepages.scc b/recipes-kernel/linux/config/xilinx-base/features/hugetlb/hugepages.scc
new file mode 100644
index 00000000..395a1ca5
--- /dev/null
+++ b/recipes-kernel/linux/config/xilinx-base/features/hugetlb/hugepages.scc
@@ -0,0 +1,4 @@
1define KFEATURE_DESCRIPTION "Enable Huge Pages support"
2define KFEATURE_COMPATIBILITY arch
3
4kconf non-hardware hugepages.cfg
diff --git a/recipes-kernel/linux/config/xilinx-base/features/hugetlb/hugetlb.cfg b/recipes-kernel/linux/config/xilinx-base/features/hugetlb/hugetlb.cfg
new file mode 100644
index 00000000..6f48ed18
--- /dev/null
+++ b/recipes-kernel/linux/config/xilinx-base/features/hugetlb/hugetlb.cfg
@@ -0,0 +1,2 @@
1CONFIG_HUGETLB_PAGE=y
2CONFIG_HUGETLBFS=y
diff --git a/recipes-kernel/linux/config/xilinx-base/features/hugetlb/hugetlb.scc b/recipes-kernel/linux/config/xilinx-base/features/hugetlb/hugetlb.scc
new file mode 100644
index 00000000..1d0df3ce
--- /dev/null
+++ b/recipes-kernel/linux/config/xilinx-base/features/hugetlb/hugetlb.scc
@@ -0,0 +1,4 @@
1define KFEATURE_DESCRIPTION "Enable Huge TLB support"
2define KFEATURE_COMPATIBILITY arch
3
4kconf non-hardware hugetlb.cfg
diff --git a/recipes-kernel/linux/config/xilinx-base/features/leds/leds.cfg b/recipes-kernel/linux/config/xilinx-base/features/leds/leds.cfg
new file mode 100644
index 00000000..5b4fb2d5
--- /dev/null
+++ b/recipes-kernel/linux/config/xilinx-base/features/leds/leds.cfg
@@ -0,0 +1,19 @@
1CONFIG_NEW_LEDS=y
2CONFIG_LEDS_CLASS=y
3CONFIG_LEDS_TRIGGERS=y
4
5CONFIG_LEDS_TRIGGER_CPU=y
6
7CONFIG_LEDS_TRIGGER_TIMER=y
8CONFIG_LEDS_TRIGGER_ONESHOT=y
9CONFIG_LEDS_TRIGGER_HEARTBEAT=y
10CONFIG_LEDS_TRIGGER_BACKLIGHT=y
11CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
12CONFIG_LEDS_TRIGGER_CAMERA=y
13CONFIG_LEDS_TRIGGER_TRANSIENT=y
14
15# GPIO features requires GPIOLIB
16# Include them here, but they won't be enabled unless GPIO is explicitly
17# enabled as well.
18CONFIG_LEDS_GPIO=y
19CONFIG_LEDS_TRIGGER_GPIO=y
diff --git a/recipes-kernel/linux/config/xilinx-base/features/leds/leds.scc b/recipes-kernel/linux/config/xilinx-base/features/leds/leds.scc
new file mode 100644
index 00000000..69992a4f
--- /dev/null
+++ b/recipes-kernel/linux/config/xilinx-base/features/leds/leds.scc
@@ -0,0 +1,4 @@
1define KFEATURE_DESCRIPTION "Enable LED class and triggers"
2define KFEATURE_COMPATIBILITY board
3
4kconf hardware leds.cfg
diff --git a/recipes-kernel/linux/config/xilinx-base/features/scsi/scsi.cfg b/recipes-kernel/linux/config/xilinx-base/features/scsi/scsi.cfg
index a1ae1110..2e9142f1 100644
--- a/recipes-kernel/linux/config/xilinx-base/features/scsi/scsi.cfg
+++ b/recipes-kernel/linux/config/xilinx-base/features/scsi/scsi.cfg
@@ -1,3 +1 @@
1CONFIG_SCSI=y CONFIG_SCSI=y
2CONFIG_CHR_DEV_SG=y
3CONFIG_SCSI_MULTI_LUN=y
diff --git a/recipes-kernel/linux/config/xilinx-base/ktypes/standard/standard.cfg b/recipes-kernel/linux/config/xilinx-base/ktypes/standard/standard.cfg
index 1a3db46b..c707f968 100644
--- a/recipes-kernel/linux/config/xilinx-base/ktypes/standard/standard.cfg
+++ b/recipes-kernel/linux/config/xilinx-base/ktypes/standard/standard.cfg
@@ -47,6 +47,7 @@ CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
47 47
48CONFIG_DEVTMPFS=y 48CONFIG_DEVTMPFS=y
49CONFIG_DEVTMPFS_MOUNT=y 49CONFIG_DEVTMPFS_MOUNT=y
50CONFIG_TMPFS_POSIX_ACL=y
50 51
51CONFIG_CONNECTOR=y 52CONFIG_CONNECTOR=y
52 53
@@ -69,7 +70,12 @@ CONFIG_TMPFS=y
69CONFIG_EXT4_FS=y 70CONFIG_EXT4_FS=y
70CONFIG_EXT4_USE_FOR_EXT2=y 71CONFIG_EXT4_USE_FOR_EXT2=y
71CONFIG_JFFS2_FS=y 72CONFIG_JFFS2_FS=y
73CONFIG_JFFS2_FS_XATTR=y
72CONFIG_JFFS2_SUMMARY=y 74CONFIG_JFFS2_SUMMARY=y
75CONFIG_JFFS2_COMPRESSION_OPTIONS=y
76CONFIG_JFFS2_ZLIB=y
77CONFIG_JFFS2_LZO=y
78CONFIG_JFFS2_RUBIN=y
73CONFIG_NFS_FS=y 79CONFIG_NFS_FS=y
74CONFIG_ROOT_NFS=y 80CONFIG_ROOT_NFS=y
75 81
diff --git a/recipes-kernel/linux/config/xilinx-base/ktypes/standard/standard.scc b/recipes-kernel/linux/config/xilinx-base/ktypes/standard/standard.scc
index d83766ee..288b8696 100644
--- a/recipes-kernel/linux/config/xilinx-base/ktypes/standard/standard.scc
+++ b/recipes-kernel/linux/config/xilinx-base/ktypes/standard/standard.scc
@@ -2,3 +2,6 @@
2 2
3kconf non-hardware standard.cfg 3kconf non-hardware standard.cfg
4 4
5include features/hugetlb/hugetlb.scc
6include features/hugetlb/hugepages.scc
7
diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/digilent/drm-digilent.cfg b/recipes-kernel/linux/config/xilinx-common/bsp/digilent/drm-digilent.cfg
index 15632d2d..f7684cea 100644
--- a/recipes-kernel/linux/config/xilinx-common/bsp/digilent/drm-digilent.cfg
+++ b/recipes-kernel/linux/config/xilinx-common/bsp/digilent/drm-digilent.cfg
@@ -4,4 +4,5 @@
4CONFIG_DRM_DIGILENT_ENCODER=y 4CONFIG_DRM_DIGILENT_ENCODER=y
5 5
6# Common Clock Framework 6# Common Clock Framework
7CONFIG_COMMON_CLK_DGLNT_DYNCLK=y \ No newline at end of file 7CONFIG_COMMON_CLK_DGLNT_DYNCLK=y
8
diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/board-common.cfg b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/board-common.cfg
index 5adfca85..efd17c30 100644
--- a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/board-common.cfg
+++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/board-common.cfg
@@ -4,7 +4,24 @@
4 4
5# Ethernet PHYs 5# Ethernet PHYs
6CONFIG_PHYLIB=y 6CONFIG_PHYLIB=y
7CONFIG_AMD_PHY=y
8CONFIG_AT803X_PHY=y
9CONFIG_BCM7XXX_PHY=y
10CONFIG_BCM87XX_PHY=y
11CONFIG_BROADCOM_PHY=y
12CONFIG_CICADA_PHY=y
13CONFIG_DAVICOM_PHY=y
14CONFIG_DP83867_PHY=y
15CONFIG_FIXED_PHY=y
16CONFIG_ICPLUS_PHY=y
17CONFIG_LSI_ET1011C_PHY=y
18CONFIG_LXT_PHY=y
7CONFIG_MARVELL_PHY=y 19CONFIG_MARVELL_PHY=y
20CONFIG_MICREL_PHY=y
21CONFIG_NATIONAL_PHY=y
22CONFIG_QSEMI_PHY=y
23CONFIG_REALTEK_PHY=y
24CONFIG_SMSC_PHY=y
8CONFIG_VITESSE_PHY=y 25CONFIG_VITESSE_PHY=y
9 26
10# I2C 27# I2C
@@ -12,6 +29,9 @@ CONFIG_I2C=y
12CONFIG_I2C_CHARDEV=y 29CONFIG_I2C_CHARDEV=y
13CONFIG_I2C_MUX=y 30CONFIG_I2C_MUX=y
14CONFIG_I2C_MUX_PCA954x=y 31CONFIG_I2C_MUX_PCA954x=y
32CONFIG_I2C_MUX_PCA9541=y
33CONFIG_GPIO_PCA953X=y
34CONFIG_GPIO_PCA953X_IRQ=y
15 35
16# EEPROM 36# EEPROM
17CONFIG_EEPROM_AT24=y 37CONFIG_EEPROM_AT24=y
@@ -29,9 +49,20 @@ CONFIG_MTD_CFI_AMDSTD=y
29CONFIG_HWMON=y 49CONFIG_HWMON=y
30CONFIG_PMBUS=y 50CONFIG_PMBUS=y
31CONFIG_SENSORS_PMBUS=y 51CONFIG_SENSORS_PMBUS=y
32CONFIG_REGULATOR=y 52# Power
33CONFIG_SENSORS_UCD9000=y 53CONFIG_SENSORS_UCD9000=y
34CONFIG_SENSORS_UCD9200=y 54CONFIG_SENSORS_UCD9200=y
55CONFIG_SENSORS_INA2XX=y
56CONFIG_SENSORS_MAX20751=y
57
58# Regulators
59CONFIG_REGULATOR=y
60CONFIG_REGULATOR_GPIO=y
61CONFIG_REGULATOR_FIXED_VOLTAGE=y
62
63# Reset/power-off GPIO
64CONFIG_POWER_RESET=y
65CONFIG_POWER_RESET_LTC2952=y
35 66
36# RTC drivers 67# RTC drivers
37CONFIG_RTC_CLASS=y 68CONFIG_RTC_CLASS=y
diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/board-common.scc b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/board-common.scc
index 6f1cd26c..d79417d6 100644
--- a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/board-common.scc
+++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/board-common.scc
@@ -3,3 +3,5 @@ define KFEATURE_COMPATIBILITY board
3 3
4kconfig hardware board-common.cfg 4kconfig hardware board-common.cfg
5 5
6include features/leds/leds.scc
7
diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/common.cfg b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/common.cfg
index c3c87f7c..86914fbf 100644
--- a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/common.cfg
+++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/common.cfg
@@ -1,7 +1,7 @@
1 1
2# Device tree (for linux-xlnx 3.14)
3CONFIG_PROC_DEVICETREE=y
4
5# Debug 2# Debug
6CONFIG_PRINTK_TIME=y 3CONFIG_PRINTK_TIME=y
7 4
5# Disable /dev/kmem
6# CONFIG_DEVKMEM is not set
7
diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/common.scc b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/common.scc
index 3f29390e..a17fd2cf 100644
--- a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/common.scc
+++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/common.scc
@@ -4,7 +4,6 @@ define KFEATURE_COMPATIBILITY board
4kconfig hardware common.cfg 4kconfig hardware common.cfg
5 5
6include features/scsi/scsi.scc 6include features/scsi/scsi.scc
7include features/scsi/scsi-generic.scc
8include features/scsi/disk.scc 7include features/scsi/disk.scc
9 8
10include features/mtd/mtd.scc 9include features/mtd/mtd.scc
diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/drivers/xilinx.cfg b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/drivers/xilinx.cfg
index 3d03f180..5098d9b2 100644
--- a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/drivers/xilinx.cfg
+++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/drivers/xilinx.cfg
@@ -8,6 +8,7 @@ CONFIG_SERIAL_OF_PLATFORM=y
8 8
9# DMA 9# DMA
10CONFIG_DMADEVICES=y 10CONFIG_DMADEVICES=y
11CONFIG_XILINX_DMA=y
11CONFIG_XILINX_VDMA=y 12CONFIG_XILINX_VDMA=y
12 13
13# Watchdog 14# Watchdog
diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/drivers/zynq7.cfg b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/drivers/zynq7.cfg
index 6db1341e..50af2e15 100644
--- a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/drivers/zynq7.cfg
+++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/drivers/zynq7.cfg
@@ -1,12 +1,18 @@
1 1
2# UART 2# UART
3CONFIG_TTY=y 3CONFIG_TTY=y
4CONFIG_SERIAL_EARLYCON=y
4CONFIG_SERIAL_XILINX_PS_UART=y 5CONFIG_SERIAL_XILINX_PS_UART=y
5CONFIG_SERIAL_XILINX_PS_UART_CONSOLE=y 6CONFIG_SERIAL_XILINX_PS_UART_CONSOLE=y
6 7
7# SRAM 8# SRAM
8CONFIG_SRAM=y 9CONFIG_SRAM=y
9 10
11# EDAC
12CONFIG_EDAC=y
13CONFIG_EDAC_MM_EDAC=y
14CONFIG_EDAC_SYNOPSYS=y
15
10# DMA 16# DMA
11CONFIG_DMADEVICES=y 17CONFIG_DMADEVICES=y
12CONFIG_PL330_DMA=y 18CONFIG_PL330_DMA=y
@@ -44,6 +50,7 @@ CONFIG_CAN_XILINXCAN=y
44 50
45# MMC/SD 51# MMC/SD
46CONFIG_MMC=y 52CONFIG_MMC=y
53CONFIG_MMC_BLOCK=y
47CONFIG_MMC_SDHCI=y 54CONFIG_MMC_SDHCI=y
48CONFIG_MMC_SDHCI_PLTFM=y 55CONFIG_MMC_SDHCI_PLTFM=y
49CONFIG_MMC_SDHCI_OF_ARASAN=y 56CONFIG_MMC_SDHCI_OF_ARASAN=y
diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/drivers/zynqmp.cfg b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/drivers/zynqmp.cfg
index 0ed616c3..dc69a659 100644
--- a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/drivers/zynqmp.cfg
+++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/drivers/zynqmp.cfg
@@ -1,6 +1,14 @@
1 1
2# Bus
3CONFIG_ARM_CCI400_PMU=y
4
5# IOMMU
6CONFIG_IOMMU_SUPPORT=y
7CONFIG_ARM_SMMU=y
8
2# Serial 9# Serial
3CONFIG_TTY=y 10CONFIG_TTY=y
11CONFIG_SERIAL_EARLYCON=y
4CONFIG_SERIAL_XILINX_PS_UART=y 12CONFIG_SERIAL_XILINX_PS_UART=y
5CONFIG_SERIAL_XILINX_PS_UART_CONSOLE=y 13CONFIG_SERIAL_XILINX_PS_UART_CONSOLE=y
6 14
@@ -37,6 +45,8 @@ CONFIG_CAN_XILINXCAN=y
37 45
38# SATA 46# SATA
39CONFIG_ATA=y 47CONFIG_ATA=y
48CONFIG_ATA_SFF=y
49CONFIG_SATA_AHCI_PLATFORM=y
40CONFIG_AHCI_CEVA=y 50CONFIG_AHCI_CEVA=y
41 51
42# MMC/SD 52# MMC/SD
@@ -52,3 +62,7 @@ CONFIG_USB_XHCI_HCD=y
52CONFIG_USB_DWC3=y 62CONFIG_USB_DWC3=y
53CONFIG_USB_GADGET=y 63CONFIG_USB_GADGET=y
54 64
65# DMA
66CONFIG_DMA_ENGINE=y
67CONFIG_XILINX_ZYNQMP_DMA=y
68
diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynqmp.cfg b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynqmp.cfg
index 0703af3a..be79ad7d 100644
--- a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynqmp.cfg
+++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynqmp.cfg
@@ -7,3 +7,7 @@ CONFIG_ARCH_ZYNQMP=y
7# SMP 7# SMP
8CONFIG_SMP=y 8CONFIG_SMP=y
9 9
10# ARM 32-Bit compatiblity
11CONFIG_COMPAT=y
12# CONFIG_COMPAT_BRK is not set
13
diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynqmp.scc b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynqmp.scc
index 1ac78c51..3c223894 100644
--- a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynqmp.scc
+++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynqmp.scc
@@ -2,7 +2,7 @@
2include cfg/timer/hz_100.scc 2include cfg/timer/hz_100.scc
3 3
4kconf hardware zynqmp.cfg 4kconf hardware zynqmp.cfg
5# include bsp/xilinx/soc/drivers/xilinx.scc 5include bsp/xilinx/soc/drivers/xilinx.scc
6include bsp/xilinx/soc/drivers/zynqmp.scc 6include bsp/xilinx/soc/drivers/zynqmp.scc
7include bsp/xilinx/common.scc 7include bsp/xilinx/common.scc
8 8
diff --git a/recipes-kernel/linux/config/xilinx-common/features/debug/debug.cfg b/recipes-kernel/linux/config/xilinx-common/features/debug/debug.cfg
index e4727976..7b01ea0a 100644
--- a/recipes-kernel/linux/config/xilinx-common/features/debug/debug.cfg
+++ b/recipes-kernel/linux/config/xilinx-common/features/debug/debug.cfg
@@ -18,3 +18,6 @@ CONFIG_SPARSE_RCU_POINTER=y
18# CONFIG_RCU_TORTURE_TEST not set 18# CONFIG_RCU_TORTURE_TEST not set
19CONFIG_RCU_CPU_STALL_INFO=y 19CONFIG_RCU_CPU_STALL_INFO=y
20 20
21# SYSRQ
22CONFIG_MAGIC_SYSRQ=y
23
diff --git a/recipes-kernel/linux/config/xilinx-common/features/drm/drm-xilinx.cfg b/recipes-kernel/linux/config/xilinx-common/features/drm/drm-xilinx.cfg
index 2ca111d2..0f66c8bc 100644
--- a/recipes-kernel/linux/config/xilinx-common/features/drm/drm-xilinx.cfg
+++ b/recipes-kernel/linux/config/xilinx-common/features/drm/drm-xilinx.cfg
@@ -1,7 +1,7 @@
1# CMA 1# CMA
2CONFIG_CMA=y 2CONFIG_CMA=y
3CONFIG_DMA_CMA=y 3CONFIG_DMA_CMA=y
4CONFIG_CMA_SIZE_MBYTES=40 4CONFIG_CMA_SIZE_MBYTES=128
5CONFIG_CMA_SIZE_SEL_MBYTES=y 5CONFIG_CMA_SIZE_SEL_MBYTES=y
6CONFIG_CMA_ALIGNMENT=8 6CONFIG_CMA_ALIGNMENT=8
7 7
@@ -10,4 +10,5 @@ CONFIG_DRM=y
10CONFIG_DRM_XILINX=y 10CONFIG_DRM_XILINX=y
11 11
12# frame buffer console 12# frame buffer console
13CONFIG_FRAMEBUFFER_CONSOLE=y \ No newline at end of file 13CONFIG_FRAMEBUFFER_CONSOLE=y
14
diff --git a/recipes-kernel/linux/config/xilinx-common/features/hugetlb/hugepages.cfg b/recipes-kernel/linux/config/xilinx-common/features/hugetlb/hugepages.cfg
new file mode 100644
index 00000000..190c3bca
--- /dev/null
+++ b/recipes-kernel/linux/config/xilinx-common/features/hugetlb/hugepages.cfg
@@ -0,0 +1,3 @@
1CONFIG_TRANSPARENT_HUGEPAGE=y
2CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y
3
diff --git a/recipes-kernel/linux/config/xilinx-common/features/hugetlb/hugepages.scc b/recipes-kernel/linux/config/xilinx-common/features/hugetlb/hugepages.scc
new file mode 100644
index 00000000..395a1ca5
--- /dev/null
+++ b/recipes-kernel/linux/config/xilinx-common/features/hugetlb/hugepages.scc
@@ -0,0 +1,4 @@
1define KFEATURE_DESCRIPTION "Enable Huge Pages support"
2define KFEATURE_COMPATIBILITY arch
3
4kconf non-hardware hugepages.cfg
diff --git a/recipes-kernel/linux/config/xilinx-common/features/scsi/scsi-generic.cfg b/recipes-kernel/linux/config/xilinx-common/features/scsi/scsi-generic.cfg
deleted file mode 100644
index 8e298861..00000000
--- a/recipes-kernel/linux/config/xilinx-common/features/scsi/scsi-generic.cfg
+++ /dev/null
@@ -1,5 +0,0 @@
1
2# Generic SCSI
3CONFIG_CHR_DEV_SG=y
4# (For linux-xlnx 3.14)
5CONFIG_SCSI_MULTI_LUN=y
diff --git a/recipes-kernel/linux/config/xilinx-common/features/scsi/scsi-generic.scc b/recipes-kernel/linux/config/xilinx-common/features/scsi/scsi-generic.scc
deleted file mode 100644
index ad4a5681..00000000
--- a/recipes-kernel/linux/config/xilinx-common/features/scsi/scsi-generic.scc
+++ /dev/null
@@ -1,5 +0,0 @@
1define KFEATURE_DESCRIPTION "Enable Options for SCSI Generic Support"
2define KFEATURE_COMPATIBILITY board
3
4kconfig hardware scsi-generic.cfg
5
diff --git a/recipes-kernel/linux/config/xilinx-common/features/uio/uio.cfg b/recipes-kernel/linux/config/xilinx-common/features/uio/uio.cfg
index 6c066070..048ffe49 100644
--- a/recipes-kernel/linux/config/xilinx-common/features/uio/uio.cfg
+++ b/recipes-kernel/linux/config/xilinx-common/features/uio/uio.cfg
@@ -1,2 +1,4 @@
1CONFIG_UIO=y 1CONFIG_UIO=y
2CONFIG_UIO_PDRV_GENIRQ=y 2CONFIG_UIO_PDRV_GENIRQ=y
3CONFIG_UIO_DMEM_GENIRQ=y
4
diff --git a/recipes-kernel/linux/config/xilinx-common/features/v4l2/v4l2-xilinx.cfg b/recipes-kernel/linux/config/xilinx-common/features/v4l2/v4l2-xilinx.cfg
index c080d7ed..49a5d6fe 100644
--- a/recipes-kernel/linux/config/xilinx-common/features/v4l2/v4l2-xilinx.cfg
+++ b/recipes-kernel/linux/config/xilinx-common/features/v4l2/v4l2-xilinx.cfg
@@ -2,18 +2,22 @@
2CONFIG_MEDIA_SUPPORT=y 2CONFIG_MEDIA_SUPPORT=y
3CONFIG_MEDIA_CAMERA_SUPPORT=y 3CONFIG_MEDIA_CAMERA_SUPPORT=y
4CONFIG_MEDIA_CONTROLLER=y 4CONFIG_MEDIA_CONTROLLER=y
5
6# V4L
7CONFIG_V4L_PLATFORM_DRIVERS=y
5CONFIG_VIDEO_DEV=y 8CONFIG_VIDEO_DEV=y
6CONFIG_VIDEO_V4L2_SUBDEV_API=y
7CONFIG_VIDEO_V4L2=y 9CONFIG_VIDEO_V4L2=y
10CONFIG_VIDEO_V4L2_SUBDEV_API=y
8 11
9# Xilinx Video drivers 12# Xilinx Video drivers
10CONFIG_V4L_PLATFORM_DRIVERS=y
11CONFIG_VIDEO_XILINX=y 13CONFIG_VIDEO_XILINX=y
12CONFIG_VIDEO_XILINX_CFA=y 14CONFIG_VIDEO_XILINX_CFA=y
13CONFIG_VIDEO_XILINX_CRESAMPLE=y 15CONFIG_VIDEO_XILINX_CRESAMPLE=y
16CONFIG_VIDEO_XILINX_HLS=y
14CONFIG_VIDEO_XILINX_REMAPPER=y 17CONFIG_VIDEO_XILINX_REMAPPER=y
15CONFIG_VIDEO_XILINX_RGB2YUV=y 18CONFIG_VIDEO_XILINX_RGB2YUV=y
16CONFIG_VIDEO_XILINX_SCALER=y 19CONFIG_VIDEO_XILINX_SCALER=y
17CONFIG_VIDEO_XILINX_SWITCH=y 20CONFIG_VIDEO_XILINX_SWITCH=y
18CONFIG_VIDEO_XILINX_TPG=y 21CONFIG_VIDEO_XILINX_TPG=y
19CONFIG_VIDEO_XILINX_VTC=y 22CONFIG_VIDEO_XILINX_VTC=y
23
diff --git a/recipes-kernel/linux/config/xilinx-machine/bsp/zybo-linux-bd-zynq7/zybo-snd.cfg b/recipes-kernel/linux/config/xilinx-machine/bsp/zybo-linux-bd-zynq7/zybo-snd.cfg
index 5fae2cb4..e94a9d81 100644
--- a/recipes-kernel/linux/config/xilinx-machine/bsp/zybo-linux-bd-zynq7/zybo-snd.cfg
+++ b/recipes-kernel/linux/config/xilinx-machine/bsp/zybo-linux-bd-zynq7/zybo-snd.cfg
@@ -6,4 +6,5 @@ CONFIG_SND_SOC=y
6CONFIG_SND_SOC_ADI=y 6CONFIG_SND_SOC_ADI=y
7CONFIG_SND_SOC_ADI_AXI_I2S=y 7CONFIG_SND_SOC_ADI_AXI_I2S=y
8CONFIG_SND_SIMPLE_CARD=y 8CONFIG_SND_SIMPLE_CARD=y
9CONFIG_SND_SOC_SSM2602_I2C=y \ No newline at end of file 9CONFIG_SND_SOC_SSM2602_I2C=y
10
diff --git a/recipes-kernel/linux/linux-xlnx.inc b/recipes-kernel/linux/linux-xlnx.inc
index 4ec8826f..89ce20d7 100644
--- a/recipes-kernel/linux/linux-xlnx.inc
+++ b/recipes-kernel/linux/linux-xlnx.inc
@@ -27,5 +27,9 @@ KCONFIG_MODE_zcu102-zynqmp = "alldefconfig"
27 27
28KERNEL_FEATURES_append = " bsp/xilinx/soc/linux-xlnx/drivers/xilinx.scc" 28KERNEL_FEATURES_append = " bsp/xilinx/soc/linux-xlnx/drivers/xilinx.scc"
29KERNEL_FEATURES_append_zynq = " bsp/xilinx/soc/linux-xlnx/drivers/zynq7.scc" 29KERNEL_FEATURES_append_zynq = " bsp/xilinx/soc/linux-xlnx/drivers/zynq7.scc"
30KERNEL_FEATURES_append_zynqmp = " bsp/xilinx/soc/linux-xlnx/drivers/zynqmp.scc" 30KERNEL_FEATURES_append_zynqmp = " \
31 bsp/xilinx/soc/linux-xlnx/drivers/zynqmp.scc \
32 features/drm/drm-xilinx.scc \
33 features/v4l2/v4l2-xilinx.scc \
34 "
31 35