Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1610879 > unrolled thread

Re: [PATCH v1 0/8] gpio: acpi: Make it working

Started byLinus Walleij <linus.walleij@linaro.org>
First post2017-03-28 15:30 +0200
Last post2017-03-28 15:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v1 0/8] gpio: acpi: Make it working Linus Walleij <linus.walleij@linaro.org> - 2017-03-28 15:30 +0200

#1610879 — Re: [PATCH v1 0/8] gpio: acpi: Make it working

FromLinus Walleij <linus.walleij@linaro.org>
Date2017-03-28 15:30 +0200
SubjectRe: [PATCH v1 0/8] gpio: acpi: Make it working
Message-ID<tpZmb-8cB-55@gated-at.bofh.it>
On Thu, Mar 23, 2017 at 8:46 PM, Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:

> Currently GPIO ACPI library provides an API to get a GPIO resources
> (IO or interrupt) from ACPI tables for the individual drivers.
>
> This library has few flaws which makes some devices not working:
>  - the library allows to abuse ACPI by using a _CRS fallback mechanism
>  - the library neglects flags of the resource
>
> In this series:
>  - the _CRS fallback is forbidden
>  - the pin configuration follows what firmware wants to
>  - the documentation is updated in order to clarify corner cases
>
> After this series it's possible to use GPIO pins for input (interrupt)
> which were configured as output by BIOS by some reason. It's a crucial
> functionality for IoT open connected boards where user may choose any of
> available pin for almost any of available function, including GPIO input
> (interrupt).
>
> Current bad behaviour was first reported by Jarkko Nikula few months ago.

I see there are some outstanding comments in the patches but it looks
OK overall to me, waiting for a v2 before applying, please collect ACKs
and relevant Tested-by:s.

Yours,
Linus Walleij

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web