Skip to content

gpio-f7188x: Add F81886 gpio function

Peter Hung linux-gpio lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2gpio-f7188x: add Fintek F81866 SuperIO supportdrivers/gpio/gpio-f7188x.c+22 -10 replies
2/2gpio-f7188x: filter non-export gpio for F81866drivers/gpio/gpio-f7188x.c+153 -04 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] gpio-f7188x: Add F81886 gpio function

Fintek F81886 SuperIO spec:
http://www.alldatasheet.com/datasheet-pdf/pdf/459085/FINTEK/F81866AD-I.html
The detail gpio check & configuration could be found within spec P126.

It controls gpio is the same with F7188x and has max 9 set of gpios. The 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.

The first patch only add basic structure for F81866 to use all unverified gpio, and second patch add filter function to make sure only enabled gpios are exported.

Peter Hung (2):
gpio-f7188x: add Fintek F81866 SuperIO support
gpio-f7188x: filter non-export gpio for F81866

 drivers/gpio/gpio-f7188x.c | 176 ++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 175 insertions(+), 1 deletion(-)
Signature · 1 line
1.9.1