esp
esp copied to clipboard
Fix I2C GPIO interrupts with ATX-PSU POWER_GOOD input
If the ATX-PSU POWER_GOOD input is connected to an PCA9554 I2C GPIO expander which is also connected to a shared I2C bus interrupt pin, then changes in the ATX-PSU POWER_GOOD state will block the I2C bus interrupts unless the GPIO inputs are read.
Add support for multiple gpio_i2c_dev sharing the same int_pin.
Move I2C GPIO timeout to the gpio_i2c_dev.
Change atx_psu to poll the power_good input state.
TODO
- Document use of i2c timeout for shared
gpio_i2c_dev - Fix atx-psu input polling in INACTIVE state
- Fix ESP8266