From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: Linus Walleij <linus.walleij@linaro.org>,
Bartosz Golaszewski <bgolaszewski@baylibre.com>,
linux-gpio@vger.kernel.org
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
Jamie McClymont <jamie@kwiius.com>,
Mika Westerberg <mika.westerberg@linux.intel.com>,
Hans de Goede <hdegoede@redhat.com>
Subject: [PATCH v3 0/4] gpiolib: acpi: pin configuration fixes
Date: Mon, 2 Nov 2020 21:17:18 +0200 [thread overview]
Message-ID: <20201102191722.81502-1-andriy.shevchenko@linux.intel.com> (raw)
There are two fixes (and two small cleanups) that allow to take into
consideration more parameters in ACPI, i.e. bias for GpioInt() and
debounce time for GpioInt() and GpioIo() resources.
The first patch highly depends on Intel pin control driver changes
(for now [1], but might be more), so it's probably not supposed to be
backported (at least right now).
I think the best way is to collect tags from GPIO maintainers and I
can incorporate this into our Intel pin control branch which I will
share with you as PR against GPIO and pin control subsystems.
I'm also all ears for alternatives.
Cc: Jamie McClymont <jamie@kwiius.com>
Cc: Mika Westerberg <mika.westerberg@linux.intel.com>
Cc: Hans de Goede <hdegoede@redhat.com>
[1]: https://lore.kernel.org/linux-gpio/20201014104638.84043-1-andriy.shevchenko@linux.intel.com/T/
Changelog v3:
- dropped upstreamed OF patch
- added debounce fix
Andy Shevchenko (4):
gpiolib: acpi: Respect bias settings for GpioInt() resource
gpiolib: acpi: Use named item for enum gpiod_flags variable
gpiolib: acpi: Take into account debounce settings
gpiolib: acpi: Convert pin_index to be u16
drivers/gpio/gpiolib-acpi.c | 23 ++++++++++++++++-------
drivers/gpio/gpiolib-acpi.h | 2 ++
2 files changed, 18 insertions(+), 7 deletions(-)
--
2.28.0
next reply other threads:[~2020-11-02 19:17 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-02 19:17 Andy Shevchenko [this message]
2020-11-02 19:17 ` [PATCH v3 1/4] gpiolib: acpi: Respect bias settings for GpioInt() resource Andy Shevchenko
2020-11-02 19:17 ` [PATCH v3 2/4] gpiolib: acpi: Use named item for enum gpiod_flags variable Andy Shevchenko
2020-11-02 19:17 ` [PATCH v3 3/4] gpiolib: acpi: Take into account debounce settings Andy Shevchenko
2020-11-02 19:17 ` [PATCH v3 4/4] gpiolib: acpi: Convert pin_index to be u16 Andy Shevchenko
2020-11-06 13:53 ` [PATCH v3 0/4] gpiolib: acpi: pin configuration fixes Linus Walleij
2020-11-06 15:10 ` Andy Shevchenko
2020-11-06 19:24 ` Andy Shevchenko
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=20201102191722.81502-1-andriy.shevchenko@linux.intel.com \
--to=andriy.shevchenko@linux.intel.com \
--cc=bgolaszewski@baylibre.com \
--cc=hdegoede@redhat.com \
--cc=jamie@kwiius.com \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=mika.westerberg@linux.intel.com \
/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).