On Thu, 2015-05-21 at 21:29 +0800, YH Huang wrote:
YH Huang (2):
dt-bindings: pwm: add MediaTek display PWM bindings
pwm: add MediaTek display PWM driver support
.../devicetree/bindings/pwm/pwm-mtk-disp.txt | 25 +++
drivers/pwm/Kconfig| 10 +
On Wed, 2015-05-20 at 13:02 +0200, Matthias Brugger wrote:
> 2015-05-16 9:58 GMT+02:00 Yingjoe Chen :
> > When cpu is in deep idle, arch timer will stop counting. Setup GPT as
> > sched clock source so it can keep counting in idle.
> >
> > Signed-off-by: Yingjoe
Hi Uwe,
On Wed, 2015-05-20 at 10:57 +0200, Uwe Kleine-König wrote:
> Hello,
>
> now that I understood the formula some more comments to the calculation.
>
> On Tue, May 19, 2015 at 12:40:08AM +0800, Eddie Huang wrote:
> > +#define I2C_DEFAUT_SPEED 10 /* hz */
> DEFAULT?
>
> >
On Wed, 2015-05-20 at 10:43 +0200, Matthias Brugger wrote:
> 2015-05-19 21:51 GMT+02:00 Stephen Boyd :
> > On 05/16/15 00:58, Yingjoe Chen wrote:
> >> diff --git a/arch/arm/mach-mediatek/mediatek.c
> >> b/arch/arm/mach-mediatek/mediatek.c
> >> index a954900
On Wed, 2015-05-20 at 10:43 +0200, Matthias Brugger wrote:
2015-05-19 21:51 GMT+02:00 Stephen Boyd sb...@codeaurora.org:
On 05/16/15 00:58, Yingjoe Chen wrote:
diff --git a/arch/arm/mach-mediatek/mediatek.c
b/arch/arm/mach-mediatek/mediatek.c
index a954900..6b38d67 100644
--- a/arch
Hi Uwe,
On Wed, 2015-05-20 at 10:57 +0200, Uwe Kleine-König wrote:
Hello,
now that I understood the formula some more comments to the calculation.
On Tue, May 19, 2015 at 12:40:08AM +0800, Eddie Huang wrote:
+#define I2C_DEFAUT_SPEED 10 /* hz */
DEFAULT?
+#define
On Wed, 2015-05-20 at 13:02 +0200, Matthias Brugger wrote:
2015-05-16 9:58 GMT+02:00 Yingjoe Chen yingjoe.c...@mediatek.com:
When cpu is in deep idle, arch timer will stop counting. Setup GPT as
sched clock source so it can keep counting in idle.
Signed-off-by: Yingjoe Chen yingjoe.c
On Tue, 2015-05-19 at 16:48 +0200, Matthias Brugger wrote:
> 2015-05-18 20:43 GMT+02:00 Uwe Kleine-König :
<...>
> >> --- /dev/null
> >> +++ b/drivers/i2c/busses/i2c-mt65xx.c
> >> @@ -0,0 +1,675 @@
> >> +/*
> >> + * Copyright (c) 2014 MediaTek Inc.
> >> + * Author: Xudong.chen
> >
On Tue, 2015-05-19 at 16:48 +0200, Matthias Brugger wrote:
2015-05-18 20:43 GMT+02:00 Uwe Kleine-König u.kleine-koe...@pengutronix.de:
...
--- /dev/null
+++ b/drivers/i2c/busses/i2c-mt65xx.c
@@ -0,0 +1,675 @@
+/*
+ * Copyright (c) 2014 MediaTek Inc.
+ * Author: Xudong.chen
On Sat, 2015-05-16 at 22:19 +0100, Russell King - ARM Linux wrote:
> On Sat, May 16, 2015 at 11:02:40AM +0200, Matthias Brugger wrote:
> > 2015-05-16 9:58 GMT+02:00 Yingjoe Chen :
> > > Put secondary_startup_arm() prototype in arch/arm/include/asm/smp.h
> > > so users
On Sat, 2015-05-16 at 22:19 +0100, Russell King - ARM Linux wrote:
On Sat, May 16, 2015 at 11:02:40AM +0200, Matthias Brugger wrote:
2015-05-16 9:58 GMT+02:00 Yingjoe Chen yingjoe.c...@mediatek.com:
Put secondary_startup_arm() prototype in arch/arm/include/asm/smp.h
so users doesn't have
On Wed, 2015-05-06 at 13:04 +0200, Matthias Brugger wrote:
> Hi Joe,
>
> 2015-05-06 10:29 GMT+02:00 Matthias Brugger :
> > 2015-05-06 9:59 GMT+02:00 Yingjoe Chen :
> >> On Wed, 2015-05-06 at 15:19 +0800, Yingjoe Chen wrote:
> >>> Hi Matthias,
> >> &
This commit add new cpu enable method "mediatek,mt65xx-smp" and
"mediatek,mt81xx-tz-smp".
Signed-off-by: Yingjoe Chen
---
Documentation/devicetree/bindings/arm/cpus.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/cpus.
-by: Yingjoe Chen
---
drivers/clocksource/mtk_timer.c | 15 ++-
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/drivers/clocksource/mtk_timer.c b/drivers/clocksource/mtk_timer.c
index 68ab423..91206f9 100644
--- a/drivers/clocksource/mtk_timer.c
+++ b/drivers/clocksource
When cpu is in deep idle, arch timer will stop counting. Setup GPT as
sched clock source so it can keep counting in idle.
Signed-off-by: Yingjoe Chen
---
drivers/clocksource/mtk_timer.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/clocksource/mtk_timer.c b/drivers
.
Signed-off-by: Yingjoe Chen
---
arch/arm/kernel/head.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/kernel/head.S b/arch/arm/kernel/head.S
index 3637973..58ee8a2 100644
--- a/arch/arm/kernel/head.S
+++ b/arch/arm/kernel/head.S
@@ -346,8 +346,8 @@ __turn_mmu_on_loc
Put secondary_startup_arm() prototype in arch/arm/include/asm/smp.h
so users doesn't have to add extern prototype in their code.
Signed-off-by: Yingjoe Chen
---
arch/arm/include/asm/smp.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/include/asm/smp.h b/arch/arm/include/asm/smp.h
From: Matthias Brugger
We enable GTP6 which ungates the arch timer clock.
In the future this should be done in the bootloader.
Signed-off-by: Matthias Brugger
Signed-off-by: Yingjoe Chen
---
arch/arm/mach-mediatek/mediatek.c | 29 +
1 file changed, 29 insertions
Add support for booting secondary CPUs on mt6589, mt8127
and mt8135.
Signed-off-by: Yingjoe Chen
---
arch/arm/mach-mediatek/Makefile | 3 +
arch/arm/mach-mediatek/platsmp.c | 144 +++
2 files changed, 147 insertions(+)
create mode 100644 arch/arm/mach
Add arch timer node to enable arch-timer support. MT8127 firmware
doesn't correctly setup arch-timer frequency and CNTVOFF, add
properties to workaround this.
This also set cpu enable-method to enable SMP.
Signed-off-by: Yingjoe Chen
---
arch/arm/boot/dts/mt8127.dtsi | 16
1
Add arch timer node to enable arch-timer support. MT8135 firmware
doesn't correctly setup arch-timer frequency and CNTVOFF, add
properties to workaround this.
This also set cpu enable-method to enable SMP.
Signed-off-by: Yingjoe Chen
---
arch/arm/boot/dts/mt8135.dtsi | 16
1
dead.org/pipermail/linux-mediatek/2015-May/000528.html
Matthias Brugger (1):
ARM: mediatek: enable gpt6 on boot up to make arch timer working
Yingjoe Chen (8):
ARM: correct secondary_startup_arm mode
ARM: add secondary_startup_arm prototype in header file
clocksource: mediatek: do not
This is based on v4.1-rc1
8<---
The instance address for uart nodes are incorrect. Correct them.
Signed-off-by: Yingjoe Chen
---
arch/arm/boot/dts/mt8127.dtsi | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/a
This is based on v4.1-rc1
8---
The instance address for uart nodes are incorrect. Correct them.
Signed-off-by: Yingjoe Chen yingjoe.c...@mediatek.com
---
arch/arm/boot/dts/mt8127.dtsi | 8
1 file changed, 4 insertions(+), 4 deletions
On Wed, 2015-05-06 at 13:04 +0200, Matthias Brugger wrote:
Hi Joe,
2015-05-06 10:29 GMT+02:00 Matthias Brugger matthias@gmail.com:
2015-05-06 9:59 GMT+02:00 Yingjoe Chen yingjoe.c...@mediatek.com:
On Wed, 2015-05-06 at 15:19 +0800, Yingjoe Chen wrote:
Hi Matthias,
...
I tried
-mediatek/2015-May/000528.html
Matthias Brugger (1):
ARM: mediatek: enable gpt6 on boot up to make arch timer working
Yingjoe Chen (8):
ARM: correct secondary_startup_arm mode
ARM: add secondary_startup_arm prototype in header file
clocksource: mediatek: do not enable GPT_CLK_EVT when setup
Add arch timer node to enable arch-timer support. MT8135 firmware
doesn't correctly setup arch-timer frequency and CNTVOFF, add
properties to workaround this.
This also set cpu enable-method to enable SMP.
Signed-off-by: Yingjoe Chen yingjoe.c...@mediatek.com
---
arch/arm/boot/dts/mt8135.dtsi
Add arch timer node to enable arch-timer support. MT8127 firmware
doesn't correctly setup arch-timer frequency and CNTVOFF, add
properties to workaround this.
This also set cpu enable-method to enable SMP.
Signed-off-by: Yingjoe Chen yingjoe.c...@mediatek.com
---
arch/arm/boot/dts/mt8127.dtsi
Put secondary_startup_arm() prototype in arch/arm/include/asm/smp.h
so users doesn't have to add extern prototype in their code.
Signed-off-by: Yingjoe Chen yingjoe.c...@mediatek.com
---
arch/arm/include/asm/smp.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/include/asm/smp.h b
From: Matthias Brugger matthias@gmail.com
We enable GTP6 which ungates the arch timer clock.
In the future this should be done in the bootloader.
Signed-off-by: Matthias Brugger matthias@gmail.com
Signed-off-by: Yingjoe Chen yingjoe.c...@mediatek.com
---
arch/arm/mach-mediatek
Add support for booting secondary CPUs on mt6589, mt8127
and mt8135.
Signed-off-by: Yingjoe Chen yingjoe.c...@mediatek.com
---
arch/arm/mach-mediatek/Makefile | 3 +
arch/arm/mach-mediatek/platsmp.c | 144 +++
2 files changed, 147 insertions(+)
create mode
.
Signed-off-by: Yingjoe Chen yingjoe.c...@mediatek.com
---
arch/arm/kernel/head.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/kernel/head.S b/arch/arm/kernel/head.S
index 3637973..58ee8a2 100644
--- a/arch/arm/kernel/head.S
+++ b/arch/arm/kernel/head.S
@@ -346,8
This commit add new cpu enable method mediatek,mt65xx-smp and
mediatek,mt81xx-tz-smp.
Signed-off-by: Yingjoe Chen yingjoe.c...@mediatek.com
---
Documentation/devicetree/bindings/arm/cpus.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/cpus.txt
b
-by: Yingjoe Chen yingjoe.c...@mediatek.com
---
drivers/clocksource/mtk_timer.c | 15 ++-
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/drivers/clocksource/mtk_timer.c b/drivers/clocksource/mtk_timer.c
index 68ab423..91206f9 100644
--- a/drivers/clocksource/mtk_timer.c
+++ b
When cpu is in deep idle, arch timer will stop counting. Setup GPT as
sched clock source so it can keep counting in idle.
Signed-off-by: Yingjoe Chen yingjoe.c...@mediatek.com
---
drivers/clocksource/mtk_timer.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/clocksource
Model name in mt8173-evb.dtsi doesn't follow dts convention(it should
be human readable model name). Fix it.
Signed-off-by: Yingjoe Chen
---
arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/mediatek/mt8173
mmon code.
> dt-bindings: mediatek: Modify pinctrl bindings for mt6397.
> pinctrl: mediatek: Add Pinctrl/GPIO driver for mt6397.
> pinctrl: dt bindings: mt6397: Add pinfunc header file for mt6397.
> arm64: dts: mt8173-evb: Add pinctrl/GPIO node for mt6397.
> ARM: dts: mt8135-ev
bindings for mt6397.
pinctrl: mediatek: Add Pinctrl/GPIO driver for mt6397.
pinctrl: dt bindings: mt6397: Add pinfunc header file for mt6397.
arm64: dts: mt8173-evb: Add pinctrl/GPIO node for mt6397.
ARM: dts: mt8135-evbp1: Add pinctrl/GPIO node for mt6397.
Yingjoe Chen (4):
pinctrl
Model name in mt8173-evb.dtsi doesn't follow dts convention(it should
be human readable model name). Fix it.
Signed-off-by: Yingjoe Chen yingjoe.c...@mediatek.com
---
arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot
On Wed, 2015-05-13 at 12:10 +0100, Mark Brown wrote:
> On Wed, May 13, 2015 at 05:26:06PM +0800, Yingjoe Chen wrote:
> > On Tue, 2015-05-12 at 17:05 +0100, Mark Brown wrote:
>
> > > > > There were three compatible strings listed in the DT binding but only
> > >
On Tue, 2015-05-12 at 17:05 +0100, Mark Brown wrote:
> On Tue, May 12, 2015 at 08:39:16PM +0800, leilk liu wrote:
<...>
> > > > +static const struct of_device_id mtk_spi_of_match[] = {
> > > > + { .compatible = "mediatek,mt6589-spi", .data = (void
> > > > *)COMPAT_MT6589},
> > > > + {
On Tue, 2015-05-12 at 17:05 +0100, Mark Brown wrote:
On Tue, May 12, 2015 at 08:39:16PM +0800, leilk liu wrote:
...
+static const struct of_device_id mtk_spi_of_match[] = {
+ { .compatible = mediatek,mt6589-spi, .data = (void
*)COMPAT_MT6589},
+ { .compatible =
On Wed, 2015-05-13 at 12:10 +0100, Mark Brown wrote:
On Wed, May 13, 2015 at 05:26:06PM +0800, Yingjoe Chen wrote:
On Tue, 2015-05-12 at 17:05 +0100, Mark Brown wrote:
There were three compatible strings listed in the DT binding but only
two here.
And I test it's ok on MT8135
On Fri, 2015-04-10 at 22:05 +0800, Yingjoe Chen wrote:
> I first notice the comment is incorrect, then I realize there's another
> macro which do exactly the same thing.
> Tested with hand written userspace program with a few wide instructions
> to make sure this still work as ex
On Fri, 2015-04-10 at 22:05 +0800, Yingjoe Chen wrote:
I first notice the comment is incorrect, then I realize there's another
macro which do exactly the same thing.
Tested with hand written userspace program with a few wide instructions
to make sure this still work as expect.
8
On Wed, 2015-05-06 at 15:19 +0800, Yingjoe Chen wrote:
> Hi Matthias,
<...>
> > I tried on the mt8135 eval board but it fails to bring up the CPU.
> >
> > When booting:
> > [1.048588] CPU1: failed to come online
> > [2.049914] CPU2: failed to come
Hi Matthias,
On Mon, 2015-05-04 at 09:48 +0200, Matthias Brugger wrote:
> Hi Yingjoe,
>
> 2015-05-01 9:43 GMT+02:00 Yingjoe Chen :
> > This series add SMP brinup support for mediatek SoCs. This is based
> > on v4.1-rc1.
> >
> > There are 2 similar but
Hi Matthias,
On Mon, 2015-05-04 at 09:48 +0200, Matthias Brugger wrote:
Hi Yingjoe,
2015-05-01 9:43 GMT+02:00 Yingjoe Chen yingjoe.c...@mediatek.com:
This series add SMP brinup support for mediatek SoCs. This is based
on v4.1-rc1.
There are 2 similar but different SMP bringup up
On Wed, 2015-05-06 at 15:19 +0800, Yingjoe Chen wrote:
Hi Matthias,
...
I tried on the mt8135 eval board but it fails to bring up the CPU.
When booting:
[1.048588] CPU1: failed to come online
[2.049914] CPU2: failed to come online
[3.051245] CPU3: failed to come online
On Mon, 2015-05-04 at 16:31 +0200, Sascha Hauer wrote:
> On Fri, May 01, 2015 at 03:43:29PM +0800, Yingjoe Chen wrote:
> > Add arch timer node to enable arch-timer support. MT8135 firmware
> > doesn't correctly setup arch-timer frequency and CNTVOFF, add
> > pro
On Mon, 2015-05-04 at 10:44 +0200, Daniel Lezcano wrote:
> On 05/04/2015 10:34 AM, Matthias Brugger wrote:
> > 2015-05-04 10:14 GMT+02:00 Daniel Lezcano :
> >> On 05/01/2015 09:43 AM, Yingjoe Chen wrote:
> >>>
> >>> Spurious timer interrupt is noticed
On Mon, 2015-05-04 at 10:44 +0200, Daniel Lezcano wrote:
On 05/04/2015 10:34 AM, Matthias Brugger wrote:
2015-05-04 10:14 GMT+02:00 Daniel Lezcano daniel.lezc...@linaro.org:
On 05/01/2015 09:43 AM, Yingjoe Chen wrote:
Spurious timer interrupt is noticed in mtk timer and cause kernel
On Mon, 2015-05-04 at 16:31 +0200, Sascha Hauer wrote:
On Fri, May 01, 2015 at 03:43:29PM +0800, Yingjoe Chen wrote:
Add arch timer node to enable arch-timer support. MT8135 firmware
doesn't correctly setup arch-timer frequency and CNTVOFF, add
properties to workaround this.
This also
This commit add new cpu enable method "mediatek,mt65xx-smp" and
"mediatek,mt81xx-tz-smp".
Signed-off-by: Yingjoe Chen
---
Documentation/devicetree/bindings/arm/cpus.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/cpus.
Add arch timer node to enable arch-timer support. MT8135 firmware
doesn't correctly setup arch-timer frequency and CNTVOFF, add
properties to workaround this.
This also set cpu enable-method to enable SMP.
Signed-off-by: Yingjoe Chen
---
arch/arm/boot/dts/mt8135.dtsi | 16
1
From: Matthias Brugger
We enable GTP6 which ungates the arch timer clock.
In the future this should be done in the bootloader.
Signed-off-by: Matthias Brugger
Signed-off-by: Yingjoe Chen
---
arch/arm/mach-mediatek/mediatek.c | 29 +
1 file changed, 29 insertions
Add support for booting secondary CPUs on mt6589, mt8127
and mt8135.
Signed-off-by: Yingjoe Chen
---
arch/arm/mach-mediatek/Makefile | 3 +
arch/arm/mach-mediatek/platsmp.c | 145 +++
2 files changed, 148 insertions(+)
create mode 100644 arch/arm/mach
Add arch timer node to enable arch-timer support. MT8127 firmware
doesn't correctly setup arch-timer frequency and CNTVOFF, add
properties to workaround this.
This also set cpu enable-method to enable SMP.
Signed-off-by: Yingjoe Chen
---
arch/arm/boot/dts/mt8127.dtsi | 16
1
When cpu is in deep idle, arch timer will stop counting. Setup GPT as
sched clock source so it can keep counting in idle.
Signed-off-by: Yingjoe Chen
---
drivers/clocksource/mtk_timer.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/clocksource/mtk_timer.c b/drivers
e SMP bringup for mt8135 and mt8127.
Matthias Brugger (1):
arm: mediatek: enable gpt6 on boot up to make arch timer working
Yingjoe Chen (6):
clocksource: mediatek: Don't run event_handler if it is NULL
clocksource: mediatek: Use GPT as sched clock source
devicetree: bindings: add new SMP en
Spurious timer interrupt is noticed in mtk timer and cause kernel
crash. In mtk_timer_interrupt(), only run event_handler if it is
not NULL.
Signed-off-by: Yingjoe Chen
---
drivers/clocksource/mtk_timer.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/clocksource
The 8173 pinctrl node doesn't follow dts convention. Fix them.
Also add a comment to explain pinctrl register usage to make it
more clear.
Signed-off-by: Yingjoe Chen
Reviewed-by: Daniel Kurtz
---
arch/arm64/boot/dts/mediatek/mt8173.dtsi | 22 +-
1 file changed, 13
From: Hongzhou Yang
Patches based on v4.1-rc1. Change according to Matthias' suggestion.
- Remove comments on syscfg nodes
- Sort nodes by instance address & name.
---8<
Add pinctrl,GPIO and EINT node to mt8135.dtsi.
From: Hongzhou Yang hongzhou.y...@mediatek.com
Patches based on v4.1-rc1. Change according to Matthias' suggestion.
- Remove comments on syscfg nodes
- Sort nodes by instance address name.
---8
Add pinctrl,GPIO and EINT node to
The 8173 pinctrl node doesn't follow dts convention. Fix them.
Also add a comment to explain pinctrl register usage to make it
more clear.
Signed-off-by: Yingjoe Chen yingjoe.c...@mediatek.com
Reviewed-by: Daniel Kurtz djku...@chromium.org
---
arch/arm64/boot/dts/mediatek/mt8173.dtsi | 22
Add arch timer node to enable arch-timer support. MT8135 firmware
doesn't correctly setup arch-timer frequency and CNTVOFF, add
properties to workaround this.
This also set cpu enable-method to enable SMP.
Signed-off-by: Yingjoe Chen yingjoe.c...@mediatek.com
---
arch/arm/boot/dts/mt8135.dtsi
When cpu is in deep idle, arch timer will stop counting. Setup GPT as
sched clock source so it can keep counting in idle.
Signed-off-by: Yingjoe Chen yingjoe.c...@mediatek.com
---
drivers/clocksource/mtk_timer.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/clocksource
Add arch timer node to enable arch-timer support. MT8127 firmware
doesn't correctly setup arch-timer frequency and CNTVOFF, add
properties to workaround this.
This also set cpu enable-method to enable SMP.
Signed-off-by: Yingjoe Chen yingjoe.c...@mediatek.com
---
arch/arm/boot/dts/mt8127.dtsi
From: Matthias Brugger matthias@gmail.com
We enable GTP6 which ungates the arch timer clock.
In the future this should be done in the bootloader.
Signed-off-by: Matthias Brugger matthias@gmail.com
Signed-off-by: Yingjoe Chen yingjoe.c...@mediatek.com
---
arch/arm/mach-mediatek
Add support for booting secondary CPUs on mt6589, mt8127
and mt8135.
Signed-off-by: Yingjoe Chen yingjoe.c...@mediatek.com
---
arch/arm/mach-mediatek/Makefile | 3 +
arch/arm/mach-mediatek/platsmp.c | 145 +++
2 files changed, 148 insertions(+)
create mode
This commit add new cpu enable method mediatek,mt65xx-smp and
mediatek,mt81xx-tz-smp.
Signed-off-by: Yingjoe Chen yingjoe.c...@mediatek.com
---
Documentation/devicetree/bindings/arm/cpus.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/cpus.txt
b
and mt8127.
Matthias Brugger (1):
arm: mediatek: enable gpt6 on boot up to make arch timer working
Yingjoe Chen (6):
clocksource: mediatek: Don't run event_handler if it is NULL
clocksource: mediatek: Use GPT as sched clock source
devicetree: bindings: add new SMP enable method Mediatek SoC
ARM
Spurious timer interrupt is noticed in mtk timer and cause kernel
crash. In mtk_timer_interrupt(), only run event_handler if it is
not NULL.
Signed-off-by: Yingjoe Chen yingjoe.c...@mediatek.com
---
drivers/clocksource/mtk_timer.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff
ode to mt8135.dtsi.
Signed-off-by: Yingjoe Chen
Signed-off-by: Hongzhou Yang
Acked-by: Linus Walleij
---
arch/arm/boot/dts/mt8135-pinfunc.h | 1302
arch/arm/boot/dts/mt8135.dtsi | 31 +
2 files changed, 1333 insertions(+)
create mode 100644 arch/arm/b
The 8173 pinctrl node doesn't follow dts convention. Fix them.
Also add a comment to explain pinctrl register usage to make it
more clear.
Signed-off-by: Yingjoe Chen
---
arch/arm64/boot/dts/mediatek/mt8173.dtsi | 13 +
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git
pinctrl,GPIO and EINT node to mt8135.dtsi.
Signed-off-by: Yingjoe Chen yingjoe.c...@mediatek.com
Signed-off-by: Hongzhou Yang hongzhou.y...@mediatek.com
Acked-by: Linus Walleij linus.wall...@linaro.org
---
arch/arm/boot/dts/mt8135-pinfunc.h | 1302
arch/arm/boot
The 8173 pinctrl node doesn't follow dts convention. Fix them.
Also add a comment to explain pinctrl register usage to make it
more clear.
Signed-off-by: Yingjoe Chen yingjoe.c...@mediatek.com
---
arch/arm64/boot/dts/mediatek/mt8173.dtsi | 13 +
1 file changed, 9 insertions(+), 4
Commit-ID: 4796cf9b02b5bea141632e21d64556a7eb883a65
Gitweb: http://git.kernel.org/tip/4796cf9b02b5bea141632e21d64556a7eb883a65
Author: Yingjoe Chen
AuthorDate: Fri, 10 Apr 2015 21:55:50 +0800
Committer: Thomas Gleixner
CommitDate: Wed, 22 Apr 2015 12:03:39 +0200
time: Remove
Commit-ID: 4796cf9b02b5bea141632e21d64556a7eb883a65
Gitweb: http://git.kernel.org/tip/4796cf9b02b5bea141632e21d64556a7eb883a65
Author: Yingjoe Chen yingjoe.c...@mediatek.com
AuthorDate: Fri, 10 Apr 2015 21:55:50 +0800
Committer: Thomas Gleixner t...@linutronix.de
CommitDate: Wed, 22 Apr
On Mon, 2015-04-13 at 13:48 +0100, Dave Martin wrote:
> On Fri, Apr 10, 2015 at 10:05:41PM +0800, Yingjoe Chen wrote:
> >
> > I first notice the comment is incorrect, then I realize there's another
> > macro which do exactly the same thing.
> > Tested with han
On Mon, 2015-04-13 at 13:48 +0100, Dave Martin wrote:
On Fri, Apr 10, 2015 at 10:05:41PM +0800, Yingjoe Chen wrote:
I first notice the comment is incorrect, then I realize there's another
macro which do exactly the same thing.
Tested with hand written userspace program with a few wide
On Mon, 2015-03-23 at 12:49 +0100, Joerg Roedel wrote:
> Hi Yingjoe,
>
> On Fri, Mar 20, 2015 at 05:24:18PM +0800, Yingjoe Chen wrote:
> > What's the status of this patchset?
> > While porting MTK IOMMU driver[1], we need to use a global variable
> > because we ne
On Mon, 2015-03-23 at 12:49 +0100, Joerg Roedel wrote:
Hi Yingjoe,
On Fri, Mar 20, 2015 at 05:24:18PM +0800, Yingjoe Chen wrote:
What's the status of this patchset?
While porting MTK IOMMU driver[1], we need to use a global variable
because we need to do dma_alloc_coherent in our
On Tue, 2015-01-27 at 00:51 +0100, Joerg Roedel wrote:
> From: Joerg Roedel
>
> Hi,
>
> here is patch-set to replace the existing domain_init and
> domain_destroy iommu-ops with the new domain_alloc and
> domain_free callbacks
>
> The new callbacks move the allocation of iommu domains into
>
On Tue, 2015-01-27 at 00:51 +0100, Joerg Roedel wrote:
From: Joerg Roedel jroe...@suse.de
Hi,
here is patch-set to replace the existing domain_init and
domain_destroy iommu-ops with the new domain_alloc and
domain_free callbacks
The new callbacks move the allocation of iommu domains
_MT8135 selectable when COMPILE_TEST is enabled.
Signed-off-by: Yingjoe Chen
---
drivers/pinctrl/mediatek/Kconfig | 11 ---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/drivers/pinctrl/mediatek/Kconfig b/drivers/pinctrl/mediatek/Kconfig
index 49b8649..5983cf5 100644
--- a/drivers/
Hi Arnd,
Thanks for your suggestion.
On Mon, 2015-03-09 at 21:36 +0100, Arnd Bergmann wrote:
> On Friday 06 March 2015 14:24:51 Yingjoe Chen wrote:
> > Linus,
> > This one make PINCTRL_MT8173 option user selectable and is based on
> > mtk-staging in your tree. If you thi
Hi Arnd,
Thanks for your suggestion.
On Mon, 2015-03-09 at 21:36 +0100, Arnd Bergmann wrote:
On Friday 06 March 2015 14:24:51 Yingjoe Chen wrote:
Linus,
This one make PINCTRL_MT8173 option user selectable and is based on
mtk-staging in your tree. If you think this is OK, please applied
when COMPILE_TEST is enabled.
Signed-off-by: Yingjoe Chen yingjoe.c...@mediatek.com
---
drivers/pinctrl/mediatek/Kconfig | 11 ---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/drivers/pinctrl/mediatek/Kconfig b/drivers/pinctrl/mediatek/Kconfig
index 49b8649..5983cf5 100644
On Mon, 2015-03-09 at 22:56 +0100, Arnd Bergmann wrote:
> On Monday 09 March 2015 11:26:52 Yingjoe Chen wrote:
> > On Fri, 2015-03-06 at 18:48 +0800, yong...@mediatek.com wrote:
> > > From: Yong Wu
> > >
> > > This patch add SMI(Smart Multi
On Mon, 2015-03-09 at 18:59 +0100, Paul Bolle wrote:
> Hi Yong,
>
> Yong Wu schreef op ma 09-03-2015 om 19:57 [+0800]:
> > On Fri, 2015-03-06 at 12:30 +0100, Paul Bolle wrote:
> > > On Fri, 2015-03-06 at 18:48 +0800, yong...@mediatek.com wrote:
> > > > --- a/drivers/soc/mediatek/Kconfig
> > > >
On Mon, 2015-03-09 at 18:59 +0100, Paul Bolle wrote:
Hi Yong,
Yong Wu schreef op ma 09-03-2015 om 19:57 [+0800]:
On Fri, 2015-03-06 at 12:30 +0100, Paul Bolle wrote:
On Fri, 2015-03-06 at 18:48 +0800, yong...@mediatek.com wrote:
--- a/drivers/soc/mediatek/Kconfig
+++
On Mon, 2015-03-09 at 22:56 +0100, Arnd Bergmann wrote:
On Monday 09 March 2015 11:26:52 Yingjoe Chen wrote:
On Fri, 2015-03-06 at 18:48 +0800, yong...@mediatek.com wrote:
From: Yong Wu yong...@mediatek.com
This patch add SMI(Smart Multimedia Interface) driver. This driver
On Tue, 2015-03-10 at 02:00 +0900, Tomasz Figa wrote:
> On Mon, Mar 9, 2015 at 11:46 PM, Yingjoe Chen
> wrote:
> > On Mon, 2015-03-09 at 20:11 +0900, Tomasz Figa wrote:
> > <...>
> >> > +/*
> >> > + * pimudev is a global var for dma_allo
On Mon, 2015-03-09 at 20:11 +0900, Tomasz Figa wrote:
<...>
> > +/*
> > + * pimudev is a global var for dma_alloc_coherent.
> > + * It is not accepatable, we will delete it if "domain_alloc" is enabled
> > + */
> > +static struct device *pimudev;
>
> This is indeed not acceptable. Could you
On Fri, 2015-03-06 at 12:05 +0100, Paul Bolle wrote:
> On Fri, 2015-03-06 at 14:24 +0800, Yingjoe Chen wrote:
> > --- a/drivers/pinctrl/mediatek/Kconfig
> > +++ b/drivers/pinctrl/mediatek/Kconfig
>
> > @@ -8,11 +8,13 @@ config PINCTRL_MTK_COMMON
> > se
build when COMPILE_TEST is enabled.
Signed-off-by: Yingjoe Chen
---
drivers/pinctrl/mediatek/Kconfig | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/pinctrl/mediatek/Kconfig b/drivers/pinctrl/mediatek/Kconfig
index 49b8649..0e3a002 100644
--- a/drivers/pinctrl
On Mon, 2015-03-09 at 20:11 +0900, Tomasz Figa wrote:
...
+/*
+ * pimudev is a global var for dma_alloc_coherent.
+ * It is not accepatable, we will delete it if domain_alloc is enabled
+ */
+static struct device *pimudev;
This is indeed not acceptable. Could you replace
On Tue, 2015-03-10 at 02:00 +0900, Tomasz Figa wrote:
On Mon, Mar 9, 2015 at 11:46 PM, Yingjoe Chen yingjoe.c...@mediatek.com
wrote:
On Mon, 2015-03-09 at 20:11 +0900, Tomasz Figa wrote:
...
+/*
+ * pimudev is a global var for dma_alloc_coherent.
+ * It is not accepatable, we
On Fri, 2015-03-06 at 12:05 +0100, Paul Bolle wrote:
On Fri, 2015-03-06 at 14:24 +0800, Yingjoe Chen wrote:
--- a/drivers/pinctrl/mediatek/Kconfig
+++ b/drivers/pinctrl/mediatek/Kconfig
@@ -8,11 +8,13 @@ config PINCTRL_MTK_COMMON
select OF_GPIO
config PINCTRL_MT8135
301 - 400 of 607 matches
Mail list logo