and which I2C bus does it show in userspace?No, the use of the node i2c@0 in DT is totally independent of how it is exposed to userspace.Hyperpixel displays are using a bit-bashed I2C on GPIO10/11. That get's asigned to I2C0
https://github.com/raspberrypi/linux/bl ... l.dtsi#L80post the output of below command and the full content of your config.txtCode:
__overlay__ {i2c_gpio: i2c@0 {compatible = "i2c-gpio";gpios = <&gpio 10 0 /* sda */ &gpio 11 0>; /* scl */Code:
i2cdetect -l
If you wish to assign a particular userspace /dev/i2c-N to a bus, you need to add an alias to it.
You have a display in front of you, i don't own one (and I also need ro say that I've never used a SW I2C on Pi).
Statistics: Posted by aBUGSworstnightmare — Mon May 20, 2024 9:13 pm