Skip to content

net: hisi-femac: add support for Hi3798MV200, remove unmaintained compatibles

Yang Xiwen b4-sent linux-devicetree lkml netdev 11 versions – In review

Get series with b4
b4 am [email protected] change-id 20240216-net-9a208e17c40f

Versions newest first

  1. v11 Latest9 patches 6 repliesIn review
  2. v108 patches 4 repliesSuperseded
  3. v99 patches 10 repliesSuperseded
Earlier versions · 8
VersionPostedPatchesRepliesStatus
v89 patches6 repliesSuperseded
v79 patches7 repliesSuperseded
v611 patches14 repliesSuperseded
v57 patches7 repliesSuperseded
v46 patches14 repliesSuperseded
v36 patches15 repliesSuperseded
v26 patches8 repliesSuperseded
v16 patches33 repliesSuperseded

Changes in v11 from the cover letter

- driver: repick the patch adding mv200 support, which is a stupid mistake (Krzysztof Kozlowski)
- Link to v10: https://lore.kernel.org/r/[email protected]

Patches in v11 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9dt-bindings: net: hisilicon-femac-mdio: convert to YAMLDocumentation/devicetree/bindings/net/hisilicon,hisi-femac-mdio.yaml Documentation/devicetree/bindings/net/hisilicon-femac-mdio.txt+44 -220 replies
2/9dt-bindings: net: hisilicon,hisi-femac-mdio: remove clocksDocumentation/devicetree/bindings/net/hisilicon,hisi-femac-mdio.yaml+0 -50 replies
3/9net: mdio: hisi-femac: remove clockdrivers/net/mdio/mdio-hisi-femac.c+1 -170 replies
4/9dt-bindings: net: convert hisi-femac.txt to YAMLDocumentation/devicetree/bindings/net/hisilicon,hisi-femac.yaml Documentation/devicetree/bindings/net/hisilicon-femac.txt+87 -415 replies
5/9dt-bindings: net: hisi-femac: add mandatory MDIO bus subnodeDocumentation/devicetree/bindings/net/hisilicon,hisi-femac.yaml+30 -00 replies
6/9dt-bindings: net: hisi-femac: add binding for Hi3798MV200 FEMAC coreDocumentation/devicetree/bindings/net/hisilicon,hisi-femac.yaml+6 -20 replies
7/9net: hisi_femac: remove unused compatible stringsdrivers/net/ethernet/hisilicon/hisi_femac.c+0 -20 replies
8/9net: hisi_femac: add support for hisi_femac core on Hi3798MV200drivers/net/ethernet/hisilicon/hisi_femac.c+59 -140 replies
9/9net: hisi_femac: remove unneeded MODULE_ALIAS()drivers/net/ethernet/hisilicon/hisi_femac.c+0 -10 replies

Reviews trailers per patch

6 of 9 patches have a Reviewed-by or Acked-by.

PatchKrzysztof Kozlowski
1/9R-b
2/9A-b
3/9
4/9R-b
5/9R-b
6/9R-b
7/9A-b
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v11 thread

Cover letter [PATCH net-next v11 0/9] net: hisi-femac: add support for Hi3798MV200, remove unmaintained compatibles

---
Changes in v11:
- driver: repick the patch adding mv200 support, which is a stupid mistake (Krzysztof Kozlowski)
- Link to v10: https://lore.kernel.org/r/[email protected]

Changes in v10:
- binding: make hi3516cv300 the fallback compatible (Krzysztof Kozlowski)
- driver: drop mv200 match string (Krzysztof Kozlowski)
- commit msg: remove #conflicts
- Link to v9: https://lore.kernel.org/r/[email protected]

Changes in v9:
- binding: remove generic fallback compatible as it's not used in driver
- Link to v8: https://lore.kernel.org/r/[email protected]

Changes in v8:
- remove MODULE_ALIAS: rewrite commit msg (Krzysztof Kozlowski)
- driver: use only SoC compatibles (Krzysztof Kozlowski)
- Link to v7: https://lore.kernel.org/r/[email protected]

Changes in v7:
- dt-bindings: squash a bunch of patches to YAML conversion (Krzysztof Kozlowski)
- dt-bindings: drop phy-mode->phy-connection-type conversion (Andrew Lunnm, Krzysztof Kozlowski)
- driver: drop SoC compatibles
- misc: some minor clean ups
- driver: remove MODULE_ALIAS()
- Link to v6: https://lore.kernel.org/r/[email protected]

Changes in v6:
- add missing "not" in commit logs (Andrew)
- rework binding changes, split it into several commits (Krzysztof Kozlowski)
- Link to v5: https://lore.kernel.org/r/[email protected]

Changes in v5:
- hisi-femac-mdio: remove clock completely (Krzysztof Kozlowski)
- dt-bindings: mdio: apply comments from Krzysztof Kozlowski

Changes in v4:
- edit commit log to show why mdio bus clk is optional (Krzysztof Kozlowski)
- add clk_bulk_disable_unprepare() during error path (Maxime Chevallier)
- remove of_node_put() (Simon Horman)
- remove histb-clock.h header in binding example as it's goign to be deprecated.
- rearrange patches so binding comes before driver
- Link to v3: https://lore.kernel.org/r/[email protected]

Changes in v3:
- rearrange patches to fix bot error. (Rob Herring)
- rewrite commit logs (Andrew Lunn)
- use clk_bulk_ APIs (Andrew Lunn)
- fix uninitialization use of ret (assign to -ENODEV before goto) (Simon Horman)
- Link to v2: https://lore.kernel.org/r/[email protected]

Changes in v2:
- replace email.
- hisi-femac: s/BUS/MACIF (Andrew Lunn)
- hisi-femac: add "hisilicon,hisi-femac" compatible since the driver seems generic enough for various SoCs
- hisi-femac-mdio: convert binding to YAML (Krzysztof Kozlowski)
- rewrite commit logs (Krzysztof Kozlowski)
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Yang Xiwen (9):
dt-bindings: net: hisilicon-femac-mdio: convert to YAML
dt-bindings: net: hisilicon,hisi-femac-mdio: remove clocks
net: mdio: hisi-femac: remove clock
dt-bindings: net: convert hisi-femac.txt to YAML
dt-bindings: net: hisi-femac: add mandatory MDIO bus subnode
dt-bindings: net: hisi-femac: add binding for Hi3798MV200 FEMAC core
net: hisi_femac: remove unused compatible strings
net: hisi_femac: add support for hisi_femac core on Hi3798MV200
net: hisi_femac: remove unneeded MODULE_ALIAS()

 .../bindings/net/hisilicon,hisi-femac-mdio.yaml    |  39 +++++++
 .../bindings/net/hisilicon,hisi-femac.yaml         | 121 +++++++++++++++++++++
 .../bindings/net/hisilicon-femac-mdio.txt          |  22 ----
 .../devicetree/bindings/net/hisilicon-femac.txt    |  41 -------
 drivers/net/ethernet/hisilicon/hisi_femac.c        |  76 ++++++++++---
 drivers/net/mdio/mdio-hisi-femac.c                 |  18 +--
 6 files changed, 220 insertions(+), 97 deletions(-)

---
base-commit: 90d35da658da8cff0d4ecbb5113f5fac9d00eb72
change-id: 20240216-net-9a208e17c40f

Best regards,

Signature · 1 line
Yang Xiwen <[email protected]>