Re: [PATCH 1/1] gpio: xgene: Enable ACPI support for X-Gene GFC GPIO driver

From: Duc Dang
Date: Mon May 02 2016 - 21:01:10 EST


On Sun, May 1, 2016 at 1:25 AM, Linus Walleij <linus.walleij@xxxxxxxxxx> wrote:
> On Sat, Apr 30, 2016 at 10:49 PM, Duc Dang <dhdang@xxxxxxx> wrote:
>
>> This patch enables ACPI support for X-Gene GFC GPIO driver.
>>
>> Signed-off-by: Duc Dang <dhdang@xxxxxxx>
>
> Patch applied.

Thanks, Linus.

>
> Duc do you have a datasheet for this GPIO controller?
>

This controller is simple. We have 3 16-pin sets of GPIO pins (these
pins can be configured as part of the Flash controller pins, or as
GPIO pins).
In GPIO mode, we can configure the pin as output or input. There is no
interrupt support for these GPIO pins.

Regards,
Duc Dang.

> I want to know if it has further abilities, when I see this:
>
> #define GPIO_SET_DR_OFFSET 0x0C
> #define GPIO_DATA_OFFSET 0x14
> #define GPIO_BANK_STRIDE 0x0C
>
> It seems like there is a whole bunch of registers there that are not
> yet utilized.
>
> Yours,
> Linus Walleij