Skip to contentSkip to conversation

ARM: mediatek: dts: Cleanup bindings documentation

PATCH In review Matthias Brugger 2 participants 7 messages Jul 20, 2017 – Aug 1, 2017

Subsystems (3)
lore
Share & tools
lore

Matthias Brugger

author maintainer
#0 lore raw

PATCH 1/4 ARM: mediatek: dts: Cleanup bindings documentation

From: Matthias Brugger <[email protected]>

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

---
 Documentation/devicetree/bindings/watchdog/mtk-wdt.txt | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/watchdog/mtk-wdt.txt +2 -3
index 6a00939a059a..b0d8d3a9d79e 100644
@@ -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.
 
Signature · 1 line
2.12.3
author maintainer
#1 lore raw

PATCH 2/4 ARM: mediatek: dts: Add mt6796 binding

From: Matthias Brugger <[email protected]>

This patch adds the binding for the MT6797 SoC.

---
 Documentation/devicetree/bindings/watchdog/mtk-wdt.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/watchdog/mtk-wdt.txt +1 -0
index b0d8d3a9d79e..20ada673ab0c 100644
@@ -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.
 
Signature · 1 line
2.12.3
author maintainer
#3 lore raw

PATCH 3/4 arm64: dts: mediatek: add watchdog to MT6796

In reply to Matthias Brugger

From: Matthias Brugger <[email protected]>

This patch adds the watchdog driver to the MT6796 SoC.

---
 arch/arm64/boot/dts/mediatek/mt6797.dtsi | 5 +++++
 1 file changed, 5 insertions(+)
arch/arm64/boot/dts/mediatek/mt6797.dtsi +5 -0
index 31088a9f71de..1cb45219ef05 100644
@@ -147,6 +147,11 @@
 		infracfg = <&infrasys>;
 	};
 
+	watchdog: watchdog at 10007000 {
+		compatible = "mediatek,mt6797-wdt", "mediatek,mt6589-wdt";
+		reg = <0 0x10007000 0 0x100>;
+	};
+
 	apmixedsys: apmixed at 1000c000 {
 		compatible = "mediatek,mt6797-apmixedsys";
 		reg = <0 0x1000c000 0 0x1000>;
Signature · 1 line
2.12.3
author maintainer
#4 lore raw

PATCH 4/4 arm64: dts: mediatek: Delete unused dummy clock for MT6797

In reply to Matthias Brugger

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

---
 arch/arm64/boot/dts/mediatek/mt6797.dtsi | 7 -------
 1 file changed, 7 deletions(-)
arch/arm64/boot/dts/mediatek/mt6797.dtsi +0 -7
index 1cb45219ef05..4beaa71107d7 100644
@@ -108,13 +108,6 @@
 		clock-output-names = "clk26m";
 	};
 
-	clk32k: oscillator at 1 {
-		compatible = "fixed-clock";
-		#clock-cells = <0>;
-		clock-frequency = <32000>;
-		clock-output-names = "clk32k";
-	};
-
 	timer {
 		compatible = "arm,armv8-timer";
 		interrupt-parent = <&gic>;
Signature · 1 line
2.12.3
maintainer Acked-by on v1 1/4
#5 lore raw
In reply to Matthias Brugger
Quoted 9 lines · Matthias Brugger

From: Matthias Brugger <[email protected]>

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

---
 Documentation/devicetree/bindings/watchdog/mtk-wdt.txt | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
author maintainer
#6 lore raw
Quoted 6 lines · Rob Herring
Quoted 5 lines · Matthias Brugger

From: Matthias Brugger <[email protected]>

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

Quoted 7 lines
Quoted 4 lines
---
  Documentation/devicetree/bindings/watchdog/mtk-wdt.txt | 5 ++---
  1 file changed, 2 insertions(+), 3 deletions(-)

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