Re: [PATCH] GPIOLIB: add generic gpio_set_pull API
From: Kyungmin Park
Date: Mon Aug 08 2011 - 18:57:30 EST
On Tue, Aug 9, 2011 at 3:24 AM, Grant Likely <grant.likely@xxxxxxxxxxxx> wrote:
> On Mon, Aug 8, 2011 at 2:15 AM, Paul Mundt <lethal@xxxxxxxxxxxx> wrote:
>> On Sun, Aug 07, 2011 at 10:19:33PM -0700, Barry Song wrote:
>>> Now there are many different implementations for GPIO pull configuration, for
>>> This patch adds a new generic gpio_set_pull API so that all SoCs can have unified
>>> Signed-off-by: Barry Song <Baohua.Song@xxxxxxx>
>> 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.
> I think I'm okay with this API change. Linus, what say you? How does
> this interact with your plans for pinctrl?
If gpiolib accept the pullup control. gpiolib is better place to
control gpio config.
then remains are the gpio driver strength, and power down mode
control. powerdown pull-up/down, powerdown in/out at samsung gpios.
> Grant Likely, B.Sc., P.Eng.
> Secret Lab Technologies Ltd.
> linux-arm-kernel mailing list
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/