Hello Kane,
Currently, three devices in our setup support I2C.
1. BMC
2. IO expander 1
3. IO expander 2
Each device supports 16 I2C buses, and the bus indices for each device all start
from 0. This leads to naming conflicts under the current naming convention.
While
we could extend the bus IDs from 16 to 47, doing so would require significant
code
changes to handle different ID ranges, making the code harder to maintain.
Therefore, I believe using readable bus labels would be more intuitive for the
user API.
I tend to agree.
If there are any existing conventions for this use case or if you have any
concerns
regarding the use of bus labels, please let me know.
Could you please send us the contents of directory :
/sys/bus/i2c/devices/
on a system with such IO expanders? preferably with some devices
attached to the I2C buses.
Thanks,
C.