-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fby3.5: cl: Modify PMIC pre-read function (#327)
Summary: - In function driver_init(), pre-read function for each sensor is called. The pre-read function of the PMIC sensor sends IPMB message to ME, but IPMB is not ready at this time. It causes unexpected behavior. - Modify PMIC initialization function and pre-read function to avoid sending IPMB message to ME before IPMI initialization. - Fix PMIC smbus address as described in #323 . Pull Request resolved: #327 Test Plan: - Build code: PASS - Sensor read: PASS ``` root@bmc-oob:~# sensor-util slot1 | grep PMIC DIMMA PMIC_Pout (0x1E) : 0.38 Watts | (ok) DIMMC PMIC_Pout (0x1F) : 0.52 Watts | (ok) DIMMD PMIC_Pout (0x36) : 0.75 Watts | (ok) DIMME PMIC_Pout (0x37) : 0.60 Watts | (ok) DIMMG PMIC_Pout (0x42) : 0.50 Watts | (ok) DIMMH PMIC_Pout (0x47) : 0.50 Watts | (ok) ``` Reviewed By: zhdaniel12 Differential Revision: D37079722 Pulled By: GoldenBug fbshipit-source-id: b622fa1e8c7548bd1a760bcfdcb7a18cb099f11c
- Loading branch information
1 parent
2c235cf
commit 108bf01
Showing
5 changed files
with
45 additions
and
25 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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