Linux GPIO subsystem development
 help / color / mirror / Atom feed
From: Bartosz Golaszewski <brgl@bgdev.pl>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: linux-gpio@vger.kernel.org,
	Bartosz Golaszewski <bgolaszewski@baylibre.com>
Subject: [GIT PULL] gpio: updates for v5.7 part1
Date: Thu, 13 Feb 2020 10:47:54 +0100	[thread overview]
Message-ID: <20200213094754.17808-1-brgl@bgdev.pl> (raw)

From: Bartosz Golaszewski <bgolaszewski@baylibre.com>

Linus,

as discussed this is the pull-request containing the line watch ioctl()
as well as a couple patches picked up during the merge window. Details
are in the signed tag. Please pull.

The following changes since commit bb6d3fb354c5ee8d6bde2d576eb7220ea09862b9:

  Linux 5.6-rc1 (2020-02-09 16:08:48 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git tags/gpio-updates-for-v5.7-part1

for you to fetch changes up to 33f0c47b8fb4724792b16351a32b24902a5d3b07:

  tools: gpio: implement gpio-watch (2020-02-12 12:05:47 +0100)

----------------------------------------------------------------
gpio updates for v5.7 part 1

- make irqs optional in gpio-pxa
- improve the logic behind the get() and set() callbacks in gpio-wcd934x
- add new kfifo helpers (acked by kfifo maintainer)
- rework the locking mechanism for lineevent kfifo
- implement a new ioctl() for watching changes on GPIO lines

----------------------------------------------------------------
Axel Lin (2):
      gpio: wcd934x: Don't change gpio direction in wcd_gpio_set
      gpio: wcd934x: Fix logic of wcd_gpio_get

Bartosz Golaszewski (7):
      kfifo: provide noirqsave variants of spinlocked in and out helpers
      kfifo: provide kfifo_is_empty_spinlocked()
      gpiolib: rework the locking mechanism for lineevent kfifo
      gpiolib: emit a debug message when adding events to a full kfifo
      gpiolib: provide a dedicated function for setting lineinfo
      gpiolib: add new ioctl() for monitoring changes in line info
      tools: gpio: implement gpio-watch

Lubomir Rintel (1):
      gpio: pxa: Avoid a warning when gpio0 and gpio1 IRQS are not there

 drivers/gpio/gpio-pxa.c     |   4 +-
 drivers/gpio/gpio-wcd934x.c |   9 +-
 drivers/gpio/gpiolib.c      | 350 ++++++++++++++++++++++++++++++++++----------
 drivers/gpio/gpiolib.h      |   1 +
 include/linux/kfifo.h       |  73 +++++++++
 include/uapi/linux/gpio.h   |  30 ++++
 tools/gpio/.gitignore       |   1 +
 tools/gpio/Build            |   1 +
 tools/gpio/Makefile         |  11 +-
 tools/gpio/gpio-watch.c     |  99 +++++++++++++
 10 files changed, 493 insertions(+), 86 deletions(-)
 create mode 100644 tools/gpio/gpio-watch.c

             reply	other threads:[~2020-02-13  9:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-13  9:47 Bartosz Golaszewski [this message]
2020-02-13 12:07 ` [GIT PULL] gpio: updates for v5.7 part1 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=20200213094754.17808-1-brgl@bgdev.pl \
    --to=brgl@bgdev.pl \
    --cc=bgolaszewski@baylibre.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox