Re: [PATCH V2 1/1] gpio-f7188x: Add F81866 GPIO supports
From: Linus Walleij
Date: Thu Jan 28 2016 - 04:07:49 EST
On Fri, Jan 22, 2016 at 8:23 AM, Peter Hung <hpeter@xxxxxxxxx> wrote:
> Add F81866 GPIO supports
>
> Fintek F81866 is a SuperIO. It contains HWMON/GPIO/Serial Ports.
> and it has totally 72(9x8 sets) gpio pins.
>
> Here is the PDF spec:
> http://www.alldatasheet.com/datasheet-pdf/pdf/459085/FINTEK/F81866AD-I.html
>
> The control method is the same with F7188x, but we should care the address
> of GPIO8x.
>
> GPIO address is below:
> GPIO0x based: 0xf0
> GPIO1x based: 0xe0
> GPIO2x based: 0xd0
> GPIO3x based: 0xc0
> GPIO4x based: 0xb0
> GPIO5x based: 0xa0
> GPIO6x based: 0x90
> GPIO7x based: 0x80
> GPIO8x based: 0x88 <-- not 0x70.
>
> Signed-off-by: Peter Hung <hpeter+linux_kernel@xxxxxxxxx>
This v2 patch applied with Simon's ACK.
Yours,
Linus Walleij