From: lethal@linux-sh.org (Paul Mundt)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] GPIOLIB: add generic gpio_set_pull API
Date: Mon, 8 Aug 2011 17:15:52 +0900 [thread overview]
Message-ID: <20110808081552.GI32513@linux-sh.org> (raw)
In-Reply-To: <1312780773-23142-1-git-send-email-Baohua.Song@csr.com>
On Sun, Aug 07, 2011 at 10:19:33PM -0700, Barry Song wrote:
> Now there are many different implementations for GPIO pull configuration, for
> example:
> s3c_gpio_setpull()
> tegra_pinmux_set_pullupdown()
> chipcHw_setPinPullup()
> gpio_pullup()
> s3c2410_gpio_pullup()
>
> This patch adds a new generic gpio_set_pull API so that all SoCs can have unified
> codes.
>
> Signed-off-by: Barry Song <Baohua.Song@csr.com>
For arch/arm/mach-shmobile we also have gpio_pull_up() for board-g4evm.c
and gpio_pull_down() for board-mackerel.c. Both of these would benefit
from this sort of an API addition.
WARNING: multiple messages have this Message-ID (diff)
From: Paul Mundt <lethal@linux-sh.org>
To: Barry Song <Baohua.Song@csr.com>
Cc: grant.likely@secretlab.ca, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, workgroup.linux@csr.com
Subject: Re: [PATCH] GPIOLIB: add generic gpio_set_pull API
Date: Mon, 8 Aug 2011 17:15:52 +0900 [thread overview]
Message-ID: <20110808081552.GI32513@linux-sh.org> (raw)
In-Reply-To: <1312780773-23142-1-git-send-email-Baohua.Song@csr.com>
On Sun, Aug 07, 2011 at 10:19:33PM -0700, Barry Song wrote:
> Now there are many different implementations for GPIO pull configuration, for
> example:
> s3c_gpio_setpull()
> tegra_pinmux_set_pullupdown()
> chipcHw_setPinPullup()
> gpio_pullup()
> s3c2410_gpio_pullup()
>
> This patch adds a new generic gpio_set_pull API so that all SoCs can have unified
> codes.
>
> Signed-off-by: Barry Song <Baohua.Song@csr.com>
For arch/arm/mach-shmobile we also have gpio_pull_up() for board-g4evm.c
and gpio_pull_down() for board-mackerel.c. Both of these would benefit
from this sort of an API addition.
next prev parent reply other threads:[~2011-08-08 8:15 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-08 5:19 [PATCH] GPIOLIB: add generic gpio_set_pull API Barry Song
2011-08-08 5:19 ` Barry Song
2011-08-08 8:15 ` Paul Mundt [this message]
2011-08-08 8:15 ` Paul Mundt
2011-08-08 18:24 ` Grant Likely
2011-08-08 18:24 ` Grant Likely
2011-08-08 22:57 ` Kyungmin Park
2011-08-08 22:57 ` Kyungmin Park
2011-08-09 1:45 ` Rohit Vaswani
2011-08-09 1:45 ` Rohit Vaswani
2011-08-09 2:51 ` Barry Song
2011-08-09 2:51 ` Barry Song
2011-08-09 10:11 ` Linus Walleij
2011-08-09 10:11 ` Linus Walleij
2012-06-19 3:25 ` Barry Song
2012-06-19 3:25 ` Barry Song
2012-06-20 8:15 ` Linus Walleij
2012-06-20 8:15 ` Linus Walleij
2012-06-20 10:07 ` Barry Song
2012-06-20 10:07 ` Barry Song
2012-06-20 14:31 ` Paul Mundt
2012-06-20 14:31 ` Paul Mundt
2012-06-21 7:48 ` Linus Walleij
2012-06-21 7:48 ` Linus Walleij
2011-08-09 10:07 ` Linus Walleij
2011-08-09 10:07 ` Linus Walleij
2011-08-09 10:04 ` Linus Walleij
2011-08-09 10:04 ` Linus Walleij
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=20110808081552.GI32513@linux-sh.org \
--to=lethal@linux-sh.org \
--cc=linux-arm-kernel@lists.infradead.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.