diff options
| author | Mark Pizzutillo <Mark.Pizzutillo@ibm.com> | 2019-09-17 16:20:34 -0400 |
|---|---|---|
| committer | Daniel M Crowell <dcrowell@us.ibm.com> | 2019-10-08 11:16:38 -0500 |
| commit | c349ba997ee75adb76762c073f11e79c301e5a8e (patch) | |
| tree | 594a4cd40d8948c2465b296211e59f6ba9679b03 /src/import/chips/ocmb/common/include | |
| parent | 23d883c6dcb8002cc301adcad89f2a294338bcde (diff) | |
| download | talos-hostboot-c349ba997ee75adb76762c073f11e79c301e5a8e.tar.gz talos-hostboot-c349ba997ee75adb76762c073f11e79c301e5a8e.zip | |
Check PMIC error and enable statuses after pmic_enable
Change-Id: I26bc700a3b368c9bd110ee62b1037a6c6d14491e
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/83886
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Louis Stermole <stermole@us.ibm.com>
Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com>
Reviewed-by: Jennifer A Stofer <stofer@us.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/83904
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/ocmb/common/include')
| -rw-r--r-- | src/import/chips/ocmb/common/include/pmic_regs_fld.H | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/import/chips/ocmb/common/include/pmic_regs_fld.H b/src/import/chips/ocmb/common/include/pmic_regs_fld.H index 1301d0e05..16946f491 100644 --- a/src/import/chips/ocmb/common/include/pmic_regs_fld.H +++ b/src/import/chips/ocmb/common/include/pmic_regs_fld.H @@ -69,6 +69,31 @@ struct pmicFields<mss::pmic::product::JEDEC_COMPLIANT> static constexpr uint8_t SEQUENCE_SWC_ENABLE = 0x04; static constexpr uint8_t SEQUENCE_SWD_ENABLE = 0x03; + // R04 + static constexpr uint8_t R04_GLOBAL_ERROR_COUNT = 0x07; + static constexpr uint8_t R04_GLOBAL_ERROR_LOG_BUCK_OV_OR_UV = 0x06; + static constexpr uint8_t R04_GLOBAL_ERROR_LOG_VIN_BULK_OVER_VOLTAGE = 0x05; + static constexpr uint8_t R04_GLOBAL_ERROR_LOG_CRITICAL_TEMPERATURE = 0x04; + + // R05 + static constexpr uint8_t R05_SWA_POWER_GOOD = 0x06; + static constexpr uint8_t R05_SWB_POWER_GOOD = 0x05; + static constexpr uint8_t R05_SWC_POWER_GOOD = 0x04; + static constexpr uint8_t R05_SWD_POWER_GOOD = 0x03; + static constexpr uint8_t R05_PMIC_ERROR_LOG = 0x02; // TK ARRAY + + // R06 + static constexpr uint8_t R06_SWA_UNDER_VOLTAGE_LOCKOUT = 0x07; + static constexpr uint8_t R06_SWB_UNDER_VOLTAGE_LOCKOUT = 0x06; + static constexpr uint8_t R06_SWC_UNDER_VOLTAGE_LOCKOUT = 0x05; + static constexpr uint8_t R06_SWD_UNDER_VOLTAGE_LOCKOUT = 0x04; + static constexpr uint8_t R06_SWA_OVER_VOLTAGE = 0x03; + static constexpr uint8_t R06_SWB_OVER_VOLTAGE = 0x02; + static constexpr uint8_t R06_SWC_OVER_VOLTAGE = 0x01; + static constexpr uint8_t R06_SWD_OVER_VOLTAGE = 0x00; + + // R07 all reserved + // R08 static constexpr uint8_t R08_VIN_BULK_INPUT_PWR_GOOD_STATUS = 0x07; static constexpr uint8_t R08_CRITICAL_TEMP_SHUTDOWN_STATUS = 0x06; |

