line.
Copyright (C) 2020 MediaTek Inc.
> + *
> + * Author: Frank Wunderlich
> + * based on
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/ata/ahci_mtk.c
Don't place this line between the Author tags
> + * Author: Ryder Lee
> + */
Thanks,
Best Regards,
Sam Shih
ONFIG_RESET_MEDIATEK)) {
> +// PCIESYS uses in linux also 0x34 = ETHSYS reset controller
No need to add special comments that are not easy to understand,
and please uses "/* */" instead of "//".
Thanks,
Best Regards,
Sam Shih
the old bpir64 image,
implemented in aarch64)
Using this new ATF 2.1, MT7622 mainline U-boot can detect the FIT
description in the liunx image and jump to aarch32/aarch64 mode and boot
to Shell.
Therefore, I think we should keep the mt7622 upstream uboot code clear
and keep no proprietary code to support the old ATF.
The new architecture of mt7622 (bpir64) will be:
aarch64 prelaoder (BL2), aarch64 bl31 and aarch64 u-boot and optional
arch32/aarch64 of the Linux kernel
Thanks,
Regards,
Sam Shih
This patch fix mt7622 and mt7623 boot problem caused by BINMAN_FDT
Sam Shih (1):
arm: mediatek: remove unuse binman config
arch/arm/Kconfig | 1 -
arch/arm/mach-mediatek/Kconfig | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)
--
2.17.1
eca1 ("arm: MediaTek: add basic support for MT7629 boards")
select BINMAN=y in all mediatek SoCs, and others mediatek SoCs not
expect to use BINMAN_FDT.
This patch remove BINMAN=y option when ARCH_MEDIATEK=y and
move this to the specify SoCs part config.
Signed-off-by: Sam S
Add pwm support for MediaTek SoCs: mt7622, mt7623 and mt7629,
also fix mt7622 and mt7623 boot problem caused by BINMAN_FDT
Sam Shih (3):
mediatek: pwm: add pwm driver for MediaTek SoCs
arm: dts: add pwm support for MediaTek SoCs
arm: mediatek: remove unuse binman config
arch/arm/Kconfig
This driver support the standard PWM API for
MediaTek MT7623, MT7622 and MT7629 SoCs
Signed-off-by: Sam Shih
---
drivers/pwm/Kconfig | 7 ++
drivers/pwm/Makefile | 1 +
drivers/pwm/pwm-mtk.c | 188 ++
3 files changed, 196 insertions(+)
create mode
This patch add pwm support for mt7622, mt7623 and mt7629 SoCs
Signed-off-by: Sam Shih
---
arch/arm/dts/mt7622.dtsi | 19 +++
arch/arm/dts/mt7623.dtsi | 17 +
arch/arm/dts/mt7629.dtsi | 16
3 files changed, 52 insertions(+)
diff --git a/arch/arm
eca1 ("arm: MediaTek: add basic support for MT7629 boards")
select BINMAN=y in all mediatek SoCs, and others mediatek SoCs not
expect to use BINMAN_FDT.
This patch remove BINMAN=y option when ARCH_MEDIATEK=y and
move this to the specify SoCs part config.
Signed-off-by: Sam Shih
-
This patch add CONFIG_TARGET_MT7623 into mt7623n_bpir2_defconfig
to fix the mt7623 compile error after building others mediatek target
platform
Signed-off-by: Sam Shih
Reviewed-by: Ryder Lee
---
configs/mt7623n_bpir2_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs
This patch move u-boot properties to -u-boot.dtsi file.
Signed-off-by: Sam Shih
Reviewed-by: Ryder Lee
---
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
This patch fix clock-rate overflow problem in mediatek
clock driver common part.
Signed-off-by: Sam Shih
Reviewed-by: Ryder Lee
---
drivers/clk/mediatek/clk-mtk.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/clk/mediatek/clk-mtk.c b/drivers/clk/mediatek/clk
This adds a general board file based on MT7622 SoCs from MediaTek.
This commit is adding the basic boot support for the MT7622 rfb.
Signed-off-by: Sam Shih
Reviewed-by: Ryder Lee
Tested-by: Frank Wunderlich
---
arch/arm/dts/Makefile | 1 +
arch/arm/dts/mt7622-rfb.dts
This patch add mmc and sd support for Mediatek MT7622 SoCs
Signed-off-by: Sam Shih
Reviewed-by: Ryder Lee
---
drivers/mmc/mtk-sd.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/mmc/mtk-sd.c b/drivers/mmc/mtk-sd.c
index eaa584a4df..a3ede3070a 100644
--- a/drivers/mmc
This patch add power domain support for Mediatek MT7622 SoCs
Signed-off-by: Ryder Lee
Signed-off-by: Sam Shih
---
drivers/power/domain/mtk-power-domain.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/power/domain/mtk-power-domain.c
b/drivers/power/domain/mtk-power-domain.c
Due to the pinctrl hardware of MT7622 is difference from others
SoC which using the common part of mediatek pinctrl.
So we need to modify the common part of mediatek pinctrl.
Signed-off-by: Sam Shih
Reviewed-by: Ryder Lee
---
drivers/pinctrl/mediatek/pinctrl-mt7622.c | 2 +
drivers
This patch add clock driver for MediaTek MT7622 SoC.
Signed-off-by: Ryder Lee
Signed-off-by: Sam Shih
---
drivers/clk/mediatek/Makefile | 1 +
drivers/clk/mediatek/clk-mt7622.c | 678 +
include/dt-bindings/clock/mt7622-clk.h | 271 ++
3 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
This patch add Pinctrl driver for MediaTek MT7622 SoC.
Signed-off-by: Sam Shih
Reviewed-by: Ryder Lee
---
drivers/pinctrl/mediatek/Kconfig | 4 +
drivers/pinctrl/mediatek/Makefile | 1 +
drivers/pinctrl/mediatek/pinctrl-mt7622.c | 752 ++
3 files
Add support for MediaTek MT7622 SoC. This include the file
that will initialize the SoC after boot and its device tree.
Signed-off-by: Sam Shih
Reviewed-by: Ryder Lee
---
arch/arm/dts/mt7622-u-boot.dtsi| 29
arch/arm/dts/mt7622.dtsi | 185
This patch add mmc and sd support for Mediatek MT7622 SoCs
Signed-off-by: Sam Shih
Reviewed-by: Ryder Lee
---
drivers/mmc/mtk-sd.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/mmc/mtk-sd.c b/drivers/mmc/mtk-sd.c
index eaa584a4df..a3ede3070a 100644
--- a/drivers/mmc
Add support for MediaTek MT7622 SoC. This include the file
that will initialize the SoC after boot and its device tree.
Signed-off-by: Sam Shih
Reviewed-by: Ryder Lee
---
arch/arm/dts/mt7622-u-boot.dtsi| 29
arch/arm/dts/mt7622.dtsi | 185
This patch add CONFIG_TARGET_MT7623 into mt7623n_bpir2_defconfig
to fix the mt7623 compile error after building others mediatek target
platform
Signed-off-by: Sam Shih
Reviewed-by: Ryder Lee
---
configs/mt7623n_bpir2_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs
This adds a general board file based on MT7622 SoCs from MediaTek.
This commit is adding the basic boot support for the MT7622 rfb.
Signed-off-by: Sam Shih
Reviewed-by: Ryder Lee
---
arch/arm/dts/Makefile | 1 +
arch/arm/dts/mt7622-rfb.dts| 180
This patch move u-boot properties to -u-boot.dtsi file.
Signed-off-by: Sam Shih
Reviewed-by: Ryder Lee
---
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
This patch add power domain support for Mediatek MT7622 SoCs
Signed-off-by: Ryder Lee
Signed-off-by: Sam Shih
---
drivers/power/domain/mtk-power-domain.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/power/domain/mtk-power-domain.c
b/drivers/power/domain/mtk-power-domain.c
This patch add clock driver for MediaTek MT7622 SoC.
Signed-off-by: Ryder Lee
Signed-off-by: Sam Shih
---
drivers/clk/mediatek/Makefile | 1 +
drivers/clk/mediatek/clk-mt7622.c | 678 +
include/dt-bindings/clock/mt7622-clk.h | 271 ++
3 files
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
This patch add Pinctrl driver for MediaTek MT7622 SoC.
Signed-off-by: Sam Shih
Reviewed-by: Ryder Lee
---
drivers/pinctrl/mediatek/Kconfig | 4 +
drivers/pinctrl/mediatek/Makefile | 1 +
drivers/pinctrl/mediatek/pinctrl-mt7622.c | 752 ++
3 files
Due to the pinctrl hardware of MT7622 is difference from others
SoC which using the common part of mediatek pinctrl.
So we need to modify the common part of mediatek pinctrl.
Signed-off-by: Sam Shih
Reviewed-by: Ryder Lee
---
drivers/pinctrl/mediatek/pinctrl-mt7622.c | 2 +
drivers
This patch fix clock-rate overflow problem in mediatek
clock driver common part.
Signed-off-by: Sam Shih
Reviewed-by: Ryder Lee
---
drivers/clk/mediatek/clk-mtk.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/clk/mediatek/clk-mtk.c b/drivers/clk/mediatek/clk
This adds a general board file based on MT7622 SoCs from MediaTek.
This commit is adding the basic boot support for the MT7622 rfb.
Signed-off-by: Sam Shih
Reviewed-by: Ryder Lee
---
arch/arm/dts/Makefile | 1 +
arch/arm/dts/mt7622-rfb.dts| 179
This patch add power domain support for Mediatek MT7622 SoCs
Signed-off-by: Ryder Lee
Signed-off-by: Sam Shih
---
drivers/power/domain/mtk-power-domain.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/power/domain/mtk-power-domain.c
b/drivers/power/domain/mtk-power-domain.c
This patch add Pinctrl driver for MediaTek MT7622 SoC.
Signed-off-by: Sam Shih
Reviewed-by: Ryder Lee
---
drivers/pinctrl/mediatek/Kconfig | 4 +
drivers/pinctrl/mediatek/Makefile | 1 +
drivers/pinctrl/mediatek/pinctrl-mt7622.c | 752 ++
3 files
This patch add clock driver for MediaTek MT7622 SoC.
Signed-off-by: Ryder Lee
Signed-off-by: Sam Shih
---
drivers/clk/mediatek/Makefile | 1 +
drivers/clk/mediatek/clk-mt7622.c | 678 +
include/dt-bindings/clock/mt7622-clk.h | 271 ++
3 files
This patch add mmc and sd support for Mediatek MT7622 SoCs
Signed-off-by: Sam Shih
Reviewed-by: Ryder Lee
---
drivers/mmc/mtk-sd.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/mmc/mtk-sd.c b/drivers/mmc/mtk-sd.c
index eaa584a4df..a3ede3070a 100644
--- a/drivers/mmc
This patch fix clock-rate overflow problem in mediatek
clock driver common part.
Signed-off-by: Sam Shih
Reviewed-by: Ryder Lee
---
drivers/clk/mediatek/clk-mtk.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/clk/mediatek/clk-mtk.c b/drivers/clk/mediatek/clk
Due to the pinctrl hardware of MT7622 is difference from others
SoC which using the commom part of mediatek pinctrl.
So we need to modify the common part of mediatek pinctrl.
Signed-off-by: Sam Shih
Reviewed-by: Ryder Lee
---
drivers/pinctrl/mediatek/pinctrl-mt7622.c | 2 +
drivers
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.
Sam Shih (8):
ARM: MediaTek: Add support for MediaTek MT7622 SoC
pinctrl: mediatek: add driver for MT7622
pinctrl
Add support for MediaTek MT7622 SoC. This include the file
that will initialize the SoC after boot and its device tree.
Signed-off-by: Sam Shih
Reviewed-by: Ryder Lee
---
arch/arm/dts/mt7622.dtsi | 191 +
arch/arm/mach-mediatek/Kconfig | 9
40 matches
Mail list logo