[openwrt/openwrt] ramips: enable I2C_CHARDEV

LEDE Commits lede-commits at lists.infradead.org
Sat Sep 25 12:09:44 PDT 2021


blocktrron pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/1edc7078d6549a7ff39d62318d2879ee72bd0b9d

commit 1edc7078d6549a7ff39d62318d2879ee72bd0b9d
Author: David Bauer <mail at david-bauer.net>
AuthorDate: Fri Aug 20 15:52:51 2021 +0200

    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 <mail at david-bauer.net>
---
 target/linux/ramips/mt7621/config-5.4 | 1 +
 1 file changed, 1 insertion(+)

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=""



More information about the lede-commits mailing list