Add common serial driver for Atmel AT32 and AT91 chips
authorWolfgang Denk <wd@pollux.denx.de>
Tue, 24 Oct 2006 12:31:24 +0000 (14:31 +0200)
committerWolfgang Denk <wd@pollux.denx.de>
Tue, 24 Oct 2006 12:31:24 +0000 (14:31 +0200)
commitf93ae788c3640fcde5db383471d45548ff4060d0
tree5e1fdc2b4a37adbe7695ef9db1cc9335febba087
parent72a087e04705c26cad982879ebd06b5281bf825a
Add common serial driver for Atmel AT32 and AT91 chips
Patch by Haavard Skinnemoen, 06 Sep 2006

This is a first attempt at creating a common serial driver for Atmel
chips. For now, it supports the AT32AP7000 AVR32 chip, but it should
be possible to support AT91RM9200 and other ARM-based chips with some
minor modifications.

There's nothing fundamentally AVR32-specific in this driver, but it
does use some features which are currently only defined for the
AT32AP CPU port:
  * pm_get_clock_freq: Obtain the clock frequency of a given domain
  * gd->console_uart: A "struct device" containing information about
    register mappings, gpio resources and clocks associated with the
    UART device.

For more information about these features, please see the "AT32AP
CPU" patch.
drivers/Makefile
drivers/atmel_usart.c [new file with mode: 0644]
drivers/atmel_usart.h [new file with mode: 0644]