Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1199866
| From | Scott Shu <scott.shu@mediatek.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v3 6/8] ARM: Mediatek: enable GPT6 on boot up to make arch timer working for MT6580 |
| Date | 2015-08-04 16:00 +0200 |
| Message-ID | <pTKV5-3Un-39@gated-at.bofh.it> (permalink) |
| References | <pTKV3-3Un-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
We enable GTP6 which ungates the arch timer clock.
Signed-off-by: Scott Shu <scott.shu@mediatek.com>
---
arch/arm/mach-mediatek/mediatek.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-mediatek/mediatek.c b/arch/arm/mach-mediatek/mediatek.c
index 6b38d67..469d332 100644
--- a/arch/arm/mach-mediatek/mediatek.c
+++ b/arch/arm/mach-mediatek/mediatek.c
@@ -28,7 +28,8 @@ static void __init mediatek_timer_init(void)
{
void __iomem *gpt_base = 0;
- if (of_machine_is_compatible("mediatek,mt6589") ||
+ if (of_machine_is_compatible("mediatek,mt6580") ||
+ of_machine_is_compatible("mediatek,mt6589") ||
of_machine_is_compatible("mediatek,mt8135") ||
of_machine_is_compatible("mediatek,mt8127")) {
/* turn on GPT6 which ungates arch timer clocks */
@@ -46,6 +47,7 @@ static void __init mediatek_timer_init(void)
};
static const char * const mediatek_board_dt_compat[] = {
+ "mediatek,mt6580",
"mediatek,mt6589",
"mediatek,mt6592",
"mediatek,mt8127",
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v3 0/8] This series adds SMP support for the MediaTek MT6580. Scott Shu <scott.shu@mediatek.com> - 2015-08-04 16:00 +0200
[PATCH v3 7/8] ARM: dts: mt6580: Add device nodes to the MT6580 dtsi file Scott Shu <scott.shu@mediatek.com> - 2015-08-04 16:00 +0200
[PATCH v3 3/8] soc: Mediatek: Add SCPSYS CPU power domain driver Scott Shu <scott.shu@mediatek.com> - 2015-08-04 16:00 +0200
Re: [PATCH v3 3/8] soc: Mediatek: Add SCPSYS CPU power domain driver Sascha Hauer <s.hauer@pengutronix.de> - 2015-08-05 11:00 +0200
Re: [PATCH v3 3/8] soc: Mediatek: Add SCPSYS CPU power domain driver Scott Shu <scott.shu@mediatek.com> - 2015-08-06 05:00 +0200
Re: [PATCH v3 3/8] soc: Mediatek: Add SCPSYS CPU power domain driver Sascha Hauer <s.hauer@pengutronix.de> - 2015-08-06 12:10 +0200
Re: [PATCH v3 3/8] soc: Mediatek: Add SCPSYS CPU power domain driver Scott Shu <scott.shu@mediatek.com> - 2015-08-07 04:00 +0200
[PATCH v3 6/8] ARM: Mediatek: enable GPT6 on boot up to make arch timer working for MT6580 Scott Shu <scott.shu@mediatek.com> - 2015-08-04 16:00 +0200
[PATCH v3 1/8] Document: bindings: DT: Add SMP enable method for MT6580 SoC platform Scott Shu <scott.shu@mediatek.com> - 2015-08-04 16:00 +0200
csiph-web