Re: [PATCH v2 5/7] gpio: gpiolib-acpi: Export acpi_get_gpiod()

From
Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date
2021-01-18 13:47:01
Also in
linux-acpi, linux-i2c, lkml, platform-driver-x86
Reply to
Daniel Scally, 2021-01-18
On Mon, Jan 18, 2021 at 12:34:26AM +0000, Daniel Scally wrote:
I need to be able to translate GPIO resources in an acpi_device's _CRS
ACPI device's
into gpio_descs. Those are represented in _CRS as a pathname to a GPIO
into GPIO descriptor array
device plus the pin's index number: this function is perfect for that
purpose.
...
quoted hunk ↗ jump to hunk
diff --git a/include/linux/acpi.h b/include/linux/acpi.h
Wrong header. Please use gpio/consumer.h.

-- 
With Best Regards,
Andy Shevchenko

Thread (98 messages) 98 messages, 11 authors, last reply 2021-02-07
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help