linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFC 0/3] pinctrl: add ACPI support to pin controller
@ 2022-11-10 19:12 Niyas Sait
  2022-11-10 19:12 ` [PATCH RFC 1/3] pinctrl: add support for acpi PinGroup resource Niyas Sait
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Niyas Sait @ 2022-11-10 19:12 UTC (permalink / raw)
  To: linux-gpio, andriy.shevchenko, mika.westerberg, rafael,
	linus.walleij
  Cc: Niyas Sait

This is a proposal for adding ACPI support to pin controller.

The patch supports following resources introduced in ACPI from v6.2

- PinFunction
- PinConfig
- PinGroupFunction
- PinGroupConfig
- PinGroup

The patch has been tested on NXP I.MX8MP Plus platform with ACPI.

Niyas Sait (3):
  pinctrl: add support for acpi PinGroup resource
  pinconf-generic: add pull up and pull down config with resistance
  pinctrl: add support for acpi pin function and config resources

 drivers/pinctrl/Makefile                |   1 +
 drivers/pinctrl/core.c                  |  19 +-
 drivers/pinctrl/core.h                  |   3 +
 drivers/pinctrl/pinctrl-acpi.c          | 450 ++++++++++++++++++++++++
 drivers/pinctrl/pinctrl-acpi.h          |  50 +++
 include/linux/pinctrl/pinconf-generic.h |   6 +
 include/linux/pinctrl/pinctrl.h         |  15 +
 7 files changed, 540 insertions(+), 4 deletions(-)
 create mode 100644 drivers/pinctrl/pinctrl-acpi.c
 create mode 100644 drivers/pinctrl/pinctrl-acpi.h

-- 
2.25.1


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2022-11-15 18:15 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-10 19:12 [PATCH RFC 0/3] pinctrl: add ACPI support to pin controller Niyas Sait
2022-11-10 19:12 ` [PATCH RFC 1/3] pinctrl: add support for acpi PinGroup resource Niyas Sait
2022-11-11 12:12   ` Mika Westerberg
2022-11-15 18:10     ` Niyas Sait
2022-11-10 19:12 ` [PATCH RFC 2/3] pinconf-generic: add pull up and pull down config with resistance Niyas Sait
2022-11-10 20:17   ` Andy Shevchenko
2022-11-11  7:23     ` Niyas Sait
2022-11-11  9:17   ` Linus Walleij
2022-11-11  9:22     ` Niyas Sait
2022-11-10 19:12 ` [PATCH RFC 3/3] pinctrl: add support for acpi pin function and config resources Niyas Sait
2022-11-11 12:24   ` Mika Westerberg
2022-11-15 18:14     ` Niyas Sait
2022-11-10 20:14 ` [PATCH RFC 0/3] pinctrl: add ACPI support to pin controller Andy Shevchenko
2022-11-10 20:23   ` Andy Shevchenko
2022-11-11  7:15     ` Niyas Sait
2022-11-11  7:17   ` Niyas Sait

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).