From: Weijie Gao <weijie.gao@mediatek.com>
To: <u-boot@lists.denx.de>
Cc: GSS_MTK_Uboot_upstream <GSS_MTK_Uboot_upstream@mediatek.com>,
Weijie Gao <weijie.gao@mediatek.com>
Subject: [PATCH 00/31] Add support for MediaTek MT7981/MT7986 SoCs
Date: Thu, 4 Aug 2022 11:34:26 +0800 [thread overview]
Message-ID: <cover.1659581119.git.weijie.gao@mediatek.com> (raw)
This patch series add support for MediaTek MT7981/MT7986 SoCs with their
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 MT7986:
https://www.mediatek.com/products/home-networking/mediatek-filogic-830
Weijie Gao (31):
arm: mediatek: add support for MediaTek MT7986 SoC
arm: mediatek: add support for MediaTek MT7981 SoC
board: mediatek: add MT7986 reference boards
board: mediatek: add MT7981 reference boards
mmc: mediatek: add support for MediaTek MT7891/MT7986 SoCs
net: mediatek: use a struct to cover variations of all SoCs
net: mediatek: stop using bitfileds for DMA descriptors
net: mediatek: add support for PDMA v2
net: mediatek: add support for MediaTek MT7981/MT7986
serial: mtk: add support for using dynamic baud clock souce
arm: dts: mt7622: force high-speed mode for uart
pwm: mtk: add support for MediaTek MT7986 SoC
pwm: mtk: add support for MediaTek MT7981 SoC
timer: mtk: add support for MediaTek MT7981/MT7986 SoCs
watchdog: mediatek: add support for MediaTek MT7986 SoC
spi: add support for MediaTek spi-mem controller
i2c: add support for MediaTek I2C interface
arm: dts: mt7622: add i2c support
dt-bindings: pinctrl: mediatek: add a header for common pinconf
parameters
pinctrl: mediatek: add pinctrl driver for MT7981 SoC
pinctrl: mediatek: add pinctrl driver for MT7986 SoC
clk: mediatek: add CLK_BYPASS_XTAL flag to allow bypassing searching
clock parent of xtal clock
clk: mediatek: add support to configure clock driver parent
clk: mediatek: add infrasys clock mux support
clk: mediatek: add CLK_XTAL support for clock driver
clk: mediatek: add clock driver support for MediaTek MT7986 SoC
clk: mediatek: add clock driver support for MediaTek MT7981 SoC
tools: mtk_image: split gfh header verification into a new function
tools: mtk_image: split the code of generating NAND header into a new
file
tools: mtk_image: add support for nand headers used by newer chips
MAINTAINERS: update maintainer for MediaTek ARM platform
MAINTAINERS | 5 +
arch/arm/dts/Makefile | 9 +
arch/arm/dts/mt7622-rfb.dts | 18 +
arch/arm/dts/mt7622.dtsi | 25 +
arch/arm/dts/mt7981-emmc-rfb.dts | 139 +++
arch/arm/dts/mt7981-rfb.dts | 133 +++
arch/arm/dts/mt7981-sd-rfb.dts | 139 +++
arch/arm/dts/mt7981-spim-nand-rfb.dts | 138 +++
arch/arm/dts/mt7981-spim-nor-rfb.dts | 133 +++
arch/arm/dts/mt7981.dtsi | 288 +++++
arch/arm/dts/mt7986-u-boot.dtsi | 33 +
arch/arm/dts/mt7986.dtsi | 341 ++++++
arch/arm/dts/mt7986a-rfb.dts | 218 ++++
arch/arm/dts/mt7986a-sd-rfb.dts | 177 +++
arch/arm/dts/mt7986b-rfb.dts | 204 ++++
arch/arm/dts/mt7986b-sd-rfb.dts | 173 +++
arch/arm/mach-mediatek/Kconfig | 21 +
arch/arm/mach-mediatek/Makefile | 2 +
arch/arm/mach-mediatek/mt7981/Makefile | 4 +
arch/arm/mach-mediatek/mt7981/init.c | 52 +
arch/arm/mach-mediatek/mt7981/lowlevel_init.S | 30 +
arch/arm/mach-mediatek/mt7986/Makefile | 4 +
arch/arm/mach-mediatek/mt7986/init.c | 53 +
arch/arm/mach-mediatek/mt7986/lowlevel_init.S | 30 +
board/mediatek/mt7981/MAINTAINERS | 10 +
board/mediatek/mt7981/Makefile | 3 +
board/mediatek/mt7981/mt7981_rfb.c | 10 +
board/mediatek/mt7986/MAINTAINERS | 10 +
board/mediatek/mt7986/Makefile | 3 +
board/mediatek/mt7986/mt7986_rfb.c | 10 +
configs/mt7981_emmc_rfb_defconfig | 64 +
configs/mt7981_rfb_defconfig | 65 +
configs/mt7981_sd_rfb_defconfig | 64 +
configs/mt7981_spim_nand_rfb_defconfig | 59 +
configs/mt7981_spim_nor_rfb_defconfig | 70 ++
configs/mt7986_rfb_defconfig | 66 ++
configs/mt7986a_emmc_rfb_defconfig | 64 +
configs/mt7986a_sd_rfb_defconfig | 64 +
configs/mt7986b_emmc_rfb_defconfig | 64 +
configs/mt7986b_sd_rfb_defconfig | 64 +
drivers/clk/mediatek/Makefile | 2 +
drivers/clk/mediatek/clk-mt7981.c | 682 +++++++++++
drivers/clk/mediatek/clk-mt7986.c | 671 +++++++++++
drivers/clk/mediatek/clk-mtk.c | 157 ++-
drivers/clk/mediatek/clk-mtk.h | 10 +-
drivers/i2c/Kconfig | 9 +
drivers/i2c/Makefile | 1 +
drivers/i2c/mtk_i2c.c | 822 +++++++++++++
drivers/mmc/mtk-sd.c | 68 +-
drivers/net/mtk_eth.c | 252 ++--
drivers/net/mtk_eth.h | 101 +-
drivers/pinctrl/mediatek/Kconfig | 8 +
drivers/pinctrl/mediatek/Makefile | 2 +
drivers/pinctrl/mediatek/pinctrl-mt7981.c | 1049 +++++++++++++++++
drivers/pinctrl/mediatek/pinctrl-mt7986.c | 775 ++++++++++++
drivers/pwm/pwm-mtk.c | 40 +-
drivers/serial/serial_mtk.c | 72 +-
drivers/spi/Kconfig | 8 +
drivers/spi/Makefile | 1 +
drivers/spi/mtk_spim.c | 705 +++++++++++
drivers/timer/mtk_timer.c | 59 +-
drivers/watchdog/mtk_wdt.c | 1 +
include/configs/mt7981.h | 26 +
include/configs/mt7986.h | 26 +
include/dt-bindings/clock/mt7981-clk.h | 267 +++++
include/dt-bindings/clock/mt7986-clk.h | 249 ++++
include/dt-bindings/pinctrl/mt65xx.h | 41 +
tools/Makefile | 1 +
tools/mtk_image.c | 376 ++----
tools/mtk_image.h | 25 -
tools/mtk_nand_headers.c | 668 +++++++++++
tools/mtk_nand_headers.h | 156 +++
72 files changed, 9841 insertions(+), 548 deletions(-)
create mode 100644 arch/arm/dts/mt7981-emmc-rfb.dts
create mode 100644 arch/arm/dts/mt7981-rfb.dts
create mode 100644 arch/arm/dts/mt7981-sd-rfb.dts
create mode 100644 arch/arm/dts/mt7981-spim-nand-rfb.dts
create mode 100644 arch/arm/dts/mt7981-spim-nor-rfb.dts
create mode 100644 arch/arm/dts/mt7981.dtsi
create mode 100644 arch/arm/dts/mt7986-u-boot.dtsi
create mode 100644 arch/arm/dts/mt7986.dtsi
create mode 100644 arch/arm/dts/mt7986a-rfb.dts
create mode 100644 arch/arm/dts/mt7986a-sd-rfb.dts
create mode 100644 arch/arm/dts/mt7986b-rfb.dts
create mode 100644 arch/arm/dts/mt7986b-sd-rfb.dts
create mode 100644 arch/arm/mach-mediatek/mt7981/Makefile
create mode 100644 arch/arm/mach-mediatek/mt7981/init.c
create mode 100644 arch/arm/mach-mediatek/mt7981/lowlevel_init.S
create mode 100644 arch/arm/mach-mediatek/mt7986/Makefile
create mode 100644 arch/arm/mach-mediatek/mt7986/init.c
create mode 100644 arch/arm/mach-mediatek/mt7986/lowlevel_init.S
create mode 100644 board/mediatek/mt7981/MAINTAINERS
create mode 100644 board/mediatek/mt7981/Makefile
create mode 100644 board/mediatek/mt7981/mt7981_rfb.c
create mode 100644 board/mediatek/mt7986/MAINTAINERS
create mode 100644 board/mediatek/mt7986/Makefile
create mode 100644 board/mediatek/mt7986/mt7986_rfb.c
create mode 100644 configs/mt7981_emmc_rfb_defconfig
create mode 100644 configs/mt7981_rfb_defconfig
create mode 100644 configs/mt7981_sd_rfb_defconfig
create mode 100644 configs/mt7981_spim_nand_rfb_defconfig
create mode 100644 configs/mt7981_spim_nor_rfb_defconfig
create mode 100644 configs/mt7986_rfb_defconfig
create mode 100644 configs/mt7986a_emmc_rfb_defconfig
create mode 100644 configs/mt7986a_sd_rfb_defconfig
create mode 100644 configs/mt7986b_emmc_rfb_defconfig
create mode 100644 configs/mt7986b_sd_rfb_defconfig
create mode 100644 drivers/clk/mediatek/clk-mt7981.c
create mode 100644 drivers/clk/mediatek/clk-mt7986.c
create mode 100644 drivers/i2c/mtk_i2c.c
create mode 100644 drivers/pinctrl/mediatek/pinctrl-mt7981.c
create mode 100644 drivers/pinctrl/mediatek/pinctrl-mt7986.c
create mode 100644 drivers/spi/mtk_spim.c
create mode 100644 include/configs/mt7981.h
create mode 100644 include/configs/mt7986.h
create mode 100644 include/dt-bindings/clock/mt7981-clk.h
create mode 100644 include/dt-bindings/clock/mt7986-clk.h
create mode 100644 include/dt-bindings/pinctrl/mt65xx.h
create mode 100644 tools/mtk_nand_headers.c
create mode 100644 tools/mtk_nand_headers.h
--
2.17.1
next reply other threads:[~2022-08-04 3:34 UTC|newest]
Thread overview: 100+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-04 3:34 Weijie Gao [this message]
2022-08-04 3:34 ` [PATCH 01/31] arm: mediatek: add support for MediaTek MT7986 SoC Weijie Gao
2022-08-04 8:37 ` Daniel Golle
2022-08-04 8:50 ` Weijie Gao
2022-08-05 8:43 ` Weijie Gao
2022-08-06 16:09 ` Daniel Golle
2022-08-08 1:37 ` Weijie Gao
2022-08-04 3:34 ` [PATCH 02/31] arm: mediatek: add support for MediaTek MT7981 SoC Weijie Gao
2022-08-04 13:57 ` Simon Glass
2022-08-08 2:17 ` Weijie Gao
2022-08-08 19:26 ` Simon Glass
2022-08-04 3:35 ` [PATCH 03/31] board: mediatek: add MT7986 reference boards Weijie Gao
2022-08-04 13:57 ` Simon Glass
2022-08-09 9:10 ` Daniel Golle
2022-08-12 11:02 ` Weijie Gao
2022-08-12 11:29 ` Daniel Golle
2022-08-04 3:35 ` [PATCH 04/31] board: mediatek: add MT7981 " Weijie Gao
2022-08-04 13:57 ` Simon Glass
2022-08-04 3:35 ` [PATCH 05/31] mmc: mediatek: add support for MediaTek MT7891/MT7986 SoCs Weijie Gao
2022-08-04 13:57 ` Simon Glass
2022-08-08 2:22 ` Weijie Gao
2022-08-11 5:50 ` jh80.chung
2022-08-04 3:35 ` [PATCH 06/31] net: mediatek: use a struct to cover variations of all SoCs Weijie Gao
2022-08-04 13:56 ` Simon Glass
2022-08-08 2:28 ` Weijie Gao
2022-08-04 3:35 ` [PATCH 07/31] net: mediatek: stop using bitfileds for DMA descriptors Weijie Gao
2022-08-04 13:56 ` Simon Glass
2022-08-06 17:50 ` Ramon Fried
2022-08-08 2:29 ` Weijie Gao
2022-08-04 3:35 ` [PATCH 08/31] net: mediatek: add support for PDMA v2 Weijie Gao
2022-08-04 13:56 ` Simon Glass
2022-08-06 17:49 ` Ramon Fried
2022-08-04 3:35 ` [PATCH 09/31] net: mediatek: add support for MediaTek MT7981/MT7986 Weijie Gao
2022-08-06 17:48 ` Ramon Fried
2022-08-04 3:35 ` [PATCH 10/31] serial: mtk: add support for using dynamic baud clock souce Weijie Gao
2022-08-04 13:56 ` Simon Glass
2022-08-08 2:36 ` Weijie Gao
2022-08-08 19:26 ` Simon Glass
2022-08-04 3:35 ` [PATCH 11/31] arm: dts: mt7622: force high-speed mode for uart Weijie Gao
2022-08-04 13:57 ` Simon Glass
2022-08-04 3:35 ` [PATCH 12/31] pwm: mtk: add support for MediaTek MT7986 SoC Weijie Gao
2022-08-04 13:57 ` Simon Glass
2022-08-04 3:35 ` [PATCH 13/31] pwm: mtk: add support for MediaTek MT7981 SoC Weijie Gao
2022-08-04 13:57 ` Simon Glass
2022-08-04 3:35 ` [PATCH 14/31] timer: mtk: add support for MediaTek MT7981/MT7986 SoCs Weijie Gao
2022-08-04 13:57 ` Simon Glass
2022-08-04 3:35 ` [PATCH 15/31] watchdog: mediatek: add support for MediaTek MT7986 SoC Weijie Gao
2022-08-04 13:57 ` Simon Glass
2022-08-04 3:36 ` [PATCH 16/31] spi: add support for MediaTek spi-mem controller Weijie Gao
2022-08-04 13:57 ` Simon Glass
2022-08-04 3:36 ` [PATCH 17/31] i2c: add support for MediaTek I2C interface Weijie Gao
2022-08-04 13:57 ` Simon Glass
2022-08-08 3:00 ` Weijie Gao
2022-08-10 11:12 ` Heiko Schocher
2022-08-10 11:24 ` Michael Nazzareno Trimarchi
2022-08-12 9:46 ` Weijie Gao
2022-08-04 3:36 ` [PATCH 18/31] arm: dts: mt7622: add i2c support Weijie Gao
2022-08-04 13:57 ` Simon Glass
2022-08-04 3:36 ` [PATCH 19/31] dt-bindings: pinctrl: mediatek: add a header for common pinconf parameters Weijie Gao
2022-08-04 13:57 ` Simon Glass
2022-08-04 3:36 ` [PATCH 20/31] pinctrl: mediatek: add pinctrl driver for MT7981 SoC Weijie Gao
2022-08-04 13:57 ` Simon Glass
2022-08-04 3:36 ` [PATCH 21/31] pinctrl: mediatek: add pinctrl driver for MT7986 SoC Weijie Gao
2022-08-04 13:57 ` Simon Glass
2022-08-04 3:36 ` [PATCH 22/31] clk: mediatek: add CLK_BYPASS_XTAL flag to allow bypassing searching clock parent of xtal clock Weijie Gao
2022-08-04 13:57 ` Simon Glass
2022-08-08 3:01 ` Weijie Gao
2022-08-04 3:36 ` [PATCH 23/31] clk: mediatek: add support to configure clock driver parent Weijie Gao
2022-08-04 13:57 ` Simon Glass
2022-08-13 4:18 ` Sean Anderson
2022-08-23 10:43 ` Weijie Gao
2022-08-04 3:36 ` [PATCH 24/31] clk: mediatek: add infrasys clock mux support Weijie Gao
2022-08-04 13:57 ` Simon Glass
2022-08-13 4:21 ` Sean Anderson
2022-08-17 8:00 ` Weijie Gao
2022-08-04 3:36 ` [PATCH 25/31] clk: mediatek: add CLK_XTAL support for clock driver Weijie Gao
2022-08-04 13:57 ` Simon Glass
2022-08-08 3:10 ` Weijie Gao
2022-08-13 4:25 ` Sean Anderson
2022-08-17 8:08 ` Weijie Gao
2022-08-04 3:36 ` [PATCH 26/31] clk: mediatek: add clock driver support for MediaTek MT7986 SoC Weijie Gao
2022-08-04 13:57 ` Simon Glass
2022-08-08 3:13 ` Weijie Gao
2022-08-04 3:36 ` [PATCH 27/31] clk: mediatek: add clock driver support for MediaTek MT7981 SoC Weijie Gao
2022-08-04 13:57 ` Simon Glass
2022-08-08 3:18 ` Weijie Gao
2022-08-13 4:31 ` Sean Anderson
2022-08-17 8:16 ` Weijie Gao
2022-08-04 3:36 ` [PATCH 28/31] tools: mtk_image: split gfh header verification into a new function Weijie Gao
2022-08-04 13:57 ` Simon Glass
2022-08-04 3:36 ` [PATCH 29/31] tools: mtk_image: split the code of generating NAND header into a new file Weijie Gao
2022-08-04 13:57 ` Simon Glass
2022-08-08 3:23 ` Weijie Gao
2022-08-05 18:26 ` Daniel Golle
2022-08-08 3:26 ` Weijie Gao
2022-08-04 3:36 ` [PATCH 30/31] tools: mtk_image: add support for nand headers used by newer chips Weijie Gao
2022-08-04 13:57 ` Simon Glass
2022-08-08 3:31 ` Weijie Gao
2022-08-04 3:36 ` [PATCH 31/31] MAINTAINERS: update maintainer for MediaTek ARM platform Weijie Gao
2022-08-04 13:57 ` Simon Glass
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.1659581119.git.weijie.gao@mediatek.com \
--to=weijie.gao@mediatek.com \
--cc=GSS_MTK_Uboot_upstream@mediatek.com \
--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