
15 Aug
2016
15 Aug
'16
10:16 p.m.
Dear Wenyou Yang,
Wenyou Yang wenyou.yang@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@atmel.com Reviewed-by: Simon Glass sjg@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