I almost certainly have no idea what I'm talking about but
Can I write a device driver using io_uring? As in talk to i2c endpoints instead of normal files?
Can I write a device driver using io_uring? As in talk to i2c endpoints instead of normal files?
[0]: https://github.com/torvalds/linux/blob/master/include/uapi/l... search IORING_OP_
But you can still want async I/O with an I2C device, of course, as in you don't want to block a thread to wait on a message. And for that I believe you can still use good old select/epoll as usual on your I2C device file, and as a consequence also just use your favourite async I/O framework of the day (libevent, node.js, what have you).