From: Ian Campbell <ijc@hellion.org.uk>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2] sunxi: gpio: Add support for gpio pins on the AXP209 pmic
Date: Mon, 29 Dec 2014 13:33:20 +0000 [thread overview]
Message-ID: <1419860000.13595.74.camel@hellion.org.uk> (raw)
In-Reply-To: <1419762938-22772-1-git-send-email-hdegoede@redhat.com>
On Sun, 2014-12-28 at 11:35 +0100, Hans de Goede wrote:
> Some boards use GPIO-s on the pmic, one example of this is the A13-OLinuXino
> board, which uses gpio0 of the axp209 for the lcd-power signal.
>
> This commit adds support for gpio pins on the AXP209 pmic, the sunxi_gpio.c
> changes are universal, adding gpio support for the other AXP pmics (when
> necessary) should be a matter of adding the necessary axp_gpio_foo functions
> to their resp. drivers, and add "#define AXP_GPIO" to their header file.
>
> Note this commit only adds support for the non device-model version of the
> gpio code, patches for adding support to the device-model version are very
> welcome.
>
> The string representation for these gpio-s is AXP0-#, the 0 in the AXP0 prefix
> is there in case we need to support gpio-s on more then 1 pmic in the future.
> At least A80 boards have 2 pmics, and we may end up needing to support gpio-s
> on both.
>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
prev parent reply other threads:[~2014-12-29 13:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-28 10:35 [U-Boot] [PATCH v2] sunxi: gpio: Add support for gpio pins on the AXP209 pmic Hans de Goede
2014-12-29 13:33 ` Ian Campbell [this message]
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=1419860000.13595.74.camel@hellion.org.uk \
--to=ijc@hellion.org.uk \
--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