-
Notifications
You must be signed in to change notification settings - Fork 54
sb: rb: Update multiple new functions to sb-rb-20254901 #2657
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Summary: - Version commit for sb-rb-20254201 Test Plan: - Build code: Pass - Check BIC version: Pass
Summary: - add shell commands -shell_clock_ctrl -shell_fru -shell_jtag_mux -shell_power_good_status -shell_vqps Test Plan: - Build code: Pass
Summary: - Version commit for sb-rb-20254301 Test Plan: - Build code: Pass - Check BIC version: Pass
Summary: - update new vr threshold - add LEAK2 trigger funciton(EVB FAB2) - add ASIC die temperature sensor LED control funciton - remove iris_power steps_on shell command debug message - modify ALL_VR_PM_ALERT_R_N trigger funciton execute immediately when trigger - when asic is updating it needs to turn off cpld RESET register all pins and restore when update is finished - add shell_spi explanatory text Test Plan: - Build code: Pass
Summary: - Version commit for sb-rb-20254501 Test Plan: - Build code: Pass - Check BIC version: Pass
Summary: - Update new vr threshold - add LEAK2 trigger funciton(EVB FAB2) - add ASIC die temperature sensor LED control funciton - remove iris_power steps_on shell command debug message - modify ALL_VR_PM_ALERT_R_N trigger funciton execute immediately when trigger - when asic is updating it needs to turn off cpld RESET register all pins and restore when update is finished Test Plan: - Build code: Pass
Summary: - Add CPLD bit-level reset control (override/get/set) - Implement read-modify-write for single-byte reset register Test Plan: - Build: Pass - soc_pwron_reset override 0/1 - soc_pwron_reset get all - soc_pwron_reset set <NAME> <0|1>
Summary: - Add pcie_perst_control get/set/override commands - Implement CPLD PERST register control with override ON=0xFF and OFF=0xF0 - Support individual bit control for HAMSA_PCIe0~3 PERST Test Plan: - Build: Pass - pcie_perst_control override 0/1 - pcie_perst_control set <NAME> <0|1> - pcie_perst_control get all
Summary: - Implement power_capping_control shell command - Support get/set operations for LV1/LV2/LV3 power capping bits - Add override command to quickly switch all power capping levels on/off Test Plan: - Build: pass - power_capping_control get all: pass - power_capping_control set <NAME> <0|1>: pass - power_capping_control override <0|1>: pass
Summary: - Route VR_HOT get/set to TCA6424A IO expander on EVB boards - Keep VR_HOT control via CPLD on Rainbow boards - Use tca6424a_i2c_read() / tca6424a_i2c_write_bit() to access VR_HOT bit Test Plan: - Build: pass - Rainbow: `power_capping_control get all` and `set MEDHA*_PWR_CAP_* <0|1>` work as before - EVB: `power_capping_control get all` shows VR_HOT from IO expander - EVB: `power_capping_control set VR_HOT <0|1>` correctly toggles IO expander VR_HOT bit
Summary: - Unified register read flow and removed duplicated code - Append "success!" when status == 0x00, otherwise "fail!" Test Plan: - Build: pass - clock_status get/all works as expected
Summary: - Reordered power good checks to align with the defined power sequence Test Plan: - Build: Pass - Verified power good sequence with power-on sequence
Summary: - Added pca6416a_init() to initialize PCA6416A IO expander during boot - Set HAMSA_MFIO19 output bit to default 0 using tca6424a_i2c_write_bit() - Ensures VR_HOT (EVB) starts in a known-safe state Test Plan: - Build: pass - Verified HAMSA_MFIO19 reads back as 0 after initialization
Summary: - Replaced original HAMSA_MFIO_REG update logic with ASIC_VR_HOT_SWITCH control - Added board-specific VR_HOT handling: * Rainbow: drive VR_HOT via CPLD register ASIC_VR_HOT_SWITCH * EVB: drive VR_HOT via TCA6424A IO expander using tca6424a_i2c_write_bit() - Unified temperature alert flow to trigger VR_HOT through the new mechanism Test Plan: - Build: pass - Verified VR_HOT behavior on Rainbow and EVB during temperature alert
Summary: - Declared board_id outside the for-loop to avoid repeated get_asic_board_id() calls Test Plan: - Build: pass
Summary: - fix delay pcie reset perm setting Test Plan: - Build: Pass - verify "delay_pcie_perst set perm" and "perm_config" command
Summary: - Moved HAMSA_MFIO19 (VR_HOT_EVB_BIT) default 0 initialization from pca6416a_init to tca6424a_init Test Plan: - Build: pass
Summary: - fix power good status shell sequence Test Plan - Build code: Pass
Summary: - add sub command "get" for strap_control_manual to get STRAP_HIZ_EN status Test Plan: - Build code: pass
Summary: - fix adc index error - add U200052 ioexp. init and control function - add shell: get_fw_version force_read_asic - add 3v3osfp(EVB only) in power good status, power on and 1-steps on Test Plan: - Build code: Pass
Summary: - Add new VQPS control item: P1V8_OWL_EW_VQPS_EN. - EVB EVT1B: control via TCA6424A (OUTPUT_PORT_2). - EVB EVT2: control via PCA6554APW IO expander. - Non-EVB boards reject this control item. Test Plan: - Build code: pass - Verified vqps get/set behavior on EVT1B & EVT2.
Summary:
- Implement TRAY_INFO_REG handling in i2c target reply path
- Return 2-byte data: { mmc_slot, tray_location }
Test Plan:
- Build code: Pass
- Verified TRAY_INFO_REG read returns correct values
Summary: - Add support for U200070_IO device. - Initialize IO3–IO5 as input (1). - Initialize IO0, IO1, IO2, IO7 as output with default value 0. Test Plan: - Build code: Pass - Verified U200070_IO init sets correct direction and default outputs.
Summary: - Change VQPS shell command handling from U200052 to U200070 IO expander. - Update P1V8_OWL_EW_VQPS_EN bit mapping: - EVT1B → bit 1 - EVT2 → bit 7 Test Plan: - Build code: Pass - Verified VQPS get/set works correctly on EVT1B and EVT2 boards.
Summary: - Version commit for sb-rb-20254901 Test Plan: - Build code: Pass - Check BIC version: Pass
|
@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this in D90850843. (Because this pull request was imported automatically, there will not be any future comments.) |
|
@khoung76642 has updated the pull request. You must reimport the pull request before landing. |
|
For these error is that different init will have different device, so this is for our design But this one we checked there is no problem of logic: |
|
This pull request has been merged in bfda410. |
Summary:
-clock_ctrl
-fru_print
-jtag_mux
-power_good_status
-vqps
Test Plan: