public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Weijie Gao <weijie.gao@mediatek.com>
To: <u-boot@lists.denx.de>
Cc: GSS_MTK_Uboot_upstream <GSS_MTK_Uboot_upstream@mediatek.com>,
	Daniel Golle <daniel@makrotopia.org>,
	Frank Wunderlich <linux@fw-web.de>,
	Weijie Gao <weijie.gao@mediatek.com>
Subject: [PATCH 00/29] Add support for MediaTek MT7988 SoC
Date: Wed, 19 Jul 2023 17:15:28 +0800	[thread overview]
Message-ID: <cover.1689756363.git.weijie.gao@mediatek.com> (raw)

This patch series add support for MediaTek MT7988 SoC with its reference
boards and related drivers.

This patch series add basic boot support on eMMC/SD/SPI-NOR/SPI-NAND for these
boards. The clock, pinctrl drivers and the SoC initializaton code are also
included.

Product spec for MT7988:
https://www.mediatek.com/products/broadband-wifi/mediatek-filogic-880

Weijie Gao (29):
  arm: mediatek: retrieve ram_base from dts node for armv8 platform
  board: mediatek: update config headers
  spi: mtk_spim: get spi clk rate only once
  spi: mtk_spim: clear IRQ enable bits
  serial: mtk: initial priv data before using
  reset: mediatek: check malloc return valaue before use
  i2c: mediatek: fix I2C usability for MT7981
  arm: dts: enable i2c support for MediaTek MT7981
  pwm: mtk: add support for MediaTek MT7988 SoC
  clk: mediatek: add clock driver support for MediaTek MT7988 SoC
  reset: mediatek: add reset definition for MediaTek MT7988 SoC
  pinctrl: mediatek: convert most definitions to const
  pinctrl: mediatek: fix the return value in driving configuration
    functions
  pinctrl: mediatek: add pinmux_set ops support
  pinctrl: mediatek: add pinctrl driver for MT7988 SoC
  net: mediatek: connect switch to PSE only when starting eth is
    requested
  net: mediatek: optimize the switch reset delay wait time
  net: mediatek: fix direct MDIO clause 45 access via SoC
  net: mediatek: add missing static qualifier
  net: mediatek: add support for SGMII 1Gbps auto-negotiation mode
  arm: dts: medaitek: convert gmac link mode to 2500base-x
  net: mediatek: add support for GMAC/USB3 PHY mux mode for MT7981
  arm: dts: mediatek: add infracfg registers to support GMAC/USB3 Co-PHY
  net: mediatek: add USXGMII support
  net: mediatek: add support for NETSYS v3
  net: mediatek: add support for MediaTek MT7988 SoC
  tools: mtk_image: use uint32_t for ghf header magic and version
  arm: mediatek: add support for MediaTek MT7988 SoC
  board: mediatek: add MT7988 reference boards

 arch/arm/dts/Makefile                         |    2 +
 arch/arm/dts/mt7622-bananapi-bpi-r64.dts      |    4 +-
 arch/arm/dts/mt7622-rfb.dts                   |    4 +-
 arch/arm/dts/mt7629-rfb.dts                   |    4 +-
 arch/arm/dts/mt7981-emmc-rfb.dts              |    9 +-
 arch/arm/dts/mt7981-rfb.dts                   |    9 +-
 arch/arm/dts/mt7981-sd-rfb.dts                |    9 +-
 arch/arm/dts/mt7981.dtsi                      |   21 +
 arch/arm/dts/mt7986a-bpi-r3-sd.dts            |    5 +
 arch/arm/dts/mt7986a-rfb.dts                  |    9 +-
 arch/arm/dts/mt7986a-sd-rfb.dts               |    9 +-
 arch/arm/dts/mt7986b-rfb.dts                  |    9 +-
 arch/arm/dts/mt7986b-sd-rfb.dts               |    9 +-
 arch/arm/dts/mt7988-rfb.dts                   |  182 +++
 arch/arm/dts/mt7988-sd-rfb.dts                |  134 ++
 arch/arm/dts/mt7988-u-boot.dtsi               |   25 +
 arch/arm/dts/mt7988.dtsi                      |  391 +++++
 arch/arm/mach-mediatek/Kconfig                |   13 +-
 arch/arm/mach-mediatek/Makefile               |    1 +
 arch/arm/mach-mediatek/mt7622/init.c          |   13 +-
 arch/arm/mach-mediatek/mt7981/init.c          |   11 +-
 arch/arm/mach-mediatek/mt7986/init.c          |   11 +-
 arch/arm/mach-mediatek/mt7988/Makefile        |    4 +
 arch/arm/mach-mediatek/mt7988/init.c          |   63 +
 arch/arm/mach-mediatek/mt7988/lowlevel_init.S |   30 +
 board/mediatek/mt7622/mt7622_rfb.c            |    1 -
 board/mediatek/mt7988/MAINTAINERS             |    7 +
 board/mediatek/mt7988/Makefile                |    3 +
 board/mediatek/mt7988/mt7988_rfb.c            |   10 +
 configs/mt7988_rfb_defconfig                  |   83 ++
 configs/mt7988_sd_rfb_defconfig               |   71 +
 drivers/clk/mediatek/Makefile                 |    1 +
 drivers/clk/mediatek/clk-mt7988.c             | 1123 +++++++++++++++
 drivers/i2c/mtk_i2c.c                         |   45 +-
 drivers/net/mtk_eth.c                         |  572 +++++++-
 drivers/net/mtk_eth.h                         |   69 +
 drivers/pinctrl/mediatek/Kconfig              |    4 +
 drivers/pinctrl/mediatek/Makefile             |    1 +
 drivers/pinctrl/mediatek/pinctrl-mt7622.c     |  474 +++---
 drivers/pinctrl/mediatek/pinctrl-mt7623.c     |  650 ++++-----
 drivers/pinctrl/mediatek/pinctrl-mt7629.c     |  174 +--
 drivers/pinctrl/mediatek/pinctrl-mt7981.c     |  270 ++--
 drivers/pinctrl/mediatek/pinctrl-mt7986.c     |  145 +-
 drivers/pinctrl/mediatek/pinctrl-mt7988.c     | 1274 +++++++++++++++++
 drivers/pinctrl/mediatek/pinctrl-mt8512.c     |   24 +-
 drivers/pinctrl/mediatek/pinctrl-mt8516.c     |   18 +-
 drivers/pinctrl/mediatek/pinctrl-mt8518.c     |   20 +-
 drivers/pinctrl/mediatek/pinctrl-mtk-common.c |   22 +-
 drivers/pinctrl/mediatek/pinctrl-mtk-common.h |    8 +-
 drivers/pwm/pwm-mtk.c                         |    7 +
 drivers/reset/reset-mediatek.c                |    3 +
 drivers/serial/serial_mtk.c                   |    1 +
 drivers/spi/mtk_spim.c                        |   24 +-
 include/configs/mt7620.h                      |    3 +-
 include/configs/mt7621.h                      |    6 +-
 include/configs/mt7622.h                      |   10 -
 include/configs/mt7623.h                      |    8 -
 include/configs/mt7628.h                      |    5 +-
 include/configs/mt7629.h                      |   13 +-
 include/configs/mt7981.h                      |    9 -
 include/configs/mt7986.h                      |    9 -
 include/configs/mt7988.h                      |   14 +
 include/dt-bindings/clock/mt7988-clk.h        |  349 +++++
 include/dt-bindings/reset/mt7988-reset.h      |   31 +
 tools/mtk_image.c                             |   10 +-
 tools/mtk_image.h                             |    6 +-
 66 files changed, 5533 insertions(+), 1025 deletions(-)
 create mode 100644 arch/arm/dts/mt7988-rfb.dts
 create mode 100644 arch/arm/dts/mt7988-sd-rfb.dts
 create mode 100644 arch/arm/dts/mt7988-u-boot.dtsi
 create mode 100644 arch/arm/dts/mt7988.dtsi
 create mode 100644 arch/arm/mach-mediatek/mt7988/Makefile
 create mode 100644 arch/arm/mach-mediatek/mt7988/init.c
 create mode 100644 arch/arm/mach-mediatek/mt7988/lowlevel_init.S
 create mode 100644 board/mediatek/mt7988/MAINTAINERS
 create mode 100644 board/mediatek/mt7988/Makefile
 create mode 100644 board/mediatek/mt7988/mt7988_rfb.c
 create mode 100644 configs/mt7988_rfb_defconfig
 create mode 100644 configs/mt7988_sd_rfb_defconfig
 create mode 100644 drivers/clk/mediatek/clk-mt7988.c
 create mode 100644 drivers/pinctrl/mediatek/pinctrl-mt7988.c
 create mode 100644 include/configs/mt7988.h
 create mode 100644 include/dt-bindings/clock/mt7988-clk.h
 create mode 100644 include/dt-bindings/reset/mt7988-reset.h

-- 
2.17.1


             reply	other threads:[~2023-07-19  9:15 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-19  9:15 Weijie Gao [this message]
2023-07-19  9:15 ` [PATCH 01/29] arm: mediatek: retrieve ram_base from dts node for armv8 platform Weijie Gao
2023-07-19  9:15 ` [PATCH 02/29] board: mediatek: update config headers Weijie Gao
2023-07-19  9:15 ` [PATCH 03/29] spi: mtk_spim: get spi clk rate only once Weijie Gao
2023-07-19  9:22   ` Jagan Teki
2023-07-19  9:16 ` [PATCH 04/29] spi: mtk_spim: clear IRQ enable bits Weijie Gao
2023-07-19  9:22   ` Jagan Teki
2023-07-19  9:16 ` [PATCH 05/29] serial: mtk: initial priv data before using Weijie Gao
2023-07-19  9:54   ` Stefan Roese
2023-07-19  9:16 ` [PATCH 06/29] reset: mediatek: check malloc return valaue before use Weijie Gao
2023-07-19  9:16 ` [PATCH 07/29] i2c: mediatek: fix I2C usability for MT7981 Weijie Gao
2023-08-10  5:00   ` Heiko Schocher
2023-07-19  9:16 ` [PATCH 08/29] arm: dts: enable i2c support for MediaTek MT7981 Weijie Gao
2023-07-19  9:16 ` [PATCH 09/29] pwm: mtk: add support for MediaTek MT7988 SoC Weijie Gao
2023-07-19  9:16 ` [PATCH 10/29] clk: mediatek: add clock driver " Weijie Gao
2023-07-19  9:16 ` [PATCH 11/29] reset: mediatek: add reset definition " Weijie Gao
2023-07-19  9:16 ` [PATCH 12/29] pinctrl: mediatek: convert most definitions to const Weijie Gao
2023-07-19  9:16 ` [PATCH 13/29] pinctrl: mediatek: fix the return value in driving configuration functions Weijie Gao
2023-07-19  9:16 ` [PATCH 14/29] pinctrl: mediatek: add pinmux_set ops support Weijie Gao
2023-07-19  9:16 ` [PATCH 15/29] pinctrl: mediatek: add pinctrl driver for MT7988 SoC Weijie Gao
2023-07-19  9:16 ` [PATCH 16/29] net: mediatek: connect switch to PSE only when starting eth is requested Weijie Gao
2023-07-19  9:16 ` [PATCH 17/29] net: mediatek: optimize the switch reset delay wait time Weijie Gao
2023-07-19  9:17 ` [PATCH 18/29] net: mediatek: fix direct MDIO clause 45 access via SoC Weijie Gao
2023-07-19  9:17 ` [PATCH 19/29] net: mediatek: add missing static qualifier Weijie Gao
2023-07-19  9:17 ` [PATCH 20/29] net: mediatek: add support for SGMII 1Gbps auto-negotiation mode Weijie Gao
2023-07-19  9:17 ` [PATCH 21/29] arm: dts: medaitek: convert gmac link mode to 2500base-x Weijie Gao
2023-07-19 10:30   ` Aw: " Frank Wunderlich
2023-07-19 12:08   ` Frank Wunderlich
2023-07-20  0:58     ` Weijie Gao (高惟杰)
2023-07-20  6:04       ` Aw: " Frank Wunderlich
2023-07-19  9:17 ` [PATCH 22/29] net: mediatek: add support for GMAC/USB3 PHY mux mode for MT7981 Weijie Gao
2023-07-19  9:17 ` [PATCH 23/29] arm: dts: mediatek: add infracfg registers to support GMAC/USB3 Co-PHY Weijie Gao
2023-07-19  9:17 ` [PATCH 24/29] net: mediatek: add USXGMII support Weijie Gao
2023-07-19  9:17 ` [PATCH 25/29] net: mediatek: add support for NETSYS v3 Weijie Gao
2023-07-19  9:17 ` [PATCH 26/29] net: mediatek: add support for MediaTek MT7988 SoC Weijie Gao
2023-07-19  9:17 ` [PATCH 27/29] tools: mtk_image: use uint32_t for ghf header magic and version Weijie Gao
2023-07-19  9:17 ` [PATCH 28/29] arm: mediatek: add support for MediaTek MT7988 SoC Weijie Gao
2023-07-19  9:17 ` [PATCH 29/29] board: mediatek: add MT7988 reference boards Weijie Gao
2023-08-03 14:37 ` [PATCH 00/29] Add support for MediaTek MT7988 SoC Tom Rini

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=cover.1689756363.git.weijie.gao@mediatek.com \
    --to=weijie.gao@mediatek.com \
    --cc=GSS_MTK_Uboot_upstream@mediatek.com \
    --cc=daniel@makrotopia.org \
    --cc=linux@fw-web.de \
    --cc=u-boot@lists.denx.de \
    /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