* [PATCH] ARM: mediatek: enable gpt6 on boot up to make arch timer work on mt7623
@ 2016-04-07 18:18 ` John Crispin
0 siblings, 0 replies; 4+ messages in thread
From: John Crispin @ 2016-04-07 18:18 UTC (permalink / raw)
To: Matthias Brugger
Cc: linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, John Crispin
GPT6 needs to be enabled on MT7623 for the arch timer to work.
Signed-off-by: John Crispin <blogic-p3rKhJxN3npAfugRpC6u6w@public.gmane.org>
---
arch/arm/mach-mediatek/mediatek.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-mediatek/mediatek.c b/arch/arm/mach-mediatek/mediatek.c
index 9c2e38d..a6e3c98 100644
--- a/arch/arm/mach-mediatek/mediatek.c
+++ b/arch/arm/mach-mediatek/mediatek.c
@@ -29,6 +29,7 @@ static void __init mediatek_timer_init(void)
void __iomem *gpt_base;
if (of_machine_is_compatible("mediatek,mt6589") ||
+ of_machine_is_compatible("mediatek,mt7623") ||
of_machine_is_compatible("mediatek,mt8135") ||
of_machine_is_compatible("mediatek,mt8127")) {
/* turn on GPT6 which ungates arch timer clocks */
--
1.7.10.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] ARM: mediatek: enable gpt6 on boot up to make arch timer work on mt7623
@ 2016-04-07 18:18 ` John Crispin
0 siblings, 0 replies; 4+ messages in thread
From: John Crispin @ 2016-04-07 18:18 UTC (permalink / raw)
To: linux-arm-kernel
GPT6 needs to be enabled on MT7623 for the arch timer to work.
Signed-off-by: John Crispin <blogic@openwrt.org>
---
arch/arm/mach-mediatek/mediatek.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-mediatek/mediatek.c b/arch/arm/mach-mediatek/mediatek.c
index 9c2e38d..a6e3c98 100644
--- a/arch/arm/mach-mediatek/mediatek.c
+++ b/arch/arm/mach-mediatek/mediatek.c
@@ -29,6 +29,7 @@ static void __init mediatek_timer_init(void)
void __iomem *gpt_base;
if (of_machine_is_compatible("mediatek,mt6589") ||
+ of_machine_is_compatible("mediatek,mt7623") ||
of_machine_is_compatible("mediatek,mt8135") ||
of_machine_is_compatible("mediatek,mt8127")) {
/* turn on GPT6 which ungates arch timer clocks */
--
1.7.10.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] ARM: mediatek: enable gpt6 on boot up to make arch timer work on mt7623
2016-04-07 18:18 ` John Crispin
@ 2016-04-20 11:59 ` Matthias Brugger
-1 siblings, 0 replies; 4+ messages in thread
From: Matthias Brugger @ 2016-04-20 11:59 UTC (permalink / raw)
To: John Crispin
Cc: linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
On 07/04/16 20:18, John Crispin wrote:
> GPT6 needs to be enabled on MT7623 for the arch timer to work.
>
> Signed-off-by: John Crispin <blogic-p3rKhJxN3npAfugRpC6u6w@public.gmane.org>
> ---
> arch/arm/mach-mediatek/mediatek.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/mach-mediatek/mediatek.c b/arch/arm/mach-mediatek/mediatek.c
> index 9c2e38d..a6e3c98 100644
> --- a/arch/arm/mach-mediatek/mediatek.c
> +++ b/arch/arm/mach-mediatek/mediatek.c
> @@ -29,6 +29,7 @@ static void __init mediatek_timer_init(void)
> void __iomem *gpt_base;
>
> if (of_machine_is_compatible("mediatek,mt6589") ||
> + of_machine_is_compatible("mediatek,mt7623") ||
> of_machine_is_compatible("mediatek,mt8135") ||
> of_machine_is_compatible("mediatek,mt8127")) {
> /* turn on GPT6 which ungates arch timer clocks */
>
Applied thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] ARM: mediatek: enable gpt6 on boot up to make arch timer work on mt7623
@ 2016-04-20 11:59 ` Matthias Brugger
0 siblings, 0 replies; 4+ messages in thread
From: Matthias Brugger @ 2016-04-20 11:59 UTC (permalink / raw)
To: linux-arm-kernel
On 07/04/16 20:18, John Crispin wrote:
> GPT6 needs to be enabled on MT7623 for the arch timer to work.
>
> Signed-off-by: John Crispin <blogic@openwrt.org>
> ---
> arch/arm/mach-mediatek/mediatek.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/mach-mediatek/mediatek.c b/arch/arm/mach-mediatek/mediatek.c
> index 9c2e38d..a6e3c98 100644
> --- a/arch/arm/mach-mediatek/mediatek.c
> +++ b/arch/arm/mach-mediatek/mediatek.c
> @@ -29,6 +29,7 @@ static void __init mediatek_timer_init(void)
> void __iomem *gpt_base;
>
> if (of_machine_is_compatible("mediatek,mt6589") ||
> + of_machine_is_compatible("mediatek,mt7623") ||
> of_machine_is_compatible("mediatek,mt8135") ||
> of_machine_is_compatible("mediatek,mt8127")) {
> /* turn on GPT6 which ungates arch timer clocks */
>
Applied thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-04-20 11:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-07 18:18 [PATCH] ARM: mediatek: enable gpt6 on boot up to make arch timer work on mt7623 John Crispin
2016-04-07 18:18 ` John Crispin
[not found] ` <1460053115-53448-1-git-send-email-blogic-p3rKhJxN3npAfugRpC6u6w@public.gmane.org>
2016-04-20 11:59 ` Matthias Brugger
2016-04-20 11:59 ` Matthias Brugger
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.