[U-Boot] [U-Boot, v7, 2/4] gpio: atmel_pio4: Rework to support DM & DT

Andreas Bießmann andreas at biessmann.org
Mon Aug 15 22:16:33 CEST 2016


Dear Wenyou Yang,

Wenyou Yang <wenyou.yang at atmel.com> writes:
>Rework the driver to support driver model and device tree, and
>support to regard the pio4 pinctrl device as a child of
>atmel_pio4 device.
>
>Signed-off-by: Wenyou Yang <wenyou.yang at atmel.com>
>Reviewed-by: Simon Glass <sjg at chromium.org>
>---
>
>Changes in v7:
> - Change clk_client.h -> clk.h to adapt to clk API conversion.
>
>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.
>
>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.
>
>Changes in v2: None
>
> drivers/gpio/Kconfig      |   2 +-
> drivers/gpio/atmel_pio4.c | 138 ++++++++++++++++++++++++++++++++++++++--------
> 2 files changed, 117 insertions(+), 23 deletions(-)

applied to u-boot-atmel/master, thanks!

Best regards,
Andreas Bießmann


More information about the U-Boot mailing list