devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/2] add systimer node for MT8183 SoC
@ 2019-06-11 11:28 Dehui Sun
  2019-06-11 11:28 ` [PATCH v1 1/2] dt-bindings: mediatek: update bindings for MT8183 systimer Dehui Sun
  2019-06-11 11:28 ` [PATCH v1 2/2] arm64: dts: mt8183: add systimer0 device node Dehui Sun
  0 siblings, 2 replies; 5+ messages in thread
From: Dehui Sun @ 2019-06-11 11:28 UTC (permalink / raw)
  To: Daniel Lezcano, Thomas Gleixner, Rob Herring, Mark Rutland,
	Matthias Brugger
  Cc: linux-kernel, devicetree, linux-arm-kernel, linux-mediatek,
	srv_heupstream, erin.lo, weiyi.lu, dehui.sun

This series are based on 5.2-rc1 and add systimer node for MT8183,
and this timer will serve as a wakeup-up source for cpu-idle feature.

Dehui Sun (2):
  dt-bindings: mediatek: update bindings for MT8183 systimer
  arm64: dts: mt8183: add systimer0 device node

 Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt | 1 +
 arch/arm64/boot/dts/mediatek/mt8183.dtsi                       | 9 +++++++++
 2 files changed, 10 insertions(+)

-- 
2.1.0

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH v1 1/2] dt-bindings: mediatek: update bindings for MT8183 systimer
  2019-06-11 11:28 [PATCH v1 0/2] add systimer node for MT8183 SoC Dehui Sun
@ 2019-06-11 11:28 ` Dehui Sun
  2019-07-09  2:33   ` Rob Herring
  2019-06-11 11:28 ` [PATCH v1 2/2] arm64: dts: mt8183: add systimer0 device node Dehui Sun
  1 sibling, 1 reply; 5+ messages in thread
From: Dehui Sun @ 2019-06-11 11:28 UTC (permalink / raw)
  To: Daniel Lezcano, Thomas Gleixner, Rob Herring, Mark Rutland,
	Matthias Brugger
  Cc: linux-kernel, devicetree, linux-arm-kernel, linux-mediatek,
	srv_heupstream, erin.lo, weiyi.lu, dehui.sun

This commit adds mt8183 compatible node in mtk-timer binding document.

Signed-off-by: Dehui Sun <dehui.sun@mediatek.com>
---
 Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt b/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt
index 74c3ead..0d25648 100644
--- a/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt
+++ b/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt
@@ -21,6 +21,7 @@ Required properties:
 	* "mediatek,mt6577-timer" for MT6577 and all above compatible timers (GPT)
 
 	For those SoCs that use SYST
+	* "mediatek,mt8183-timer" for MT8183 compatible timers (SYST)
 	* "mediatek,mt7629-timer" for MT7629 compatible timers (SYST)
 	* "mediatek,mt6765-timer" for MT6765 and all above compatible timers (SYST)
 
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH v1 2/2] arm64: dts: mt8183: add systimer0 device node
  2019-06-11 11:28 [PATCH v1 0/2] add systimer node for MT8183 SoC Dehui Sun
  2019-06-11 11:28 ` [PATCH v1 1/2] dt-bindings: mediatek: update bindings for MT8183 systimer Dehui Sun
@ 2019-06-11 11:28 ` Dehui Sun
  2019-07-09  2:33   ` Rob Herring
  1 sibling, 1 reply; 5+ messages in thread
From: Dehui Sun @ 2019-06-11 11:28 UTC (permalink / raw)
  To: Daniel Lezcano, Thomas Gleixner, Rob Herring, Mark Rutland,
	Matthias Brugger
  Cc: linux-kernel, devicetree, linux-arm-kernel, linux-mediatek,
	srv_heupstream, erin.lo, weiyi.lu, dehui.sun

Add systimer0 device node for MT8183.

Signed-off-by: Dehui Sun <dehui.sun@mediatek.com>
---
This patch is based on the following patches:
https://patchwork.kernel.org/cover/10962385/
https://patchwork.kernel.org/patch/10983939/
---
 arch/arm64/boot/dts/mediatek/mt8183.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi
index c2749c4..ac3f87d 100644
--- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi
@@ -254,6 +254,15 @@
 			clock-names = "spi", "wrap";
 		};
 
+		systimer: systimer@10017000 {
+			compatible = "mediatek,mt8183-timer",
+				     "mediatek,mt6765-timer";
+			reg = <0 0x10017000 0 0x1000>;
+			interrupts = <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&topckgen CLK_TOP_CLK13M>;
+			clock-names = "clk13m";
+		};
+
 		auxadc: auxadc@11001000 {
 			compatible = "mediatek,mt8183-auxadc",
 				     "mediatek,mt8173-auxadc";
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH v1 2/2] arm64: dts: mt8183: add systimer0 device node
  2019-06-11 11:28 ` [PATCH v1 2/2] arm64: dts: mt8183: add systimer0 device node Dehui Sun
@ 2019-07-09  2:33   ` Rob Herring
  0 siblings, 0 replies; 5+ messages in thread
From: Rob Herring @ 2019-07-09  2:33 UTC (permalink / raw)
  To: Dehui Sun
  Cc: Daniel Lezcano, Thomas Gleixner, Mark Rutland, Matthias Brugger,
	linux-kernel, devicetree, linux-arm-kernel, linux-mediatek,
	srv_heupstream, erin.lo, weiyi.lu

On Tue, Jun 11, 2019 at 07:28:54PM +0800, Dehui Sun wrote:
> Add systimer0 device node for MT8183.
> 
> Signed-off-by: Dehui Sun <dehui.sun@mediatek.com>
> ---
> This patch is based on the following patches:
> https://patchwork.kernel.org/cover/10962385/
> https://patchwork.kernel.org/patch/10983939/
> ---
>  arch/arm64/boot/dts/mediatek/mt8183.dtsi | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi
> index c2749c4..ac3f87d 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi
> @@ -254,6 +254,15 @@
>  			clock-names = "spi", "wrap";
>  		};
>  
> +		systimer: systimer@10017000 {

timer@...

> +			compatible = "mediatek,mt8183-timer",
> +				     "mediatek,mt6765-timer";
> +			reg = <0 0x10017000 0 0x1000>;
> +			interrupts = <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>;
> +			clocks = <&topckgen CLK_TOP_CLK13M>;
> +			clock-names = "clk13m";
> +		};
> +
>  		auxadc: auxadc@11001000 {
>  			compatible = "mediatek,mt8183-auxadc",
>  				     "mediatek,mt8173-auxadc";
> -- 
> 2.1.0
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v1 1/2] dt-bindings: mediatek: update bindings for MT8183 systimer
  2019-06-11 11:28 ` [PATCH v1 1/2] dt-bindings: mediatek: update bindings for MT8183 systimer Dehui Sun
@ 2019-07-09  2:33   ` Rob Herring
  0 siblings, 0 replies; 5+ messages in thread
From: Rob Herring @ 2019-07-09  2:33 UTC (permalink / raw)
  Cc: Daniel Lezcano, Thomas Gleixner, Mark Rutland, Matthias Brugger,
	linux-kernel, devicetree, linux-arm-kernel, linux-mediatek,
	srv_heupstream, erin.lo, weiyi.lu, dehui.sun

On Tue, 11 Jun 2019 19:28:53 +0800, Dehui Sun wrote:
> This commit adds mt8183 compatible node in mtk-timer binding document.
> 
> Signed-off-by: Dehui Sun <dehui.sun@mediatek.com>
> ---
>  Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt | 1 +
>  1 file changed, 1 insertion(+)
> 

Reviewed-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-07-09  2:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-11 11:28 [PATCH v1 0/2] add systimer node for MT8183 SoC Dehui Sun
2019-06-11 11:28 ` [PATCH v1 1/2] dt-bindings: mediatek: update bindings for MT8183 systimer Dehui Sun
2019-07-09  2:33   ` Rob Herring
2019-06-11 11:28 ` [PATCH v1 2/2] arm64: dts: mt8183: add systimer0 device node Dehui Sun
2019-07-09  2:33   ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).