[U-Boot] [PATCH v2 0/9] dm: Introduce driver model for Atmel at91

Simon Glass sjg at chromium.org
Thu Nov 13 03:44:17 CET 2014


Hi,

On 29 October 2014 13:08, Simon Glass <sjg at chromium.org> wrote:
> This series adds driver model support for serial and GPIO for the Atmel AT91
> series. The at91sam9260-based Snapper 9260 is converted over as an example.
>
> For both drivers the old behaviour is retained, so driver model becomes
> optional, not mandatory.
>
> This series is available at u-boot-dm/atmel-working.

Are there any comments on this version please? Otherwise I would like
to pull it into u-boot-dm and start sorting out the Kconfig things
(i.e. get rid of the CONFIG options for the 7-8 boards I have
touched).

>
> Changes in v2:
> - Use a text base of 0x21f00000
> - Remove unnecessary port number check
> - Use GPIO_PER_BANK instead of 32 in more places
> - Use PA/PB/PC instead of A/B/C for GPIO port names
> - Rename header to atmel_serial.h and use atmel instead of at91 throughout
> - Update platform data and header #include for the new driver name
> - Add new patch to add myself as maintainer for snapper9260
> - Add a patch to implement baud rate changes
>
> Simon Glass (9):
>   dm: at91: Correct text base for snapper9260
>   dm: at91: Move snapper9260 to generic baord
>   dm: at91: Add driver model support for atmel GPIO driver
>   dm: at91: Add platform data for GPIO on at91sam9260-based boards
>   dm: at91: Refactor serial driver slightly for driver model
>   dm: at91: Add driver model support for the serial driver
>   dm: at91: Convert snapper9260 to use driver model
>   dm: at91: Add myself as maintainer for snapper9260
>   dm: serial: Support changing the baud rate
>
>  arch/arm/cpu/arm926ejs/at91/at91sam9260_devices.c |  14 ++
>  arch/arm/include/asm/arch-at91/at91sam9260.h      |   4 +-
>  arch/arm/include/asm/arch-at91/atmel_serial.h     |  15 ++
>  arch/arm/include/asm/arch-at91/gpio.h             |   6 +
>  board/bluewater/snapper9260/MAINTAINERS           |   2 +-
>  board/bluewater/snapper9260/snapper9260.c         |  18 +-
>  drivers/gpio/at91_gpio.c                          | 241 +++++++++++++++++-----
>  drivers/serial/atmel_usart.c                      | 116 ++++++++++-
>  drivers/serial/serial-uclass.c                    |  67 ++++++
>  include/configs/snapper9260.h                     |  12 +-
>  10 files changed, 426 insertions(+), 69 deletions(-)
>  create mode 100644 arch/arm/include/asm/arch-at91/atmel_serial.h
>
> --
> 2.1.0.rc2.206.gedb03e5
>

Regards,
Simon


More information about the U-Boot mailing list