]> git.baikalelectronics.ru Git - kernel.git/commit
clk: sunxi: Add support for sun9i A80 USB clocks and resets
authorChen-Yu Tsai <wens@csie.org>
Tue, 27 Jan 2015 19:54:07 +0000 (03:54 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 23 Feb 2015 08:25:54 +0000 (09:25 +0100)
commit2eeb6f79904b2a6148bac0b68106701af74cb0bd
treea558860eda063760e331be9389c77f34dc7cde94
parent1b490cfc7e0f9af23919aa4f722521a0c7db1c4c
clk: sunxi: Add support for sun9i A80 USB clocks and resets

The USB controller/phy clocks and reset controls are in a separate
address block, unlike previous SoCs where they were in the clock
controller. Also, access to the address block is controlled by a
clock gate to AHB.

Add support for resets requiring a clock to be enabled when
asserting/deasserting the reset controls, and add the sun9i USB
clocks.

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-usb.c