devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5, 0/2] ADD DM9051 ETHERNET DRIVER
@ 2021-12-15  7:35 JosephCHANG
  2021-12-15  7:35 ` [PATCH v5, 1/2] yaml: Add dm9051 SPI network yaml file JosephCHANG
  2021-12-15  7:35 ` [PATCH v5, 2/2] net: Add dm9051 driver JosephCHANG
  0 siblings, 2 replies; 6+ messages in thread
From: JosephCHANG @ 2021-12-15  7:35 UTC (permalink / raw)
  To: David S . Miller, Jakub Kicinski, Rob Herring, Joseph CHANG,
	joseph_chang
  Cc: netdev, devicetree, linux-kernel

Adjust Kconfig for reasonable dependence, make dm9051.c better
by remove the wrappers, and swap to phylib

DM9051 is a spi interface chip,
need only cs/mosi/miso/clock with an interrupt gpio pin

JosephCHANG (2):
  yaml: Add dm9051 SPI network yaml file
  net: Add dm9051 driver

 .../bindings/net/davicom,dm9051.yaml          |  62 ++
 drivers/net/ethernet/davicom/Kconfig          |  30 +
 drivers/net/ethernet/davicom/Makefile         |   1 +
 drivers/net/ethernet/davicom/dm9051.c         | 913 ++++++++++++++++++
 drivers/net/ethernet/davicom/dm9051.h         | 187 ++++
 5 files changed, 1193 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/net/davicom,dm9051.yaml
 create mode 100644 drivers/net/ethernet/davicom/dm9051.c
 create mode 100644 drivers/net/ethernet/davicom/dm9051.h


base-commit: 9d922f5df53844228b9f7c62f2593f4f06c0b69b
-- 
2.20.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-12-15 20:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-15  7:35 [PATCH v5, 0/2] ADD DM9051 ETHERNET DRIVER JosephCHANG
2021-12-15  7:35 ` [PATCH v5, 1/2] yaml: Add dm9051 SPI network yaml file JosephCHANG
2021-12-15 15:51   ` Rob Herring
2021-12-15 16:27     ` Jakub Kicinski
2021-12-15  7:35 ` [PATCH v5, 2/2] net: Add dm9051 driver JosephCHANG
2021-12-15 20:26   ` Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).