Add sai_mdio_access_clause22=1 in td3x2-a720dt-48s-flex.config.bcm #11303
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.
Signed-off-by: Jiahua Wang jiahua.wang@broadcom.com
Why I did it
The sai switch api as of now only has "switch_mdio_read/switch_mdio_write" functions. SAI needs another configuration parameter to distinguish mdio access clause 22 from clause 45.
How I did it
Adding the new soc property "sai_mdio_access_clause22" will allow the mdio device using the mdio clause 22 access with the same sai switch api functions "switch_mdio_read/switch_mdio_write".
How to verify it
On a platform with mdio clause 22 device connected to broadcom NPU mdio bus, PAI/gearbox will only work with the new soc property "sai_mdio_access_clause22=1".
Which release branch to backport (provide reason below if selected)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)