From: David Bauer Date: Fri, 20 Aug 2021 13:52:51 +0000 (+0200) Subject: ramips: enable I2C_CHARDEV X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1edc7078d6549a7ff39d62318d2879ee72bd0b9d;p=openwrt%2Fstaging%2Fneocturne.git ramips: enable I2C_CHARDEV Expose I2C busses with a chardev device. This is required to control the PSE controller on the Ubiquiti UniFi Flex Switch. Signed-off-by: David Bauer --- diff --git a/target/linux/ramips/mt7621/config-5.4 b/target/linux/ramips/mt7621/config-5.4 index 46f519fa66..1be4db73fa 100644 --- a/target/linux/ramips/mt7621/config-5.4 +++ b/target/linux/ramips/mt7621/config-5.4 @@ -100,6 +100,7 @@ CONFIG_HIGHMEM=y CONFIG_HZ_PERIODIC=y CONFIG_I2C=y CONFIG_I2C_BOARDINFO=y +CONFIG_I2C_CHARDEV=y CONFIG_I2C_GPIO=y CONFIG_I2C_MT7621=y CONFIG_INITRAMFS_SOURCE=""