* [PATCH v4 0/3] add GPT timer support for mt8173
@ 2015-10-02 15:05 ` Yingjoe Chen
0 siblings, 0 replies; 25+ messages in thread
From: Yingjoe Chen @ 2015-10-02 15:05 UTC (permalink / raw)
To: Matthias Brugger, Rob Herring
Cc: Daniel Lezcano, Thomas Gleixner, Stephen Boyd, Michael Turquette,
James Liao, devicetree, Arnd Bergmann, Catalin Marinas,
linux-kernel, linux-mediatek, Sascha Hauer, Olof Johansson,
srv_heupstream, linux-arm-kernel, Daniel Kurtz, linux-clk,
Yingjoe Chen, erin.lo
This is based on v4.3-rc1 + clockevents-4.4[1] and James's mediatek-clk
tree[2].
Changes compare to previous version[3]:
- Add more MediaTek SoC to mtk-timer binding
- Update commit message to better describe the purpose.
Changes compare to v2[4]:
- the first two mtk_timer related changes are removed because they are
replaced/accepted in clockevents tree.
- Remove 'add 13mhz clock for MT8173' because it is accepted in
mediatek-clk tree.
- Kconfig.platforms path change.
[1]
https://git.linaro.org/people/daniel.lezcano/linux.git clockevents/4.4
[2]
http://lists.infradead.org/pipermail/linux-mediatek/2015-August/002069.html
[3]
http://lists.infradead.org/pipermail/linux-mediatek/2015-September/002301.html
[4]
http://lists.infradead.org/pipermail/linux-mediatek/2015-July/001544.html
Daniel Kurtz (1):
arm64: dts: mt8173: add timer node
Yingjoe Chen (2):
dt-bindings: add more MediaTek SoC to mtk-timer binding
arm64: mediatek: enable MTK_TIMER
Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt | 8 +++++---
arch/arm64/Kconfig.platforms | 1 +
arch/arm64/boot/dts/mediatek/mt8173.dtsi | 9 +++++++++
3 files changed, 15 insertions(+), 3 deletions(-)
^ permalink raw reply [flat|nested] 25+ messages in thread
* [PATCH v4 0/3] add GPT timer support for mt8173
@ 2015-10-02 15:05 ` Yingjoe Chen
0 siblings, 0 replies; 25+ messages in thread
From: Yingjoe Chen @ 2015-10-02 15:05 UTC (permalink / raw)
To: Matthias Brugger, Rob Herring
Cc: Daniel Lezcano, Thomas Gleixner, Stephen Boyd, Michael Turquette,
James Liao, devicetree, Arnd Bergmann, Catalin Marinas,
linux-kernel, linux-mediatek, Sascha Hauer, Olof Johansson,
srv_heupstream, linux-arm-kernel, Daniel Kurtz, linux-clk,
Yingjoe Chen, erin.lo
This is based on v4.3-rc1 + clockevents-4.4[1] and James's mediatek-clk
tree[2].
Changes compare to previous version[3]:
- Add more MediaTek SoC to mtk-timer binding
- Update commit message to better describe the purpose.
Changes compare to v2[4]:
- the first two mtk_timer related changes are removed because they are
replaced/accepted in clockevents tree.
- Remove 'add 13mhz clock for MT8173' because it is accepted in
mediatek-clk tree.
- Kconfig.platforms path change.
[1]
https://git.linaro.org/people/daniel.lezcano/linux.git clockevents/4.4
[2]
http://lists.infradead.org/pipermail/linux-mediatek/2015-August/002069.html
[3]
http://lists.infradead.org/pipermail/linux-mediatek/2015-September/002301.html
[4]
http://lists.infradead.org/pipermail/linux-mediatek/2015-July/001544.html
Daniel Kurtz (1):
arm64: dts: mt8173: add timer node
Yingjoe Chen (2):
dt-bindings: add more MediaTek SoC to mtk-timer binding
arm64: mediatek: enable MTK_TIMER
Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt | 8 +++++---
arch/arm64/Kconfig.platforms | 1 +
arch/arm64/boot/dts/mediatek/mt8173.dtsi | 9 +++++++++
3 files changed, 15 insertions(+), 3 deletions(-)
^ permalink raw reply [flat|nested] 25+ messages in thread
* [PATCH v4 0/3] add GPT timer support for mt8173
@ 2015-10-02 15:05 ` Yingjoe Chen
0 siblings, 0 replies; 25+ messages in thread
From: Yingjoe Chen @ 2015-10-02 15:05 UTC (permalink / raw)
To: linux-arm-kernel
This is based on v4.3-rc1 + clockevents-4.4[1] and James's mediatek-clk
tree[2].
Changes compare to previous version[3]:
- Add more MediaTek SoC to mtk-timer binding
- Update commit message to better describe the purpose.
Changes compare to v2[4]:
- the first two mtk_timer related changes are removed because they are
replaced/accepted in clockevents tree.
- Remove 'add 13mhz clock for MT8173' because it is accepted in
mediatek-clk tree.
- Kconfig.platforms path change.
[1]
https://git.linaro.org/people/daniel.lezcano/linux.git clockevents/4.4
[2]
http://lists.infradead.org/pipermail/linux-mediatek/2015-August/002069.html
[3]
http://lists.infradead.org/pipermail/linux-mediatek/2015-September/002301.html
[4]
http://lists.infradead.org/pipermail/linux-mediatek/2015-July/001544.html
Daniel Kurtz (1):
arm64: dts: mt8173: add timer node
Yingjoe Chen (2):
dt-bindings: add more MediaTek SoC to mtk-timer binding
arm64: mediatek: enable MTK_TIMER
Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt | 8 +++++---
arch/arm64/Kconfig.platforms | 1 +
arch/arm64/boot/dts/mediatek/mt8173.dtsi | 9 +++++++++
3 files changed, 15 insertions(+), 3 deletions(-)
^ permalink raw reply [flat|nested] 25+ messages in thread
* [PATCH v4 1/3] dt-bindings: add more MediaTek SoC to mtk-timer binding
2015-10-02 15:05 ` Yingjoe Chen
(?)
@ 2015-10-02 15:05 ` Yingjoe Chen
-1 siblings, 0 replies; 25+ messages in thread
From: Yingjoe Chen @ 2015-10-02 15:05 UTC (permalink / raw)
To: Matthias Brugger, Rob Herring
Cc: Daniel Lezcano, Thomas Gleixner, Stephen Boyd, Michael Turquette,
James Liao, devicetree, Arnd Bergmann, Catalin Marinas,
linux-kernel, linux-mediatek, Sascha Hauer, Olof Johansson,
srv_heupstream, linux-arm-kernel, Daniel Kurtz, linux-clk,
Yingjoe Chen, erin.lo
Add compatible string for mt8127, mt8135 and mt8173 and sort
the list.
Signed-off-by: Yingjoe Chen <yingjoe.chen@mediatek.com>
---
Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt b/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt
index 53a3029..64083bc 100644
--- a/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt
+++ b/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt
@@ -3,10 +3,12 @@ Mediatek MT6577, MT6572 and MT6589 Timers
Required properties:
- compatible should contain:
- * "mediatek,mt6589-timer" for MT6589 compatible timers
* "mediatek,mt6580-timer" for MT6580 compatible timers
- * "mediatek,mt6577-timer" for all compatible timers (MT6589, MT6580,
- MT6577)
+ * "mediatek,mt6589-timer" for MT6589 compatible timers
+ * "mediatek,mt8127-timer" for MT8127 compatible timers
+ * "mediatek,mt8135-timer" for MT8135 compatible timers
+ * "mediatek,mt8173-timer" for MT8173 compatible timers
+ * "mediatek,mt6577-timer" for MT6577 and all above compatible timers
- reg: Should contain location and length for timers register.
- clocks: Clocks driving the timer hardware. This list should include two
clocks. The order is system clock and as second clock the RTC clock.
--
1.9.1
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [PATCH v4 1/3] dt-bindings: add more MediaTek SoC to mtk-timer binding
@ 2015-10-02 15:05 ` Yingjoe Chen
0 siblings, 0 replies; 25+ messages in thread
From: Yingjoe Chen @ 2015-10-02 15:05 UTC (permalink / raw)
To: Matthias Brugger, Rob Herring
Cc: Daniel Lezcano, Thomas Gleixner, Stephen Boyd, Michael Turquette,
James Liao, devicetree, Arnd Bergmann, Catalin Marinas,
linux-kernel, linux-mediatek, Sascha Hauer, Olof Johansson,
srv_heupstream, linux-arm-kernel, Daniel Kurtz, linux-clk,
Yingjoe Chen, erin.lo
Add compatible string for mt8127, mt8135 and mt8173 and sort
the list.
Signed-off-by: Yingjoe Chen <yingjoe.chen@mediatek.com>
---
Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt b/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt
index 53a3029..64083bc 100644
--- a/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt
+++ b/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt
@@ -3,10 +3,12 @@ Mediatek MT6577, MT6572 and MT6589 Timers
Required properties:
- compatible should contain:
- * "mediatek,mt6589-timer" for MT6589 compatible timers
* "mediatek,mt6580-timer" for MT6580 compatible timers
- * "mediatek,mt6577-timer" for all compatible timers (MT6589, MT6580,
- MT6577)
+ * "mediatek,mt6589-timer" for MT6589 compatible timers
+ * "mediatek,mt8127-timer" for MT8127 compatible timers
+ * "mediatek,mt8135-timer" for MT8135 compatible timers
+ * "mediatek,mt8173-timer" for MT8173 compatible timers
+ * "mediatek,mt6577-timer" for MT6577 and all above compatible timers
- reg: Should contain location and length for timers register.
- clocks: Clocks driving the timer hardware. This list should include two
clocks. The order is system clock and as second clock the RTC clock.
--
1.9.1
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [PATCH v4 1/3] dt-bindings: add more MediaTek SoC to mtk-timer binding
@ 2015-10-02 15:05 ` Yingjoe Chen
0 siblings, 0 replies; 25+ messages in thread
From: Yingjoe Chen @ 2015-10-02 15:05 UTC (permalink / raw)
To: linux-arm-kernel
Add compatible string for mt8127, mt8135 and mt8173 and sort
the list.
Signed-off-by: Yingjoe Chen <yingjoe.chen@mediatek.com>
---
Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt b/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt
index 53a3029..64083bc 100644
--- a/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt
+++ b/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt
@@ -3,10 +3,12 @@ Mediatek MT6577, MT6572 and MT6589 Timers
Required properties:
- compatible should contain:
- * "mediatek,mt6589-timer" for MT6589 compatible timers
* "mediatek,mt6580-timer" for MT6580 compatible timers
- * "mediatek,mt6577-timer" for all compatible timers (MT6589, MT6580,
- MT6577)
+ * "mediatek,mt6589-timer" for MT6589 compatible timers
+ * "mediatek,mt8127-timer" for MT8127 compatible timers
+ * "mediatek,mt8135-timer" for MT8135 compatible timers
+ * "mediatek,mt8173-timer" for MT8173 compatible timers
+ * "mediatek,mt6577-timer" for MT6577 and all above compatible timers
- reg: Should contain location and length for timers register.
- clocks: Clocks driving the timer hardware. This list should include two
clocks. The order is system clock and as second clock the RTC clock.
--
1.9.1
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [PATCH v4 2/3] arm64: mediatek: enable MTK_TIMER
2015-10-02 15:05 ` Yingjoe Chen
(?)
@ 2015-10-02 15:05 ` Yingjoe Chen
-1 siblings, 0 replies; 25+ messages in thread
From: Yingjoe Chen @ 2015-10-02 15:05 UTC (permalink / raw)
To: Matthias Brugger, Rob Herring
Cc: Daniel Lezcano, Thomas Gleixner, Stephen Boyd, Michael Turquette,
James Liao, devicetree, Arnd Bergmann, Catalin Marinas,
linux-kernel, linux-mediatek, Sascha Hauer, Olof Johansson,
srv_heupstream, linux-arm-kernel, Daniel Kurtz, linux-clk,
Yingjoe Chen, erin.lo
Enable MTK_TIMER for MediaTek plaform, which will be used as
tick broadcast device and schedule clock.
Signed-off-by: Yingjoe Chen <yingjoe.chen@mediatek.com>
---
arch/arm64/Kconfig.platforms | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index 23800a1..8176455 100644
--- a/arch/arm64/Kconfig.platforms
+++ b/arch/arm64/Kconfig.platforms
@@ -42,6 +42,7 @@ config ARCH_MEDIATEK
bool "Mediatek MT65xx & MT81xx ARMv8 SoC"
select ARM_GIC
select PINCTRL
+ select MTK_TIMER
help
Support for Mediatek MT65xx & MT81xx ARMv8 SoCs
--
1.9.1
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [PATCH v4 2/3] arm64: mediatek: enable MTK_TIMER
@ 2015-10-02 15:05 ` Yingjoe Chen
0 siblings, 0 replies; 25+ messages in thread
From: Yingjoe Chen @ 2015-10-02 15:05 UTC (permalink / raw)
To: Matthias Brugger, Rob Herring
Cc: Daniel Lezcano, Thomas Gleixner, Stephen Boyd, Michael Turquette,
James Liao, devicetree, Arnd Bergmann, Catalin Marinas,
linux-kernel, linux-mediatek, Sascha Hauer, Olof Johansson,
srv_heupstream, linux-arm-kernel, Daniel Kurtz, linux-clk,
Yingjoe Chen, erin.lo
Enable MTK_TIMER for MediaTek plaform, which will be used as
tick broadcast device and schedule clock.
Signed-off-by: Yingjoe Chen <yingjoe.chen@mediatek.com>
---
arch/arm64/Kconfig.platforms | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index 23800a1..8176455 100644
--- a/arch/arm64/Kconfig.platforms
+++ b/arch/arm64/Kconfig.platforms
@@ -42,6 +42,7 @@ config ARCH_MEDIATEK
bool "Mediatek MT65xx & MT81xx ARMv8 SoC"
select ARM_GIC
select PINCTRL
+ select MTK_TIMER
help
Support for Mediatek MT65xx & MT81xx ARMv8 SoCs
--
1.9.1
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [PATCH v4 2/3] arm64: mediatek: enable MTK_TIMER
@ 2015-10-02 15:05 ` Yingjoe Chen
0 siblings, 0 replies; 25+ messages in thread
From: Yingjoe Chen @ 2015-10-02 15:05 UTC (permalink / raw)
To: linux-arm-kernel
Enable MTK_TIMER for MediaTek plaform, which will be used as
tick broadcast device and schedule clock.
Signed-off-by: Yingjoe Chen <yingjoe.chen@mediatek.com>
---
arch/arm64/Kconfig.platforms | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index 23800a1..8176455 100644
--- a/arch/arm64/Kconfig.platforms
+++ b/arch/arm64/Kconfig.platforms
@@ -42,6 +42,7 @@ config ARCH_MEDIATEK
bool "Mediatek MT65xx & MT81xx ARMv8 SoC"
select ARM_GIC
select PINCTRL
+ select MTK_TIMER
help
Support for Mediatek MT65xx & MT81xx ARMv8 SoCs
--
1.9.1
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [PATCH v4 3/3] arm64: dts: mt8173: add timer node
2015-10-02 15:05 ` Yingjoe Chen
(?)
@ 2015-10-02 15:05 ` Yingjoe Chen
-1 siblings, 0 replies; 25+ messages in thread
From: Yingjoe Chen @ 2015-10-02 15:05 UTC (permalink / raw)
To: Matthias Brugger, Rob Herring
Cc: Daniel Lezcano, Thomas Gleixner, Stephen Boyd, Michael Turquette,
James Liao, devicetree, Arnd Bergmann, Catalin Marinas,
linux-kernel, linux-mediatek, Sascha Hauer, Olof Johansson,
srv_heupstream, linux-arm-kernel, Daniel Kurtz, linux-clk,
Yingjoe Chen, erin.lo, Eddie Huang
From: Daniel Kurtz <djkurtz@chromium.org>
Add device node to enable GPT timer.
Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Eddie Huang <eddie.huang@mediatek.com>
Signed-off-by: Yingjoe Chen <yingjoe.chen@mediatek.com>
---
arch/arm64/boot/dts/mediatek/mt8173.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
index d18ee42..d763803 100644
--- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
@@ -238,6 +238,15 @@
reg = <0 0x10007000 0 0x100>;
};
+ timer: timer@10008000 {
+ compatible = "mediatek,mt8173-timer",
+ "mediatek,mt6577-timer";
+ reg = <0 0x10008000 0 0x1000>;
+ interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_LOW>;
+ clocks = <&infracfg CLK_INFRA_CLK_13M>,
+ <&topckgen CLK_TOP_RTC_SEL>;
+ };
+
pwrap: pwrap@1000d000 {
compatible = "mediatek,mt8173-pwrap";
reg = <0 0x1000d000 0 0x1000>;
--
1.9.1
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [PATCH v4 3/3] arm64: dts: mt8173: add timer node
@ 2015-10-02 15:05 ` Yingjoe Chen
0 siblings, 0 replies; 25+ messages in thread
From: Yingjoe Chen @ 2015-10-02 15:05 UTC (permalink / raw)
To: Matthias Brugger, Rob Herring
Cc: Daniel Lezcano, Thomas Gleixner, Stephen Boyd, Michael Turquette,
James Liao, devicetree, Arnd Bergmann, Catalin Marinas,
linux-kernel, linux-mediatek, Sascha Hauer, Olof Johansson,
srv_heupstream, linux-arm-kernel, Daniel Kurtz, linux-clk,
Yingjoe Chen, erin.lo, Eddie Huang
From: Daniel Kurtz <djkurtz@chromium.org>
Add device node to enable GPT timer.
Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Eddie Huang <eddie.huang@mediatek.com>
Signed-off-by: Yingjoe Chen <yingjoe.chen@mediatek.com>
---
arch/arm64/boot/dts/mediatek/mt8173.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
index d18ee42..d763803 100644
--- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
@@ -238,6 +238,15 @@
reg = <0 0x10007000 0 0x100>;
};
+ timer: timer@10008000 {
+ compatible = "mediatek,mt8173-timer",
+ "mediatek,mt6577-timer";
+ reg = <0 0x10008000 0 0x1000>;
+ interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_LOW>;
+ clocks = <&infracfg CLK_INFRA_CLK_13M>,
+ <&topckgen CLK_TOP_RTC_SEL>;
+ };
+
pwrap: pwrap@1000d000 {
compatible = "mediatek,mt8173-pwrap";
reg = <0 0x1000d000 0 0x1000>;
--
1.9.1
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [PATCH v4 3/3] arm64: dts: mt8173: add timer node
@ 2015-10-02 15:05 ` Yingjoe Chen
0 siblings, 0 replies; 25+ messages in thread
From: Yingjoe Chen @ 2015-10-02 15:05 UTC (permalink / raw)
To: linux-arm-kernel
From: Daniel Kurtz <djkurtz@chromium.org>
Add device node to enable GPT timer.
Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Eddie Huang <eddie.huang@mediatek.com>
Signed-off-by: Yingjoe Chen <yingjoe.chen@mediatek.com>
---
arch/arm64/boot/dts/mediatek/mt8173.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
index d18ee42..d763803 100644
--- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
@@ -238,6 +238,15 @@
reg = <0 0x10007000 0 0x100>;
};
+ timer: timer at 10008000 {
+ compatible = "mediatek,mt8173-timer",
+ "mediatek,mt6577-timer";
+ reg = <0 0x10008000 0 0x1000>;
+ interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_LOW>;
+ clocks = <&infracfg CLK_INFRA_CLK_13M>,
+ <&topckgen CLK_TOP_RTC_SEL>;
+ };
+
pwrap: pwrap at 1000d000 {
compatible = "mediatek,mt8173-pwrap";
reg = <0 0x1000d000 0 0x1000>;
--
1.9.1
^ permalink raw reply related [flat|nested] 25+ messages in thread
* Re: [PATCH v4 0/3] add GPT timer support for mt8173
2015-10-02 15:05 ` Yingjoe Chen
(?)
@ 2015-10-02 15:13 ` Yingjoe Chen
-1 siblings, 0 replies; 25+ messages in thread
From: Yingjoe Chen @ 2015-10-02 15:13 UTC (permalink / raw)
To: Matthias Brugger, Sudeep Holla, Mark Rutland
Cc: Rob Herring, Daniel Lezcano, Thomas Gleixner, Stephen Boyd,
Michael Turquette, James Liao, devicetree, Arnd Bergmann,
Catalin Marinas, linux-kernel, linux-mediatek, Sascha Hauer,
Olof Johansson, srv_heupstream, linux-arm-kernel, Daniel Kurtz,
linux-clk, erin.lo
On Fri, 2015-10-02 at 23:05 +0800, Yingjoe Chen wrote:
> This is based on v4.3-rc1 + clockevents-4.4[1] and James's mediatek-clk
> tree[2].
>
> Changes compare to previous version[3]:
> - Add more MediaTek SoC to mtk-timer binding
> - Update commit message to better describe the purpose.
>
> Changes compare to v2[4]:
> - the first two mtk_timer related changes are removed because they are
> replaced/accepted in clockevents tree.
> - Remove 'add 13mhz clock for MT8173' because it is accepted in
> mediatek-clk tree.
> - Kconfig.platforms path change.
Hi Sudeep, Mark,
I just post a new version of this patch. Sorry I forgot to CC you.
Joe.C
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [PATCH v4 0/3] add GPT timer support for mt8173
@ 2015-10-02 15:13 ` Yingjoe Chen
0 siblings, 0 replies; 25+ messages in thread
From: Yingjoe Chen @ 2015-10-02 15:13 UTC (permalink / raw)
To: Matthias Brugger, Sudeep Holla, Mark Rutland
Cc: Rob Herring, Daniel Lezcano, Thomas Gleixner, Stephen Boyd,
Michael Turquette, James Liao, devicetree, Arnd Bergmann,
Catalin Marinas, linux-kernel, linux-mediatek, Sascha Hauer,
Olof Johansson, srv_heupstream, linux-arm-kernel, Daniel Kurtz,
linux-clk, erin.lo
On Fri, 2015-10-02 at 23:05 +0800, Yingjoe Chen wrote:
> This is based on v4.3-rc1 + clockevents-4.4[1] and James's mediatek-clk
> tree[2].
>
> Changes compare to previous version[3]:
> - Add more MediaTek SoC to mtk-timer binding
> - Update commit message to better describe the purpose.
>
> Changes compare to v2[4]:
> - the first two mtk_timer related changes are removed because they are
> replaced/accepted in clockevents tree.
> - Remove 'add 13mhz clock for MT8173' because it is accepted in
> mediatek-clk tree.
> - Kconfig.platforms path change.
Hi Sudeep, Mark,
I just post a new version of this patch. Sorry I forgot to CC you.
Joe.C
^ permalink raw reply [flat|nested] 25+ messages in thread
* [PATCH v4 0/3] add GPT timer support for mt8173
@ 2015-10-02 15:13 ` Yingjoe Chen
0 siblings, 0 replies; 25+ messages in thread
From: Yingjoe Chen @ 2015-10-02 15:13 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, 2015-10-02 at 23:05 +0800, Yingjoe Chen wrote:
> This is based on v4.3-rc1 + clockevents-4.4[1] and James's mediatek-clk
> tree[2].
>
> Changes compare to previous version[3]:
> - Add more MediaTek SoC to mtk-timer binding
> - Update commit message to better describe the purpose.
>
> Changes compare to v2[4]:
> - the first two mtk_timer related changes are removed because they are
> replaced/accepted in clockevents tree.
> - Remove 'add 13mhz clock for MT8173' because it is accepted in
> mediatek-clk tree.
> - Kconfig.platforms path change.
Hi Sudeep, Mark,
I just post a new version of this patch. Sorry I forgot to CC you.
Joe.C
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [PATCH v4 3/3] arm64: dts: mt8173: add timer node
2015-10-02 15:05 ` Yingjoe Chen
(?)
@ 2015-10-02 18:28 ` kbuild test robot
-1 siblings, 0 replies; 25+ messages in thread
From: kbuild test robot @ 2015-10-02 18:28 UTC (permalink / raw)
To: Yingjoe Chen
Cc: kbuild-all, Matthias Brugger, Rob Herring, Daniel Lezcano,
Thomas Gleixner, Stephen Boyd, Michael Turquette, James Liao,
devicetree, Arnd Bergmann, Catalin Marinas, linux-kernel,
linux-mediatek, Sascha Hauer, Olof Johansson, srv_heupstream,
linux-arm-kernel, Daniel Kurtz, linux-clk, Yingjoe Chen, erin.lo,
Eddie Huang
[-- Attachment #1: Type: text/plain, Size: 721 bytes --]
Hi Daniel,
[auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore]
config: arm64-allyesconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm64
All error/warnings (new ones prefixed by >>):
>> Error: arch/arm64/boot/dts/mediatek/mt8173.dtsi:246.24-25 syntax error
FATAL ERROR: Unable to parse input tree
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 45833 bytes --]
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [PATCH v4 3/3] arm64: dts: mt8173: add timer node
@ 2015-10-02 18:28 ` kbuild test robot
0 siblings, 0 replies; 25+ messages in thread
From: kbuild test robot @ 2015-10-02 18:28 UTC (permalink / raw)
Cc: kbuild-all, Matthias Brugger, Rob Herring, Daniel Lezcano,
Thomas Gleixner, Stephen Boyd, Michael Turquette, James Liao,
devicetree, Arnd Bergmann, Catalin Marinas, linux-kernel,
linux-mediatek, Sascha Hauer, Olof Johansson, srv_heupstream,
linux-arm-kernel, Daniel Kurtz, linux-clk, Yingjoe Chen, erin.lo,
Eddie Huang
[-- Attachment #1: Type: text/plain, Size: 721 bytes --]
Hi Daniel,
[auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore]
config: arm64-allyesconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm64
All error/warnings (new ones prefixed by >>):
>> Error: arch/arm64/boot/dts/mediatek/mt8173.dtsi:246.24-25 syntax error
FATAL ERROR: Unable to parse input tree
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 45833 bytes --]
^ permalink raw reply [flat|nested] 25+ messages in thread
* [PATCH v4 3/3] arm64: dts: mt8173: add timer node
@ 2015-10-02 18:28 ` kbuild test robot
0 siblings, 0 replies; 25+ messages in thread
From: kbuild test robot @ 2015-10-02 18:28 UTC (permalink / raw)
To: linux-arm-kernel
Hi Daniel,
[auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore]
config: arm64-allyesconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm64
All error/warnings (new ones prefixed by >>):
>> Error: arch/arm64/boot/dts/mediatek/mt8173.dtsi:246.24-25 syntax error
FATAL ERROR: Unable to parse input tree
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 45833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20151003/5a50e32c/attachment-0001.obj>
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [PATCH v4 0/3] add GPT timer support for mt8173
2015-10-02 15:05 ` Yingjoe Chen
@ 2015-10-12 16:35 ` Matthias Brugger
-1 siblings, 0 replies; 25+ messages in thread
From: Matthias Brugger @ 2015-10-12 16:35 UTC (permalink / raw)
To: Yingjoe Chen, Rob Herring
Cc: Daniel Lezcano, Thomas Gleixner, Stephen Boyd, Michael Turquette,
James Liao, devicetree, Arnd Bergmann, Catalin Marinas,
linux-kernel, linux-mediatek, Sascha Hauer, Olof Johansson,
srv_heupstream, linux-arm-kernel, Daniel Kurtz, linux-clk,
erin.lo
On 02/10/15 17:05, Yingjoe Chen wrote:
> This is based on v4.3-rc1 + clockevents-4.4[1] and James's mediatek-clk
> tree[2].
>
> Changes compare to previous version[3]:
> - Add more MediaTek SoC to mtk-timer binding
> - Update commit message to better describe the purpose.
>
> Changes compare to v2[4]:
> - the first two mtk_timer related changes are removed because they are
> replaced/accepted in clockevents tree.
> - Remove 'add 13mhz clock for MT8173' because it is accepted in
> mediatek-clk tree.
> - Kconfig.platforms path change.
>
> [1]
> https://git.linaro.org/people/daniel.lezcano/linux.git clockevents/4.4
> [2]
> http://lists.infradead.org/pipermail/linux-mediatek/2015-August/002069.html
> [3]
> http://lists.infradead.org/pipermail/linux-mediatek/2015-September/002301.html
> [4]
> http://lists.infradead.org/pipermail/linux-mediatek/2015-July/001544.html
>
>
> Daniel Kurtz (1):
> arm64: dts: mt8173: add timer node
>
> Yingjoe Chen (2):
> dt-bindings: add more MediaTek SoC to mtk-timer binding
> arm64: mediatek: enable MTK_TIMER
>
> Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt | 8 +++++---
> arch/arm64/Kconfig.platforms | 1 +
> arch/arm64/boot/dts/mediatek/mt8173.dtsi | 9 +++++++++
> 3 files changed, 15 insertions(+), 3 deletions(-)
>
Applied, thanks.
^ permalink raw reply [flat|nested] 25+ messages in thread
* [PATCH v4 0/3] add GPT timer support for mt8173
@ 2015-10-12 16:35 ` Matthias Brugger
0 siblings, 0 replies; 25+ messages in thread
From: Matthias Brugger @ 2015-10-12 16:35 UTC (permalink / raw)
To: linux-arm-kernel
On 02/10/15 17:05, Yingjoe Chen wrote:
> This is based on v4.3-rc1 + clockevents-4.4[1] and James's mediatek-clk
> tree[2].
>
> Changes compare to previous version[3]:
> - Add more MediaTek SoC to mtk-timer binding
> - Update commit message to better describe the purpose.
>
> Changes compare to v2[4]:
> - the first two mtk_timer related changes are removed because they are
> replaced/accepted in clockevents tree.
> - Remove 'add 13mhz clock for MT8173' because it is accepted in
> mediatek-clk tree.
> - Kconfig.platforms path change.
>
> [1]
> https://git.linaro.org/people/daniel.lezcano/linux.git clockevents/4.4
> [2]
> http://lists.infradead.org/pipermail/linux-mediatek/2015-August/002069.html
> [3]
> http://lists.infradead.org/pipermail/linux-mediatek/2015-September/002301.html
> [4]
> http://lists.infradead.org/pipermail/linux-mediatek/2015-July/001544.html
>
>
> Daniel Kurtz (1):
> arm64: dts: mt8173: add timer node
>
> Yingjoe Chen (2):
> dt-bindings: add more MediaTek SoC to mtk-timer binding
> arm64: mediatek: enable MTK_TIMER
>
> Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt | 8 +++++---
> arch/arm64/Kconfig.platforms | 1 +
> arch/arm64/boot/dts/mediatek/mt8173.dtsi | 9 +++++++++
> 3 files changed, 15 insertions(+), 3 deletions(-)
>
Applied, thanks.
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [PATCH v4 2/3] arm64: mediatek: enable MTK_TIMER
@ 2015-10-14 13:38 ` Matthias Brugger
0 siblings, 0 replies; 25+ messages in thread
From: Matthias Brugger @ 2015-10-14 13:38 UTC (permalink / raw)
To: Yingjoe Chen, Rob Herring
Cc: Daniel Lezcano, Thomas Gleixner, Stephen Boyd, Michael Turquette,
James Liao, devicetree, Arnd Bergmann, Catalin Marinas,
linux-kernel, linux-mediatek, Sascha Hauer, Olof Johansson,
srv_heupstream, linux-arm-kernel, Daniel Kurtz, linux-clk,
erin.lo
On 02/10/15 17:05, Yingjoe Chen wrote:
> Enable MTK_TIMER for MediaTek plaform, which will be used as
> tick broadcast device and schedule clock.
>
> Signed-off-by: Yingjoe Chen <yingjoe.chen@mediatek.com>
> ---
I reapplied this on v4.4-next/soc
> arch/arm64/Kconfig.platforms | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
> index 23800a1..8176455 100644
> --- a/arch/arm64/Kconfig.platforms
> +++ b/arch/arm64/Kconfig.platforms
> @@ -42,6 +42,7 @@ config ARCH_MEDIATEK
> bool "Mediatek MT65xx & MT81xx ARMv8 SoC"
> select ARM_GIC
> select PINCTRL
> + select MTK_TIMER
> help
> Support for Mediatek MT65xx & MT81xx ARMv8 SoCs
>
>
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [PATCH v4 2/3] arm64: mediatek: enable MTK_TIMER
@ 2015-10-14 13:38 ` Matthias Brugger
0 siblings, 0 replies; 25+ messages in thread
From: Matthias Brugger @ 2015-10-14 13:38 UTC (permalink / raw)
To: Yingjoe Chen, Rob Herring
Cc: James Liao, srv_heupstream-NuS5LvNUpcJWk0Htik3J/w, Arnd Bergmann,
devicetree-u79uwXL29TY76Z2rM5mHXA, Catalin Marinas,
Michael Turquette, Daniel Lezcano, Stephen Boyd,
linux-kernel-u79uwXL29TY76Z2rM5mHXA,
erin.lo-NuS5LvNUpcJWk0Htik3J/w,
linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Sascha Hauer,
Olof Johansson, Thomas Gleixner,
linux-clk-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
On 02/10/15 17:05, Yingjoe Chen wrote:
> Enable MTK_TIMER for MediaTek plaform, which will be used as
> tick broadcast device and schedule clock.
>
> Signed-off-by: Yingjoe Chen <yingjoe.chen-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
> ---
I reapplied this on v4.4-next/soc
> arch/arm64/Kconfig.platforms | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
> index 23800a1..8176455 100644
> --- a/arch/arm64/Kconfig.platforms
> +++ b/arch/arm64/Kconfig.platforms
> @@ -42,6 +42,7 @@ config ARCH_MEDIATEK
> bool "Mediatek MT65xx & MT81xx ARMv8 SoC"
> select ARM_GIC
> select PINCTRL
> + select MTK_TIMER
> help
> Support for Mediatek MT65xx & MT81xx ARMv8 SoCs
>
>
^ permalink raw reply [flat|nested] 25+ messages in thread
* [PATCH v4 2/3] arm64: mediatek: enable MTK_TIMER
@ 2015-10-14 13:38 ` Matthias Brugger
0 siblings, 0 replies; 25+ messages in thread
From: Matthias Brugger @ 2015-10-14 13:38 UTC (permalink / raw)
To: linux-arm-kernel
On 02/10/15 17:05, Yingjoe Chen wrote:
> Enable MTK_TIMER for MediaTek plaform, which will be used as
> tick broadcast device and schedule clock.
>
> Signed-off-by: Yingjoe Chen <yingjoe.chen@mediatek.com>
> ---
I reapplied this on v4.4-next/soc
> arch/arm64/Kconfig.platforms | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
> index 23800a1..8176455 100644
> --- a/arch/arm64/Kconfig.platforms
> +++ b/arch/arm64/Kconfig.platforms
> @@ -42,6 +42,7 @@ config ARCH_MEDIATEK
> bool "Mediatek MT65xx & MT81xx ARMv8 SoC"
> select ARM_GIC
> select PINCTRL
> + select MTK_TIMER
> help
> Support for Mediatek MT65xx & MT81xx ARMv8 SoCs
>
>
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [PATCH v4 3/3] arm64: dts: mt8173: add timer node
2015-10-02 15:05 ` Yingjoe Chen
@ 2015-10-14 13:39 ` Matthias Brugger
-1 siblings, 0 replies; 25+ messages in thread
From: Matthias Brugger @ 2015-10-14 13:39 UTC (permalink / raw)
To: Yingjoe Chen, Rob Herring
Cc: Daniel Lezcano, Thomas Gleixner, Stephen Boyd, Michael Turquette,
James Liao, devicetree, Arnd Bergmann, Catalin Marinas,
linux-kernel, linux-mediatek, Sascha Hauer, Olof Johansson,
srv_heupstream, linux-arm-kernel, Daniel Kurtz, linux-clk,
erin.lo, Eddie Huang
On 02/10/15 17:05, Yingjoe Chen wrote:
> From: Daniel Kurtz <djkurtz@chromium.org>
>
> Add device node to enable GPT timer.
>
> Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
> Signed-off-by: Eddie Huang <eddie.huang@mediatek.com>
> Signed-off-by: Yingjoe Chen <yingjoe.chen@mediatek.com>
> ---
I reapplied this on v4.4-next/arm64
> arch/arm64/boot/dts/mediatek/mt8173.dtsi | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
> index d18ee42..d763803 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
> @@ -238,6 +238,15 @@
> reg = <0 0x10007000 0 0x100>;
> };
>
> + timer: timer@10008000 {
> + compatible = "mediatek,mt8173-timer",
> + "mediatek,mt6577-timer";
> + reg = <0 0x10008000 0 0x1000>;
> + interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_LOW>;
> + clocks = <&infracfg CLK_INFRA_CLK_13M>,
> + <&topckgen CLK_TOP_RTC_SEL>;
> + };
> +
> pwrap: pwrap@1000d000 {
> compatible = "mediatek,mt8173-pwrap";
> reg = <0 0x1000d000 0 0x1000>;
>
^ permalink raw reply [flat|nested] 25+ messages in thread
* [PATCH v4 3/3] arm64: dts: mt8173: add timer node
@ 2015-10-14 13:39 ` Matthias Brugger
0 siblings, 0 replies; 25+ messages in thread
From: Matthias Brugger @ 2015-10-14 13:39 UTC (permalink / raw)
To: linux-arm-kernel
On 02/10/15 17:05, Yingjoe Chen wrote:
> From: Daniel Kurtz <djkurtz@chromium.org>
>
> Add device node to enable GPT timer.
>
> Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
> Signed-off-by: Eddie Huang <eddie.huang@mediatek.com>
> Signed-off-by: Yingjoe Chen <yingjoe.chen@mediatek.com>
> ---
I reapplied this on v4.4-next/arm64
> arch/arm64/boot/dts/mediatek/mt8173.dtsi | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
> index d18ee42..d763803 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
> @@ -238,6 +238,15 @@
> reg = <0 0x10007000 0 0x100>;
> };
>
> + timer: timer at 10008000 {
> + compatible = "mediatek,mt8173-timer",
> + "mediatek,mt6577-timer";
> + reg = <0 0x10008000 0 0x1000>;
> + interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_LOW>;
> + clocks = <&infracfg CLK_INFRA_CLK_13M>,
> + <&topckgen CLK_TOP_RTC_SEL>;
> + };
> +
> pwrap: pwrap at 1000d000 {
> compatible = "mediatek,mt8173-pwrap";
> reg = <0 0x1000d000 0 0x1000>;
>
^ permalink raw reply [flat|nested] 25+ messages in thread
end of thread, other threads:[~2015-10-14 13:39 UTC | newest]
Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-02 15:05 [PATCH v4 0/3] add GPT timer support for mt8173 Yingjoe Chen
2015-10-02 15:05 ` Yingjoe Chen
2015-10-02 15:05 ` Yingjoe Chen
2015-10-02 15:05 ` [PATCH v4 1/3] dt-bindings: add more MediaTek SoC to mtk-timer binding Yingjoe Chen
2015-10-02 15:05 ` Yingjoe Chen
2015-10-02 15:05 ` Yingjoe Chen
2015-10-02 15:05 ` [PATCH v4 2/3] arm64: mediatek: enable MTK_TIMER Yingjoe Chen
2015-10-02 15:05 ` Yingjoe Chen
2015-10-02 15:05 ` Yingjoe Chen
2015-10-14 13:38 ` Matthias Brugger
2015-10-14 13:38 ` Matthias Brugger
2015-10-14 13:38 ` Matthias Brugger
2015-10-02 15:05 ` [PATCH v4 3/3] arm64: dts: mt8173: add timer node Yingjoe Chen
2015-10-02 15:05 ` Yingjoe Chen
2015-10-02 15:05 ` Yingjoe Chen
2015-10-02 18:28 ` kbuild test robot
2015-10-02 18:28 ` kbuild test robot
2015-10-02 18:28 ` kbuild test robot
2015-10-14 13:39 ` Matthias Brugger
2015-10-14 13:39 ` Matthias Brugger
2015-10-02 15:13 ` [PATCH v4 0/3] add GPT timer support for mt8173 Yingjoe Chen
2015-10-02 15:13 ` Yingjoe Chen
2015-10-02 15:13 ` Yingjoe Chen
2015-10-12 16:35 ` Matthias Brugger
2015-10-12 16:35 ` 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.