[U-Boot] [PATCH v7 0/4] ARM: AT91: Add AT91 PIO4 pinctrl driver and gpio driver with DM

Wenyou.Yang at microchip.com Wenyou.Yang at microchip.com
Wed Aug 10 03:08:38 CEST 2016


HI Andreas,

Do you have some comments on this series?


Best Regards,
Wenyou Yang

> -----Original Message-----
> From: Wenyou Yang [mailto:wenyou.yang at atmel.com]
> Sent: 2016年7月20日 17:16
> To: U-Boot Mailing List <u-boot at lists.denx.de>
> Cc: Stephen Warren <swarren at nvidia.com>; Andreas Bießmann
> <andreas at biessmann.org>; Simon Glass <sjg at chromium.org>; Wenyou Yang
> <wenyou.yang at atmel.com>
> Subject: [PATCH v7 0/4] ARM: AT91: Add AT91 PIO4 pinctrl driver and gpio
> driver with DM
> 
> AT91 PIO4 controller is a combined gpio-controller, pin-mux and pin-config
> module.
> 
> This patch is to add the pinctrl driver, and rework the atmel-pio4 gpio driver to
> support driver model and device tree.
> 
> Changes in v7:
>  - Change clk_client.h -> clk.h to adapt to clk API conversion.
>  - Drop [PATCH]: configs: sama5d2_xplained: Add #ifndef before
>    CONFIG_ATMEL_PIO4.
> 
> Changes in v6:
>  - Add Reviewed-by tag.
>  - Fixed the return value, -EINVAL -> ret.
> 
> Changes in v5:
>  - Update the clk API based on [PATCH] clk: convert API to match
>    reset/mailbox fstyle (http://patchwork.ozlabs.org/patch/625342/).
>  - Use clrbits_le32() to replace readl()/writel().
>  - Fixed the return value, -ENODEV->-EINVAL.
>  - Remove check on dev_get_parent() return.
>  - Fixed the return value, -ENODEV->-EINVAL.
>  - Remove check on dev_get_parent() return.
> 
> Changes in v4:
>  - Remove the redundant log print.
> 
> Changes in v3:
>  - Add bind callback to support the pinctl device regarding as
>    a child of atmel_pio4 device.
>  - Add clock support.
>  - Rework due to the pinctrl device is regarded as atmel_pio4
>    device's child.
> 
> Changes in v2:
>  - remove meaningless comment.
>  - add else path for argument of pinconf.
>  - add inline attribute for atmel_pio4_bank_base().
>  - add handle if the pinmux entries is greater maximum value.
>  - add detailed example to show how to configure pinctrl for device.
>  - remove interrupt and gpio property description.
>  - add reviewed-by tag.
> 
> Wenyou Yang (4):
>   gpio: atmel_pio4: Move PIO4 definitions to head file
>   gpio: atmel_pio4: Rework to support DM & DT
>   pinctrl: at91-pio4: Add pinctrl driver
>   atmel: Bring in at91 pio4 device tree file and bindings
> 
>  arch/arm/dts/sama5d2-pinfunc.h                     | 880 +++++++++++++++++++++
>  arch/arm/mach-at91/include/mach/atmel_pio4.h       |  35 +
>  .../pinctrl/atmel,at91-pio4-pinctrl.txt            |  66 ++
>  drivers/gpio/Kconfig                               |   2 +-
>  drivers/gpio/atmel_pio4.c                          | 201 +++--
>  drivers/pinctrl/Kconfig                            |   7 +
>  drivers/pinctrl/Makefile                           |   1 +
>  drivers/pinctrl/pinctrl-at91-pio4.c                | 182 +++++
>  8 files changed, 1302 insertions(+), 72 deletions(-)  create mode 100644
> arch/arm/dts/sama5d2-pinfunc.h  create mode 100644 doc/device-tree-
> bindings/pinctrl/atmel,at91-pio4-pinctrl.txt
>  create mode 100644 drivers/pinctrl/pinctrl-at91-pio4.c
> 
> --
> 2.7.4



More information about the U-Boot mailing list