android_kernel_xiaomi_sm8350/arch/arm/mach-ep93xx
Hartley Sweeten ebd00c08e2 ARM: 5756/1: ep93xx: introduce clk parent
The clock generation system in the ep93xx uses two external oscillator's
and two internal PLLs to derive all the internal clocks.  Many of these
internal clocks can be stopped to save power.

This introduces a "parent" hierarchy for the clocks so that the users
count can be correctly tracked for power management.

The "parent" for the video clock can either be one of the PLL outputs
or the external oscillator.  In order to correctly track the "parent"
for the video clock calc_clk_div() needed to be modified.  It now
returns an error code if the desired rate cannot be generated.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: Ryan Mallon <ryan@bluewatersys.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2009-10-10 12:45:13 +01:00
..
include/mach ARM: 5754/1: ep93xx: update i2c support 2009-10-10 12:45:13 +01:00
adssphere.c [ARM] 5592/1: ep93xx: cleanup platform header includes 2009-07-09 16:13:44 +01:00
clock.c ARM: 5756/1: ep93xx: introduce clk parent 2009-10-10 12:45:13 +01:00
core.c ARM: 5754/1: ep93xx: update i2c support 2009-10-10 12:45:13 +01:00
dma-m2p.c [ARM] 5595/1: ep93xx: missing header in dma-m2p.c 2009-07-09 16:11:48 +01:00
edb93xx.c ARM: 5754/1: ep93xx: update i2c support 2009-10-10 12:45:13 +01:00
gesbc9312.c [ARM] 5592/1: ep93xx: cleanup platform header includes 2009-07-09 16:13:44 +01:00
gpio.c [ARM] 5605/1: Fix ep93xx gpio.c headers 2009-07-17 13:35:58 +01:00
Kconfig ARM: 5751/1: ep93xx/micro9: Add Micro9-Slim 2009-10-07 13:15:15 +01:00
Makefile [ARM] 5504/1: ep93xx: Merge all edb93xx platforms 2009-05-15 20:42:57 +01:00
Makefile.boot ARM: 5744/1: ep93xx: add remaining phys offset selections 2009-10-07 13:11:56 +01:00
micro9.c ARM: 5751/1: ep93xx/micro9: Add Micro9-Slim 2009-10-07 13:15:15 +01:00
ts72xx.c Merge branch 'master' into devel 2009-09-12 12:04:37 +01:00