[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1444684821-17389-1-git-send-email-laurent.pinchart@ideasonboard.com>
Date: Tue, 13 Oct 2015 00:20:19 +0300
From: Laurent Pinchart <laurent.pinchart@...asonboard.com>
To: linux-gpio@...r.kernel.org
Cc: Linus Walleij <linus.walleij@...aro.org>,
Alexandre Courbot <gnurou@...il.com>,
Grant Likely <grant.likely@...aro.org>,
Rob Herring <robh+dt@...nel.org>, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org
Subject: [PATCH 0/2] gpiolib: Improve open-drain and open-source GPIO support
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-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists