[SRU][L:raspi][PATCH] UBUNTU: [Config] raspi: Set I2C_CHARDEV=y
Juerg Haefliger
juerg.haefliger at canonical.com
Wed Jun 14 06:57:11 UTC 2023
BugLink: https://bugs.launchpad.net/bugs/2019320
User space expects /dev/i2c-* device entries but in raspi 6.2 the i2c-dev
driver is compiled as a module which is not auto-loaded, hence no device
entries. The driver is small enough to not have a significant impact on
kernel memory consumption for applications that don't need i2c, so compile
it into the kernel (as in previous releases).
Signed-off-by: Juerg Haefliger <juerg.haefliger at canonical.com>
---
debian.raspi/config/annotations | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian.raspi/config/annotations b/debian.raspi/config/annotations
index 3ec0b739073f..d234e87fa22e 100644
--- a/debian.raspi/config/annotations
+++ b/debian.raspi/config/annotations
@@ -91,7 +91,7 @@ CONFIG_HUGETLBFS policy<{'arm64': 'y', 'armhf': '
CONFIG_HWSPINLOCK policy<{'arm64': 'n', 'armhf': 'n'}> note<'Not supported on Pi'>
CONFIG_I2C_BCM2708 policy<{'arm64': 'm', 'armhf': 'm'}> note<'Introduced by rpi-6.2.y'>
CONFIG_I2C_BCM2708_BAUDRATE policy<{'arm64': '100000', 'armhf': '100000'}> note<'Introduced by rpi-6.2.y'>
-CONFIG_I2C_CHARDEV policy<{'arm64': 'm', 'armhf': 'm'}> note<'Not essential on Pi'>
+CONFIG_I2C_CHARDEV policy<{'arm64': 'y', 'armhf': 'y'}> note<'LP: #2019320 - i2c devices missing in lunar'>
CONFIG_I2C_DESIGNWARE_PLATFORM policy<{'arm64': 'm', 'armhf': 'm'}> note<'Not essential on Pi'>
CONFIG_I2C_EMEV2 policy<{'arm64': 'n', 'armhf': 'n'}> note<'Not supported on Pi armhf'>
CONFIG_I2C_SLAVE policy<{'arm64': 'n', 'armhf': 'n'}> note<'Not desired on Pi'>
--
2.37.2
More information about the kernel-team
mailing list