fby3.5: rf: Support GPIO interrupt#312
Closed
DelphineChiu wants to merge 1 commit into
Closed
Conversation
Contributor
|
@GoldenBug has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Summary: - Support monitor system DC state. - Support monitor MB reset. Known issue: - HW: ASIC voltage is 1.8V, but it's too low to let GPIO high. Test plan: 1. Check system DC flag will change. - MB power on [BMC console] root@bmc-oob:~# power-util slot2 on Powering fru 2 to ON state... root@bmc-oob:~# power-util slot2 status Power status for fru 2 : ON [RF BIC console] uart:~$ [set_MB_DC_status] gpio number(32) status(1) [control_power_on_sequence] power on success [set_DC_status] gpio number(33) status(1) - MB power off [BMC console] root@bmc-oob:~# power-util slot2 off Powering fru 2 to OFF state... root@bmc-oob:~# power-util slot2 status Power status for fru 2 : OFF [RF BIC console] uart:~$ [set_MB_DC_status] gpio number(32) status(0) [set_DC_status] gpio number(33) status(0) [control_power_off_sequence] power off success 2. Check ASIC_PERST0_N will change when host reset. [BMC console] root@bmc-oob:~# power-util slot2 reset [RF BIC console] uart:~$ platform gpio get 1 [1 ] ASIC_PERST0_N : OD | output(I) | 0(0) uart:~$ platform gpio get 1 [1 ] ASIC_PERST0_N : OD | output(O) | 0(0) uart:~$ platform gpio get 1 [1 ] ASIC_PERST0_N : OD | output(I) | 0(0)
eeb3a7e to
b3fc42a
Compare
Contributor
|
@DelphineChiu has updated the pull request. You must reimport the pull request before landing. |
Contributor
|
Hi @GoldenBug , |
Contributor
|
@GoldenBug has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
Known issue:
Test plan:
[BMC console]
root@bmc-oob:
# power-util slot2 on# power-util slot2 statusPowering fru 2 to ON state...
root@bmc-oob:
Power status for fru 2 : ON
[RF BIC console]
uart:~$ [set_MB_DC_status] gpio number(32) status(1)
[control_power_on_sequence] power on success
[set_DC_status] gpio number(33) status(1)
[BMC console]
root@bmc-oob:
# power-util slot2 off# power-util slot2 statusPowering fru 2 to OFF state...
root@bmc-oob:
Power status for fru 2 : OFF
[RF BIC console]
uart:~$ [set_MB_DC_status] gpio number(32) status(0)
[set_DC_status] gpio number(33) status(0)
[control_power_off_sequence] power off success
[BMC console]
root@bmc-oob:~# power-util slot2 reset
[RF BIC console]
uart:
$ platform gpio get 1$ platform gpio get 1[1 ] ASIC_PERST0_N : OD | output(I) | 0(0)
uart:
[1 ] ASIC_PERST0_N : OD | output(O) | 0(0)
uart:~$ platform gpio get 1
[1 ] ASIC_PERST0_N : OD | output(I) | 0(0)