diff options
author | Sekhar Nori <nsekhar@ti.com> | 2012-08-29 19:18:52 +0200 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2012-10-27 12:58:31 +0200 |
commit | 76d57ce6ef6060f611c14675249b7300a3c96368 (patch) | |
tree | ee5aff6789cc9b5d79caca405cc622cb29669aae /arch/arm/mach-davinci/include/mach | |
parent | ARM: davinci: convert platform code to use clk_prepare/clk_unprepare (diff) | |
download | linux-76d57ce6ef6060f611c14675249b7300a3c96368.tar.xz linux-76d57ce6ef6060f611c14675249b7300a3c96368.zip |
ARM: davinci: serial: provide API to initialze UART clocks
Provide an API to initialize a UART clock. Refactor existing
davinci_serial_init() to separate out the part which enables
the clock.
This will later be used to help DA850 DT boot support.
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci/include/mach')
-rw-r--r-- | arch/arm/mach-davinci/include/mach/serial.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/include/mach/serial.h b/arch/arm/mach-davinci/include/mach/serial.h index 46b3cd11c3c2..2d9d921e8b01 100644 --- a/arch/arm/mach-davinci/include/mach/serial.h +++ b/arch/arm/mach-davinci/include/mach/serial.h @@ -43,6 +43,7 @@ struct davinci_uart_config { }; extern int davinci_serial_init(struct davinci_uart_config *); +extern int davinci_serial_setup_clk(unsigned instance, unsigned int *rate); #endif #endif /* __ASM_ARCH_SERIAL_H */ |