Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f7d77079 authored by Kukjin Kim's avatar Kukjin Kim Committed by Dave Jones
Browse files

[CPUFREQ] Move ARM Samsung cpufreq drivers to drivers/cpufreq/



According to discussion of the ARM arch subsystem migration,
ARM cpufreq drivers move to drivers/cpufreq. So this patch
adds Kconfig.arm for ARM like x86 and adds Samsung S5PV210
and EXYNOS4210 cpufreq driver compile in there.
As a note, otherw will be moved.

Cc: Dave Jones <davej@redhat.com>
Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
Signed-off-by: default avatarDave Jones <davej@redhat.com>
parent be2de99b
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -15,7 +15,6 @@ obj- :=
obj-$(CONFIG_CPU_EXYNOS4210)	+= cpu.o init.o clock.o irq-combiner.o
obj-$(CONFIG_CPU_EXYNOS4210)	+= cpu.o init.o clock.o irq-combiner.o
obj-$(CONFIG_CPU_EXYNOS4210)	+= setup-i2c0.o irq-eint.o dma.o
obj-$(CONFIG_CPU_EXYNOS4210)	+= setup-i2c0.o irq-eint.o dma.o
obj-$(CONFIG_PM)		+= pm.o sleep.o
obj-$(CONFIG_PM)		+= pm.o sleep.o
obj-$(CONFIG_CPU_FREQ)		+= cpufreq.o
obj-$(CONFIG_CPU_IDLE)		+= cpuidle.o
obj-$(CONFIG_CPU_IDLE)		+= cpuidle.o


obj-$(CONFIG_SMP)		+= platsmp.o headsmp.o
obj-$(CONFIG_SMP)		+= platsmp.o headsmp.o
+0 −1
Original line number Original line Diff line number Diff line
@@ -15,7 +15,6 @@ obj- :=
obj-$(CONFIG_CPU_S5PV210)	+= cpu.o init.o clock.o dma.o
obj-$(CONFIG_CPU_S5PV210)	+= cpu.o init.o clock.o dma.o
obj-$(CONFIG_CPU_S5PV210)	+= setup-i2c0.o
obj-$(CONFIG_CPU_S5PV210)	+= setup-i2c0.o
obj-$(CONFIG_S5PV210_PM)	+= pm.o sleep.o
obj-$(CONFIG_S5PV210_PM)	+= pm.o sleep.o
obj-$(CONFIG_CPU_FREQ)		+= cpufreq.o


# machine support
# machine support


+5 −0
Original line number Original line Diff line number Diff line
@@ -184,5 +184,10 @@ depends on X86
source "drivers/cpufreq/Kconfig.x86"
source "drivers/cpufreq/Kconfig.x86"
endmenu
endmenu


menu "ARM CPU frequency scaling drivers"
depends on ARM
source "drivers/cpufreq/Kconfig.arm"
endmenu

endif
endif
endmenu
endmenu
+23 −0
Original line number Original line Diff line number Diff line
#
# ARM CPU Frequency scaling drivers
#

config ARM_S5PV210_CPUFREQ
	bool "Samsung S5PV210 and S5PC110"
	depends on CPU_S5PV210
	default y
	help
	  This adds the CPUFreq driver for Samsung S5PV210 and
	  S5PC110 SoCs.

	  If in doubt, say N.

config ARM_EXYNOS4210_CPUFREQ
	bool "Samsung EXYNOS4210"
	depends on CPU_EXYNOS4210
	default y
	help
	  This adds the CPUFreq driver for Samsung EXYNOS4210
	  SoC (S5PV310 or S5PC210).

	  If in doubt, say N.
+2 −0
Original line number Original line Diff line number Diff line
@@ -42,3 +42,5 @@ obj-$(CONFIG_X86_CPUFREQ_NFORCE2) += cpufreq-nforce2.o
# ARM SoC drivers
# ARM SoC drivers
obj-$(CONFIG_UX500_SOC_DB8500)		+= db8500-cpufreq.o
obj-$(CONFIG_UX500_SOC_DB8500)		+= db8500-cpufreq.o
obj-$(CONFIG_CPU_FREQ_S3C64XX)		+= s3c64xx.o
obj-$(CONFIG_CPU_FREQ_S3C64XX)		+= s3c64xx.o
obj-$(CONFIG_ARM_S5PV210_CPUFREQ)	+= s5pv210-cpufreq.o
obj-$(CONFIG_ARM_EXYNOS4210_CPUFREQ)	+= exynos4210-cpufreq.o
Loading