Skip to content

[Arista] Add ability to set smbus bus_speed through platform_manager#1224

Open
huyc-arista wants to merge 1 commit into
facebook:mainfrom
huyc-arista:pm-i2c-bus-speed
Open

[Arista] Add ability to set smbus bus_speed through platform_manager#1224
huyc-arista wants to merge 1 commit into
facebook:mainfrom
huyc-arista:pm-i2c-bus-speed

Conversation

@huyc-arista
Copy link
Copy Markdown
Contributor

Pre-submission checklist

  • I've ran the linters locally and fixed lint errors related to the files I modified in this PR. You can install the linters by running pip install -r requirements-dev.txt && pre-commit install
  • pre-commit run

Summary

Add ability to optionally specify i2c bus speed in platform_manager config.

Changes:

  • Add optional busFreqHz to I2cAdapterConfig and I2cAdapterBlockConfig thrift structs
  • Thread busFreqHz through PciExplorer and Utils to ioctl bus_freq_hz
  • Missing piece: scd-smbus driver needs to be implemented to handle bus_freq_hz and
    create buses at the specified speed

Test Plan

At Arista we have tested setting icecube800bawn platform_manager config to set OSFP buses to 100khz/400khz
and with scd-smbus driver changes buses are created successfully at the correct speed

@huyc-arista huyc-arista requested a review from a team as a code owner May 21, 2026 20:29
@meta-cla meta-cla Bot added the CLA Signed label May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant