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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/