mbox series

[v6,net-next,00/10] net: Korina improvements

Message ID 20210418221949.130779-1-tsbogend@alpha.franken.de (mailing list archive)
Headers show
Series net: Korina improvements | expand

Message

Thomas Bogendoerfer April 18, 2021, 10:19 p.m. UTC
While converting Mikrotik RB532 support to use device tree I stumbled
over the korina ethernet driver, which used way too many MIPS specific
hacks. This series cleans this all up and adds support for device tree.

Changes in v6:
 - remove korina from resource names and adapt DT binding to it
 - removed superfluous braces around of_get_mac_address

Changes in v5:
  - fixed email address in binding document, which prevented sending it

Changes in v4:
  - improve error returns in mdio_read further
  - added clock name and improved clk handling
  - fixed binding errors

Changes in v3:
  - use readl_poll_timeout_atomic in mdio_wait
  - return -ETIMEDOUT, if mdio_wait failed
  - added DT binding and changed name to idt,3243x-emac
  - fixed usage of of_get_mac_address for net-next

Changes in v2:
  - added device tree support to get rid of idt_cpu_freq
  - fixed compile test on 64bit archs
  - fixed descriptor current address handling by storing/using mapped
    dma addresses (dma controller modifies current address)


Thomas Bogendoerfer (10):
  net: korina: Fix MDIO functions
  net: korina: Use devres functions
  net: korina: Remove not needed cache flushes
  net: korina: Remove nested helpers
  net: korina: Use DMA API
  net: korina: Only pass mac address via platform data
  net: korina: Add support for device tree
  net: korina: Get mdio input clock via common clock framework
  net: korina: Make driver COMPILE_TESTable
  dt-bindings: net: korina: Add DT bindings for IDT 79RC3243x SoCs

 .../bindings/net/idt,3243x-emac.yaml          |  73 +++
 arch/mips/rb532/devices.c                     |  25 +-
 drivers/net/ethernet/Kconfig                  |   3 +-
 drivers/net/ethernet/korina.c                 | 603 +++++++++++++-----
 4 files changed, 515 insertions(+), 189 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/net/idt,3243x-emac.yaml

Comments

patchwork-bot+netdevbpf@kernel.org April 19, 2021, 11:10 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (refs/heads/master):

On Mon, 19 Apr 2021 00:19:38 +0200 you wrote:
> While converting Mikrotik RB532 support to use device tree I stumbled
> over the korina ethernet driver, which used way too many MIPS specific
> hacks. This series cleans this all up and adds support for device tree.
> 
> Changes in v6:
>  - remove korina from resource names and adapt DT binding to it
>  - removed superfluous braces around of_get_mac_address
> 
> [...]

Here is the summary with links:
  - [v6,net-next,01/10] net: korina: Fix MDIO functions
    https://git.kernel.org/netdev/net-next/c/89f9d5400b53
  - [v6,net-next,02/10] net: korina: Use devres functions
    https://git.kernel.org/netdev/net-next/c/b4cd249a8cc0
  - [v6,net-next,03/10] net: korina: Remove not needed cache flushes
    https://git.kernel.org/netdev/net-next/c/e42f10533d7c
  - [v6,net-next,04/10] net: korina: Remove nested helpers
    https://git.kernel.org/netdev/net-next/c/0fe632471aeb
  - [v6,net-next,05/10] net: korina: Use DMA API
    https://git.kernel.org/netdev/net-next/c/0fc96939a97f
  - [v6,net-next,06/10] net: korina: Only pass mac address via platform data
    https://git.kernel.org/netdev/net-next/c/af80425e05b2
  - [v6,net-next,07/10] net: korina: Add support for device tree
    https://git.kernel.org/netdev/net-next/c/10b26f078151
  - [v6,net-next,08/10] net: korina: Get mdio input clock via common clock framework
    https://git.kernel.org/netdev/net-next/c/e4cd854ec487
  - [v6,net-next,09/10] net: korina: Make driver COMPILE_TESTable
    https://git.kernel.org/netdev/net-next/c/6ef92063bf94
  - [v6,net-next,10/10] dt-bindings: net: korina: Add DT bindings for IDT 79RC3243x SoCs
    https://git.kernel.org/netdev/net-next/c/d1a2c2315cc9

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html