]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
x86: gpio: Add additional GPIO banks to the ICH6 driver
authorBill Richardson <wfrichar@chromium.org>
Sat, 20 Oct 2012 11:44:36 +0000 (11:44 +0000)
committerSimon Glass <sjg@chromium.org>
Thu, 6 Dec 2012 22:30:38 +0000 (14:30 -0800)
commit57be9172fc87fa156973faadb7b74c36ae5c52e7
tree689f9b4d0c336984a107904d25f8e1b5aa240e1f
parenta7e6d5496c7981803482bfa6970eeda2954d3458
x86: gpio: Add additional GPIO banks to the ICH6 driver

We can generally trust the ICH to have GPIO Bank 0 (the first 32 pins) in the
same place across all versions. This change adds two more banks, for up to
96 GPIOS.

BUT:
- Not all chipsets have the same number of GPIOs
- Not all chipsets have the same number of GPIO banks
- Not all chipsets put the additional banks at the same offset from GPIOBASE
- There so many chipset variants that it's pretty much impossible to support
  them all, or even keep track of the new ones.

So, although this adds suppport for the additional banks that seem to work
for the particular variants of CougarPoint Mobile chipsets that we've tried,
there's no chance it will support everything Intel produces. Good luck.

Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/gpio/intel_ich6_gpio.c