Skip to content

Commit

Permalink
Merge branch 'gpio/next' of git://git.secretlab.ca/git/linux-2.6
Browse files Browse the repository at this point in the history
* 'gpio/next' of git://git.secretlab.ca/git/linux-2.6:
  gpio/via: rename VIA local config struct
  basic_mmio_gpio: split into a gpio library and platform device
  gpio: remove some legacy comments in build files
  gpio: add trace events for setting direction and value
  gpio/pca953x: Use handle_simple_irq instead of handle_edge_irq
  gpiolib: export gpiochip_find
  gpio: remove redundant Kconfig depends on GPIOLIB
  basic_mmio_gpio: convert to non-__raw* accessors
  basic_mmio_gpio: support direction registers
  basic_mmio_gpio: support different input/output registers
  basic_mmio_gpio: detect output method at probe time
  basic_mmio_gpio: request register regions
  basic_mmio_gpio: allow overriding number of gpio
  basic_mmio_gpio: convert to platform_{get,set}_drvdata()
  basic_mmio_gpio: remove runtime width/endianness evaluation
  • Loading branch information
Linus Torvalds committed May 26, 2011
2 parents 9f1912c + 1adb656 commit 8b29336
Show file tree
Hide file tree
Showing 8 changed files with 555 additions and 174 deletions.
23 changes: 14 additions & 9 deletions drivers/gpio/Kconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# platform-neutral GPIO infrastructure and expanders
# GPIO infrastructure and drivers
#

config ARCH_WANT_OPTIONAL_GPIOLIB
Expand Down Expand Up @@ -31,7 +31,7 @@ menuconfig GPIOLIB
help
This enables GPIO support through the generic GPIO library.
You only need to enable this, if you also want to enable
one or more of the GPIO expansion card drivers below.
one or more of the GPIO drivers below.

If unsure, say N.

Expand Down Expand Up @@ -63,21 +63,26 @@ config GPIO_SYSFS
Kernel drivers may also request that a particular GPIO be
exported to userspace; this can be useful when debugging.

# put expanders in the right section, in alphabetical order
# put drivers in the right section, in alphabetical order

config GPIO_MAX730X
tristate

comment "Memory mapped GPIO expanders:"
comment "Memory mapped GPIO drivers:"

config GPIO_BASIC_MMIO_CORE
tristate
help
Provides core functionality for basic memory-mapped GPIO controllers.

config GPIO_BASIC_MMIO
tristate "Basic memory-mapped GPIO controllers support"
select GPIO_BASIC_MMIO_CORE
help
Say yes here to support basic memory-mapped GPIO controllers.

config GPIO_IT8761E
tristate "IT8761E GPIO support"
depends on GPIOLIB
help
Say yes here to support GPIO functionality of IT8761E super I/O chip.

Expand All @@ -101,7 +106,7 @@ config GPIO_VR41XX

config GPIO_SCH
tristate "Intel SCH/TunnelCreek GPIO"
depends on GPIOLIB && PCI && X86
depends on PCI && X86
select MFD_CORE
select LPC_SCH
help
Expand All @@ -121,7 +126,7 @@ config GPIO_SCH

config GPIO_VX855
tristate "VIA VX855/VX875 GPIO"
depends on GPIOLIB && MFD_SUPPORT && PCI
depends on MFD_SUPPORT && PCI
select MFD_CORE
select MFD_VX855
help
Expand Down Expand Up @@ -347,13 +352,13 @@ config GPIO_ML_IOH

config GPIO_TIMBERDALE
bool "Support for timberdale GPIO IP"
depends on MFD_TIMBERDALE && GPIOLIB && HAS_IOMEM
depends on MFD_TIMBERDALE && HAS_IOMEM
---help---
Add support for the GPIO IP in the timberdale FPGA.

config GPIO_RDC321X
tristate "RDC R-321x GPIO support"
depends on PCI && GPIOLIB
depends on PCI
select MFD_SUPPORT
select MFD_CORE
select MFD_RDC321X
Expand Down
7 changes: 2 additions & 5 deletions drivers/gpio/Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
# generic gpio support: dedicated expander chips, etc
#
# NOTE: platform-specific GPIO drivers don't belong in the
# drivers/gpio directory; put them with other platform setup
# code, IRQ controllers, board init, etc.
# generic gpio support: platform drivers, dedicated expander chips, etc

ccflags-$(CONFIG_DEBUG_GPIO) += -DDEBUG

obj-$(CONFIG_GPIOLIB) += gpiolib.o

obj-$(CONFIG_GPIO_ADP5520) += adp5520-gpio.o
obj-$(CONFIG_GPIO_ADP5588) += adp5588-gpio.o
obj-$(CONFIG_GPIO_BASIC_MMIO_CORE) += basic_mmio_gpio.o
obj-$(CONFIG_GPIO_BASIC_MMIO) += basic_mmio_gpio.o
obj-$(CONFIG_GPIO_LANGWELL) += langwell_gpio.o
obj-$(CONFIG_GPIO_MAX730X) += max730x.o
Expand Down
Loading

0 comments on commit 8b29336

Please sign in to comment.