bd5d080ab9
Patch from Richard Purdie Add a driver for the extra GPIOs found on the Sharp SL-C1000 (Akita). These GPIOs are found on a Maxim MAX7310 I2C i/o expander chip. A generic GPIO driver for the MAX7310 was attempted but this mini driver is a much simpler and much more effective solution avoiding several issues and complexity the generic driver had (as discussed on LKML). The platform device is required so the device parent can be set correctly which ensures the device is one of the last to suspend and first to resume. Whilst the i2c suspend/resume calls can be influenced, nothing guarantees this is easlier/later than the subsystems the gpios are used on which are all independent of i2c (sound, irda, video/backlight etc.). Signed-off-by: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
35 lines
1007 B
Makefile
35 lines
1007 B
Makefile
#
|
|
# Makefile for the linux kernel.
|
|
#
|
|
|
|
# Common support (must be linked before board specific support)
|
|
obj-y += generic.o irq.o dma.o time.o
|
|
obj-$(CONFIG_PXA25x) += pxa25x.o
|
|
obj-$(CONFIG_PXA27x) += pxa27x.o
|
|
|
|
# Specific board support
|
|
obj-$(CONFIG_ARCH_LUBBOCK) += lubbock.o
|
|
obj-$(CONFIG_MACH_MAINSTONE) += mainstone.o
|
|
obj-$(CONFIG_ARCH_PXA_IDP) += idp.o
|
|
obj-$(CONFIG_PXA_SHARP_C7xx) += corgi.o corgi_ssp.o corgi_lcd.o sharpsl_pm.o corgi_pm.o
|
|
obj-$(CONFIG_PXA_SHARP_Cxx00) += spitz.o corgi_ssp.o corgi_lcd.o sharpsl_pm.o spitz_pm.o
|
|
obj-$(CONFIG_MACH_AKITA) += akita-ioexp.o
|
|
obj-$(CONFIG_MACH_POODLE) += poodle.o
|
|
obj-$(CONFIG_MACH_TOSA) += tosa.o
|
|
|
|
# Support for blinky lights
|
|
led-y := leds.o
|
|
led-$(CONFIG_ARCH_LUBBOCK) += leds-lubbock.o
|
|
led-$(CONFIG_MACH_MAINSTONE) += leds-mainstone.o
|
|
led-$(CONFIG_ARCH_PXA_IDP) += leds-idp.o
|
|
|
|
obj-$(CONFIG_LEDS) += $(led-y)
|
|
|
|
# Misc features
|
|
obj-$(CONFIG_PM) += pm.o sleep.o
|
|
obj-$(CONFIG_PXA_SSP) += ssp.o
|
|
|
|
ifeq ($(CONFIG_PXA27x),y)
|
|
obj-$(CONFIG_PM) += standby.o
|
|
endif
|