diff mbox series

[mvebu,1/3] arm64: dts: marvell: armada-37xx: fix syscon compatible to NB clk node

Message ID 20201007193522.9265-2-kabel@kernel.org (mailing list archive)
State Deferred
Headers show
Series Armada 37xx: Fix cpufreq changing base CPU speed to 800 MHz from 1000 MHz | expand

Commit Message

Marek Behún Oct. 7, 2020, 7:35 p.m. UTC
Add "syscon" compatible to the North Bridge clocks node to allow the
cpufreq driver to access these registers via syscon API.

This is needed for a fix of cpufreq driver.

Signed-off-by: Marek Behún <kabel@kernel.org>
Fixes: e8d66e7927b2a ("arm64: dts: marvell: armada-37xx: add nodes...")
Cc: Gregory CLEMENT <gregory.clement@free-electrons.com>
Cc: Miquel Raynal <miquel.raynal@bootlin.com>
---
 arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Marek Behún Oct. 7, 2020, 8:23 p.m. UTC | #1
On Wed,  7 Oct 2020 21:35:20 +0200
Marek Behún <kabel@kernel.org> wrote:

The subject was meant to be
  add syscon compatible to NB clk node
instead of
  fix syscon compatible to NB clk node

:(
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
index 2bbc69b4dc99..d8cb2a0284c8 100644
--- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
+++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
@@ -156,7 +156,8 @@  uart1: serial@12200 {
 			};
 
 			nb_periph_clk: nb-periph-clk@13000 {
-				compatible = "marvell,armada-3700-periph-clock-nb";
+				compatible = "marvell,armada-3700-periph-clock-nb",
+					     "syscon";
 				reg = <0x13000 0x100>;
 				clocks = <&tbg 0>, <&tbg 1>, <&tbg 2>,
 				<&tbg 3>, <&xtalclk>;