[PATCH 0/2] gpiolib: Improve open-drain and open-source GPIO support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

These two patches try to improve open-drain and open-source (collectively
referred to as single-ended) GPIO support in the gpiolib core.

The first patch splits GPIO flag parsing and GPIO configuration into two
operation to allow gpiochip drivers to reject GPIO requests with flags that
don't match the device capabilities.

The second patch builds on top of "[PATCH v2] gpio: add DT bindings for
existing consumer flags" (http://marc.info/?l=linux-gpio&m=144378527414721&w=2)
to enable usage of the single-ended flag.

Laurent Pinchart (2):
  gpiolib: Split GPIO flags parsing and GPIO configuration
  gpiolib: Add and use OF_GPIO_SINGLE_ENDED flag

 drivers/gpio/gpiolib-legacy.c |  8 ++---
 drivers/gpio/gpiolib.c        | 70 ++++++++++++++++++++++++++++++++-----------
 include/linux/of_gpio.h       |  1 +
 3 files changed, 58 insertions(+), 21 deletions(-)

-- 
Regards,

Laurent Pinchart

--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux