Skip to content

Add two new commands to dump serdes register just like kernel 6.12#1

Open
0xharshal wants to merge 1 commit intoplappermaul:mainfrom
0xharshal:hg/diag_serdes_dump
Open

Add two new commands to dump serdes register just like kernel 6.12#1
0xharshal wants to merge 1 commit intoplappermaul:mainfrom
0xharshal:hg/diag_serdes_dump

Conversation

@0xharshal
Copy link

@0xharshal 0xharshal commented Oct 15, 2025

With this PR I want to share the minimal patches with community so someone with a buildable RTLSDK source can use it to easily dump serdes registers and further improve state of realtek-otto-pcs driver in OpenWRT.

For now this only targets rtl931x, as that is the one which I am actively working on.

To dump serdes data in kernel 6.12 debug style
```
serdes dumpowrt id <SDS_ID_AS_PER_OPENWRT>
```
To dump all serdes register raw
```
serdes dump
```

Signed-off-by: Harshal Gohel <hg@simonwunderlich.de>
@Neustradamus
Copy link

@plappermaul: Have you seen this @0xharshal PR?

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.

2 participants