mbox series

[RESEND,v2,00/10] Add support for MediaTek MT7622 SoC

Message ID 1578645035-3032-1-git-send-email-sam.shih@mediatek.com
Headers show
Series Add support for MediaTek MT7622 SoC | expand

Message

Sam Shih Jan. 10, 2020, 8:30 a.m. UTC
A gentle ping on this whole patch series

This patch series adds basic boot support on eMMC/SD/spi-nor for the
MediaTek MT7622 SoC based boards. This series add the clock, pinctrl
drivers and the SoC initializaton code.

Change since V1:
- move mt7622/23/29 u-boot properties to -u-boot.dtsi files
- pinctrl: mediatek: add support for different pinctrl:
  - use gpio_mode to replace gpio_func for easier understanding
- fix mt7623n bpir2 defconfig
- ARM: MediaTek: Add support for MediaTek MT7622 SoC
  - fix dram size in mm_region

Sam Shih (10):
  ARM: MediaTek: Add support for MediaTek MT7622 SoC
  pinctrl: mediatek: add driver for MT7622
  pinctrl: mediatek: add support for different pinctrl
  clk: mediatek: add driver for MT7622
  clk: mediatek: fix clock-rate overflow problem
  power: domain: add power domain support for MT7622
  mmc: add mmc and sd support for MT7622
  Add support for MT7622 reference board
  arm: dts: mediatek: move u-boot properties to -u-boot.dtsi file
  configs: mediatek: fix mt7623n bpir2 defconfig

 arch/arm/dts/Makefile                         |   1 +
 arch/arm/dts/mt7622-rfb.dts                   | 180 +++++
 arch/arm/dts/mt7622-u-boot.dtsi               |  29 +
 arch/arm/dts/mt7622.dtsi                      | 185 +++++
 arch/arm/dts/mt7623-u-boot.dtsi               |  29 +
 arch/arm/dts/mt7623.dtsi                      |   6 -
 arch/arm/dts/mt7623n-bananapi-bpi-r2.dts      |   1 +
 arch/arm/dts/mt7629-rfb-u-boot.dtsi           |  36 +
 arch/arm/dts/mt7629-rfb.dts                   |   1 +
 arch/arm/dts/mt7629.dtsi                      |   9 -
 arch/arm/mach-mediatek/Kconfig                |   9 +
 arch/arm/mach-mediatek/Makefile               |   1 +
 arch/arm/mach-mediatek/mt7622/Makefile        |   3 +
 arch/arm/mach-mediatek/mt7622/init.c          |  51 ++
 board/mediatek/mt7622/Kconfig                 |  17 +
 board/mediatek/mt7622/MAINTAINERS             |   6 +
 board/mediatek/mt7622/Makefile                |   4 +
 board/mediatek/mt7622/mt7622_rfb.c            |  23 +
 configs/mt7622_rfb_defconfig                  |  55 ++
 configs/mt7623n_bpir2_defconfig               |   1 +
 drivers/clk/mediatek/Makefile                 |   1 +
 drivers/clk/mediatek/clk-mt7622.c             | 678 ++++++++++++++++
 drivers/clk/mediatek/clk-mtk.c                |   6 +-
 drivers/mmc/mtk-sd.c                          |  10 +
 drivers/pinctrl/mediatek/Kconfig              |   4 +
 drivers/pinctrl/mediatek/Makefile             |   1 +
 drivers/pinctrl/mediatek/pinctrl-mt7622.c     | 754 ++++++++++++++++++
 drivers/pinctrl/mediatek/pinctrl-mt7623.c     |   2 +
 drivers/pinctrl/mediatek/pinctrl-mt7629.c     |   2 +
 drivers/pinctrl/mediatek/pinctrl-mt8516.c     |   2 +
 drivers/pinctrl/mediatek/pinctrl-mt8518.c     |   2 +
 drivers/pinctrl/mediatek/pinctrl-mtk-common.c | 122 ++-
 drivers/pinctrl/mediatek/pinctrl-mtk-common.h |  12 +-
 drivers/power/domain/mtk-power-domain.c       |   6 +
 include/configs/mt7622.h                      |  46 ++
 include/dt-bindings/clock/mt7622-clk.h        | 271 +++++++
 36 files changed, 2529 insertions(+), 37 deletions(-)
 create mode 100644 arch/arm/dts/mt7622-rfb.dts
 create mode 100644 arch/arm/dts/mt7622-u-boot.dtsi
 create mode 100644 arch/arm/dts/mt7622.dtsi
 create mode 100644 arch/arm/dts/mt7623-u-boot.dtsi
 create mode 100644 arch/arm/mach-mediatek/mt7622/Makefile
 create mode 100644 arch/arm/mach-mediatek/mt7622/init.c
 create mode 100644 board/mediatek/mt7622/Kconfig
 create mode 100644 board/mediatek/mt7622/MAINTAINERS
 create mode 100644 board/mediatek/mt7622/Makefile
 create mode 100644 board/mediatek/mt7622/mt7622_rfb.c
 create mode 100644 configs/mt7622_rfb_defconfig
 create mode 100644 drivers/clk/mediatek/clk-mt7622.c
 create mode 100644 drivers/pinctrl/mediatek/pinctrl-mt7622.c
 create mode 100644 include/configs/mt7622.h
 create mode 100644 include/dt-bindings/clock/mt7622-clk.h