x86: ich6-gpio: Add Intel Tunnel Creek GPIO support
authorBin Meng <bmeng.cn@gmail.com>
Wed, 17 Dec 2014 07:50:38 +0000 (15:50 +0800)
committerSimon Glass <sjg@chromium.org>
Fri, 19 Dec 2014 00:26:06 +0000 (17:26 -0700)
commitb71eec3129c2626bfb1e98141b317d958e3cf384
tree960f136fd30d146892608b46f8eeff49c90c6f25
parent0f61de8d9dba4ebfc4ea4b2da7f91adc937b3875
x86: ich6-gpio: Add Intel Tunnel Creek GPIO support

Intel Tunnel Creek GPIO register block is compatible with current
ich6-gpio driver, except the offset and content of GPIO block base
address register in the LPC PCI configuration space are different.

Use u16 instead of u32 to store the 16-bit I/O address of the GPIO
registers so that it could support both Ivybridge and Tunnel Creek.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/x86/include/asm/arch-queensbay/gpio.h [new file with mode: 0644]
arch/x86/include/asm/gpio.h
board/coreboot/coreboot/coreboot.c
board/google/chromebook_link/link.c
board/intel/crownbay/crownbay.c
drivers/gpio/intel_ich6_gpio.c