mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-29 15:43:59 +08:00
0f20e456bd
The gpio-samsung driver is special in the sense that it
interacts directly in multiple ways with the legacy platform
code for the s3c24xx and s3c64xx platforms. In contrast,
all devicetree based machines for Samsung, including the
ones on those two SoC families use a different driver.
The header files that define the interface between the platform
code and the gpio driver are not visible when building a
kernel for ARCH_MULTIPLATFORM, which prevents us from
turning on this option for s3c64xx.
To work around this, we now move the driver back into platform
code, from where it was originally moved to as part of commit
1b39d5f2cc
("gpio/samsung: gpio-samsung.c to support
Samsung GPIOs").
The long-term plan for this driver would be to remove it
entirely, after all Samsung machines have been converted
over to boot from DT, but there is currently no timeline
for when that might happen.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
37 lines
836 B
Makefile
37 lines
836 B
Makefile
# arch/arm/plat-samsung/Makefile
|
|
#
|
|
# Copyright 2009 Simtec Electronics
|
|
#
|
|
# Licensed under GPLv2
|
|
|
|
ccflags-$(CONFIG_ARCH_MULTI_V7) += -I$(srctree)/$(src)/include
|
|
|
|
# Objects we always build independent of SoC choice
|
|
|
|
obj-y += init.o cpu.o
|
|
|
|
# ADC
|
|
|
|
obj-$(CONFIG_S3C_ADC) += adc.o
|
|
|
|
# devices
|
|
|
|
obj-$(CONFIG_SAMSUNG_ATAGS) += platformdata.o
|
|
|
|
obj-$(CONFIG_SAMSUNG_ATAGS) += devs.o
|
|
obj-$(CONFIG_SAMSUNG_ATAGS) += dev-uart.o
|
|
|
|
obj-$(CONFIG_GPIO_SAMSUNG) += gpio-samsung.o
|
|
|
|
# PM support
|
|
|
|
obj-$(CONFIG_PM_SLEEP) += pm-common.o
|
|
obj-$(CONFIG_EXYNOS_CPU_SUSPEND) += pm-common.o
|
|
obj-$(CONFIG_SAMSUNG_PM) += pm.o
|
|
obj-$(CONFIG_SAMSUNG_PM_GPIO) += pm-gpio.o
|
|
obj-$(CONFIG_SAMSUNG_PM_CHECK) += pm-check.o
|
|
obj-$(CONFIG_SAMSUNG_PM_DEBUG) += pm-debug.o
|
|
|
|
obj-$(CONFIG_SAMSUNG_WAKEMASK) += wakeup-mask.o
|
|
obj-$(CONFIG_SAMSUNG_WDT_RESET) += watchdog-reset.o
|