diff options
author | Sekhar Nori <nsekhar@ti.com> | 2012-08-29 17:18:52 (GMT) |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2012-10-27 10:58:31 (GMT) |
commit | 76d57ce6ef6060f611c14675249b7300a3c96368 (patch) | |
tree | ee5aff6789cc9b5d79caca405cc622cb29669aae /arch/arm/mach-davinci/include | |
parent | b6f1ffed9d8a830ab94fd3fc6182e2fc8c77cba0 (diff) | |
download | linux-fsl-qoriq-76d57ce6ef6060f611c14675249b7300a3c96368.tar.xz |
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')
-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 46b3cd1..2d9d921 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 */ |