Sorry for the delay, but I have a solution for you know. The 4.14 kernel tree now includes a modified i2c-gpio with a new parameter - "bus" - which defaults to zero. You can add multiple instances provided they all have unique bus values. In my test I found the busses (i.e. /dev/i2c-*) were given numbers counting upwards from 3. I'm not sure it is possible to guarantee the mapping, but the first one mentioned appeared as i2c-3 for me - more testing is required.
You can find the updated overlay source here
. Compile it with:
and copy it to /boot/overlays.
Use it like this:
Code: Select all
Note that "bus=0" is the default and could be omitted.