mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] of/gpio: Automatic handling of devicetree open-drain GPIO specifications.
@ 2014-02-11 19:49 David Daney
  2014-02-11 19:49 ` [PATCH v2 1/2] of/gpio: Define OF_GPIO_OPEN_DRAIN and OF_GPIO_OPEN_SOURCE flags David Daney
  2014-02-11 19:50 ` [PATCH v2 2/2] of/gpio: Automatically decode OF_GPIO_OPEN_DRAIN and OF_GPIO_OPEN_SOURCE flags in gpiolib David Daney
  0 siblings, 2 replies; 7+ messages in thread
From: David Daney @ 2014-02-11 19:49 UTC (permalink / raw)
  To: Grant Likely, Rob Herring, devicetree, Linus Walleij,
	Alexandre Courbot, linux-gpio
  Cc: linux-kernel, David Daney

From: David Daney <david.daney@cavium.com>

Add two new flags for open-drain and open-source GPIOs and the
corresponding handling in gpiod_get() to automatically set the
corresponding flags in the GPIO system.

Changes from v1 (suggested by Alexandre Courbot):

  o Add OF_GPIO_OPEN_SOURCE
  o Add automatic propagation of the flags in gpiod_get() et al.

David Daney (2):
  of/gpio: Define OF_GPIO_OPEN_DRAIN and OF_GPIO_OPEN_SOURCE flags.
  of/gpio: Automatically decode OF_GPIO_OPEN_DRAIN and
    OF_GPIO_OPEN_SOURCE flags in gpiolib.

 drivers/gpio/gpiolib.c  | 6 ++++++
 include/linux/of_gpio.h | 2 ++
 2 files changed, 8 insertions(+)

-- 
1.7.11.7


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-02-24 12:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-11 19:49 [PATCH v2 0/2] of/gpio: Automatic handling of devicetree open-drain GPIO specifications David Daney
2014-02-11 19:49 ` [PATCH v2 1/2] of/gpio: Define OF_GPIO_OPEN_DRAIN and OF_GPIO_OPEN_SOURCE flags David Daney
2014-02-12  2:20   ` Alexandre Courbot
2014-02-24 12:09   ` Linus Walleij
2014-02-24 12:11   ` Linus Walleij
2014-02-11 19:50 ` [PATCH v2 2/2] of/gpio: Automatically decode OF_GPIO_OPEN_DRAIN and OF_GPIO_OPEN_SOURCE flags in gpiolib David Daney
2014-02-12  2:21   ` Alexandre Courbot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®