From: Stijn Tintel Date: Tue, 15 Mar 2022 23:25:08 +0000 (+0200) Subject: qoriq: enable I2C in target kernel config X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=832b90216f5d9f5c825d7c89609fde9508d48d57;p=openwrt%2Fstaging%2Fblocktrron.git 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 --- diff --git a/target/linux/qoriq/config-5.10 b/target/linux/qoriq/config-5.10 index 0a338ee9da..6a582bbcd5 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