* [GIT PULL] gpio: updates for v5.10 - part 2
@ 2020-09-30 9:17 Bartosz Golaszewski
2020-09-30 9:37 ` Linus Walleij
0 siblings, 1 reply; 2+ messages in thread
From: Bartosz Golaszewski @ 2020-09-30 9:17 UTC (permalink / raw)
To: Linus Walleij; +Cc: linux-gpio, Bartosz Golaszewski
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [GIT PULL] gpio: updates for v5.10 - part 2
2020-09-30 9:17 [GIT PULL] gpio: updates for v5.10 - part 2 Bartosz Golaszewski
@ 2020-09-30 9:37 ` Linus Walleij
0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2020-09-30 9:37 UTC (permalink / raw)
To: Bartosz Golaszewski; +Cc: open list:GPIO SUBSYSTEM, Bartosz Golaszewski
On Wed, Sep 30, 2020 at 11:17 AM Bartosz Golaszewski <brgl@bgdev.pl> wrote:
> 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!
Awesome. Pulled into my "devel" branch. I will test this on the build servers
and then submit to linux-next.
> Other than that we have some refactoring of the gpio-mockup module and a code
> shrink for gpio-mpc8xxx.
This is nice stuff too.
> 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.
OK let's see if I figure it out.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-09-30 9:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-30 9:17 [GIT PULL] gpio: updates for v5.10 - part 2 Bartosz Golaszewski
2020-09-30 9:37 ` Linus Walleij
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).