sb: rb: adc current leakage issue fw work around and set clk buffer U87, U88 be 1V#2683
Merged
amithash merged 27 commits intofacebook:mainfrom Mar 31, 2026
Merged
sb: rb: adc current leakage issue fw work around and set clk buffer U87, U88 be 1V#2683amithash merged 27 commits intofacebook:mainfrom
amithash merged 27 commits intofacebook:mainfrom
Conversation
Summary: - Fix shell command "voltage_range" show VR name error Test Plan - Build code: Pass
Summary: - fix boot1 read version pointer issue Test Plan: - Build code: Pass
Summary: - Fix clang-format for release Test Plan: - Build code: Pass
Summary: - Resize vr_vout_range_user_settings_struct array to match actual VR count Test Plan - Build code: Pass
… setting Summary: - modified default bootstrap pin setting -EVT: HAMSA_LS_STRAP 1 MEDHA0_CHIP_STRAP_0 1 MEDHA1_CHIP_STRAP_0 1 ->= DVT: HAMSA_LS_STRAP 0 MEDHA0_CHIP_STRAP_0 0 MEDHA1_CHIP_STRAP_0 0 - update reading position for ASIC version data - Enable MEDHA0/1 i2c target and set HAMSA, MEDHA0/1 i2c freq. to 100KHz Test Plan: - Build code: Pass
Summary: - Remove default bootstrap setting -EVT: HAMSA_LS_STRAP 1 MEDHA0_CHIP_STRAP_0 1 MEDHA1_CHIP_STRAP_0 1 ->= DVT: HAMSA_LS_STRAP 0 MEDHA0_CHIP_STRAP_0 0 MEDHA1_CHIP_STRAP_0 0 - Add bootstrap default value -HAMSA_MFIO7 = 0 -HAMSA_MFIO9 = 1 -MEDHA0_CHIP_STRAP_1 = 0 -MEDHA1_CHIP_STRAP_1 = 0 - Modified platform info to show i2c bus MEADHA0/1 Enable - Optimize the "i2c_target_read" function by using a wrapper. Test Plan: - Build code: Pass
Summary: - optimize power capping assert time Test Plan: - Build code: Pass - Test with power capping function
…iris power on gpio
Summary: - Version commit for sb-rb-20260601 Test Plan: Build code: Pass Check BIC version: Pass
…s sensor to read Summary: - add read status words in black box if power sequence error has sensor to read Test Plan: - Build code: Pass
Summary: - modified bootstrap default pin setting -For all boards -HAMSA_MFIO7 = 0 -HAMSA_MFIO9 = 1 -MEDHA0_CHIP_STRAP_1 = 0 -MEDHA1_CHIP_STRAP_1 = 0 -For Rainbow <=fab 2 -HAMSA_LS_STRAP_0 = 0x1 -MEDHA0_CHIP_STRAP_0 = 0x1 -MEDHA1_CHIP_STRAP_0 = 0x1 -For Rainbow >=fab 3 -HAMSA_LS_STRAP_0 = 0x0 -MEDHA0_CHIP_STRAP_0 = 0x0 -MEDHA1_CHIP_STRAP_0 = 0x0 Test Plan: - Build code: Pass
Summary: - Version commit for sb-rb-20260801 Test Plan: Build code: Pass Check BIC version: Pass
Summary: - Remove cpld_polling_alert_status as the CPLD polling is now triggered by semaphore. Test Plan: - Build code: Pass
Summary: - Add plat_pldm_vr_update() wrapper for VR PLDM FW update - Validate component version string against detected VR sensor type (mp29816a/mp2971/raa228249) - Reject mismatched VR firmware to prevent flashing the wrong image Test Plan: - Build code: Pass - Function check: Pass
Summary: - Use ADC instant MEDHA0/MEDHA1 power when power capping source is ADC - Keep using VR sensor cached power when source is VR - Apply the source-based selection to VR power buffer and MEDHA_SENSOR_VALUE_REG readback - Support both ADS7066 and AD4058 as ADC sources for MEDHA power - Rename adc_raw_mv_to_apms() to adc_raw_v_to_apms() for clarity Test Plan: - Build code: Pass - Function check: Pass
Summary: - Change IRIS_OWL_W_TRVDD0P75 and IRIS_OWL_E_TRVDD0P75 event order to match bmc event definitions - Update LED heartbeat to reflect system fault state Test Plan: - Build code: Pass
Summary: - Resolved EEPROM write failures caused by back-to-back log entries occurring too rapidly. - Prevented EEPROM write failures by enforcing a 5ms guard time between log entries. Test Plan: - Build code: Pass
Summary: - Fix clang-format below these files. meta-facebook/sb-rb/src/platform/plat_adc.c meta-facebook/sb-rb/src/platform/plat_i2c_target.c meta-facebook/sb-rb/src/platform/plat_led.c meta-facebook/sb-rb/src/platform/plat_pldm_fw_update.c Test Plan: -Build code: Pass
…bugs Summary: - add when dc on clk buffer U87, U88 amplitude setting will be 1V - add showing adc voltage data when power capping source is setting from adc - modified it will set VR setting back to normal mode if system in vr test mode when dc off - fix power_sequence_event_pwrgd_table info, cpld reg:0xC1 data Test Plan: - Build code: Pass
Summary: - Replace ADC power voltage input from ads7066_val_*/ad4058_val_* to inst_medha0/inst_medha1 (cached VDD rail voltage) - Keep using ADC raw values to convert current and compute MEDHA instant power - Support both ADS7066 and AD4058 paths Test Plan: - Build code: Pass - Function chech: Pass
Summary: - Version commit for sb-rb-20260901 Test Plan: Build code: Pass Check BIC version: Pass
Contributor
|
@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this in D96099006. (Because this pull request was imported automatically, there will not be any future comments.) |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
-AC on
set cs0/cs1 to be gpio output LOW (to avoid current leakage)
-DC on
set cs0/cs1 to be spi device cs which is used by adc
-DC off
set cs0/cs1 to be gpio output LOW (to avoid current leakage)
-For all boards
-HAMSA_MFIO7 = 0
-HAMSA_MFIO9 = 1
-MEDHA0_CHIP_STRAP_1 = 0
-MEDHA1_CHIP_STRAP_1 = 0
-For Rainbow <=fab 2
-HAMSA_LS_STRAP_0 = 0x1
-MEDHA0_CHIP_STRAP_0 = 0x1
-MEDHA1_CHIP_STRAP_0 = 0x1
-For Rainbow >=fab 3
-HAMSA_LS_STRAP_0 = 0x0
-MEDHA0_CHIP_STRAP_0 = 0x0
-MEDHA1_CHIP_STRAP_0 = 0x0
-HAMSA_MFIO7 = 0
-HAMSA_MFIO9 = 1
-MEDHA0_CHIP_STRAP_1 = 0
-MEDHA1_CHIP_STRAP_1 = 0
Test Plan: