[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <dc79f590-bbca-0eba-7d50-538f2b9ec42b@gmail.com>
Date: Mon, 18 Jan 2021 21:32:05 +0000
From: Daniel Scally <djrscally@...il.com>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: linux-kernel@...r.kernel.org, linux-acpi@...r.kernel.org,
linux-gpio@...r.kernel.org, linux-i2c@...r.kernel.org,
platform-driver-x86@...r.kernel.org, devel@...ica.org,
rjw@...ysocki.net, lenb@...nel.org, andy@...nel.org,
mika.westerberg@...ux.intel.com, linus.walleij@...aro.org,
bgolaszewski@...libre.com, wsa@...nel.org, lee.jones@...aro.org,
hdegoede@...hat.com, mgross@...ux.intel.com,
robert.moore@...el.com, erik.kaneda@...el.com,
sakari.ailus@...ux.intel.com, laurent.pinchart@...asonboard.com,
kieran.bingham@...asonboard.com
Subject: Re: [PATCH v2 5/7] gpio: gpiolib-acpi: Export acpi_get_gpiod()
On 18/01/2021 13:45, Andy Shevchenko wrote:
> 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.
>
> ...
>
>> diff --git a/include/linux/acpi.h b/include/linux/acpi.h
>
> Wrong header. Please use gpio/consumer.h.
>
Ack to all - thanks.
Powered by blists - more mailing lists