Skip to content

net: phy: bcm5481x: add support for BroadR-Reach mode

Kamil Horák (2N) linux-devicetree lkml netdev 12 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v12 Latest4 patches 5 repliesApplied 4/4
  2. v114 patches 7 repliesSuperseded
  3. v104 patches 3 repliesSuperseded
Earlier versions · 9
VersionPostedPatchesRepliesStatus
v94 patches7 repliesSuperseded
v84 patches7 repliesSuperseded
v74 patches8 repliesSuperseded
v64 patches2 repliesSuperseded
v53 patches3 repliesSuperseded
v43 patches1 replySuperseded
v33 patches16 repliesSuperseded
v23 patches1 replySuperseded
v11 patch5 repliesSuperseded

Changes in v12 from the cover letter

- Reworked the BroadR-Reach mode selection as suggested by the review
- Renamed some functions to make clear that they handle the alternative (LRE) register set
- Some minor changes as recommended

Patches in v12 All 4 applied

#Subject and filesSizeRepliesApplied
1/4net: phy: bcm54811: New link mode for BroadR-Reachdrivers/net/phy/phy-core.c include/uapi/linux/ethtool.h net/ethtool/common.c+6 -10 repliesApplied
2/4net: phy: bcm54811: Add LRE registers definitionsinclude/linux/brcmphy.h+88 -02 repliesApplied
3/4dt-bindings: ethernet-phy: add optional brr-mode flagDocumentation/devicetree/bindings/net/ethernet-phy.yaml+8 -01 replyApplied
4/4net: phy: bcm-phy-lib: Implement BroadR-Reach link modesdrivers/net/phy/bcm-phy-lib.c drivers/net/phy/bcm-phy-lib.h drivers/net/phy/broadcom.c+494 -282 repliesApplied

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchFlorian FainelliAndrew LunnRob Herring (Arm)
1/4R-b R-b
2/4R-b R-b
3/4R-b R-b
4/4R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v12 thread

Cover letter [PATCH v12 0/4] net: phy: bcm5481x: add support for BroadR-Reach mode

PATCH 1 - Add the 10baseT1BRR_Full link mode

PATCH 2 - Add the definitions of LRE registers, necessary to use
BroadR-Reach modes on the BCM5481x PHY

PATCH 3 - Add brr-mode flag to switch between IEEE802.3 and BroadR-Reach

PATCH 4 - Implementation of the BroadR-Reach modes for the Broadcom
PHYs

Changes in v2:
- Divided into multiple patches, removed useless link modes

Changes in v3:
- Fixed uninitialized variable in bcm5481x_config_delay_swap function

Changes in v4:
- Improved the division of functions between bcm-phy library and broadcom.c
- Changed the BroadR-Reach / IEEE mode switching to device tree boolean as these modes are mutually exclusive and barely could coexist in one hardware
- Made the link mode selection compatible with current ethtool (i.e. the linkmode is selected by choosing speed and master-slave)

Changes in v5:
- Fixed the operator precedence as reported by the kernel test robot
- Fixed doc of bcm_linkmode_adv_to_mii_adv_t function

Changes in v6:
- Moved the brr-mode flag to separate commit as required by the rules for DT binding patches
- Renamed some functions to make clear they handle LRE-related stuff
- Reordered variable definitions to match the coding style requirements

Changes in v7:
- Fixed the changes distribution into patches (first one was not buildable)

Changes in v8:
- Fixed coding style and did other changes on behalf of the reviewers

Changes in v9:
- Applied reviewed tags to unchanged commits, reformatted the submitter's address

Changes in v10:
- Fixed minor CR issues, clarified the embedded documentation and the commit message

Changes in v11:
- Reworded the brr-mode flag documentation

Changes in v12:
- Reworked the BroadR-Reach mode selection as suggested by the review
- Renamed some functions to make clear that they handle the alternative (LRE) register set
- Some minor changes as recommended

Kamil Horák (2N) (4):
net: phy: bcm54811: New link mode for BroadR-Reach
net: phy: bcm54811: Add LRE registers definitions
dt-bindings: ethernet-phy: add optional brr-mode flag
net: phy: bcm-phy-lib: Implement BroadR-Reach link modes

 .../devicetree/bindings/net/ethernet-phy.yaml |   8 +
 drivers/net/phy/bcm-phy-lib.c                 | 115 +++++
 drivers/net/phy/bcm-phy-lib.h                 |   4 +
 drivers/net/phy/broadcom.c                    | 403 ++++++++++++++++--
 drivers/net/phy/phy-core.c                    |   3 +-
 include/linux/brcmphy.h                       |  88 ++++
 include/uapi/linux/ethtool.h                  |   1 +
 net/ethtool/common.c                          |   3 +
 8 files changed, 596 insertions(+), 29 deletions(-)
Signature · 1 line
2.39.2