Has anybody managed to write a device tree overlay to use a i2c device kernel driver?
I'm trying to connect a touch screen via a i2c-tiny-usb adapter on a raspberry pi (the normal i2c bus is disabled because I'm using a DPI screen).
I've managed to get the interrupt details setup but it looks like the overlay is getting attached to the disabled built in i2c bus and I need to work out how to write an overlay to add the extra i2c bus.
If I've understood the problem is with the target = <&i2c> lines which point to the existing bus. I think I need to create a overlay named i2c3 to match the new bus.
Has anybody managed to write a device tree overlay to use a i2c device kernel driver?
I'm trying to connect a touch screen via a i2c-tiny-usb adapter on a raspberry pi (the normal i2c bus is disabled because I'm using a DPI screen).
I've managed to get the interrupt details setup but it looks like the overlay is getting attached to the disabled built in i2c bus and I need to work out how to write an overlay to add the extra i2c bus.
If I've understood the problem is with the
target = <&i2c>
lines which point to the existing bus. I think I need to create a overlay namedi2c3
to match the new bus.(also asked on rPi Stack Overflow site here: https://raspberrypi.stackexchange.com/q/101823/37180)