[openwrt/openwrt] qoriq: enable I2C in target kernel config

LEDE Commits lede-commits at lists.infradead.org
Tue Mar 15 16:48:36 PDT 2022


stintel pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/832b90216f5d9f5c825d7c89609fde9508d48d57

commit 832b90216f5d9f5c825d7c89609fde9508d48d57
Author: Stijn Tintel <stijn at linux-ipv6.be>
AuthorDate: Wed Mar 16 01:25:08 2022 +0200

    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 <stijn at linux-ipv6.be>
---
 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 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




More information about the lede-commits mailing list