Skip to content

[platform/seastone] Seastone QSFP i2c write function support #8550

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

Closed

Conversation

pphuchar
Copy link
Contributor

Why I did it

Enable the SMBus access to QSFP/SFP module. Allow the data to be written to the module's EEPROM.

How I did it

Update the Seastone SMBus core driver to support the followings functions:

  • SMBus Receive Byte
  • SMBus Read/Write Byte Data
  • SMBus Read/Write Word Data

How to verify it

  1. Update the platform driver in SONiC and reboot.
  2. Run the bus functionality check on the related adapter.
  3. Write the data to the module and read back.

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106

Description for the changelog

  • Seastone: driver support XCVR EEPROM write.

Test Log:
dx010-wrtite-access-xcvr-module.log

A picture of a cute animal (not mandatory but encouraged)

- Add support to following SMBus transactions
   * SMBus Receive Byte
   * SMBus Read/Write Byte
   * SMBus Read/Write Word
- SMBus core code refactoring.
- Add dynamic print debug message.
@pphuchar pphuchar force-pushed the dx010-i2c-write-function-support branch from dd10e80 to 339bd40 Compare August 21, 2021 13:57
@pphuchar pphuchar closed this Sep 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant