OSDN Git Service

net: ax88796c: ASIX AX88796C SPI Ethernet Adapter Driver
authorŁukasz Stelmach <l.stelmach@samsung.com>
Wed, 20 Oct 2021 18:24:22 +0000 (20:24 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 21 Oct 2021 23:28:41 +0000 (16:28 -0700)
commita97c69ba4f30e46abb9cc7be8b98227cb468fdf9
tree5d1e27a10632a3249e177b448a1838e517515194
parentb13c7a88a7b666f4f7b6c5c834fcdee5b1bb31d1
net: ax88796c: ASIX AX88796C SPI Ethernet Adapter Driver

ASIX AX88796[1] is a versatile ethernet adapter chip, that can be
connected to a CPU with a 8/16-bit bus or with an SPI. This driver
supports SPI connection.

The driver has been ported from the vendor kernel for ARTIK5[2]
boards. Several changes were made to adapt it to the current kernel
which include:

+ updated DT configuration,
+ clock configuration moved to DT,
+ new timer, ethtool and gpio APIs,
+ dev_* instead of pr_* and custom printk() wrappers,
+ removed awkward vendor power managemtn.
+ introduced ethtool tunable to control SPI compression

[1] https://www.asix.com.tw/products.php?op=pItemdetail&PItemID=104;65;86&PLine=65
[2] https://git.tizen.org/cgit/profile/common/platform/kernel/linux-3.10-artik/

The other ax88796 driver is for NE2000 compatible AX88796L chip. These
chips are not compatible. Hence, two separate drivers are required.

Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
MAINTAINERS
drivers/net/ethernet/Kconfig
drivers/net/ethernet/Makefile
drivers/net/ethernet/asix/Kconfig [new file with mode: 0644]
drivers/net/ethernet/asix/Makefile [new file with mode: 0644]
drivers/net/ethernet/asix/ax88796c_ioctl.c [new file with mode: 0644]
drivers/net/ethernet/asix/ax88796c_ioctl.h [new file with mode: 0644]
drivers/net/ethernet/asix/ax88796c_main.c [new file with mode: 0644]
drivers/net/ethernet/asix/ax88796c_main.h [new file with mode: 0644]
drivers/net/ethernet/asix/ax88796c_spi.c [new file with mode: 0644]
drivers/net/ethernet/asix/ax88796c_spi.h [new file with mode: 0644]