Changed the GPIO matrix and direct GPIO key scan drivers to do a single read per port instead of one read per pin. This is much more efficient for some types of GPIO drivers, such as I2C GPIO expanders. To accomplish this with minimal overhead, we now sort input pins by port at driver init. if we iterate through the pins in the sorted order, all pins on the same port are consecutive, so we only need to read each port once the first time we see it. |
||
---|---|---|
.. | ||
display | ||
gpio | ||
kscan | ||
sensor | ||
zephyr | ||
CMakeLists.txt | ||
Kconfig |