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
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
edb9302a.c
edb9307.c
edb9307a.c
edb9312.c
edb9315.c
edb9315a.c
gesbc9312.c
gpio.c
Kconfig
Makefile [ARM] 5414/2: ep93xx m2p dma core 2009-03-03 12:20:11 +00:00
Makefile.boot
micro9.c
ts72xx.c