Searched hist:"4341 e8a5458f10cb7265167061fa06ebf3a3a903" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/pinctrl/intel/ |
H A D | pinctrl-intel.c | diff 4341e8a5458f10cb7265167061fa06ebf3a3a903 Wed Oct 21 05:08:44 CDT 2015 Mika Westerberg <mika.westerberg@linux.intel.com> pinctrl: intel: Allow requesting pins which are in ACPI mode as GPIOs
Reserved for ACPI actually means that in such case the GPIO hardware will not update the interrupt status register (GPI_IS) even if the pin is configured to trigger an interrupt. It will update GPI_GPE_STS instead and does not trigger an interrupt.
Allow using such pins as GPIOs, only prevent their usage as interrupts.
We also rename function intel_pad_reserved_for_acpi() to be intel_pad_acpi_mode() which reflects the actual meaning better.
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
|