Skip to content

Commit

Permalink
serial: sirf: make the driver also support USP-based UART
Browse files Browse the repository at this point in the history
Universal Serial Ports (USP) can be used as PCM, UART, SPI,
I2S etc. this makes the USP work as UART. the basic work
flow is same with UART controller, the main difference will
be offset of registers and bits.

this patch makes the old sirfsoc uart driver support both
sirf UART and USP-based UART by making their differences
become private data.

Signed-off-by: Qipan Li <Qipan.Li@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Qipan Li authored and Greg Kroah-Hartman committed Aug 12, 2013
1 parent 909102d commit 5df8311
Show file tree
Hide file tree
Showing 2 changed files with 655 additions and 298 deletions.
Loading

0 comments on commit 5df8311

Please sign in to comment.