CONFIG_I2C_BRCMSTB as a module?
- CONFIG_I2C_BRCMSTB=y
+ CONFIG_I2C_BRCMSTB=m
The Manjaro RPI kernels build this as a module.
I hope that is sufficient... because I am not exactly sure my use case is enough.
Software that I use to control my case fan and power button (argonone-c-git) hardcodes the use of /dev/i2c-1. And when the driver is complied inline, new i2c buses are created:
i2cdetect -l
i2c-0 unknown Broadcom STB : N/A
i2c-1 unknown Broadcom STB : N/A
i2c-2 unknown bcm2835 (i2c@7e205000) N/A
i2c-3 unknown bcm2835 (i2c@7e804000) N/A
/dev/i2c-3 becomes the i2c bus to use.
sudo i2cdetect -y 3
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- 1a -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- 68 -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
Arguably, the software should have a configuration option for this. However, it is not an issue with other kernels.
I have an issue for this, that may or may not be re-opened.
Additionally, the rtc device is not created when using the RPI i2c-rtc overlay, which is the second device on the bus.
This request is for both linux and linxu-rc.