Skip to content

sb: rb: Add hamsa_avdd_pcie set command during power-off#2702

Open
khoung76642 wants to merge 19 commits intofacebook:mainfrom
khoung76642:upcode_20261301
Open

sb: rb: Add hamsa_avdd_pcie set command during power-off#2702
khoung76642 wants to merge 19 commits intofacebook:mainfrom
khoung76642:upcode_20261301

Conversation

@khoung76642
Copy link
Copy Markdown
Contributor

Summary:

  • Fix incorrect current unit in MEDHA ADC power calculation
  • Use A directly instead of treating the value as mA
  • modified UCR value of P0V9_OWL_E_TRVDD and P0V9_OWL_W_TRVDD
    -Iout: 15A -> 16A
    -Pout: 13.5W -> 15.3W
  • fix when power sequence error, log error data will clear all data when read cpld or vr fail
  • remove reading VR(P3V3_OSFP) when pwr sequence error in 3v3
  • fix ADC raw voltage and current data synchronization issue
  • add vr_update_switch MMC CLI command(write cpld 0xC4 1-bit)
    -enable : can do vr update(keep vr pwr on)
    -disable: follow dc on/off
  • set DELTA UBC the time of output vlotage rise reg (0x61) to 0x0078
  • re-init ADC settings when dc on
  • update VR FW check from "P3V3 & P5V PWRGD" to "P3V3 PWRGD"
  • Add oem command for sensor polling cmd
  • Modified a 5ms delay is required before writing to the EEPROM
  • Add update state check during concurrent FW update and sensor(ubc, vr, temp...) access
  • Add support for setting hamsa_avdd_pcie when powers off
  • hamsa_avdd_pcie parameters save in EEPROM as permanent settings
  • Initialize permanent hamsa_avdd_pcie when MMC init
  • Add handling of permanent parameters in plat_set_vout_command()
  • remove limitation of VR test mode MPS vout setting(<=200mV)
  • dc off will check gpio "RST_IRIS_PWR_ON_PLD_R1_N" because starting with cpld version E024 UBC will keep on
  • add Thermel Trip Event will send cpld register current value when send event to bmc
  • modify MPS mp29816C vout setting and getting function

Test Plan:
-Build code: Pass

S-J-Tang and others added 19 commits April 9, 2026 03:02
Summary:
- Fix incorrect current unit in MEDHA ADC power calculation
- Use A directly instead of treating the value as mA
Test Plan:
- Build code: Pass
- Function check: Pass
…_OWL_W_TRVDD

Summary:
- modified UCR value of P0V9_OWL_E_TRVDD and P0V9_OWL_W_TRVDD
	-Iout: 15A -> 16A
	-Pout: 13.5W -> 15.3W

Test Plan:
- Build code: Pass
Summary:
- fix when power sequence error, log error data will clear all data when read cpld or vr fail

Test Plan:
- Build code: Pass
Summary:
- fix ADC raw voltage and current data synchronization issue.

Test Plan:
- Build code: Pass
Summary:
- Version commit for sb-rb-20261001

Test Plan:
Build code: Pass
Check BIC version: Pass
Summary:
- add vr_update_switch MMC CLI command(write cpld 0xC4 1-bit)
	-enable : can do vr update(keep vr pwr on)
	-disable: follow dc on/off

Test Plan:
- Build code: Pass
…x0078

Summary:
- set DELTA UBC the time of output vlotage rise reg (0x61) to 0x0078
- re-init ADC settings when dc on
- update VR FW check from "P3V3 & P5V PWRGD" to "P3V3 PWRGD".

Test Plan:
- Build code: Pass
Summary:
- Version commit for sb-rb-20261101

Test Plan:
Build code: Pass
Check BIC version: Pass
Summary:
- A 5ms delay is required before writing to the EEPROM.

Test Plan:
- Build code: Pass
Summary:
- oem command for sensor polling cmd

Test Plan:
- Build code: Pass
Summary:
- Version commit for sb-rb-20261201

Test Plan:
Build code: Pass
Check BIC version: Pass
…when send event to bmc

Summary:
- remove limitation of VR test mode MPS vout setting(<=200mV)
- dc off will check gpio "RST_IRIS_PWR_ON_PLD_R1_N" because starting with cpld version E024 UBC will keep on
- add Thermel Trip Event will send cpld register current value when send event to bmc

Test Plan:
- Build code: Pass
Summary:
- Add support for setting hamsa_avdd_pcie when powers off
- hamsa_avdd_pcie parameters save in EEPROM as permanent settings
- Initialize permanent hamsa_avdd_pcie when MMC init
- Add handling of permanent parameters in plat_set_vout_command()

Test Plan:
- Build code: Pass
Summary:
- Version commit for sb-rb-20261301

Test Plan:
Build code: Pass
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Apr 8, 2026
@meta-codesync
Copy link
Copy Markdown
Contributor

meta-codesync bot commented Apr 8, 2026

@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this in D100062512. (Because this pull request was imported automatically, there will not be any future comments.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants