Add Tested-by tags from Matthias.
- Drop MT7629 qspi driver in the series, and we will implement another one
based on the spi-mem framework.
Guochun Mao (1):
spi: mtk_qspi: add qspi driver for MT7629 SoC
Ryder Lee (15):
tools: MediaTek: add MTK boot header generation to mkimage
arm: dts: M
This patch adds pinctrl support for MT7623 SoC. And most of the
structures are used to hold the hardware configuration for each
pin.
Signed-off-by: Ryder Lee
Tested-by: Matthias Brugger
---
drivers/pinctrl/mediatek/Kconfig |4 +
drivers/pinctrl/mediatek/Makefile
This patch adds a DDR3 driver for MT7629 SoC.
Signed-off-by: Wu Zou
Signed-off-by: Ryder Lee
---
drivers/ram/Makefile | 1 +
drivers/ram/mediatek/Makefile | 7 +
drivers/ram/mediatek/ddr3-mt7629.c | 766 +
3 files changed, 774
This patch adds MT7629 device tree and the includes it needs.
Signed-off-by: Ryder Lee
---
arch/arm/dts/Makefile| 3 +
arch/arm/dts/mt7629-rfb.dts | 71 +
arch/arm/dts/mt7629.dtsi | 244 +++
include/dt
This adds a general board file based on MT7629 SoCs from MediaTek.
Apart from the generic parts (cpu) we add some low level init codes
and initialize the early clocks.
Signed-off-by: Ryder Lee
Signed-off-by: Weijie Gao
---
arch/arm/Kconfig | 14 +++
arch/arm
From: Weijie Gao
This adds a general board file based on MT7623 SoCs from MediaTek.
As this u-boot is loaded by preloader, there is no low level
initializtion codes.
Signed-off-by: Weijie Gao
Signed-off-by: Ryder Lee
Tested-by: Matthias Brugger
---
arch/arm/mach-mediatek/Kconfig
This adds device tree for MT7623 development board - Bananapi R2
Detailed hardware information for BPI-R2 which could be found on
http://wiki.banana-pi.org/Banana_Pi_BPI-R2.
Signed-off-by: Ryder Lee
Tested-by: Matthias Brugger
---
arch/arm/dts/Makefile| 1 +
arch/arm/dts
chips that use
the same binding and driver, then being a little more abstract could
help in the long run.
Signed-off-by: Ryder Lee
---
arch/arm/include/asm/arch-mediatek/gpio.h | 9 +
drivers/pinctrl/Kconfig | 1 +
drivers/pinctrl/Makefile | 1
MT7629 as an example to demonstrate how to implement driver if
any other MediaTek chips would like to use it.
Signed-off-by: Ryder Lee
---
drivers/clk/Makefile | 1 +
drivers/clk/mediatek/Makefile | 6 +
drivers/clk/mediatek/clk-mt7629.c | 709
. The System Power Manager (SPM)
inside the SCPSYS is for the MTCMOS power domain control.
For now this driver only adds power domain support.
Signed-off-by: Ryder Lee
---
drivers/power/domain/Kconfig| 7 +
drivers/power/domain/Makefile | 1 +
drivers/power/domain/mtk-power
This patch adds a driver for MT7623 clock blocks.
Signed-off-by: Ryder Lee
Tested-by: Matthias Brugger
---
drivers/clk/mediatek/Makefile | 1 +
drivers/clk/mediatek/clk-mt7623.c | 870 ++
2 files changed, 871 insertions(+)
create mode 100644 drivers
This patch adds support for MTK boot image generation.
Signed-off-by: Weijie Gao
Signed-off-by: Ryder Lee
---
Makefile | 22 ++
common/image.c | 1 +
include/image.h | 1 +
scripts/Makefile.spl | 11 +
tools/Makefile | 1 +
tools/mtkimage.c | 749
This adds power domain (scpsys) support for MT7623 SoC.
Signed-off-by: Ryder Lee
---
drivers/power/domain/mtk-power-domain.c | 80 +
1 file changed, 80 insertions(+)
diff --git a/drivers/power/domain/mtk-power-domain.c
b/drivers/power/domain/mtk-power-domain.c
This patch adds clock source and clock event for the timer found
on the Mediatek SoCs.
Signed-off-by: Ryder Lee
Tested-by: Matthias Brugger
---
drivers/timer/Kconfig | 7
drivers/timer/Makefile| 1 +
drivers/timer/mtk_timer.c | 85
On Thu, 2018-10-11 at 10:10 -0400, Tom Rini wrote:
> On Tue, Oct 09, 2018 at 11:54:04AM +0800, Ryder Lee wrote:
>
> > This adds a general board file based on MT7629 SoCs from MediaTek.
> >
> > Apart from the generic parts (cpu) we add some low level init codes
> > a
From: Guochun Mao
This patch adds MT7629 qspi driver for accessing SPI NOR flash.
Cc: Jagan Teki
Signed-off-by: Guochun Mao
---
change since v2:
- Drop flash commands in the driver.
---
drivers/spi/Kconfig| 7 +
drivers/spi/Makefile | 1 +
drivers/spi/mtk_qspi.c | 359
On Thu, 2018-10-11 at 10:10 -0400, Tom Rini wrote:
> On Tue, Oct 09, 2018 at 11:54:06AM +0800, Ryder Lee wrote:
>
> > This patch adds defconfig for the MT7629 reference board.
> >
> > Signed-off-by: Ryder Lee
> > ---
> >
This patch adds a common driver for the Mediatek SoC integrated
watchdog.
Signed-off-by: Ryder Lee
Tested-by: Matthias Brugger
---
drivers/watchdog/Kconfig | 8 +++
drivers/watchdog/Makefile | 1 +
drivers/watchdog/mtk_wdt.c | 135 +
3 files
From: Weijie Gao
This patch adds MT7623 host controller driver for accessing SD/MMC.
Cc: Jaehoon Chung
Signed-off-by: Weijie Gao
Signed-off-by: Ryder Lee
Tested-by: Matthias Brugger
---
drivers/mmc/Kconfig |9 +
drivers/mmc/Makefile |1 +
drivers/mmc/mtk-sd.c | 1331
This patch adds an entry for MediaTek.
Signed-off-by: Ryder Lee
---
MAINTAINERS | 18 ++
1 file changed, 18 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index ace7d9a..c8b7ecb 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -157,6 +157,24 @@ T: git git://git.denx.de/u
This patch adds an extra operation in ns16550.c to suuport MediaTek
SoCs as we have a highspeed register which influences the calcualtion
of the divisor.
Note that we don't support the baudrate greater than 115200 currently.
Signed-off-by: Ryder Lee
Tested-by: Matthias Brugger
---
drivers
Hi Simon,
On Wed, 2018-10-24 at 21:29 -0600, Simon Glass wrote:
> Hi Ryder,
>
> On 12 October 2018 at 01:00, Ryder Lee wrote:
> > This patch adds pinctrl support for MT7629 SoC. The IO core found on
> > the SoC has the registers for pinctrl, pinconf and gpio mixed up in
On Wed, 2018-10-24 at 21:29 -0600, Simon Glass wrote:
> Hi,
>
> On 12 October 2018 at 01:00, Ryder Lee wrote:
> > From: Weijie Gao
> >
> > This adds a general board file based on MT7623 SoCs from MediaTek.
> >
> > As this u-boot is loaded by preloader,
On Wed, 2018-10-24 at 21:29 -0600, Simon Glass wrote:
> Hi Ryder,
>
> On 12 October 2018 at 01:01, Ryder Lee wrote:
> > This patch adds pinctrl support for MT7623 SoC. And most of the
> > structures are used to hold the hardware configuration for each
> > pin.
>
On Wed, 2018-10-24 at 21:29 -0600, Simon Glass wrote:
> Hi Ryder,
>
> On 12 October 2018 at 01:00, Ryder Lee wrote:
> > This patch adds clock modules for MediaTek SoCs:
> > - Shared part: a common driver which contains the general operations
> > for plls, muxes, divide
On Wed, 2018-10-24 at 21:29 -0600, Simon Glass wrote:
> Hi Ryder,
>
> On 12 October 2018 at 01:00, Ryder Lee wrote:
> > This adds a general board file based on MT7629 SoCs from MediaTek.
> >
> > Apart from the generic parts (cpu) we add some low level init codes
&
On Wed, 2018-10-24 at 21:29 -0600, Simon Glass wrote:
> Hi Ryder,
>
> On 12 October 2018 at 01:00, Ryder Lee wrote:
> > This patch adds support for MTK boot image generation.
> >
> > Signed-off-by: Weijie Gao
> > Signed-off-by: Ryder Lee
> > ---
> &g
On Sat, 2018-11-03 at 00:08 -0600, Simon Glass wrote:
> On 2 November 2018 at 09:15, Ryder Lee wrote:
> > This patch adds support for MTK boot image generation.
> >
> > Signed-off-by: Weijie Gao
> > Signed-off-by: Ryder Lee
> > ---
> > Makefile
On Mon, 2018-11-05 at 10:20 +0800, Ryder Lee wrote:
> On Sat, 2018-11-03 at 00:09 -0600, Simon Glass wrote:
> > Hi Ryder,
> >
> > On 2 November 2018 at 09:15, Ryder Lee wrote:
> > > This patch adds an extra operation in ns16550.c to suuport MediaTek
> > &g
On Sat, 2018-11-03 at 00:08 -0600, Simon Glass wrote:
> Hi Ryder,
>
> On 2 November 2018 at 09:15, Ryder Lee wrote:
> > This patch adds clock modules for MediaTek SoCs:
> > - Shared part: a common driver which contains the general operations
> > for plls, muxes, divide
chips that use
the same binding and driver, then being a little more abstract could
help in the long run.
Signed-off-by: Ryder Lee
---
arch/arm/include/asm/arch-mediatek/gpio.h | 9 +
drivers/pinctrl/Kconfig | 1 +
drivers/pinctrl/Makefile | 1
This patch adds a common driver for the Mediatek SoC integrated
watchdog.
Signed-off-by: Ryder Lee
Tested-by: Matthias Brugger
Reviewed-by: Simon Glass
---
drivers/watchdog/Kconfig | 8 +++
drivers/watchdog/Makefile | 1 +
drivers/watchdog/mtk_wdt.c | 135
This adds a general board file based on MT7629 SoCs from MediaTek.
Apart from the generic parts (cpu) we add some low level init codes
and initialize the early clocks.
Signed-off-by: Ryder Lee
Signed-off-by: Weijie Gao
---
arch/arm/Kconfig | 16
arch/arm
This patch adds support for MTK boot image generation.
Signed-off-by: Weijie Gao
Signed-off-by: Ryder Lee
---
Makefile | 20 ++
common/image.c | 1 +
include/image.h | 1 +
scripts/Makefile.spl | 11 +
tools/Makefile | 1 +
tools/mtk_image.c| 749
This patch adds MT7629 device tree and the includes it needs.
Signed-off-by: Ryder Lee
Reviewed-by: Simon Glass
---
arch/arm/dts/Makefile| 3 +
arch/arm/dts/mt7629-rfb-u-boot.dtsi | 24 +++
arch/arm/dts/mt7629-rfb.dts | 70 +
arch/arm/dts
MT7629 as an example to demonstrate how to implement driver if
any other MediaTek chips would like to use it.
Signed-off-by: Ryder Lee
---
drivers/clk/Makefile | 1 +
drivers/clk/mediatek/Makefile | 6 +
drivers/clk/mediatek/clk-mt7629.c | 709
This adds device tree for MT7623 development board - Bananapi R2
Detailed hardware information for BPI-R2 which could be found on
http://wiki.banana-pi.org/Banana_Pi_BPI-R2.
Signed-off-by: Ryder Lee
Tested-by: Matthias Brugger
Reviewed-by: Simon Glass
---
arch/arm/dts/Makefile
From: Weijie Gao
This adds a general board file based on MT7623 SoCs from MediaTek.
As this u-boot is loaded by MTK proprietary preloader, there is no
low level initializtion codes.
Signed-off-by: Weijie Gao
Signed-off-by: Ryder Lee
Tested-by: Matthias Brugger
---
arch/arm/mach-mediatek
This patch adds a driver for MT7623 clock blocks.
Signed-off-by: Ryder Lee
Tested-by: Matthias Brugger
Reviewed-by: Simon Glass
---
drivers/clk/mediatek/Makefile | 1 +
drivers/clk/mediatek/clk-mt7623.c | 870 ++
2 files changed, 871 insertions
yder
Ryder Lee (16):
tools: MediaTek: add MTK boot header generation to mkimage
arm: dts: MediaTek: add device tree for MT7629
arm: dts: MediaTek: add device tree for MT7623
arm: MediaTek: add basic support for MT7629 boards
clk: MediaTek: add clock driver for MT7629 SoC.
clk: MediaTek:
. The System Power Manager (SPM)
inside the SCPSYS is for the MTCMOS power domain control.
For now this driver only adds power domain support.
Signed-off-by: Ryder Lee
Reviewed-by: Simon Glass
---
drivers/power/domain/Kconfig| 7 +
drivers/power/domain/Makefile | 1 +
drivers
This patch adds an extra operation in ns16550.c to suuport MediaTek
SoCs as we have a highspeed register which influences the calcualtion
of the divisor.
Note that we don't support the baudrate greater than 115200 currently.
Signed-off-by: Ryder Lee
Tested-by: Matthias Brugger
Reviewed
This patch adds pinctrl support for MT7623 SoC. And most of the
structures are used to hold the hardware configuration for each
pin.
Signed-off-by: Ryder Lee
Tested-by: Matthias Brugger
---
drivers/pinctrl/mediatek/Kconfig |4 +
drivers/pinctrl/mediatek/Makefile
This patch adds clock source and clock event for the timer found
on the Mediatek SoCs.
Signed-off-by: Ryder Lee
Tested-by: Matthias Brugger
Reviewed-by: Simon Glass
---
drivers/timer/Kconfig | 7
drivers/timer/Makefile| 1 +
drivers/timer/mtk_timer.c | 85
This patch adds an entry for MediaTek.
Signed-off-by: Ryder Lee
Reviewed-by: Simon Glass
---
MAINTAINERS | 20
1 file changed, 20 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index cf8f73f..9940200 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -157,6 +157,26 @@ T
This adds power domain (scpsys) support for MT7623 SoC.
Signed-off-by: Ryder Lee
Reviewed-by: Simon Glass
---
drivers/power/domain/mtk-power-domain.c | 80 +
1 file changed, 80 insertions(+)
diff --git a/drivers/power/domain/mtk-power-domain.c
b/drivers/power
From: Weijie Gao
This patch adds MT7623 host controller driver for accessing SD/MMC.
Cc: Jaehoon Chung
Signed-off-by: Weijie Gao
Signed-off-by: Ryder Lee
Tested-by: Matthias Brugger
Reviewed-by: Simon Glass
---
drivers/mmc/Kconfig | 11 +
drivers/mmc/Makefile |1 +
drivers/mmc/mtk
Add a few notes on how to try out the MediaTek support so far.
Signed-off-by: Ryder Lee
---
doc/README.mediatek | 54 +
1 file changed, 54 insertions(+)
create mode 100644 doc/README.mediatek
diff --git a/doc/README.mediatek b/doc
This patch adds a DDR3 driver for MT7629 SoC.
Signed-off-by: Wu Zou
Signed-off-by: Ryder Lee
Reviewed-by: Simon Glass
---
drivers/ram/Makefile | 1 +
drivers/ram/mediatek/Makefile | 7 +
drivers/ram/mediatek/ddr3-mt7629.c | 766 +
3
On Wed, 2018-10-24 at 21:30 -0600, Simon Glass wrote:
> On 12 October 2018 at 01:01, Ryder Lee wrote:
> > This patch adds a DDR3 driver for MT7629 SoC.
> >
> > Signed-off-by: Wu Zou
> > Signed-off-by: Ryder Lee
> > ---
> > drivers/ram/Makefile
On Tue, 2018-11-13 at 11:53 -0800, Simon Glass wrote:
> Hi Ryder,
>
> On 6 November 2018 at 01:47, Ryder Lee wrote:
> > This patch adds an extra operation in ns16550.c to suuport MediaTek
> > SoCs as we have a highspeed register which influences the calcualtion
> > o
From: Weijie Gao
This patch adds MT7623 host controller driver for accessing SD/MMC.
Cc: Jaehoon Chung
Signed-off-by: Weijie Gao
Signed-off-by: Ryder Lee
Tested-by: Matthias Brugger
Reviewed-by: Simon Glass
---
Changes since v4: None
---
drivers/mmc/Kconfig | 11 +
drivers/mmc/Makefile
This patch adds a common driver for the Mediatek SoC integrated
watchdog.
Signed-off-by: Ryder Lee
Tested-by: Matthias Brugger
Reviewed-by: Simon Glass
---
Changes since v4: None
---
drivers/watchdog/Kconfig | 8 +++
drivers/watchdog/Makefile | 1 +
drivers/watchdog/mtk_wdt.c | 135
. The System Power Manager (SPM)
inside the SCPSYS is for the MTCMOS power domain control.
For now this driver only adds power domain support.
Signed-off-by: Ryder Lee
Reviewed-by: Simon Glass
---
Changes since v4: None
---
drivers/power/domain/Kconfig| 7 +
drivers/power/domain/Makefile
This patch adds clock source and clock event for the timer found
on the Mediatek SoCs.
Signed-off-by: Ryder Lee
Tested-by: Matthias Brugger
Reviewed-by: Simon Glass
---
Changes since v4: None
---
drivers/timer/Kconfig | 7
drivers/timer/Makefile| 1 +
drivers/timer/mtk_timer.c
This patch adds a driver for MT7623 clock blocks.
Signed-off-by: Ryder Lee
Tested-by: Matthias Brugger
Reviewed-by: Simon Glass
---
Changes since v4: None
---
drivers/clk/mediatek/Makefile | 1 +
drivers/clk/mediatek/clk-mt7623.c | 870 ++
2 files
This adds a general board file based on MT7629 SoCs from MediaTek.
Apart from the generic parts (cpu) we add some low level init codes
and initialize the early clocks.
Signed-off-by: Ryder Lee
Signed-off-by: Weijie Gao
Reviewed-by: Simon Glass
---
Changes since v4:
-Add gd->bd->bi_boot_
This patch adds a DDR3 driver for MT7629 SoC.
Signed-off-by: Wu Zou
Signed-off-by: Ryder Lee
Reviewed-by: Simon Glass
---
Changes since v4: None
---
drivers/ram/Makefile | 1 +
drivers/ram/mediatek/Makefile | 7 +
drivers/ram/mediatek/ddr3-mt7629.c | 766
This adds device tree for MT7623 development board - Bananapi R2
Detailed hardware information for BPI-R2 which could be found on
http://wiki.banana-pi.org/Banana_Pi_BPI-R2.
Signed-off-by: Ryder Lee
Tested-by: Matthias Brugger
Reviewed-by: Simon Glass
---
Changes since v4: None
---
arch/arm
This patch adds an extra operation in ns16550.c to suuport MediaTek
SoCs as we have a highspeed register which influences the calcualtion
of the divisor.
Note that we don't support the baudrate greater than 115200 currently.
Signed-off-by: Ryder Lee
Tested-by: Matthias Brugger
Reviewed
This adds power domain (scpsys) support for MT7623 SoC.
Signed-off-by: Ryder Lee
Reviewed-by: Simon Glass
---
Changes since v4: None
---
drivers/power/domain/mtk-power-domain.c | 80 +
1 file changed, 80 insertions(+)
diff --git a/drivers/power/domain/mtk-power
MT7629 as an example to demonstrate how to implement driver if
any other MediaTek chips would like to use it.
Signed-off-by: Ryder Lee
Reviewed-by: Simon Glass
---
Changes since v4: None
-Add a __common_ infix on the shared funcitons to make them clear.
(i.e., mtk_clk_init
Hello,
This is the new round to add U-Boot support for MediaTek SoCs - MT7623n &
MT7629,
and the most of the drivers are based on mainline Linux, such as clock, timer,
mmc,
pinctrl, watchdog, power domain and device tree.
Thanks,
Ryder
Ryder Lee (16):
tools: MediaTek: add MTK boot he
From: Weijie Gao
This adds a general board file based on MT7623 SoCs from MediaTek.
As this u-boot is loaded by MTK proprietary preloader, there is no
low level initializtion codes.
Signed-off-by: Weijie Gao
Signed-off-by: Ryder Lee
Tested-by: Matthias Brugger
---
Changes since v4:
-Add gd
This patch adds an entry for MediaTek.
Signed-off-by: Ryder Lee
Reviewed-by: Simon Glass
---
Changes since v4: None
---
MAINTAINERS | 20
1 file changed, 20 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index cf8f73f..9940200 100644
--- a/MAINTAINERS
+++ b
This patch adds support for MTK boot image generation.
Signed-off-by: Weijie Gao
Signed-off-by: Ryder Lee
Reviewed-by: Simon Glass
---
Changes since v4: None
---
Makefile | 20 ++
common/image.c | 1 +
include/image.h | 1 +
scripts/Makefile.spl | 11 +
tools
This patch adds MT7629 device tree and the includes it needs.
Signed-off-by: Ryder Lee
Reviewed-by: Simon Glass
---
Changes since v4: None
---
arch/arm/dts/Makefile| 3 +
arch/arm/dts/mt7629-rfb-u-boot.dtsi | 24 +++
arch/arm/dts/mt7629-rfb.dts | 70
chips that use
the same binding and driver, then being a little more abstract could
help in the long run.
Signed-off-by: Ryder Lee
Reviewed-by: Simon Glass
---
Changes since v4:
-mtk_pinctrl_probe() is a common function called by all probe functions,
so rename it to mtk_pinctrl_common_probe
Add a few notes on how to try out the MediaTek support so far.
Signed-off-by: Ryder Lee
---
Changes since v4:
-Add instructions on how to prepare SD card and write to SNOR flash.
-Fix typo.
---
doc/README.mediatek | 221
1 file changed, 221
This patch adds pinctrl support for MT7623 SoC. And most of the
structures are used to hold the hardware configuration for each
pin.
Signed-off-by: Ryder Lee
Tested-by: Matthias Brugger
Reviewed-by: Simon Glass
---
Changes since v4:
-Add a comment to the exported function - mtk_rmw
MT7629 as an example to demonstrate how to implement driver if
any other MediaTek chips would like to use it.
Signed-off-by: Ryder Lee
Reviewed-by: Simon Glass
---
Changes since v5: None
Changes since v4
-Add a __common_ infix on the shared funcitons to make them clear.
(i.e., mtk_clk_init
This adds device tree for MT7623 development board - Bananapi R2
Detailed hardware information for BPI-R2 which could be found on
http://wiki.banana-pi.org/Banana_Pi_BPI-R2.
Signed-off-by: Ryder Lee
Tested-by: Matthias Brugger
Reviewed-by: Simon Glass
---
Changes since v5: Use new compatible
This patch adds support for MTK boot image generation.
Signed-off-by: Weijie Gao
Signed-off-by: Ryder Lee
Reviewed-by: Simon Glass
---
Changes since v5: Fix typo
Changes since v4: None
---
Makefile | 20 ++
common/image.c | 1 +
include/image.h | 1 +
scripts
This patch adds MT7629 device tree and the includes it needs.
Signed-off-by: Ryder Lee
Reviewed-by: Simon Glass
---
Changes since v5: Use new compatible 'mediatek,hsuart' for MTK UART
Changes since v4: None
---
arch/arm/dts/Makefile| 3 +
arch/arm/dts/mt7629-rfb-u
From: Weijie Gao
This adds a general board file based on MT7623 SoCs from MediaTek.
As this u-boot is loaded by MTK proprietary preloader, there is no
low level initializtion codes.
Signed-off-by: Weijie Gao
Signed-off-by: Ryder Lee
Tested-by: Matthias Brugger
---
Changes since v5: None
From: Weijie Gao
This patch adds MT7623 host controller driver for accessing SD/MMC.
Cc: Jaehoon Chung
Signed-off-by: Weijie Gao
Signed-off-by: Ryder Lee
Tested-by: Matthias Brugger
Reviewed-by: Simon Glass
---
Changes since v5: None
Changes since v4: None
---
drivers/mmc/Kconfig | 11
This adds power domain (scpsys) support for MT7623 SoC.
Signed-off-by: Ryder Lee
Reviewed-by: Simon Glass
---
Changes since v5: None
Changes since v4: None
---
drivers/power/domain/mtk-power-domain.c | 80 +
1 file changed, 80 insertions(+)
diff --git a/drivers
chips that use
the same binding and driver, then being a little more abstract could
help in the long run.
Signed-off-by: Ryder Lee
Reviewed-by: Simon Glass
---
Changes since v5:
- remove unused pin macros
Changes since v4:
-mtk_pinctrl_probe() is a common function called by all probe functions
SoCs will change the UART into high-speed mode
and the U-Boot must use this driver to initialize the UART.
Signed-off-by: Weijie Gao
Tested-by: Ryder Lee
---
Changes since v5: Add a specific driver for MTK UART
Changes since v4: None
---
drivers/serial/Kconfig | 20
drivers/serial
Hello,
This is the new round to add U-Boot support for MediaTek SoCs - MT7623n &
MT7629,
and the most of the drivers are based on mainline Linux, such as clock, timer,
mmc,
pinctrl, UART, watchdog, power domain and device tree.
Ryder
Ryder Lee (16):
tools: MediaTek: add MTK boot he
This patch adds clock source and clock event for the timer found
on the Mediatek SoCs.
Signed-off-by: Ryder Lee
Tested-by: Matthias Brugger
Reviewed-by: Simon Glass
---
Changes since v5: None
Changes since v4: None
---
drivers/timer/Kconfig | 7
drivers/timer/Makefile| 1
This adds a general board file based on MT7629 SoCs from MediaTek.
Apart from the generic parts (cpu) we add some low level init codes
and initialize the early clocks.
Signed-off-by: Ryder Lee
Signed-off-by: Weijie Gao
Reviewed-by: Simon Glass
---
Changes since v5: None
Changes since v4:
-Add
Add a few notes on how to try out the MediaTek support so far.
Signed-off-by: Ryder Lee
Tested-by: Frank Wunderlich
---
Changes since v5:
-Fix Whitespace-Error.
Changes since v4:
-Add instructions on how to prepare SD card and write to SNOR flash.
-Fix typo.
---
doc/README.mediatek | 221
This patch adds a driver for MT7623 clock blocks.
Signed-off-by: Ryder Lee
Tested-by: Matthias Brugger
Reviewed-by: Simon Glass
---
Changes since v5: None
Changes since v4: None
---
drivers/clk/mediatek/Makefile | 1 +
drivers/clk/mediatek/clk-mt7623.c | 870
This patch adds a DDR3 driver for MT7629 SoC.
Signed-off-by: Wu Zou
Signed-off-by: Ryder Lee
Reviewed-by: Simon Glass
---
Changes since v5: None
Changes since v4: None
---
drivers/ram/Makefile | 1 +
drivers/ram/mediatek/Makefile | 7 +
drivers/ram/mediatek/ddr3-mt7629
This patch adds a common driver for the Mediatek SoC integrated
watchdog.
Signed-off-by: Ryder Lee
Tested-by: Matthias Brugger
Reviewed-by: Simon Glass
---
Changes since v5: None
Changes since v4: None
---
drivers/watchdog/Kconfig | 8 +++
drivers/watchdog/Makefile | 1 +
drivers
This patch adds pinctrl support for MT7623 SoC. And most of the
structures are used to hold the hardware configuration for each
pin.
Signed-off-by: Ryder Lee
Tested-by: Matthias Brugger
Reviewed-by: Simon Glass
---
Changes since v5: None
Changes since v4:
-Add a comment to the exported
This patch adds an entry for MediaTek.
Signed-off-by: Ryder Lee
Reviewed-by: Simon Glass
---
Changes since v5: None
Changes since v4: None
---
MAINTAINERS | 20
1 file changed, 20 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index abdb6dc..214629e 100644
. The System Power Manager (SPM)
inside the SCPSYS is for the MTCMOS power domain control.
For now this driver only adds power domain support.
Signed-off-by: Ryder Lee
Reviewed-by: Simon Glass
---
Changes since v5: None
Changes since v4: None
---
drivers/power/domain/Kconfig| 7 +
drivers
to kernel (rc1=bpi-r2_v3_old and rc3 = bpi-r2_v3)
That's because I remove 'gd->bd->bi_boot_params' in v3, but it seems you
use legacy method (ATAGs) to pass parameters. I will add it back.
> > Gesendet: Samstag, 03. November 2018 um 09:46 Uhr
> > Von: "Frank Wunderlich&q
On Sat, 2018-11-03 at 00:09 -0600, Simon Glass wrote:
> Hi Ryder,
>
> On 2 November 2018 at 09:15, Ryder Lee wrote:
> > This patch adds an extra operation in ns16550.c to suuport MediaTek
> > SoCs as we have a highspeed register which influences the calcualtion
> > o
. The System Power Manager (SPM)
inside the SCPSYS is for the MTCMOS power domain control.
For now this driver only adds power domain support.
Signed-off-by: Ryder Lee
---
drivers/power/domain/Kconfig| 7 +
drivers/power/domain/Makefile | 1 +
drivers/power/domain/mtk-power
This patch adds support for MTK boot image generation.
Signed-off-by: Weijie Gao
Signed-off-by: Ryder Lee
---
Makefile | 20 ++
common/image.c | 1 +
include/image.h | 1 +
scripts/Makefile.spl | 11 +
tools/Makefile | 1 +
tools/mtkimage.c | 749
From: Weijie Gao
This adds a general board file based on MT7623 SoCs from MediaTek.
As this u-boot is loaded by preloader, there is no low level
initializtion codes.
Signed-off-by: Weijie Gao
Signed-off-by: Ryder Lee
Tested-by: Matthias Brugger
---
arch/arm/mach-mediatek/Kconfig
This patch adds a common driver for the Mediatek SoC integrated
watchdog.
Signed-off-by: Ryder Lee
Tested-by: Matthias Brugger
---
drivers/watchdog/Kconfig | 8 +++
drivers/watchdog/Makefile | 1 +
drivers/watchdog/mtk_wdt.c | 135 +
3 files
chips that use
the same binding and driver, then being a little more abstract could
help in the long run.
Signed-off-by: Ryder Lee
---
arch/arm/include/asm/arch-mediatek/gpio.h | 9 +
drivers/pinctrl/Kconfig | 1 +
drivers/pinctrl/Makefile | 1
This patch adds pinctrl support for MT7623 SoC. And most of the
structures are used to hold the hardware configuration for each
pin.
Signed-off-by: Ryder Lee
Tested-by: Matthias Brugger
---
drivers/pinctrl/mediatek/Kconfig |4 +
drivers/pinctrl/mediatek/Makefile
MT7629 as an example to demonstrate how to implement driver if
any other MediaTek chips would like to use it.
Signed-off-by: Ryder Lee
---
drivers/clk/Makefile | 1 +
drivers/clk/mediatek/Makefile | 6 +
drivers/clk/mediatek/clk-mt7629.c | 706
This patch adds clock source and clock event for the timer found
on the Mediatek SoCs.
Signed-off-by: Ryder Lee
Tested-by: Matthias Brugger
---
drivers/timer/Kconfig | 7
drivers/timer/Makefile| 1 +
drivers/timer/mtk_timer.c | 85
This patch adds a DDR3 driver for MT7629 SoC.
Signed-off-by: Wu Zou
Signed-off-by: Ryder Lee
---
drivers/ram/Makefile | 1 +
drivers/ram/mediatek/Makefile | 7 +
drivers/ram/mediatek/ddr3-mt7629.c | 766 +
3 files changed, 774
1 - 100 of 154 matches
Mail list logo