]> asedeno.scripts.mit.edu Git - linux.git/commit
clk: sunxi: Add H3 clocks support
authorJens Kuske <jenskuske@gmail.com>
Fri, 4 Dec 2015 21:24:40 +0000 (22:24 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 8 Dec 2015 08:11:53 +0000 (09:11 +0100)
commitab6e23a4e388f5f2696b8e92c350f845142da118
tree646a03ca6d4c81870066d697af1838762a5a5971
parent6d3a47c29186aa8d26ff05a6209c94291ace0696
clk: sunxi: Add H3 clocks support

The H3 clock control unit is similar to the those of other sun8i family
members like the A23.

It adds a new bus gates clock similar to the simple gates, but with a
different parent clock for each single gate.
Some of the gates use the new AHB2 clock as parent, whose clock source
is muxable between AHB1 and PLL6/2. The documentation isn't totally clear
about which devices belong to AHB2 now, especially USB EHIC/OHIC, so it
is mostly based on Allwinner kernel source code.

Signed-off-by: Jens Kuske <jenskuske@gmail.com>
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/Makefile
drivers/clk/sunxi/clk-sun8i-bus-gates.c [new file with mode: 0644]
drivers/clk/sunxi/clk-sunxi.c