clk: sunxi: Add sun9i A80 apbs gates support
authorChen-Yu Tsai <wens@csie.org>
Sun, 29 Nov 2015 03:03:07 +0000 (11:03 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 1 Dec 2015 11:15:47 +0000 (12:15 +0100)
This patch adds support for the PRCM apbs clock gates found on the
Allwinner A80 SoC.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Documentation/devicetree/bindings/clock/sunxi.txt
drivers/clk/sunxi/clk-simple-gates.c

index a94bb56a0e9e5ecfdcc6a275221e9ce59959ffc7..b6859ed6913f88e78609c6e9761ee09ff67c93d8 100644 (file)
@@ -55,6 +55,7 @@ Required properties:
        "allwinner,sun9i-a80-apb1-gates-clk" - for the APB1 gates on A80
        "allwinner,sun6i-a31-apb2-gates-clk" - for the APB2 gates on A31
        "allwinner,sun8i-a23-apb2-gates-clk" - for the APB2 gates on A23
+       "allwinner,sun9i-a80-apbs-gates-clk" - for the APBS gates on A80
        "allwinner,sun5i-a13-mbus-clk" - for the MBUS clock on A13
        "allwinner,sun4i-a10-mmc-clk" - for the MMC clock
        "allwinner,sun9i-a80-mmc-clk" - for mmc module clocks on A80
index 0214c6548afd19da86fb114db63f75c7d64a9c37..c8acc0612c15c646e8d6c15d189a3c512c145abf 100644 (file)
@@ -140,6 +140,8 @@ CLK_OF_DECLARE(sun9i_a80_apb0, "allwinner,sun9i-a80-apb0-gates-clk",
               sunxi_simple_gates_init);
 CLK_OF_DECLARE(sun9i_a80_apb1, "allwinner,sun9i-a80-apb1-gates-clk",
               sunxi_simple_gates_init);
+CLK_OF_DECLARE(sun9i_a80_apbs, "allwinner,sun9i-a80-apbs-gates-clk",
+              sunxi_simple_gates_init);
 
 static const int sun4i_a10_ahb_critical_clocks[] __initconst = {
        14,     /* ahb_sdram */