linux/drivers/net/ethernet
Alexandru Tachici bc93e19d08 net: ethernet: adi: Add ADIN1110 support
The ADIN1110 is a low power single port 10BASE-T1L MAC-PHY
designed for industrial Ethernet applications. It integrates
an Ethernet PHY core with a MAC and all the associated analog
circuitry, input and output clock buffering.

ADIN1110 MAC-PHY encapsulates the ADIN1100 PHY. The PHY registers
can be accessed through the MDIO MAC registers.
We are registering an MDIO bus with custom read/write in order
to let the PHY to be discovered by the PAL. This will let
the ADIN1100 Linux driver to probe and take control of
the PHY.

The ADIN2111 is a low power, low complexity, two-Ethernet ports
switch with integrated 10BASE-T1L PHYs and one serial peripheral
interface (SPI) port.

The device is designed for industrial Ethernet applications using
low power constrained nodes and is compliant with the IEEE 802.3cg-2019
Ethernet standard for long reach 10 Mbps single pair Ethernet (SPE).
The switch supports various routing configurations between
the two Ethernet ports and the SPI host port providing a flexible
solution for line, daisy-chain, or ring network topologies.

The ADIN2111 supports cable reach of up to 1700 meters with ultra
low power consumption of 77 mW. The two PHY cores support the
1.0 V p-p operating mode and the 2.4 V p-p operating mode defined
in the IEEE 802.3cg standard.

The device integrates the switch, two Ethernet physical layer (PHY)
cores with a media access control (MAC) interface and all the
associated analog circuitry, and input and output clock buffering.

The device also includes internal buffer queues, the SPI and
subsystem registers, as well as the control logic to manage the reset
and clock control and hardware pin configuration.

Access to the PHYs is exposed via an internal MDIO bus. Writes/reads
can be performed by reading/writing to the ADIN2111 MDIO registers
via SPI.

On probe, for each port, a struct net_device is allocated and
registered. When both ports are added to the same bridge, the driver
will enable offloading of frame forwarding at the hardware level.

Driver offers STP support. Normal operation on forwarding state.
Allows only frames with the 802.1d DA to be passed to the host
when in any of the other states.

When both ports of ADIN2111 belong to the same SW bridge a maximum
of 12 FDB entries will offloaded by the hardware and are marked as such.

Co-developed-by: Lennart Franzen <lennart@lfdomain.com>
Signed-off-by: Lennart Franzen <lennart@lfdomain.com>
Signed-off-by: Alexandru Tachici <alexandru.tachici@analog.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2022-09-20 15:00:30 +02:00
..
3com net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
8390 net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
actions
adaptec net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
adi net: ethernet: adi: Add ADIN1110 support 2022-09-20 15:00:30 +02:00
aeroflex net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
agere net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
alacritech net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
allwinner net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
alteon net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
altera net: altera: tse: convert to phylink 2022-09-05 10:16:53 +01:00
amazon net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
amd net: amd: Switch and case should be at the same indent 2022-09-16 10:27:47 +01:00
apm
apple
aquantia net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
arc net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
asix net: ax88796c: Fix return type of ax88796c_start_xmit 2022-09-19 18:23:04 -07:00
atheros net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
broadcom net: broadcom: Fix return type for implementation of 2022-09-02 21:18:43 -07:00
brocade net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
cadence Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/egtvedt/linux-avr32 2022-08-04 15:20:39 -07:00
calxeda
cavium net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
chelsio net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
cirrus net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
cisco net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
cortina net: Use u64_stats_fetch_begin_irq() for stats fetch. 2022-08-29 13:02:27 +01:00
davicom net: davicom: Fix return type of dm9000_start_xmit 2022-09-19 18:23:14 -07:00
dec net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
dlink net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
emulex net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
engleder tsnep: Record RX queue 2022-08-22 13:56:37 +01:00
ezchip
faraday net: ftgmac100: support fixed link 2022-09-15 12:41:37 +02:00
freescale net: enetc: expose some standardized ethtool counters 2022-09-19 17:58:25 -07:00
fujitsu net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
fungible Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-09-01 12:58:02 -07:00
google net: Use u64_stats_fetch_begin_irq() for stats fetch. 2022-08-29 13:02:27 +01:00
hisilicon net: hns3: add support to query and set lane number by ethtool 2022-09-07 16:20:15 +01:00
huawei net: Use u64_stats_fetch_begin_irq() for stats fetch. 2022-08-29 13:02:27 +01:00
i825xx
ibm net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
intel ice: Add L2TPv3 hardware offload support 2022-09-20 09:13:38 +02:00
litex net: ethernet: litex: Fix return type of liteeth_start_xmit 2022-09-19 18:23:39 -07:00
marvell octeon_ep: Remove useless casting value returned by vzalloc to structure 2022-09-19 18:33:21 -07:00
mediatek net: dsa: introduce dsa_port_get_master() 2022-09-20 10:32:35 +02:00
mellanox net/mlx5e: Ensure macsec_rule is always initiailized in macsec_fs_{r,t}x_add_rule() 2022-09-20 11:32:49 +02:00
micrel net: ks8851: switch to using gpiod API 2022-09-15 11:43:51 +02:00
microchip net: lan743x: Add support for Rx IP & TCP checksum offload 2022-09-09 08:20:58 +01:00
microsoft
moxa net: moxa: fix endianness-related issues from 'sparse' 2022-09-06 10:24:42 +02:00
mscc net: dsa: felix: add support for changing DSA master 2022-09-20 10:32:36 +02:00
myricom net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
natsemi net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
neterion net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
netronome Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-09-01 12:58:02 -07:00
ni net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
nvidia net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
nxp net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
oki-semi net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
packetengines net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
pasemi
pensando ionic: VF initial random MAC address if no assigned mac 2022-08-25 12:39:54 -07:00
qlogic net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
qualcomm net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
rdc net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
realtek r8169: disable detection of chip version 36 2022-09-19 14:10:23 -07:00
renesas net: ravb: Add R-Car Gen4 support 2022-09-19 17:58:17 -07:00
rocker Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-09-01 12:58:02 -07:00
samsung net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
seeq
sfc sfc: introduce shutdown entry point in efx pci driver 2022-09-13 09:45:11 +02:00
sgi net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
silan
sis net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
smsc Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-09-01 12:58:02 -07:00
socionext net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
stmicro Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-09-08 18:38:30 +02:00
sun net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
sunplus net: sunplus: Fix return type for implementation of ndo_start_xmit 2022-09-02 21:19:14 -07:00
synopsys net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
tehuti net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
ti net: ethernet: ti: davinci_emac: Fix return type of emac_dev_xmit 2022-09-19 18:23:26 -07:00
toshiba net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
tundra
vertexcom net: vertexcom: mse102x: Update email address 2022-08-16 19:49:51 -07:00
via net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
wangxun net: ngbe: Add build support for ngbe 2022-08-30 12:32:51 +02:00
wiznet net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
xilinx net: axienet: Switch to 64-bit RX/TX statistics 2022-08-31 19:18:20 -07:00
xircom net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
xscale net: xscale: Fix return type for implementation of ndo_start_xmit 2022-09-02 21:18:56 -07:00
dnet.c net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
dnet.h
ec_bhf.c
ethoc.c
fealnx.c net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
jme.c net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
jme.h
Kconfig net: ethernet: adi: Add ADIN1110 support 2022-09-20 15:00:30 +02:00
korina.c net: korina: Fix return type of korina_send_packet 2022-09-19 18:28:50 -07:00
lantiq_etop.c net: lantiq_etop: Fix return type for implementation of ndo_start_xmit 2022-09-02 21:19:35 -07:00
lantiq_xrx200.c net: lantiq_xrx200: restore buffer if memory allocation failed 2022-08-25 12:41:39 -07:00
Makefile net: ethernet: adi: Add ADIN1110 support 2022-09-20 15:00:30 +02:00