From 832b90216f5d9f5c825d7c89609fde9508d48d57 Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Wed, 16 Mar 2022 01:25:08 +0200 Subject: [PATCH] qoriq: enable I2C in target kernel config The I2C controller used in QorIQ PPC devices requires the mpc-i2c driver, which is enabled by the I2C_MPC kernel config symbol. Enable this and its dependencies in the target kernel config, as is done for the mpc85xx target. This fixes missing hwmon, rtc and tpm devices on the M300. Signed-off-by: Stijn Tintel --- target/linux/qoriq/config-5.10 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target/linux/qoriq/config-5.10 b/target/linux/qoriq/config-5.10 index 0a338ee9da2c..6a582bbcd50d 100644 --- a/target/linux/qoriq/config-5.10 +++ b/target/linux/qoriq/config-5.10 @@ -177,6 +177,9 @@ CONFIG_HAS_IOPORT_MAP=y CONFIG_HWMON=y CONFIG_HW_CONSOLE=y CONFIG_HW_RANDOM=y +CONFIG_I2C=y +CONFIG_I2C_BOARDINFO=y +CONFIG_I2C_MPC=y CONFIG_ILLEGAL_POINTER_VALUE=0x5deadbeef0000000 CONFIG_INITRAMFS_SOURCE="" CONFIG_INPUT=y -- 2.30.2