All of lore.kernel.org
 help / color / mirror / Atom feed
From: JosephCHANG <josright123@gmail.com>
To: "David S . Miller" <davem@davemloft.net>,
	Jakub Kicinski <kuba@kernel.org>,
	Rob Herring <robh+dt@kernel.org>,
	Joseph CHANG <josright123@gmail.com>,
	joseph_chang@davicom.com.tw
Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH v5, 0/2] ADD DM9051 ETHERNET DRIVER
Date: Wed, 15 Dec 2021 15:35:05 +0800	[thread overview]
Message-ID: <20211215073507.16776-1-josright123@gmail.com> (raw)

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


             reply	other threads:[~2021-12-15  7:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-15  7:35 JosephCHANG [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211215073507.16776-1-josright123@gmail.com \
    --to=josright123@gmail.com \
    --cc=davem@davemloft.net \
    --cc=devicetree@vger.kernel.org \
    --cc=joseph_chang@davicom.com.tw \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.