linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH v2 0/3] Add ACPI support for pinctrl configuration
@ 2016-04-05 15:33 Irina Tirdea
  2016-04-05 15:33 ` [RFC PATCH v2 1/3] pinctrl: pinconf-generic: Add ACPI support Irina Tirdea
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Irina Tirdea @ 2016-04-05 15:33 UTC (permalink / raw)
  To: Rafael J. Wysocki, Len Brown, Mika Westerberg, Linus Walleij,
	linux-gpio, linux-acpi
  Cc: Rob Herring, Heikki Krogerus, Andy Shevchenko, Octavian Purdila,
	Cristina Ciocan, devicetree, linux-kernel, Irina Tirdea

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

It has been developed to enable the MinnowBoard and IoT community
by providing an easy way to specify pin multiplexing and
pin configuration.

This proposal is based on using _DSD properties to specify device
states and configuration nodes and it follows closely the device
tree model. Device states are defined using the Device Properties
format and the configuration nodes are defined using the
Hierarchical Properties Extension format. The generic properties
for the configuration nodes are the same as the ones for device
tree, while pincontroller drivers can also define custom ones.

Changes from v1:
 - address code review comments regarding coding style, documentation
and fixes
 - rewrote patch 3 ("pinctrl: Parse GpioInt/GpioIo resources") to
avoid using triple pointers
 - define pinconf_generic_dt_node_to_map since it is used by pinctrl
sirf driver
 - add dependency on PINCONF_GENERIC to the entire ACPI parsing code
 - dropped first patch from the series since it got merged
("pinctrl: Rename pinctrl_utils_dt_free_map to pinctrl_utils_free_map")

Irina Tirdea (3):
  pinctrl: pinconf-generic: Add ACPI support
  pinctrl: Add ACPI support
  pinctrl: Parse GpioInt/GpioIo resources

 Documentation/acpi/pinctrl-properties.txt | 292 +++++++++++++++++
 drivers/acpi/property.c                   |   8 +-
 drivers/base/property.c                   |  36 ++-
 drivers/pinctrl/Makefile                  |   1 +
 drivers/pinctrl/acpi.c                    | 519 ++++++++++++++++++++++++++++++
 drivers/pinctrl/acpi.h                    |  32 ++
 drivers/pinctrl/core.c                    |  26 ++
 drivers/pinctrl/core.h                    |   2 +
 drivers/pinctrl/pinconf-generic.c         | 121 ++++---
 include/linux/acpi.h                      |   4 +-
 include/linux/pinctrl/pinconf-generic.h   |  35 +-
 include/linux/property.h                  |   9 +
 12 files changed, 1010 insertions(+), 75 deletions(-)
 create mode 100644 Documentation/acpi/pinctrl-properties.txt
 create mode 100644 drivers/pinctrl/acpi.c
 create mode 100644 drivers/pinctrl/acpi.h

-- 
1.9.1

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

end of thread, other threads:[~2016-04-14 11:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-05 15:33 [RFC PATCH v2 0/3] Add ACPI support for pinctrl configuration Irina Tirdea
2016-04-05 15:33 ` [RFC PATCH v2 1/3] pinctrl: pinconf-generic: Add ACPI support Irina Tirdea
     [not found] ` <1459870406-15219-1-git-send-email-irina.tirdea-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-04-05 15:33   ` [RFC PATCH v2 2/3] pinctrl: " Irina Tirdea
2016-04-07 12:56   ` [RFC PATCH v2 0/3] Add ACPI support for pinctrl configuration Mika Westerberg
2016-04-07 17:48     ` Linus Walleij
2016-04-05 15:33 ` [RFC PATCH v2 3/3] pinctrl: Parse GpioInt/GpioIo resources Irina Tirdea
2016-04-14 11:58 ` [RFC PATCH v2 0/3] Add ACPI support for pinctrl configuration 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).