Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: sunxi: Add sun9i A80 apbs gates support

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>

authored by

Chen-Yu Tsai and committed by
Maxime Ripard
bfcba2ed 7bec0200

+3
+1
Documentation/devicetree/bindings/clock/sunxi.txt
··· 55 55 "allwinner,sun9i-a80-apb1-gates-clk" - for the APB1 gates on A80 56 56 "allwinner,sun6i-a31-apb2-gates-clk" - for the APB2 gates on A31 57 57 "allwinner,sun8i-a23-apb2-gates-clk" - for the APB2 gates on A23 58 + "allwinner,sun9i-a80-apbs-gates-clk" - for the APBS gates on A80 58 59 "allwinner,sun5i-a13-mbus-clk" - for the MBUS clock on A13 59 60 "allwinner,sun4i-a10-mmc-clk" - for the MMC clock 60 61 "allwinner,sun9i-a80-mmc-clk" - for mmc module clocks on A80
+2
drivers/clk/sunxi/clk-simple-gates.c
··· 140 140 sunxi_simple_gates_init); 141 141 CLK_OF_DECLARE(sun9i_a80_apb1, "allwinner,sun9i-a80-apb1-gates-clk", 142 142 sunxi_simple_gates_init); 143 + CLK_OF_DECLARE(sun9i_a80_apbs, "allwinner,sun9i-a80-apbs-gates-clk", 144 + sunxi_simple_gates_init); 143 145 144 146 static const int sun4i_a10_ahb_critical_clocks[] __initconst = { 145 147 14, /* ahb_sdram */