From: NeilBrown <neil@brown.name>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: devel@driverdev.osuosl.org, lkml <linux-kernel@vger.kernel.org>,
John Crispin <blogic@openwrt.org>
Subject: [PATCH 00/13] staging: add drivers to support Mediatek mt7621 in gnubee-pc1
Date: Thu, 15 Mar 2018 07:22:34 +1100 [thread overview]
Message-ID: <152105892255.22262.1902152685410223215.stgit@noble> (raw)
Hi Greg,
I'd like to submit the following drivers to staging. They
are all for components of the mt7621 MIPS-based SOC from Mediatek.
I lifted them out of libreCMC and (for the ethernet code) out
of email posts from about 2 years ago. I forward-ported
them to mainline, fixed enough bugs that they mostly work,
and moved them to staging.
With these patches the GNUBEE is almost usable. It needs
one patch to arch/mips/kernel/setup.c because mips_cm_probe()
is being called too early. To successfully reboot (i.e warm-restart)
it needs a small patch to drivers/mtd/devices/m25p80.c.
I've made a point of only included code that I can actually test
on hardware that I have. That has meant selecting only a few patches
from a series and in a couple of cases, discarding some files from a
patch. I haven't discard code from within a file that I need part
of.
All the driver patches had a From: of John Crispin so he is cc:ed -
thanks John!!
I have added TODO files, some of which have useful details.
I think some of the drivers (eth,mmc, maybe dma) should be merged
with related mainline code rather than added as separate drivers.
I've included a dts file for the GNUBEE. When all the other drivers
move out of staging, it should follow them.
I plan to continue to work on these drivers, but probably not for a
few weeks at least.
Thanks,
NeilBrown
---
John Crispin (12):
staging: mt7621-pci: MIPS/ralink: add MT7621 pcie driver
staging: mt7621-pinctrl: ralink: add pinctrl driver
staging: mt7621-gpio: ralink: add mt7621 gpio controller
staging: mt7621-spi: add mt7621 support
staging: mt7621-dma: ralink: add rt2880 dma engine
staging: mt7621-mmc: MIPS: ralink: add sdhci for mt7620a SoC
staging: mt7621-eth: Document ralink/mediatek SoC ethernet binding
staging: mt7621-eth: add the drivers core files
staging: mt7621-eth: add gigabit switch driver (GSW)
staging: mt7621-eth: add mdio support for mt762X family
staging: mt7621-eth: add support for mt7621
staging: mt7621-eth: mediatek: add Kconfig and Makefile
NeilBrown (1):
staging: mt7621-dts: add dts files
drivers/staging/Kconfig | 14
drivers/staging/Makefile | 8
drivers/staging/mt7621-dma/Kconfig | 12
drivers/staging/mt7621-dma/Makefile | 4
drivers/staging/mt7621-dma/TODO | 5
drivers/staging/mt7621-dma/mtk-hsdma.c | 767 +++++
drivers/staging/mt7621-dma/ralink-gdma.c | 928 ++++++
drivers/staging/mt7621-dts/Kconfig | 5
drivers/staging/mt7621-dts/Makefile | 3
drivers/staging/mt7621-dts/TODO | 5
drivers/staging/mt7621-dts/gbpc1.dts | 143 +
drivers/staging/mt7621-dts/mt7621.dtsi | 471 +++
.../devicetree/bindings/net/mediatek-net-gsw.txt | 48
drivers/staging/mt7621-eth/Kconfig | 39
drivers/staging/mt7621-eth/Makefile | 14
drivers/staging/mt7621-eth/TODO | 13
drivers/staging/mt7621-eth/ethtool.c | 225 +
drivers/staging/mt7621-eth/ethtool.h | 22
drivers/staging/mt7621-eth/gsw_mt7620.h | 277 ++
drivers/staging/mt7621-eth/gsw_mt7621.c | 298 ++
drivers/staging/mt7621-eth/mdio.c | 271 ++
drivers/staging/mt7621-eth/mdio.h | 27
drivers/staging/mt7621-eth/mdio_mt7620.c | 173 +
drivers/staging/mt7621-eth/mtk_eth_soc.c | 2178 ++++++++++++++
drivers/staging/mt7621-eth/mtk_eth_soc.h | 721 +++++
drivers/staging/mt7621-eth/soc_mt7621.c | 160 +
drivers/staging/mt7621-gpio/Kconfig | 6
drivers/staging/mt7621-gpio/Makefile | 3
drivers/staging/mt7621-gpio/TODO | 5
drivers/staging/mt7621-gpio/gpio-mt7621.c | 353 ++
drivers/staging/mt7621-mmc/Kconfig | 16
drivers/staging/mt7621-mmc/Makefile | 42
drivers/staging/mt7621-mmc/TODO | 8
drivers/staging/mt7621-mmc/board.h | 137 +
drivers/staging/mt7621-mmc/dbg.c | 347 ++
drivers/staging/mt7621-mmc/dbg.h | 156 +
drivers/staging/mt7621-mmc/mt6575_sd.h | 1001 +++++++
drivers/staging/mt7621-mmc/sd.c | 3074 ++++++++++++++++++++
drivers/staging/mt7621-pci/Makefile | 1
drivers/staging/mt7621-pci/TODO | 12
drivers/staging/mt7621-pci/pci-mt7621.c | 840 +++++
drivers/staging/mt7621-pinctrl/Kconfig | 4
drivers/staging/mt7621-pinctrl/Makefile | 3
drivers/staging/mt7621-pinctrl/TODO | 6
drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c | 472 +++
drivers/staging/mt7621-spi/Kconfig | 6
drivers/staging/mt7621-spi/Makefile | 1
drivers/staging/mt7621-spi/TODO | 5
drivers/staging/mt7621-spi/spi-mt7621.c | 489 +++
49 files changed, 13818 insertions(+)
create mode 100644 drivers/staging/mt7621-dma/Kconfig
create mode 100644 drivers/staging/mt7621-dma/Makefile
create mode 100644 drivers/staging/mt7621-dma/TODO
create mode 100644 drivers/staging/mt7621-dma/mtk-hsdma.c
create mode 100644 drivers/staging/mt7621-dma/ralink-gdma.c
create mode 100644 drivers/staging/mt7621-dts/Kconfig
create mode 100644 drivers/staging/mt7621-dts/Makefile
create mode 100644 drivers/staging/mt7621-dts/TODO
create mode 100644 drivers/staging/mt7621-dts/gbpc1.dts
create mode 100644 drivers/staging/mt7621-dts/mt7621.dtsi
create mode 100644 drivers/staging/mt7621-eth/Documentation/devicetree/bindings/net/mediatek-net-gsw.txt
create mode 100644 drivers/staging/mt7621-eth/Kconfig
create mode 100644 drivers/staging/mt7621-eth/Makefile
create mode 100644 drivers/staging/mt7621-eth/TODO
create mode 100644 drivers/staging/mt7621-eth/ethtool.c
create mode 100644 drivers/staging/mt7621-eth/ethtool.h
create mode 100644 drivers/staging/mt7621-eth/gsw_mt7620.h
create mode 100644 drivers/staging/mt7621-eth/gsw_mt7621.c
create mode 100644 drivers/staging/mt7621-eth/mdio.c
create mode 100644 drivers/staging/mt7621-eth/mdio.h
create mode 100644 drivers/staging/mt7621-eth/mdio_mt7620.c
create mode 100644 drivers/staging/mt7621-eth/mtk_eth_soc.c
create mode 100644 drivers/staging/mt7621-eth/mtk_eth_soc.h
create mode 100644 drivers/staging/mt7621-eth/soc_mt7621.c
create mode 100644 drivers/staging/mt7621-gpio/Kconfig
create mode 100644 drivers/staging/mt7621-gpio/Makefile
create mode 100644 drivers/staging/mt7621-gpio/TODO
create mode 100644 drivers/staging/mt7621-gpio/gpio-mt7621.c
create mode 100644 drivers/staging/mt7621-mmc/Kconfig
create mode 100644 drivers/staging/mt7621-mmc/Makefile
create mode 100644 drivers/staging/mt7621-mmc/TODO
create mode 100644 drivers/staging/mt7621-mmc/board.h
create mode 100644 drivers/staging/mt7621-mmc/dbg.c
create mode 100644 drivers/staging/mt7621-mmc/dbg.h
create mode 100644 drivers/staging/mt7621-mmc/mt6575_sd.h
create mode 100644 drivers/staging/mt7621-mmc/sd.c
create mode 100644 drivers/staging/mt7621-pci/Makefile
create mode 100644 drivers/staging/mt7621-pci/TODO
create mode 100644 drivers/staging/mt7621-pci/pci-mt7621.c
create mode 100644 drivers/staging/mt7621-pinctrl/Kconfig
create mode 100644 drivers/staging/mt7621-pinctrl/Makefile
create mode 100644 drivers/staging/mt7621-pinctrl/TODO
create mode 100644 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c
create mode 100644 drivers/staging/mt7621-spi/Kconfig
create mode 100644 drivers/staging/mt7621-spi/Makefile
create mode 100644 drivers/staging/mt7621-spi/TODO
create mode 100644 drivers/staging/mt7621-spi/spi-mt7621.c
--
Signature
next reply other threads:[~2018-03-14 20:22 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-14 20:22 NeilBrown [this message]
2018-03-14 20:22 ` [PATCH 04/13] staging: mt7621-spi: add mt7621 support NeilBrown
2018-03-14 20:22 ` [PATCH 05/13] staging: mt7621-dma: ralink: add rt2880 dma engine NeilBrown
2018-03-14 20:22 ` [PATCH 01/13] staging: mt7621-pci: MIPS/ralink: add MT7621 pcie driver NeilBrown
2018-03-15 10:43 ` Dan Carpenter
2018-03-14 20:22 ` [PATCH 06/13] staging: mt7621-mmc: MIPS: ralink: add sdhci for mt7620a SoC NeilBrown
2018-03-14 20:22 ` [PATCH 03/13] staging: mt7621-gpio: ralink: add mt7621 gpio controller NeilBrown
2018-03-14 20:22 ` [PATCH 02/13] staging: mt7621-pinctrl: ralink: add pinctrl driver NeilBrown
2018-03-14 20:22 ` [PATCH 10/13] staging: mt7621-eth: add mdio support for mt762X family NeilBrown
2018-03-14 20:22 ` [PATCH 08/13] staging: mt7621-eth: add the drivers core files NeilBrown
2018-03-14 20:22 ` [PATCH 09/13] staging: mt7621-eth: add gigabit switch driver (GSW) NeilBrown
2018-03-14 20:22 ` [PATCH 07/13] staging: mt7621-eth: Document ralink/mediatek SoC ethernet binding NeilBrown
2018-03-14 20:22 ` [PATCH 11/13] staging: mt7621-eth: add support for mt7621 NeilBrown
2018-03-14 20:22 ` [PATCH 13/13] staging: mt7621-dts: add dts files NeilBrown
2018-03-14 20:22 ` [PATCH 12/13] staging: mt7621-eth: mediatek: add Kconfig and Makefile NeilBrown
2018-03-14 23:45 ` [PATCH 00/13] staging: add drivers to support Mediatek mt7621 in gnubee-pc1 NeilBrown
2018-03-15 10:48 ` Dan Carpenter
2018-03-15 11:04 ` NeilBrown
2018-03-15 11:24 ` Dan Carpenter
2018-03-15 20:02 ` NeilBrown
2018-03-16 7:42 ` Dan Carpenter
2018-03-15 11:07 ` John Crispin
2018-03-15 11:29 ` Dan Carpenter
2018-03-15 20:12 ` NeilBrown
2018-03-15 20:21 ` John Crispin
2018-03-15 22:58 ` NeilBrown
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=152105892255.22262.1902152685410223215.stgit@noble \
--to=neil@brown.name \
--cc=blogic@openwrt.org \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®