public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/1] gpio driver for Intel Baytrail platforms
@ 2013-06-13 15:06 Mathias Nyman
  2013-06-13 15:06 ` [PATCH v2 1/1] gpio: add Intel BayTrail gpio driver Mathias Nyman
  2013-06-13 15:45 ` [PATCH v2 0/1] gpio driver for Intel Baytrail platforms Linus Walleij
  0 siblings, 2 replies; 5+ messages in thread
From: Mathias Nyman @ 2013-06-13 15:06 UTC (permalink / raw)
  To: Linus; +Cc: grant.likely, linux-kernel, Mathias Nyman

This is the second version of the Intel baytrail GPIO driver.

After looking at the pinctrl subsystem that Linus W. suggested I think 
pinctrl suits platforms that don't have firmware configuring the pins
before the operating system is started, or when pins need to be configured
on the fly.

I'd still keep this driver under GPIO. Adding it to pinctrl
feels like adding more complexity without any bigger use for the features.

We expect BIOS to set all pin configurations correctly. 
The comments about pin muxing capabilities are removed from the driver.
The same firmware is anyway listing gpio resources in ACPI tables, so pin 
configurations should be correct. (The previous indication in the driver
about the need to configure pins was mostly because we're working with early 
develpment stage firmwares which still have small hickups)  

Changes since v1:
- generic cleanups suggested by Andy S.
- removed text about pin muxing
- added missing 44:th pin to SUS controller
- added level triggering option
- prevent "forever loop" in case pin is stuck in "interrupt triggered" status,     

Mathias Nyman (1):
  gpio: add Intel BayTrail gpio driver

 drivers/gpio/Kconfig         |   12 +
 drivers/gpio/Makefile        |    1 +
 drivers/gpio/gpio-baytrail.c |  547 ++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 560 insertions(+), 0 deletions(-)
 create mode 100644 drivers/gpio/gpio-baytrail.c

-- 
1.7.4.1


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

end of thread, other threads:[~2013-06-15 20:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-13 15:06 [PATCH v2 0/1] gpio driver for Intel Baytrail platforms Mathias Nyman
2013-06-13 15:06 ` [PATCH v2 1/1] gpio: add Intel BayTrail gpio driver Mathias Nyman
2013-06-13 15:45 ` [PATCH v2 0/1] gpio driver for Intel Baytrail platforms Linus Walleij
2013-06-14 12:14   ` Mathias Nyman
2013-06-15 20:47     ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox