OSDN Git Service

arm64: dts: marvell: armada-37xx: add syscon compatible to NB clk node
authorMarek Behún <kabel@kernel.org>
Thu, 14 Jan 2021 12:40:23 +0000 (13:40 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 22 May 2021 08:59:12 +0000 (10:59 +0200)
commit 1d88358a89dbac9c7d4559548b9a44840456e6fb upstream.

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: e8d66e7927b2 ("arm64: dts: marvell: armada-37xx: add nodes...")
Cc: stable@vger.kernel.org
Cc: Gregory CLEMENT <gregory.clement@free-electrons.com>
Cc: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/boot/dts/marvell/armada-37xx.dtsi

index d9531e2..3a61125 100644 (file)
                        };
 
                        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>;