From 9adc7be35d3f6cf7c9a0e72a968b568c55031e4a Mon Sep 17 00:00:00 2001 From: Hiago De Franco Date: Fri, 12 Jan 2024 14:44:27 -0300 Subject: linux-toradex-mainline: Add support for Apalis Eval Board v1.2 new ICs Apalis Evaluation Board v1.2 added some new on-board chips (compared to v1.1) that are not yet enabled in the mainline Linux kernel defconfig file: - Audio codec NAU88C22YG - Current/Voltage measurement INA219 - Temperature Sensor TMP75CIDGKR So add the necessary drivers as modules to support these new devices. Related-to: ELB-5532 Signed-off-by: Hiago De Franco (cherry picked from commit fed473492c8ce8becc5d01cf0fc4d8cc432f64d1) --- recipes-kernel/linux/linux-toradex-upstream/defconfig | 3 +++ recipes-kernel/linux/linux-toradex-upstream/toradex_imx_v6_v7.config | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/recipes-kernel/linux/linux-toradex-upstream/defconfig b/recipes-kernel/linux/linux-toradex-upstream/defconfig index a6e08d2..efc19e1 100644 --- a/recipes-kernel/linux/linux-toradex-upstream/defconfig +++ b/recipes-kernel/linux/linux-toradex-upstream/defconfig @@ -192,6 +192,8 @@ CONFIG_POWER_RESET_SYSCON=y CONFIG_POWER_RESET_SYSCON_POWEROFF=y CONFIG_SENSORS_GPIO_FAN=y CONFIG_SENSORS_IIO_HWMON=y +CONFIG_SENSORS_LM75=m +CONFIG_SENSORS_INA2XX=m CONFIG_SENSORS_SY7636A=y CONFIG_THERMAL_STATISTICS=y CONFIG_THERMAL_EMERGENCY_POWEROFF_DELAY_MS=10000 @@ -258,6 +260,7 @@ CONFIG_SND_SOC_IMX_SGTL5000=y CONFIG_SND_SOC_IMX_SPDIF=y CONFIG_SND_SOC_FSL_ASOC_CARD=y CONFIG_SND_SOC_AC97_CODEC=y +CONFIG_SND_SOC_NAU8822=m CONFIG_SND_SIMPLE_CARD=y CONFIG_HID_MULTITOUCH=y CONFIG_USB_HIDDEV=y diff --git a/recipes-kernel/linux/linux-toradex-upstream/toradex_imx_v6_v7.config b/recipes-kernel/linux/linux-toradex-upstream/toradex_imx_v6_v7.config index a83d77d..99c0525 100644 --- a/recipes-kernel/linux/linux-toradex-upstream/toradex_imx_v6_v7.config +++ b/recipes-kernel/linux/linux-toradex-upstream/toradex_imx_v6_v7.config @@ -51,6 +51,11 @@ CONFIG_SPI_SPIDEV=y # This suppresses also the warning "hid-generic: device has no listeners, quitting" CONFIG_USB_HIDDEV=y +# Apalis Evaluation Board v1.2 +CONFIG_SENSORS_LM75=m +CONFIG_SENSORS_INA2XX=m +CONFIG_SND_SOC_NAU8822=m + # Colibri Evaluation Board CONFIG_CAN_MCP251X=m -- cgit v1.2.3