summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiago De Franco <hiago.franco@toradex.com>2024-01-12 14:44:27 -0300
committerMax Krummenacher <max.krummenacher@toradex.com>2024-01-21 13:49:27 +0100
commit9adc7be35d3f6cf7c9a0e72a968b568c55031e4a (patch)
treee57517f7e199b4670471fc59c694f385e07112bf
parenteef25f70d4153b65059d107121bf435780957a5e (diff)
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 <hiago.franco@toradex.com> (cherry picked from commit fed473492c8ce8becc5d01cf0fc4d8cc432f64d1)
-rw-r--r--recipes-kernel/linux/linux-toradex-upstream/defconfig3
-rw-r--r--recipes-kernel/linux/linux-toradex-upstream/toradex_imx_v6_v7.config5
2 files changed, 8 insertions, 0 deletions
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