From: York Sun <york.sun@nxp.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v5 1/4] dm: gpio: Add driver for MPC85XX GPIO controller
Date: Sat, 4 Jun 2016 08:59:12 -0700 [thread overview]
Message-ID: <5752FAD0.7060706@nxp.com> (raw)
In-Reply-To: <1464182123-14160-2-git-send-email-mario.six@gdsys.cc>
On 05/25/2016 06:16 AM, Mario Six wrote:
> From: "mario.six at gdsys.cc" <mario.six@gdsys.cc>
>
> This patch adds a driver for the built-in GPIO controller of the MPC85XX
> SoC (probably supporting other PowerQUICC III SoCs as well).
>
> Each GPIO bank is identified by its own entry in the device tree, i.e.
>
> gpio-controller at fc00 {
> #gpio-cells = <2>;
> compatible = "fsl,pq3-gpio";
> reg = <0xfc00 0x100>
> }
>
> By default, each bank is assumed to have 32 GPIOs, but the ngpios
> setting is honored, so the number of GPIOs for each bank in configurable
> to match the actual GPIO count of the SoC (e.g. the 32/32/23 banks of
> the P1022 SoC).
>
> The usual functions of GPIO drivers (setting input/output mode and output
> value setting) are supported.
>
> The driver has been tested on MPC85XX, but it is likely that other
> PowerQUICC III devices will work as well.
>
> Signed-off-by: Mario Six <mario.six@gdsys.cc>
> Reviewed-by: Simon Glass <sjg@chromium.org>
> ---
>
> v5:
> - Added 'Reviewed-by: Simon Glass <sjg@chromium.org>'
This set has been applied to u-boot-mpc85xx master. Awaiting upstream.
Thanks.
York
next prev parent reply other threads:[~2016-06-04 15:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-25 13:15 [U-Boot] [PATCH v5 0/4] dm: gpio: Add driver for MPC85xx GPIO controller Mario Six
2016-05-25 13:15 ` [U-Boot] [PATCH v5 1/4] dm: gpio: Add driver for MPC85XX " Mario Six
2016-06-04 15:59 ` York Sun [this message]
2016-05-25 13:15 ` [U-Boot] [PATCH v5 2/4] dm: gpio: Add methods for open drain setting Mario Six
2016-05-25 13:15 ` [U-Boot] [PATCH v5 3/4] dm: gpio: Implement open drain for MPC85XX GPIO Mario Six
2016-05-25 23:17 ` Simon Glass
2016-05-25 13:15 ` [U-Boot] [PATCH v5 4/4] dm: test: Add GPIO open drain tests Mario Six
2016-05-25 23:17 ` Simon Glass
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5752FAD0.7060706@nxp.com \
--to=york.sun@nxp.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox