diff options
author | David S. Miller <davem@davemloft.net> | 2021-08-26 14:13:52 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-26 14:13:52 +0300 |
commit | deecae7d96843fceebae06445b3f4bf8cceca31a (patch) | |
tree | 9edc9b9580bfff79af8cf88df77517c1635c8d0d /drivers/net/ethernet/litex/Kconfig | |
parent | bc8e05d6b9658b6b59cb770d981064244cdc574b (diff) | |
parent | ee7da21ac4c3be1f618b6358e0a38739a5d1773e (diff) | |
download | linux-deecae7d96843fceebae06445b3f4bf8cceca31a.tar.xz |
Merge branch 'LiteETH-driver'
Joel Stanley says:
====================
net: Add LiteETH network driver
This adds a driver for the LiteX network device, LiteEth.
v4 Fixes the bindings and adds r-b tags from Gabriel and Rob.
v3 Updates the bindings to describe the slots in a way that makes more
sense for the hardware, instead of trying to fit some existing
properties. The driver is updated to use these bindings, and fix some
issues pointed out by Gabriel.
v2 Addresses feedback from Jakub, with detailed changes in each patch.
It also moves to the litex register accessors so the system works on big
endian litex platforms. I tested with mor1k on an Arty A7-100T.
I have removed the mdio aspects of the driver as they are not needed for
basic operation. I will continue to work on adding support in the
future, but I don't think it needs to block the mac driver going in.
The binding describes the mdio registers, and has been fixed to not show
any warnings against dtschema master.
LiteEth is a simple driver for the FPGA based Ethernet device used in various
RISC-V, PowerPC's microwatt, OpenRISC's mor1k and other FPGA based
systems on chip.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/litex/Kconfig')
-rw-r--r-- | drivers/net/ethernet/litex/Kconfig | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/drivers/net/ethernet/litex/Kconfig b/drivers/net/ethernet/litex/Kconfig new file mode 100644 index 000000000000..265dba414b41 --- /dev/null +++ b/drivers/net/ethernet/litex/Kconfig @@ -0,0 +1,27 @@ +# +# LiteX device configuration +# + +config NET_VENDOR_LITEX + bool "LiteX devices" + default y + help + If you have a network (Ethernet) card belonging to this class, say Y. + + Note that the answer to this question doesn't directly affect the + kernel: saying N will just cause the configurator to skip all + the questions about LiteX devices. If you say Y, you will be asked + for your specific card in the following questions. + +if NET_VENDOR_LITEX + +config LITEX_LITEETH + tristate "LiteX Ethernet support" + help + If you wish to compile a kernel for hardware with a LiteX LiteEth + device then you should answer Y to this. + + LiteX is a soft system-on-chip that targets FPGAs. LiteETH is a basic + network device that is commonly used in LiteX designs. + +endif # NET_VENDOR_LITEX |