linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/4] ARM: mediatek: dts: Cleanup bindings documentation
@ 2017-07-20 10:22 Matthias Brugger
  2017-07-20 10:22 ` [PATCH 2/4] ARM: mediatek: dts: Add mt6796 binding Matthias Brugger
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Matthias Brugger @ 2017-07-20 10:22 UTC (permalink / raw)
  To: wim, linux, robh+dt, mark.rutland, catalin.marinas, will.deacon
  Cc: linux-watchdog, devicetree, linux-arm-kernel, linux-mediatek,
	linux-kernel, Matthias Brugger, Matthias Brugger

From: Matthias Brugger <mbrugger@suse.com>

This patch cleans up the binding documentation stating explicitly
the binding and it's fallback for every SoC.

Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
---
 Documentation/devicetree/bindings/watchdog/mtk-wdt.txt | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/watchdog/mtk-wdt.txt b/Documentation/devicetree/bindings/watchdog/mtk-wdt.txt
index 6a00939a059a..b0d8d3a9d79e 100644
--- a/Documentation/devicetree/bindings/watchdog/mtk-wdt.txt
+++ b/Documentation/devicetree/bindings/watchdog/mtk-wdt.txt
@@ -3,9 +3,8 @@ Mediatek SoCs Watchdog timer
 Required properties:
 
 - compatible should contain:
-	* "mediatek,mt2701-wdt" for MT2701 compatible watchdog timers
-	* "mediatek,mt6589-wdt" for all compatible watchdog timers (MT2701,
-		MT6589)
+	"mediatek,mt2701-wdt", "mediatek,mt6589-wdt": for MT2701
+	"mediatek,mt6589-wdt": for MT6589
 
 - reg : Specifies base physical address and size of the registers.
 
-- 
2.12.3

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

* [PATCH 2/4] ARM: mediatek: dts: Add mt6796 binding
  2017-07-20 10:22 [PATCH 1/4] ARM: mediatek: dts: Cleanup bindings documentation Matthias Brugger
@ 2017-07-20 10:22 ` Matthias Brugger
  2017-07-24 19:57   ` Rob Herring
  2017-07-20 10:22 ` [PATCH 3/4] arm64: dts: mediatek: add watchdog to MT6796 Matthias Brugger
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 7+ messages in thread
From: Matthias Brugger @ 2017-07-20 10:22 UTC (permalink / raw)
  To: wim, linux, robh+dt, mark.rutland, catalin.marinas, will.deacon
  Cc: linux-watchdog, devicetree, linux-arm-kernel, linux-mediatek,
	linux-kernel, Matthias Brugger, Matthias Brugger

From: Matthias Brugger <mbrugger@suse.com>

This patch adds the binding for the MT6797 SoC.

Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
---
 Documentation/devicetree/bindings/watchdog/mtk-wdt.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/watchdog/mtk-wdt.txt b/Documentation/devicetree/bindings/watchdog/mtk-wdt.txt
index b0d8d3a9d79e..20ada673ab0c 100644
--- a/Documentation/devicetree/bindings/watchdog/mtk-wdt.txt
+++ b/Documentation/devicetree/bindings/watchdog/mtk-wdt.txt
@@ -5,6 +5,7 @@ Required properties:
 - compatible should contain:
 	"mediatek,mt2701-wdt", "mediatek,mt6589-wdt": for MT2701
 	"mediatek,mt6589-wdt": for MT6589
+	"mediatek,mt6797-wdt", "mediatek,mt6589-wdt": for MT6797
 
 - reg : Specifies base physical address and size of the registers.
 
-- 
2.12.3

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

* [PATCH 3/4] arm64: dts: mediatek: add watchdog to MT6796
  2017-07-20 10:22 [PATCH 1/4] ARM: mediatek: dts: Cleanup bindings documentation Matthias Brugger
  2017-07-20 10:22 ` [PATCH 2/4] ARM: mediatek: dts: Add mt6796 binding Matthias Brugger
@ 2017-07-20 10:22 ` Matthias Brugger
  2017-07-20 10:22 ` [PATCH 4/4] arm64: dts: mediatek: Delete unused dummy clock for MT6797 Matthias Brugger
  2017-07-24 19:56 ` [PATCH 1/4] ARM: mediatek: dts: Cleanup bindings documentation Rob Herring
  3 siblings, 0 replies; 7+ messages in thread
From: Matthias Brugger @ 2017-07-20 10:22 UTC (permalink / raw)
  To: wim, linux, robh+dt, mark.rutland, catalin.marinas, will.deacon
  Cc: linux-watchdog, devicetree, linux-arm-kernel, linux-mediatek,
	linux-kernel, Matthias Brugger, Matthias Brugger

From: Matthias Brugger <mbrugger@suse.com>

This patch adds the watchdog driver to the MT6796 SoC.

Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
---
 arch/arm64/boot/dts/mediatek/mt6797.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm64/boot/dts/mediatek/mt6797.dtsi b/arch/arm64/boot/dts/mediatek/mt6797.dtsi
index 31088a9f71de..1cb45219ef05 100644
--- a/arch/arm64/boot/dts/mediatek/mt6797.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt6797.dtsi
@@ -147,6 +147,11 @@
 		infracfg = <&infrasys>;
 	};
 
+	watchdog: watchdog@10007000 {
+		compatible = "mediatek,mt6797-wdt", "mediatek,mt6589-wdt";
+		reg = <0 0x10007000 0 0x100>;
+	};
+
 	apmixedsys: apmixed@1000c000 {
 		compatible = "mediatek,mt6797-apmixedsys";
 		reg = <0 0x1000c000 0 0x1000>;
-- 
2.12.3

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

* [PATCH 4/4] arm64: dts: mediatek: Delete unused dummy clock for MT6797
  2017-07-20 10:22 [PATCH 1/4] ARM: mediatek: dts: Cleanup bindings documentation Matthias Brugger
  2017-07-20 10:22 ` [PATCH 2/4] ARM: mediatek: dts: Add mt6796 binding Matthias Brugger
  2017-07-20 10:22 ` [PATCH 3/4] arm64: dts: mediatek: add watchdog to MT6796 Matthias Brugger
@ 2017-07-20 10:22 ` Matthias Brugger
  2017-07-24 19:56 ` [PATCH 1/4] ARM: mediatek: dts: Cleanup bindings documentation Rob Herring
  3 siblings, 0 replies; 7+ messages in thread
From: Matthias Brugger @ 2017-07-20 10:22 UTC (permalink / raw)
  To: wim, linux, robh+dt, mark.rutland, catalin.marinas, will.deacon
  Cc: linux-watchdog, devicetree, linux-arm-kernel, linux-mediatek,
	linux-kernel, Matthias Brugger

After adding the clock subsystem to the SOC, the dummy
clock clk32k is not longer needed. Delete it.

Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
---
 arch/arm64/boot/dts/mediatek/mt6797.dtsi | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/arch/arm64/boot/dts/mediatek/mt6797.dtsi b/arch/arm64/boot/dts/mediatek/mt6797.dtsi
index 1cb45219ef05..4beaa71107d7 100644
--- a/arch/arm64/boot/dts/mediatek/mt6797.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt6797.dtsi
@@ -108,13 +108,6 @@
 		clock-output-names = "clk26m";
 	};
 
-	clk32k: oscillator@1 {
-		compatible = "fixed-clock";
-		#clock-cells = <0>;
-		clock-frequency = <32000>;
-		clock-output-names = "clk32k";
-	};
-
 	timer {
 		compatible = "arm,armv8-timer";
 		interrupt-parent = <&gic>;
-- 
2.12.3

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

* Re: [PATCH 1/4] ARM: mediatek: dts: Cleanup bindings documentation
  2017-07-20 10:22 [PATCH 1/4] ARM: mediatek: dts: Cleanup bindings documentation Matthias Brugger
                   ` (2 preceding siblings ...)
  2017-07-20 10:22 ` [PATCH 4/4] arm64: dts: mediatek: Delete unused dummy clock for MT6797 Matthias Brugger
@ 2017-07-24 19:56 ` Rob Herring
  2017-08-01 13:44   ` Matthias Brugger
  3 siblings, 1 reply; 7+ messages in thread
From: Rob Herring @ 2017-07-24 19:56 UTC (permalink / raw)
  To: Matthias Brugger
  Cc: wim, linux, mark.rutland, catalin.marinas, will.deacon,
	linux-watchdog, devicetree, linux-arm-kernel, linux-mediatek,
	linux-kernel, Matthias Brugger

On Thu, Jul 20, 2017 at 12:22:44PM +0200, Matthias Brugger wrote:
> From: Matthias Brugger <mbrugger@suse.com>
> 
> This patch cleans up the binding documentation stating explicitly
> the binding and it's fallback for every SoC.
> 
> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
> ---
>  Documentation/devicetree/bindings/watchdog/mtk-wdt.txt | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)

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

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

* Re: [PATCH 2/4] ARM: mediatek: dts: Add mt6796 binding
  2017-07-20 10:22 ` [PATCH 2/4] ARM: mediatek: dts: Add mt6796 binding Matthias Brugger
@ 2017-07-24 19:57   ` Rob Herring
  0 siblings, 0 replies; 7+ messages in thread
From: Rob Herring @ 2017-07-24 19:57 UTC (permalink / raw)
  To: Matthias Brugger
  Cc: wim, linux, mark.rutland, catalin.marinas, will.deacon,
	linux-watchdog, devicetree, linux-arm-kernel, linux-mediatek,
	linux-kernel, Matthias Brugger

On Thu, Jul 20, 2017 at 12:22:45PM +0200, Matthias Brugger wrote:
> From: Matthias Brugger <mbrugger@suse.com>
> 
> This patch adds the binding for the MT6797 SoC.
> 
> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
> ---
>  Documentation/devicetree/bindings/watchdog/mtk-wdt.txt | 1 +
>  1 file changed, 1 insertion(+)

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

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

* Re: [PATCH 1/4] ARM: mediatek: dts: Cleanup bindings documentation
  2017-07-24 19:56 ` [PATCH 1/4] ARM: mediatek: dts: Cleanup bindings documentation Rob Herring
@ 2017-08-01 13:44   ` Matthias Brugger
  0 siblings, 0 replies; 7+ messages in thread
From: Matthias Brugger @ 2017-08-01 13:44 UTC (permalink / raw)
  To: Rob Herring
  Cc: wim, linux, mark.rutland, catalin.marinas, will.deacon,
	linux-watchdog, devicetree, linux-arm-kernel, linux-mediatek,
	linux-kernel, Matthias Brugger



On 07/24/2017 09:56 PM, Rob Herring wrote:
> On Thu, Jul 20, 2017 at 12:22:44PM +0200, Matthias Brugger wrote:
>> From: Matthias Brugger <mbrugger@suse.com>
>>
>> This patch cleans up the binding documentation stating explicitly
>> the binding and it's fallback for every SoC.
>>
>> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
>> ---
>>   Documentation/devicetree/bindings/watchdog/mtk-wdt.txt | 5 ++---
>>   1 file changed, 2 insertions(+), 3 deletions(-)
> 
> Acked-by: Rob Herring <robh@kernel.org>
> 

Thanks. Whole series pushed now to v4.13-next/dts64

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

end of thread, other threads:[~2017-08-01 13:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-20 10:22 [PATCH 1/4] ARM: mediatek: dts: Cleanup bindings documentation Matthias Brugger
2017-07-20 10:22 ` [PATCH 2/4] ARM: mediatek: dts: Add mt6796 binding Matthias Brugger
2017-07-24 19:57   ` Rob Herring
2017-07-20 10:22 ` [PATCH 3/4] arm64: dts: mediatek: add watchdog to MT6796 Matthias Brugger
2017-07-20 10:22 ` [PATCH 4/4] arm64: dts: mediatek: Delete unused dummy clock for MT6797 Matthias Brugger
2017-07-24 19:56 ` [PATCH 1/4] ARM: mediatek: dts: Cleanup bindings documentation Rob Herring
2017-08-01 13:44   ` Matthias Brugger

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).