Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix I2C GPIO interrupts with ATX-PSU POWER_GOOD input #81

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

SpComb
Copy link
Member

@SpComb SpComb commented Sep 1, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant