ramips: enable I2C_CHARDEV
authorDavid Bauer <mail@david-bauer.net>
Fri, 20 Aug 2021 13:52:51 +0000 (15:52 +0200)
committerDavid Bauer <mail@david-bauer.net>
Sat, 25 Sep 2021 19:05:07 +0000 (21:05 +0200)
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@david-bauer.net>
target/linux/ramips/mt7621/config-5.4

index 46f519fa66c95c3db69de4c384b64665825e9fb3..1be4db73fa47833e75ff0fb0900ad1b85d39ab7a 100644 (file)
@@ -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=""