]> git.karo-electronics.de Git - linux-beck.git/commit
clk: sunxi: Add DRAM gates support for sun4i-a10
authorChen-Yu Tsai <wens@csie.org>
Sat, 5 Dec 2015 13:16:42 +0000 (21:16 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 7 Dec 2015 08:58:17 +0000 (09:58 +0100)
commit6d3a47c29186aa8d26ff05a6209c94291ace0696
tree74c04bf95a70c2ea1c04aa55e1af2c1595500e02
parent77d16e2c66c86afc0130822b816ae26790a241fb
clk: sunxi: Add DRAM gates support for sun4i-a10

The A10/A20 share the same set of DRAM clock gates, which controls
direct memory access for some peripherals.

On the A10, bit 15 controls the system's DRAM clock output (possibly
to the DRAM chips), which we need to keep on.

On the A20 this has been moved to the DRAM controller, becoming a no-op.
However it is still listed in the user manual, so add it anyway.

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