Skip to contentSkip to conversation

arm64: dts: Delete unused dummy clocks

PATCH In review Matthias Brugger 2 participants 2 messages Jun 20, 2017 – Jun 21, 2017

Subsystems (2)
lore
Share & tools
lore

Matthias Brugger

author maintainer
#0 lore raw

PATCH 1/1 arm64: dts: Delete unused dummy clocks

After adding the clock subsystem to the SOC, the dummy clocks clk26m and clk32k are not longer needed. Delete them.

---
 arch/arm64/boot/dts/mediatek/mt6797.dtsi | 14 --------------
 1 file changed, 14 deletions(-)
arch/arm64/boot/dts/mediatek/mt6797.dtsi +0 -14
index 3512c8e6dc65..09d46befa86b 100644
@@ -102,20 +102,6 @@
 		};
 	};
 
-	clk26m: oscillator at 0 {
-		compatible = "fixed-clock";
-		#clock-cells = <0>;
-		clock-frequency = <26000000>;
-		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
#1 lore raw

Hi Matthias

Quoted 13 lines · Matthias Brugger

After adding the clock subsystem to the SOC, the dummy clocks clk26m and clk32k are not longer needed. Delete them.

---
 arch/arm64/boot/dts/mediatek/mt6797.dtsi | 14 --------------
 1 file changed, 14 deletions(-)
arch/arm64/boot/dts/mediatek/mt6797.dtsi +0 -0
index 3512c8e6dc65..09d46befa86b 100644

arch/arm64/boot/dts/mediatek/mt6797.dtsi line 110

Quoted 9 lines
arch/arm64/boot/dts/mediatek/mt6797.dtsi +0 -6
@@ -102,20 +102,6 @@
 		};
 	};
 
-	clk26m: oscillator at 0 {
-		compatible = "fixed-clock";
-		#clock-cells = <0>;
-		clock-frequency = <26000000>;
-		clock-output-names = "clk26m";
-	};

clk26m is referenced by drivers/clk/mediatek/clk-mt6797.c:

static const char * const axi_parents[] = {
	"clk26m",
	"syspll_d7",
	"ulposc_axi_ck_mux",
};

Please just delete clk32k which is dummy, and keep clk26m. Or might get PLL wrongly.

Thanks.

Quoted 11 lines
arch/arm64/boot/dts/mediatek/mt6797.dtsi +0 -8
-
-	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>;