android_kernel_xiaomi_sm8350/arch/arm/mach-ep93xx
Hartley Sweeten ff05c0330b [ARM] 5509/1: ep93xx: clkdev enable UARTS
Fix the clkdev API support for the ep93xx uart clocks.

The uarts available in the ep93xx have individual clock controls.
The current implementation assumes that the bootloader has enabled
the clocks before the kernel has booted. It also assumes that the
bootloader has set the UARTBAUD bit indicating that the uarts are
running off the 14.7456MHz external crystal.

This fixes both issues. It also allows the uart clocks to be stopped
when there are no users.

Tested-by: Matthias Kaehlcke <matthias@kaehlcke.net>

Cc: Ryan Mallon <ryan@bluewatersys.com>
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2009-05-16 19:55:56 +01:00
..
include/mach [ARM] 5509/1: ep93xx: clkdev enable UARTS 2009-05-16 19:55:56 +01:00
adssphere.c [ARM] 5343/1: ep93xx: include linux/i2c.h 2008-12-13 09:12:09 +00:00
clock.c [ARM] 5509/1: ep93xx: clkdev enable UARTS 2009-05-16 19:55:56 +01:00
core.c [ARM] 5451/1: ep93xx:core.c: build warning fix 2009-04-15 10:01:03 +01:00
dma-m2p.c [ARM] 5414/2: ep93xx m2p dma core 2009-03-03 12:20:11 +00:00
edb9302.c [ARM] 5343/1: ep93xx: include linux/i2c.h 2008-12-13 09:12:09 +00:00
edb9302a.c [ARM] 5343/1: ep93xx: include linux/i2c.h 2008-12-13 09:12:09 +00:00
edb9307.c [ARM] 5343/1: ep93xx: include linux/i2c.h 2008-12-13 09:12:09 +00:00
edb9307a.c [ARM] 5371/1: ep93xx: add i2c device to edb9307a 2009-02-10 11:24:20 +00:00
edb9312.c [ARM] 5343/1: ep93xx: include linux/i2c.h 2008-12-13 09:12:09 +00:00
edb9315.c [ARM] 5343/1: ep93xx: include linux/i2c.h 2008-12-13 09:12:09 +00:00
edb9315a.c [ARM] 5343/1: ep93xx: include linux/i2c.h 2008-12-13 09:12:09 +00:00
gesbc9312.c [ARM] 5343/1: ep93xx: include linux/i2c.h 2008-12-13 09:12:09 +00:00
gpio.c Merge branches 'machtypes', 'core', 'ep93xx', 'ks8695', 'netdev' and 'sa1100' into devel 2008-10-09 21:31:54 +01:00
Kconfig [ARM] 5309/1: ep93xx: add edb9307a platform 2008-12-01 17:22:08 +00:00
Makefile [ARM] 5414/2: ep93xx m2p dma core 2009-03-03 12:20:11 +00:00
Makefile.boot
micro9.c [ARM] 5343/1: ep93xx: include linux/i2c.h 2008-12-13 09:12:09 +00:00
ts72xx.c [ARM] 5343/1: ep93xx: include linux/i2c.h 2008-12-13 09:12:09 +00:00