Skip to content

Commit 5cd2340

Browse files
ParthibanI17164kuba-moo
authored andcommitted
microchip: lan865x: add driver support for Microchip's LAN865X MAC-PHY
The LAN8650/1 is designed to conform to the OPEN Alliance 10BASE-T1x MAC-PHY Serial Interface specification, Version 1.1. The IEEE Clause 4 MAC integration provides the low pin count standard SPI interface to any microcontroller therefore providing Ethernet functionality without requiring MAC integration within the microcontroller. The LAN8650/1 operates as an SPI client supporting SCLK clock rates up to a maximum of 25 MHz. This SPI interface supports the transfer of both data (Ethernet frames) and control (register access). By default, the chunk data payload is 64 bytes in size. The Ethernet Media Access Controller (MAC) module implements a 10 Mbps half duplex Ethernet MAC, compatible with the IEEE 802.3 standard. 10BASE-T1S physical layer transceiver integrated is into the LAN8650/1. The PHY and MAC are connected via an internal Media Independent Interface (MII). Reviewed-by: Andrew Lunn <[email protected]> Signed-off-by: Parthiban Veerasooran <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent afd4217 commit 5cd2340

File tree

6 files changed

+462
-0
lines changed

6 files changed

+462
-0
lines changed

MAINTAINERS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14980,6 +14980,12 @@ L: [email protected]
1498014980
S: Maintained
1498114981
F: drivers/net/ethernet/microchip/lan743x_*
1498214982

14983+
MICROCHIP LAN8650/1 10BASE-T1S MACPHY ETHERNET DRIVER
14984+
M: Parthiban Veerasooran <[email protected]>
14985+
14986+
S: Maintained
14987+
F: drivers/net/ethernet/microchip/lan865x/lan865x.c
14988+
1498314989
MICROCHIP LAN87xx/LAN937x T1 PHY DRIVER
1498414990
M: Arun Ramadoss <[email protected]>
1498514991

drivers/net/ethernet/microchip/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ config LAN743X
5757
To compile this driver as a module, choose M here. The module will be
5858
called lan743x.
5959

60+
source "drivers/net/ethernet/microchip/lan865x/Kconfig"
6061
source "drivers/net/ethernet/microchip/lan966x/Kconfig"
6162
source "drivers/net/ethernet/microchip/sparx5/Kconfig"
6263
source "drivers/net/ethernet/microchip/vcap/Kconfig"

drivers/net/ethernet/microchip/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ obj-$(CONFIG_LAN743X) += lan743x.o
99

1010
lan743x-objs := lan743x_main.o lan743x_ethtool.o lan743x_ptp.o
1111

12+
obj-$(CONFIG_LAN865X) += lan865x/
1213
obj-$(CONFIG_LAN966X_SWITCH) += lan966x/
1314
obj-$(CONFIG_SPARX5_SWITCH) += sparx5/
1415
obj-$(CONFIG_VCAP) += vcap/
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# SPDX-License-Identifier: GPL-2.0-only
2+
#
3+
# Microchip LAN865x Driver Support
4+
#
5+
6+
if NET_VENDOR_MICROCHIP
7+
8+
config LAN865X
9+
tristate "LAN865x support"
10+
depends on SPI
11+
select OA_TC6
12+
help
13+
Support for the Microchip LAN8650/1 Rev.B0/B1 MACPHY Ethernet chip. It
14+
uses OPEN Alliance 10BASE-T1x Serial Interface specification.
15+
16+
To compile this driver as a module, choose M here. The module will be
17+
called lan865x.
18+
19+
endif # NET_VENDOR_MICROCHIP
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# SPDX-License-Identifier: GPL-2.0-only
2+
#
3+
# Makefile for the Microchip LAN865x Driver
4+
#
5+
6+
obj-$(CONFIG_LAN865X) += lan865x.o

0 commit comments

Comments
 (0)