mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-05 10:04:12 +08:00
1b39d5f2cc
This patch adds support for Samsung GPIOs with one gpio driver and removes old GPIO drivers which are drivers/gpio-s3c24xx.c, gpio-s3c64xx.c, gpio-s5p64x0.c, gpio-s5pc100.c, gpio-s5pv210.c, gpio-exynos4.c, gpio-plat-samsung.c, plat-samsung/gpio-config.c and gpio.c to support each Samsung SoCs before. Because the gpio-samsung.c can replace old Samsung GPIO drivers. Basically, the gpio-samsung.c has been made by their merging and removing duplicated definitions. Note: gpio-samsung.c includes some SoC dependent codes and it will be replaced next time. Cc: Ben Dooks <ben-linux@fluff.org> Acked-by: Grant Likely <grant.likely@secretlab.ca> [kgene.kim@samsung.com: squash the removing and adding patches] [kgene.kim@samsung.com: fixes bug during to register of gpio_chips] Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
83 lines
2.0 KiB
Makefile
83 lines
2.0 KiB
Makefile
# arch/arm/plat-s3c64xx/Makefile
|
|
#
|
|
# Copyright 2009 Simtec Electronics
|
|
#
|
|
# Licensed under GPLv2
|
|
|
|
obj-y :=
|
|
obj-m :=
|
|
obj-n := dummy.o
|
|
obj- :=
|
|
|
|
# Objects we always build independent of SoC choice
|
|
|
|
obj-y += init.o
|
|
obj-$(CONFIG_ARCH_USES_GETTIMEOFFSET) += time.o
|
|
obj-y += clock.o
|
|
obj-y += pwm-clock.o
|
|
obj-y += dev-asocdma.o
|
|
|
|
obj-$(CONFIG_SAMSUNG_CLKSRC) += clock-clksrc.o
|
|
|
|
obj-$(CONFIG_SAMSUNG_IRQ_UART) += irq-uart.o
|
|
obj-$(CONFIG_SAMSUNG_IRQ_VIC_TIMER) += irq-vic-timer.o
|
|
|
|
# ADC
|
|
|
|
obj-$(CONFIG_S3C_ADC) += adc.o
|
|
|
|
# devices
|
|
|
|
obj-y += platformdata.o
|
|
|
|
obj-$(CONFIG_S3C_DEV_HSMMC) += dev-hsmmc.o
|
|
obj-$(CONFIG_S3C_DEV_HSMMC1) += dev-hsmmc1.o
|
|
obj-$(CONFIG_S3C_DEV_HSMMC2) += dev-hsmmc2.o
|
|
obj-$(CONFIG_S3C_DEV_HSMMC3) += dev-hsmmc3.o
|
|
obj-$(CONFIG_S3C_DEV_HWMON) += dev-hwmon.o
|
|
obj-y += dev-i2c0.o
|
|
obj-$(CONFIG_S3C_DEV_I2C1) += dev-i2c1.o
|
|
obj-$(CONFIG_S3C_DEV_I2C2) += dev-i2c2.o
|
|
obj-$(CONFIG_S3C_DEV_I2C3) += dev-i2c3.o
|
|
obj-$(CONFIG_S3C_DEV_I2C4) += dev-i2c4.o
|
|
obj-$(CONFIG_S3C_DEV_I2C5) += dev-i2c5.o
|
|
obj-$(CONFIG_S3C_DEV_I2C6) += dev-i2c6.o
|
|
obj-$(CONFIG_S3C_DEV_I2C7) += dev-i2c7.o
|
|
obj-$(CONFIG_S3C_DEV_FB) += dev-fb.o
|
|
obj-y += dev-uart.o
|
|
obj-$(CONFIG_S3C_DEV_USB_HOST) += dev-usb.o
|
|
obj-$(CONFIG_S3C_DEV_USB_HSOTG) += dev-usb-hsotg.o
|
|
obj-$(CONFIG_S3C_DEV_WDT) += dev-wdt.o
|
|
obj-$(CONFIG_S3C_DEV_NAND) += dev-nand.o
|
|
obj-$(CONFIG_S3C_DEV_ONENAND) += dev-onenand.o
|
|
obj-$(CONFIG_S3C_DEV_RTC) += dev-rtc.o
|
|
|
|
obj-$(CONFIG_SAMSUNG_DEV_ADC) += dev-adc.o
|
|
obj-$(CONFIG_SAMSUNG_DEV_IDE) += dev-ide.o
|
|
obj-$(CONFIG_SAMSUNG_DEV_TS) += dev-ts.o
|
|
obj-$(CONFIG_SAMSUNG_DEV_KEYPAD) += dev-keypad.o
|
|
obj-$(CONFIG_SAMSUNG_DEV_PWM) += dev-pwm.o
|
|
obj-$(CONFIG_SAMSUNG_DEV_BACKLIGHT) += dev-backlight.o
|
|
|
|
# DMA support
|
|
|
|
obj-$(CONFIG_S3C_DMA) += dma.o
|
|
|
|
obj-$(CONFIG_S3C_PL330_DMA) += s3c-pl330.o
|
|
|
|
# PM support
|
|
|
|
obj-$(CONFIG_PM) += pm.o
|
|
obj-$(CONFIG_PM) += pm-gpio.o
|
|
obj-$(CONFIG_SAMSUNG_PM_CHECK) += pm-check.o
|
|
|
|
obj-$(CONFIG_SAMSUNG_WAKEMASK) += wakeup-mask.o
|
|
|
|
# PD support
|
|
|
|
obj-$(CONFIG_SAMSUNG_PD) += pd.o
|
|
|
|
# PWM support
|
|
|
|
obj-$(CONFIG_HAVE_PWM) += pwm.o
|