4 ms·
Ok, on the I2C driver because you are saying that: A separate I2C driver was done because the PA Semi one is polled, not interrupt-driven. Polling to wait on
by my123 6y ago
Ok, on the I2C driver because you are saying that:
A separate I2C driver was done because the PA Semi one is polled, not interrupt-driven.
Polling to wait on a slow bus such as I2C is brutal. And we don't know if the original PA Semi hardware even supports being interrupt-driven (in the same way?).
As such the drivers don't even have much in common here.
- marcan_42 6y agoThis is exactly why you talk to the author of the existing driver, and/or the maintainer if someone else, to figure out what to do and how to avoid code duplication. That's what they aren't doing. Talking to anyone.