diff options
| author | Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com> | 2023-03-09 10:27:47 +0300 |
|---|---|---|
| committer | Patrick Williams <patrick@stwcx.xyz> | 2023-03-17 15:42:57 +0300 |
| commit | 17539d86bb35f22ee879e05f4d0e1240046d6424 (patch) | |
| tree | 155dc9e86519bc4adeea64e13212f79e04d9092e /meta-openembedded/meta-python/recipes-devtools/python/python3-pyserial | |
| parent | c864340986621338ee49f3697f4de56e0f04d430 (diff) | |
| download | openbmc-17539d86bb35f22ee879e05f4d0e1240046d6424.tar.xz | |
meta-facebook: greatlakes: Set 12V and host power state
Description:
- Set 12V and host power state.
Design:
- Use i2c bus 12 address 0xf register 0x25 to
detect 12V state
- Register gpio interrupt to set host power state when 12V off
- Set correct state on CurrentHostState property for host status
after doing host power control
- Set correcr state on CurrentPowerState property for 12V status
after doing 12V power control
Test Case:
1. 12V off - pass
2. 12V on - pass
3. 12V cycle - pass
4. sled cycle - pass
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
Change-Id: I4ccdec0a98037fd6ff405b2f534bb897d0e2e010
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-pyserial')
0 files changed, 0 insertions, 0 deletions
