[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230915-wizard-junction-b58f2aad64c5@ifak-system.com>
Date: Fri, 15 Sep 2023 15:56:59 +0200
From: Alexander Dahl <ada@...rsis.com>
To: Parthiban Veerasooran <Parthiban.Veerasooran@...rochip.com>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, robh+dt@...nel.org,
krzysztof.kozlowski+dt@...aro.org, conor+dt@...nel.org,
corbet@....net, steen.hegelund@...rochip.com, rdunlap@...radead.org,
horms@...nel.org, casper.casan@...il.com, andrew@...n.ch,
netdev@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-doc@...r.kernel.org,
horatiu.vultur@...rochip.com, Woojung.Huh@...rochip.com,
Nicolas.Ferre@...rochip.com, UNGLinuxDriver@...rochip.com,
Thorsten.Kummermehr@...rochip.com,
Alexandru Tachici <alexandru.tachici@...log.com>
Subject: Re: [RFC PATCH net-next 0/6] Add support for OPEN Alliance
10BASE-T1x MACPHY Serial Interface
Hello,
this is interesting, by chance I just looked at a chip claiming
similar features today, which already has a driver in kernel: Analog
Devices ADIN1110.
Am Fri, Sep 08, 2023 at 07:59:13PM +0530 schrieb Parthiban Veerasooran:
> This patch series contain the below updates,
> - Adds support for OPEN Alliance 10BASE-T1x MACPHY Serial Interface in the
> net/ethernet/oa_tc6.c.
So this implements the "10BASE-T1x MAC-PHY Serial Interface
Specification" which is Ethernet over SPI if I understand correctly?
The above mentioned chip claims do use the same interface and the same
standard. How does its driver work then? Do you add code for a thing
already present in the kernel or does the other driver do something
completely different and I just misunderstood?
Can the drivers for ADIN1110 and for LAN865X share code because they
use the same specified interface? The patch set does not look like
it?
(Added the other driver author to Cc.)
Greets
Alex
> - Adds driver support for Microchip LAN8650/1 Rev.B0 10BASE-T1S MACPHY
> Ethernet driver in the net/ethernet/microchip/lan865x.c.
>
> Parthiban Veerasooran (6):
> net: ethernet: implement OPEN Alliance control transaction interface
> net: ethernet: add mac-phy interrupt support with reset complete
> handling
> net: ethernet: implement OA TC6 configuration function
> net: ethernet: implement data transaction interface
> microchip: lan865x: add driver support for Microchip's LAN865X MACPHY
> microchip: lan865x: add device-tree support for Microchip's LAN865X
> MACPHY
>
> .../bindings/net/microchip,lan865x.yaml | 54 ++
> Documentation/networking/oa-tc6-framework.rst | 231 +++++
> MAINTAINERS | 15 +
> drivers/net/ethernet/microchip/Kconfig | 10 +
> drivers/net/ethernet/microchip/Makefile | 3 +
> drivers/net/ethernet/microchip/lan865x.c | 589 +++++++++++++
> drivers/net/ethernet/oa_tc6.c | 807 ++++++++++++++++++
> include/linux/oa_tc6.h | 130 +++
> 8 files changed, 1839 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/net/microchip,lan865x.yaml
> create mode 100644 Documentation/networking/oa-tc6-framework.rst
> create mode 100644 drivers/net/ethernet/microchip/lan865x.c
> create mode 100644 drivers/net/ethernet/oa_tc6.c
> create mode 100644 include/linux/oa_tc6.h
>
> --
> 2.34.1
>
>
Powered by blists - more mailing lists