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

configuration: system1: Add GPIO monitoring type #71

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

cjcain
Copy link
Contributor

@cjcain cjcain commented Sep 25, 2024

Some GPIOs do not support event_read method to monitor for value changes. Added a new MonitorType field to specify if the GPIO needs to be manually polled to detect presence.
Also added PCIE Switch temperature sensors

Tested:

  • Verified no change when MonitorType not specified
  • Verified functionality when Polling enum was specified

Change-Id: Ie5e8a2afe43d05192828292b629baade6b0c9c82

Some GPIOs do not support event_read method to monitor for value
changes. Added a new MonitorType field to specify if the GPIO
needs to be manually polled to detect presence.
Also added PCIE Switch temperature sensors

Tested:
- Verified no change when MonitorType not specified
- Verified functionality when Polling enum was specified

Change-Id: Ie5e8a2afe43d05192828292b629baade6b0c9c82
Signed-off-by: Chris Cain <cjcain@us.ibm.com>
@geissonator
Copy link
Contributor

add to approvelist

@geissonator
Copy link
Contributor

jenkins run tests please

@cjcain cjcain requested a review from spinler October 1, 2024 14:16
Copy link
Contributor

@spinler spinler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a few other changes in here too?

@cjcain
Copy link
Contributor Author

cjcain commented Oct 1, 2024

Yes, also had to update a few of the fan parameters.

@rfrandse rfrandse merged commit afe6d11 into ibm-openbmc:airpn-v1 Oct 2, 2024
1 check passed
rfrandse pushed a commit that referenced this pull request Oct 2, 2024
Some GPIOs do not support event_read method to monitor for value
changes. Added a new MonitorType field to specify if the GPIO
needs to be manually polled to detect presence.
Also added PCIE Switch temperature sensors

Tested:
- Verified no change when MonitorType not specified
- Verified functionality when Polling enum was specified

Change-Id: Ie5e8a2afe43d05192828292b629baade6b0c9c82

Signed-off-by: Chris Cain <cjcain@us.ibm.com>
geissonator pushed a commit to geissonator/entity-manager that referenced this pull request Nov 6, 2024
Some GPIOs do not support event_read method to monitor for value
changes. Added a new MonitorType field to specify if the GPIO
needs to be manually polled to detect presence.
Also added PCIE Switch temperature sensors

Tested:
- Verified no change when MonitorType not specified
- Verified functionality when Polling enum was specified

Change-Id: Ie5e8a2afe43d05192828292b629baade6b0c9c82

Signed-off-by: Chris Cain <cjcain@us.ibm.com>
geissonator pushed a commit to geissonator/entity-manager that referenced this pull request Nov 6, 2024
Some GPIOs do not support event_read method to monitor for value
changes. Added a new MonitorType field to specify if the GPIO
needs to be manually polled to detect presence.
Also added PCIE Switch temperature sensors

Tested:
- Verified no change when MonitorType not specified
- Verified functionality when Polling enum was specified

Change-Id: Ie5e8a2afe43d05192828292b629baade6b0c9c82

Signed-off-by: Chris Cain <cjcain@us.ibm.com>
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.

4 participants