sb: rb: Add i2c target power capping write/read polling rate function and fix adc current issue#2666
sb: rb: Add i2c target power capping write/read polling rate function and fix adc current issue#2666khoung76642 wants to merge 8 commits intofacebook:mainfrom
Conversation
Summary: - add more tpye of power capping sensor polling rate type -For source from VR: 0 - Poll MEDHA0/1_VDD power every 10ms (default) 1 - Poll MEDHA0/1_VDD power every 5ms 2 - Poll MEDHA0/1_VDD power every 2ms 3 - Poll MEDHA0/1_VDD power every 1ms 4 - Poll MEDHA0/1_VDD power every 2ms, VDDQC0246/VDDQC1357 power every 10ms 5 - Poll MEDHA0/1_VDD power every 5ms, VDDQC0246/VDDQC1357 power every 10ms 6 - Poll MEDHA0/1_VDD power every 5ms, VDDQC0246/VDDQC1357 power every 5ms 7 - Poll MEDHA0/1_VDD power every 2ms, VDDQC0246/VDDQC1357 power every 10ms, OWL_E_VDD/OWL_W_VDD/HAMSA_VDD power every 100ms -For source from ADC: 0 - Poll MEDHA0/1_VDD voltage every 10ms (default) 1 - Poll MEDHA0/1_VDD voltage every 5ms 2 - Poll MEDHA0/1_VDD voltage every 2ms 3 - Poll MEDHA0/1_VDD voltage every 1ms 4 - Poll MEDHA0/1_VDD voltage every 2ms, VDDQC0246/VDDQC1357 power every 10ms 5 - Poll MEDHA0/1_VDD voltage every 5ms, VDDQC0246/VDDQC1357 power every 10ms 6 - Poll MEDHA0/1_VDD voltage every 5ms, VDDQC0246/VDDQC1357 power every 5ms 7 - Poll MEDHA0/1_VDD voltage every 2ms, VDDQC0246/VDDQC1357 power every 10ms, OWL_E_VDD/OWL_W_VDD/HAMSA_VDD power every 100ms - modified cli cmd for setting power capping polling rate in type 0~3 Test Plan: - Build code: Pass
…in BMC printout Summary: - fix power capping polling rate bug - modified get_fw_version cli command composing - Display VR rail name in addition to checksum in BMC printout(T17CISB-1083) Test Plan: - Build code: Pass
Summary: - add i2c target power capping write/read polling rate function - fix pldm data size overflow issue - set pldm data size max value from 1300 -> 1450 - fix gpio define error Test Plan: - Build code: Pass
Summary: - Fix ADC current leak issue - Optimize power capping timing Test Plan: - Build code: Pass
…m info cli command
Summary: - Fix ADC current leak issue Test Plan: - Build code: Pass
Summary: - Version commit for sb-rb-20260501 Test Plan: Build code: Pass Check BIC version: Pass
|
*Regarding the following errors, we have checked and confirmed that they are from common code, which will be redefined by users in the platform code: *Since the SPI device behavior varies based on different definitions, this is expected. *We already check whether the data is NULL at the beginning of the function, so this error should not occur. |
|
@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this in D92371428. (Because this pull request was imported automatically, there will not be any future comments.) |
Summary:
add more tpye of power capping sensor polling rate type
-For source from VR:
-For source from ADC:
modified cli cmd for setting power capping polling rate in type 0~3
fix power capping polling rate bug
modified get_fw_version cli command composing
display VR rail name in addition to checksum in BMC printout(T17CISB-1083)
add i2c target power capping write/read polling rate function
fix pldm data size overflow issue
set pldm data size max value from 1300 -> 1450
fix gpio define error
fix ADC current leak issue
optimize power capping timing
add i2c connection for MEDHA0/1 to MMC information in platform info cli command
Test Plan: