Skip to content

Commit

Permalink
PSU Presence detection in platform manager for morgan800cc (#301)
Browse files Browse the repository at this point in the history
Summary:
Add GPIO pins for psu presence detection for platform manager for morgan800cc

UT:
I1203 10:20:30.099922   887 PresenceChecker.cpp:84] Value at /dev/gpiochip1 is 1. desiredValue is 1. Assuming presence of PmUnit at /PSU_SLOT@0
I1203 10:20:33.275860   887 PresenceChecker.cpp:84] Value at /dev/gpiochip1 is 1. desiredValue is 1. Assuming presence of PmUnit at /PSU_SLOT@1

Pull Request resolved: #301

Reviewed By: kimdo8736

Differential Revision: D66661204

Pulled By: somasun

fbshipit-source-id: 9cb2454a2a645dcd90b56a0358a1f1ddf5580c10
  • Loading branch information
scottpaulsen authored and facebook-github-bot committed Dec 4, 2024
1 parent c14c5ea commit 184ca54
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions fboss/platform/configs/morgan800cc/platform_manager.json
Original file line number Diff line number Diff line change
Expand Up @@ -434,13 +434,27 @@
"slotType": "PSU_SLOT",
"outgoingI2cBusNames": [
"MCB_IOB_I2C_MASTER_1"
]
],
"presenceDetection": {
"gpioLineHandle": {
"devicePath": "/[MCB_MCB_GPIO]",
"lineIndex": 48,
"desiredValue": 1
}
}
},
"PSU_SLOT@1": {
"slotType": "PSU_SLOT",
"outgoingI2cBusNames": [
"MCB_IOB_I2C_MASTER_2"
]
],
"presenceDetection": {
"gpioLineHandle": {
"devicePath": "/[MCB_MCB_GPIO]",
"lineIndex": 52,
"desiredValue": 1
}
}
},
"FCB_SLOT@0": {
"slotType": "FCB_SLOT",
Expand Down

0 comments on commit 184ca54

Please sign in to comment.