lkml.org 
[lkml]   [2012]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] gpio: add support for ITE IT87xx Super I/O GPIO.
From
Date
Il giorno dom, 18/03/2012 alle 17.54 -0700, Guenter Roeck ha scritto:
> On IT8721F (which is supposedly mostly compatible to IT8728F), only four of the 87 GPIO pins
> are GPIO-only (unless I miscounted ;). All others have at least two different functions.

On the IT8728F the 64 GPIO (11 to 87, they use an X-Y notation) are
divided in eight banks, and only the latest three banks are GPIO-only,
the others all have alternate functions.

> Not sure if it is a good idea to re-configure any of those pins. I would assume
> there is a reason if a given set of pins is configured as UART, for example.

That's true, on the other hand there are a few pins that should be
reused without other issues: for instance the LED ones. That's what I
was thinking of with an MFD SuperIO driver.

At any rate I'll look at the pinctrl subsystem since the gpio_request
function in the gpio driver is indeed changing the mapping like pinmux
should. And there I thought it would have been an easy driver to write
^^;;

--
Diego Elio Pettenò — Flameeyes
http://blog.flameeyes.eu/


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2012-03-19 17:01    [W:0.099 / U:1.948 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site