summaryrefslogtreecommitdiff
path: root/arch/arm64/configs
AgeCommit message (Collapse)Author
2022-02-16toradex defconfigs: enable CONFIG_DYNAMIC_DEBUGMing Liu
It compiles debug level messages into the kernel, which would not otherwise be available at runtime. Relates-to: ELB-4336 Signed-off-by: Ming Liu <ming.liu@toradex.com>
2021-09-15arm64: config: apalis-imx8: build ata drivers as modulesOleksii Bidnichenko
It seems like NXP iMX8 has an issue with PCIe device initialization. In the case of multiple devices connected to the PCIe bus (that is a common case) and all of them using the same clock source (even if clocks are different) it seldomly leads to the inability to init the device due to a problem with the clock restoring after the previous device initialization. The problem is workaround by moving the SATA device initialization to a later time i.e. by compiling it as a kernel module (CONFIG_SATA_AHCI=m and CONFIG_AHCI_IMX=m). Related-to: ELB-3431 Signed-off-by: Oleksii Bidnichenko <oleksii.bidnichenko@toradex.com>
2021-08-17toradex defconfigs: change pps_client drivers to modulesPhilippe Schenker
We have seen problems on apalis-imx8x that it is possible that the pps-gpio driver tries to acquire a gpio before the gpio subsystem is fully loaded and hence the driver errors out. To prevent this make all pps drivers a module. Related-to: SSP-8 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2021-07-15toradex_defconfig: fix cma size for 8gb skuMarcel Ziswiler
Set the size of the contiguous memory allocator to 1376MB or 25% of the total memory size, whichever is lower. With commit a85fbea915ee ("toradex_defconfig: fix cma size") CMA got increased too much for Verdin iMX8MP 8GB modules. Unfortunately, CMA needs to be in low memory and to be consecutive is not allowed to cross any other reserved sections. This severely limits its maximum available size and it looks like there is no consecutive 2GB block available that would meet all these conditions. Therefore, allocation failed leaving several subsystems like Ethernet defunct. Related-to: ELB-4043 Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2021-07-06toradex_defconfig: fix cma sizeMax Krummenacher
Set the size of the contiguous memory allocator to 256MB or 25% of the total memory size, whichever is higher. With commit f1d5aa976621 ("toradex_defconfig: reduce cma size") CMA got reduced too much for Verdin iMX8MP 2GB modules. With only 256MB of CMA video playback no longer works. Increasing it fixes that. Related-to: ELB-4019 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-06-30toradex_defconfig: reduce cma sizeMax Krummenacher
Reduce the size of the continguous memory allocator to 256MB or 12% of the total memory size, which ever is less. Related-to: ELB-4019 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-06-30toradex_defconfig: refresh with savedefconfigMax Krummenacher
BLK_BLK_DEV_RAM_COUNT is misspelled and would be BLK_DEV_RAM_COUNT. However the default of 16 should also work as the memory is claimed dynamically with the block device creation and use. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-05-12ARM64: configs: toradex_defconfig: make BT_RFCOMM a modulePhilippe Schenker
Change toradex_defconfig to make BT_RFCOMM a module to avoid having to compile the firmware into the monolithic kernel as well Related-to: ELB-3965 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2021-05-12arm64: toradex_defconfig: enable easy installer optionsDenys Drozdov
Toradex Easy instealler is using FIT image with root in RAM disk for initramfs in squashfs format. Enable kernel configuration option to support it by default. Related-to: TEI-776 Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
2021-04-01arm64: config: toradex: set delay for thermal emergency poweroffOleksandr Suvorov
If the delay is not set, the thermal emergency poweroff function disabled. It leads to unable powering down the system in case of critical temperature is reached and system tool /sbin/poweroff is unavailable or fail. Set the option CONFIG_THERMAL_EMERGENCY_POWEROFF_DELAY_MS to 10 seconds. Usually it's enough to shutting system down with /sbin/poweroff. The forceful kernel-side emergency poweroff procedure performs only if the system tool fails to power down the system within 10 seconds. Related-to: ELB-3852 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2021-02-17arm64: toradex_defconfig: enable nau88c22 audio codec driverMax Krummenacher
The Verdin Developer Board V1.1 now features a NAU88C22YG audio codec. Enable the driver for it. Related-to: ELB-3503 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-02-17arm64: toradex_defconfig: enable lm75 temperature sensor driverMax Krummenacher
The carrier boards V1.1 now feature a TI TMP75C temperature sensor. Enable the driver for it. Related-to: ELB-3502 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-02-05arm64: toradex_defconfig: disable HDMI CEC driverOleksandr Suvorov
The Cadence MHDP HDMI CEC driver is not synchronized with HDMI firmware loading and tries to read hdmi state immediately. Disabling the HDMI CEC driver fixes the panics [1] on boot. Note that this is a workaround and the full solution should include reworking of synchronization between Cadence HDMI CEC and HDMI DRM drivers. [1] ======================== [ 8.368373] SError Interrupt on CPU4, code 0xbf000002 -- SError [ 8.368376] CPU: 4 PID: 469 Comm: cdns-mhdp-cec Tainted: G O 5.4.91-5.2.0-devel+git.a2bc7116a3fd #1 [ 8.368377] Hardware name: Toradex Apalis iMX8QM V1.1 on Apalis Evaluation Board (DT) [ 8.368378] pstate: 60000005 (nZCv daif -PAN -UAO) [ 8.368379] pc : cdns_mhdp_bus_read+0xa8/0xe8 [ 8.368380] lr : cdns_mhdp_bus_read+0x24/0xe8 ... [ 8.368414] Kernel panic - not syncing: Asynchronous SError Interrupt [ 8.368415] CPU: 4 PID: 469 Comm: cdns-mhdp-cec Tainted: G O 5.4.91-5.2.0-devel+git.a2bc7116a3fd #1 [ 8.368416] Hardware name: Toradex Apalis iMX8QM V1.1 on Apalis Evaluation Board (DT) [ 8.368417] Call trace: [ 8.368418] dump_backtrace+0x0/0x140 [ 8.368419] show_stack+0x14/0x20 [ 8.368420] dump_stack+0xb4/0x110 [ 8.368420] panic+0x158/0x324 [ 8.368421] nmi_panic+0x84/0x88 [ 8.368422] arm64_serror_panic+0x74/0x80 [ 8.368423] do_serror+0x80/0x138 [ 8.368424] el1_error+0x84/0xf8 [ 8.368425] cdns_mhdp_bus_read+0xa8/0xe8 [ 8.368426] mhdp_cec_poll_worker+0x58/0x278 [ 8.368427] kthread+0x138/0x158 [ 8.368427] ret_from_fork+0x10/0x1c [ 8.368444] SMP: stopping secondary CPUs [ 8.368445] Kernel Offset: disabled [ 8.368446] CPU features: 0x0002,2100600c [ 8.368447] Memory Limit: none ======================== Related-to: ELB-3406 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2021-02-01toradex_defconfig: enable sysv ipcMax Krummenacher
ALSA requires this to work. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-01-29arm64: defconfig: remove unused driversOleksandr Suvorov
There are plenty of media and network drivers not needed for our modules and boards. Don't build and install them. - remote controllers - dvb systems - network drivers except of devices installed on Toradex 64-bit SoMs and boards, and shipped by Toradex external modules. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2021-01-29arm64: defconfig: create toradex_defconfigOleksandr Suvorov
It's better to have our own Toradex defconfig for arm64 platform besides the original defconfig. Create it from the defconfig file. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2021-01-28arm64: defconfig: fix building pci-imx6 driverOleksandr Suvorov
Since iMX PCIe RC and EP modes were separated, the Kconfig for pci-imx6 requires enabling HOST and End-Point parts of the driver independently. Using the legacy option CONFIG_PCI_IMX6 fails kernel building. Replace CONFIG_PCI_IMX6 with CONFIG_PCI_IMX6_HOST and CONFIG_PCI_IMX6_EP options to fix kernel building. Related-to: ELB-3326 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2021-01-28media: imx8: ar0521 and ar1335 supportMarcel Ziswiler
Add drivers for e-con Systems AR0521 and AR1335 camera modules. Related to: PMS-387 Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Conflicts: drivers/staging/media/imx/imx8-isi-cap.c Fix the mxc_get_remote_subdev() calling. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2021-01-28arm64: defconfig: fix ov5640 crash on i.mx 8m plusMarcel Ziswiler
The OV5640 driver crashes on NXP's i.MX 8M Plus if loaded as a module. Related to: ELB-3209 Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2021-01-28arm64: defconfig: synchronize with savedefconfigMax Krummenacher
CONFIG_CRYPTO_XTS is selcted (as 'y') by CRYPTO_DEV_FSL_CAAM_CRYPTO_API_QI. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-01-28arm64: defconfig: reenable drivers previously enabledMax Krummenacher
This adds back drivers enabled in the following 3 commits commit e7704de31f0b ("arm64: defconfig: add zram support") commit 08d125a06697 ("arm64: defconfig: add sound drivers for Gumstix AutoBSP") commit f2bf706a88d6 ("arm64: defconfig: add bluetooth drivers for Gumstix AutoBSP") Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-01-28arm64: defconfig: enable samsung hdmi phy supportMarcel Ziswiler
On the i.MX 8M Plus the 3rd LCDIF drives an on-SoC Samsung HDMI PHY giving us native HDMI functionality. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2021-01-28arm: defconfig: addional options needed for verdin imx8m plusMax Krummenacher
Enable CONFIG_STMMAC_ETH for the additional MAC in the i.MX8 M Plus. Enable CONFIG_VLAN_8021Q/CONFIG_TSN for new features that MAC supports. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-01-28arm64: defconfig: enable ti ads1015Max Krummenacher
Add ADC ADS1015 driver. Related-to: ELB-3132 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-01-27arm64: defconfig: add missing USB stuffOleksandr Suvorov
The USB hub USB2514B can be installed on Apalis iMX8X module. Add the driver for this hub. Also fixed some other USB staff affected by 4af5567629d4 Fixed: 4af5567629d4 ("arm64: defconfig: sync with imx_v8_defconfig") Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2021-01-27arm64: defconfig: fix various issuesMarcel Ziswiler
On Verdin iMX8M Mini at least audio and camera was broken. While at it also enable PCA9450 PMIC required for V1.1 and Plus hardware. This fixes commit 4af5567629d4 ("arm64: defconfig: sync with imx_v8_defconfig") which touched a little too much. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Conflicts: arch/arm64/configs/defconfig Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2021-01-27arm64: defconfig: add FXL6408 driverOleksandr Suvorov
Add FXL6408 GPIO expander driver for Colibri-IMX8X module. Related-to: ELB-3025 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2021-01-27defconfig: disable firmware user helperPhilippe Schenker
Since we do not provide any user helper disable those kernel configs. Specifically this patch solves the issue that maxtouch driver is waiting 60s for the user-helper to interact and after that waiting starts the driver up. Disabling those options get rid of the 60s waiting. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2021-01-27ARM64: defconfig: add TOUCHSCREEN_COLIBRI_VF50 driverPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2021-01-27ARM64: defconfig: build hdmi driver as a modulePhilippe Schenker
Otherwise the driver can't load the hdmi-firmware required for iMX8 from filesystem. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2021-01-27arm64: defconfig: fix ip firewall (bpf/cgroup)Marcel Ziswiler
This fixes the following systemd error during boot: [ 4.225226] systemd[1]: File /lib/systemd/system/systemd-journald. service:36 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling. [ 4.242360] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.) Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (similar to arm64 commit cfbad309c60a13bb7fb0ad4b1139a52d485db0cd) (cherry picked from commit b26072eea604461f75a629756ca18a72237281c0)
2021-01-27arm64: defconfig: enable can sae j1939Max Krummenacher
Related-to: ELB-3023 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-01-27arm64: defconfig: sync with imx_v8_defconfigOleksandr Suvorov
Precise tunning of the defconfig reduces the kernel image size from 33Mb to 22Mb. Related-to: ELB-2900 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> Conflicts: arch/arm64/configs/defconfig Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2021-01-27defconfig: sync with imx_v8_defconfigMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2021-01-27arm64: defconfig: sync missing pps and ecam supportMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2021-01-27arm64: defconfig: add wifi driversOleksandr Suvorov
Use backported-5.4 wi-fi drivers in kernel-5.4 is nonsense. Return back wi-fi drivers: - rtl81288eu (for USB WiFi module LM816) and - mwifiex_usb/pci (for Wi-Fi module Azurewave AW-CM276NF). Related-to: ELB-2891 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2021-01-27arm64: defconfig: add bluetooth drivers for Gumstix AutoBSPStefan Agner
Add bluetooth drivers useful for the Gumstix AutoBSP as kernel modules. Related-to: TOR-1068 Signed-off-by: Stefan Agner <stefan.agner@toradex.com> (cherry picked from commit 6a1cadefa38b5c268efacd9c4ee0917adf81e191)
2021-01-27arm64: defconfig: add sensor drivers for Gumstix AutoBSPStefan Agner
Add iio/hwmon sensor drivers useful for the Gumstix AutoBSP as kernel modules. Related-to: TOR-1068 Signed-off-by: Stefan Agner <stefan.agner@toradex.com> (cherry picked from commit 8349d230d8f557862f88d3d3d5dd3bfcaafae306) Conflicts: arch/arm64/configs/defconfig
2021-01-27arm64: defconfig: add sound drivers for Gumstix AutoBSPStefan Agner
Add sound drivers useful for the Gumstix AutoBSP as kernel modules. Related-to: TOR-1068 Signed-off-by: Stefan Agner <stefan.agner@toradex.com> (cherry picked from commit 2e8a47e6c263638e2c43a3ab77d647e8f658cf26)
2021-01-27arm64: defconfig: enable options required for backportsOleksandr Suvorov
Enable WIRELESS_EXT and WEXT_PRIV options as needed for the backported rtl81288eu driver. Related-to: ELB-2388 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> (cherry picked from commit 0abe5a7f9fe014663ae4e47f444df6be74267cd5)
2021-01-27arm64: defconfig: disable wireless driversOleksandr Suvorov
Disabling all wireless drivers and cfg80211 module makes able to completely avoid interferences with backported drivers. Related-to: ELB-2388 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> (cherry picked from commit 447c93e8273b50811b404b9aa12b22717024528d)
2021-01-27arm64: apalis/colibri: defconfig: remove backported driversOleksandr Suvorov
There are some unstable drivers in the kernel. The stable versions of these drivers present in backported-5.4 package. Remove duplicated mwifiex_sdio and mwifiex_usb. Related-to: ELB-2388 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> (cherry picked from commit 80846cc0f8b889ccbda301d9c2eb506e730011f4)
2021-01-27arm64: defconfig: further config clean-upMarcel Ziswiler
Further clean-up modularising it some more. BTW: Changing BT_MRVL, BT_MRVL_SDIO, CFG80211 and MAC80211 to modules will make it co-exist with our latest backports efforts. Related-to: ELB-2388 Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit ecc423fcd994e36cd78c49c296ac20d9bedd4d20)
2021-01-27apalis/colibri_imx6/-imx6ull/_imx7/-imx8/8x_defconfig: config refresh and ↵Marcel Ziswiler
changes Refresh kernel configs adding some more USB as well as PCIe options where applicable plus synchronise some more accross all modules. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit 3c87540939b5c136acee982a489ecb8741e3596c)
2021-01-27arm64: defconfig: add RTL8188EUS driverOleksandr Suvorov
Toradex USB WiFi module LM816 uses RTL8188EUS wi-fi chip. There is staging working driver in kernel for this chip. Enabling it makes one able to use LM816 wifi usb dongle "from the box" w/o installing additional software. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> (cherry picked from commit 42d91989c70d8e4a7bbc3f3dee7d3165846a3c2e) Conflicts: arch/arm64/configs/defconfig Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-01-27arm64: defconfig: add max1363 supportMax Krummenacher
On Verdin iMX8MM ADC is provided by a MAX11607. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 8ceb06c6e347281e96cf44dccbb353ff66258365)
2021-01-27arm64: defconfig: add mcp25xxfd supportMax Krummenacher
On Verdin iMX8MM Development board the CAN-FD controller Microchip MCP2518FD is used. Enable the driver which got backported from linux-can-next.git, branch mcp25xxfd-rpi. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit b978a68df02e5310d8298cac18fb3a4360acc464) Conflicts: arch/arm64/configs/defconfig Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-01-27arm64: defconfig: make imx_sdma a moduleMax Krummenacher
Remove firmware kobject uevent fallback mechanism and make imx_sdma a module so it gets loaded when rootfs is mounted. This prevents the error, that firmware can't be loaded from rootfs Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 162332b63296ea4f06cd920204989e82763b7897) Conflicts: arch/arm64/configs/defconfig Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-01-27arm64: defconfig: add marvell wi-fi supportMax Krummenacher
On Verdin iMX8MM the Wi-Fi module is connected through SDIO. Add this driver variant. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 22a713643448fa65365e8b9a2182ee2139939ffb) Conflicts: arch/arm64/configs/defconfig Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-01-27arm64: defconfig: add wm8904 codec driverMax Krummenacher
On Verdin iMX8MM Development board this codec is used. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit efca3aed2c3a3e25b93dfcca65d4f01ed70aa553) Conflicts: arch/arm64/configs/defconfig Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>