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.10 - part 2
Date: Wed, 30 Sep 2020 11:17:03 +0200 [thread overview]
Message-ID: <20200930091703.8778-1-brgl@bgdev.pl> (raw)
From: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Hi Linus,
Here is the last batch of updates for v5.10 from my side. The biggest part of
this PR is the new uAPI by Kent Gibson - it's time to finally get them
upstream!
Other than that we have some refactoring of the gpio-mockup module and a code
shrink for gpio-mpc8xxx.
There's one commit here that's in your fixes branch but not in devel - the fix
of a resource leak in gpio-mockup. This is because the refactoring patches
depend on it.
Please pull.
The following changes since commit 12d16b397ce0a999d13762c4c0cae2fb82eb60ee:
gpio: mxc: Support module build (2020-09-29 15:04:31 +0200)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git tags/gpio-updates-for-v5.10-part2
for you to fetch changes up to cf048e05b68789e9fa35f246f8ecbe95d79f4173:
tools: gpio: add debounce support to gpio-event-mon (2020-09-30 10:57:30 +0200)
----------------------------------------------------------------
gpio updates for v5.10 - part 2
- refactor gpio-mockup testing module
- simplify the code in gpio-mpc8xxx
- implement v2 of the GPIO user API
----------------------------------------------------------------
Bartosz Golaszewski (11):
gpio: mockup: fix resource leak in error path
lib: string_helpers: provide kfree_strarray()
Documentation: gpio: add documentation for gpio-mockup
gpio: mockup: drop unneeded includes
gpio: mockup: use KBUILD_MODNAME
gpio: mockup: use pr_fmt()
gpio: mockup: remove unneeded return statement
gpio: mockup: increase the number of supported device properties
gpio: mockup: pass the chip label as device property
gpio: mockup: use the generic 'gpio-line-names' property
gpio: mockup: refactor the module init function
Kent Gibson (20):
gpiolib: cdev: gpio_desc_to_lineinfo() should set info offset
gpiolib: cdev: replace strncpy() with strscpy()
gpio: uapi: define GPIO_MAX_NAME_SIZE for array sizes
gpio: uapi: define uAPI v2
gpiolib: make cdev a build option
gpiolib: add build option for CDEV v1 ABI
gpiolib: cdev: support GPIO_V2_GET_LINE_IOCTL and GPIO_V2_LINE_GET_VALUES_IOCTL
gpiolib: cdev: support GPIO_V2_GET_LINEINFO_IOCTL and GPIO_V2_GET_LINEINFO_WATCH_IOCTL
gpiolib: cdev: support edge detection for uAPI v2
gpiolib: cdev: support GPIO_V2_LINE_SET_CONFIG_IOCTL
gpiolib: cdev: support GPIO_V2_LINE_SET_VALUES_IOCTL
gpiolib: cdev: support setting debounce
gpio: uapi: document uAPI v1 as deprecated
tools: gpio: port lsgpio to v2 uAPI
tools: gpio: port gpio-watch to v2 uAPI
tools: gpio: rename nlines to num_lines
tools: gpio: port gpio-hammer to v2 uAPI
tools: gpio: port gpio-event-mon to v2 uAPI
tools: gpio: add multi-line monitoring to gpio-event-mon
tools: gpio: add debounce support to gpio-event-mon
Michael Walle (1):
gpio: mpc8xxx: simplify ls1028a/ls1088a support
Documentation/admin-guide/gpio/gpio-mockup.rst | 50 +
drivers/gpio/Kconfig | 29 +-
drivers/gpio/Makefile | 2 +-
drivers/gpio/gpio-mockup.c | 160 +--
drivers/gpio/gpio-mpc8xxx.c | 45 +-
drivers/gpio/gpiolib-cdev.c | 1539 +++++++++++++++++++++---
drivers/gpio/gpiolib-cdev.h | 15 +
drivers/gpio/gpiolib.c | 5 +
drivers/gpio/gpiolib.h | 6 +
include/linux/string_helpers.h | 2 +
include/uapi/linux/gpio.h | 334 ++++-
lib/string_helpers.c | 23 +
tools/gpio/gpio-event-mon.c | 146 ++-
tools/gpio/gpio-hammer.c | 56 +-
tools/gpio/gpio-utils.c | 176 ++-
tools/gpio/gpio-utils.h | 48 +-
tools/gpio/gpio-watch.c | 16 +-
tools/gpio/lsgpio.c | 60 +-
18 files changed, 2273 insertions(+), 439 deletions(-)
create mode 100644 Documentation/admin-guide/gpio/gpio-mockup.rst
next reply other threads:[~2020-09-30 9:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-30 9:17 Bartosz Golaszewski [this message]
2020-09-30 9:37 ` [GIT PULL] gpio: updates for v5.10 - part 2 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=20200930091703.8778-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;
as well as URLs for NNTP newsgroup(s).