From: =?UTF-8?q?Andreas=20Bie=C3=9Fmann?= Date: Mon, 15 Aug 2016 22:16:33 +0200 Subject: [U-Boot] [U-Boot, v7, 2/4] gpio: atmel_pio4: Rework to support DM & DT In-Reply-To: <1469006188-10815-3-git-send-email-wenyou.yang@atmel.com> (from Wenyou Yang on Wed, 20 Jul 2016 17:16:26 +0800) References: <1469006188-10815-3-git-send-email-wenyou.yang@atmel.com> Message-ID: <1471292193-22252-1-git-send-email-andreas@biessmann.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Wenyou Yang, Wenyou Yang 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 >Reviewed-by: Simon Glass >--- > >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