summaryrefslogtreecommitdiffstats
path: root/drivers/clk/sunxi/clk-simple-gates.c
diff options
context:
space:
mode:
authorVishnu Patekar <vishnupatekar0510@gmail.com>2016-01-31 02:20:54 +0100
committerMaxime Ripard <maxime.ripard@free-electrons.com>2016-02-02 14:11:46 +0100
commit2d6f5f0cf6bfb17b8f0102cabe0665098ce0a865 (patch)
tree8316dee65eca80c1abd62ca54d22e35febec7dad /drivers/clk/sunxi/clk-simple-gates.c
parentclk: sunxi: rewrite sun8i-a23-mbus-clk using the simpler composite clk (diff)
downloadlinux-2d6f5f0cf6bfb17b8f0102cabe0665098ce0a865.tar.xz
linux-2d6f5f0cf6bfb17b8f0102cabe0665098ce0a865.zip
clk: sunxi: Add apb0 gates for A83T
APB0 is part of PRCM, and is compatible with earlier SOCs. apb0 gates controls R_PIO, R_UART, R_RSB, etc clocks. This patch adds support for APB0 gates for A83T. Signed-off-by: Vishnu Patekar <vishnupatekar0510@gmail.com> Acked-by: Rob Herring <robh@kernel.org> Acked-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'drivers/clk/sunxi/clk-simple-gates.c')
-rw-r--r--drivers/clk/sunxi/clk-simple-gates.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/clk/sunxi/clk-simple-gates.c b/drivers/clk/sunxi/clk-simple-gates.c
index f4da52b5ca0e..2cfc5a8a5534 100644
--- a/drivers/clk/sunxi/clk-simple-gates.c
+++ b/drivers/clk/sunxi/clk-simple-gates.c
@@ -130,6 +130,8 @@ CLK_OF_DECLARE(sun8i_a23_apb2, "allwinner,sun8i-a23-apb2-gates-clk",
sunxi_simple_gates_init);
CLK_OF_DECLARE(sun8i_a33_ahb1, "allwinner,sun8i-a33-ahb1-gates-clk",
sunxi_simple_gates_init);
+CLK_OF_DECLARE(sun8i_a83t_apb0, "allwinner,sun8i-a83t-apb0-gates-clk",
+ sunxi_simple_gates_init);
CLK_OF_DECLARE(sun9i_a80_ahb0, "allwinner,sun9i-a80-ahb0-gates-clk",
sunxi_simple_gates_init);
CLK_OF_DECLARE(sun9i_a80_ahb1, "allwinner,sun9i-a80-ahb1-gates-clk",