1 From 18e4542f7b02f586d46594977818cd6b24d9cbcb Mon Sep 17 00:00:00 2001
2 From: Mark Brown <broonie@linaro.org>
3 Date: Fri, 6 Jun 2014 11:36:56 +0100
4 Subject: [PATCH 162/182] PM / OPP: Remove ARCH_HAS_OPP
6 Since the OPP layer is a kernel library which has been converted to be
7 directly selectable by its callers rather than user selectable and
8 requiring architectures to enable it explicitly the ARCH_HAS_OPP symbol
9 has become redundant and can be removed. Do so.
11 Signed-off-by: Mark Brown <broonie@linaro.org>
12 Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
14 Documentation/power/opp.txt | 3 ---
15 arch/arm/mach-exynos/Kconfig | 1 -
16 arch/arm/mach-highbank/Kconfig | 1 -
17 arch/arm/mach-omap2/Kconfig | 1 -
18 arch/arm/mach-shmobile/Kconfig | 2 --
19 arch/arm/mach-vexpress/Kconfig | 1 -
20 drivers/devfreq/Kconfig | 1 -
21 kernel/power/Kconfig | 3 ---
22 8 files changed, 13 deletions(-)
24 --- a/Documentation/power/opp.txt
25 +++ b/Documentation/power/opp.txt
26 @@ -52,9 +52,6 @@ Typical usage of the OPP library is as f
27 SoC framework -> modifies on required cases certain OPPs -> OPP layer
28 -> queries to search/retrieve information ->
30 -Architectures that provide a SoC framework for OPP should select ARCH_HAS_OPP
31 -to make the OPP layer available.
33 OPP layer expects each domain to be represented by a unique device pointer. SoC
34 framework registers a set of initial OPPs per device with the OPP layer. This
35 list is expected to be an optimally small number typically around 5 per device.
36 --- a/arch/arm/mach-exynos/Kconfig
37 +++ b/arch/arm/mach-exynos/Kconfig
38 @@ -107,7 +107,6 @@ config SOC_EXYNOS5440
39 depends on ARCH_EXYNOS5
40 select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
41 select ARCH_HAS_BANDGAP
43 select HAVE_ARM_ARCH_TIMER
46 --- a/arch/arm/mach-highbank/Kconfig
47 +++ b/arch/arm/mach-highbank/Kconfig
48 @@ -2,7 +2,6 @@ config ARCH_HIGHBANK
49 bool "Calxeda ECX-1000/2000 (Highbank/Midway)" if ARCH_MULTI_V7
50 select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
51 select ARCH_HAS_HOLES_MEMORYMODEL
53 select ARCH_SUPPORTS_BIG_ENDIAN
54 select ARCH_WANT_OPTIONAL_GPIOLIB
56 --- a/arch/arm/mach-omap2/Kconfig
57 +++ b/arch/arm/mach-omap2/Kconfig
58 @@ -13,7 +13,6 @@ config ARCH_OMAP3
60 depends on ARCH_MULTI_V7
63 select ARM_CPU_SUSPEND if PM
65 select MULTI_IRQ_HANDLER
66 --- a/arch/arm/mach-shmobile/Kconfig
67 +++ b/arch/arm/mach-shmobile/Kconfig
68 @@ -85,7 +85,6 @@ config ARCH_R8A73A4
75 bool "R-Mobile A1 (R8A77400)"
76 @@ -270,7 +269,6 @@ config MACH_KOELSCH
78 bool "KZM-A9-GT board"
79 depends on ARCH_SH73A0
81 select ARCH_REQUIRE_GPIOLIB
82 select REGULATOR_FIXED_VOLTAGE if REGULATOR
83 select SND_SOC_AK4642 if SND_SIMPLE_CARD
84 --- a/arch/arm/mach-vexpress/Kconfig
85 +++ b/arch/arm/mach-vexpress/Kconfig
86 @@ -67,7 +67,6 @@ config ARCH_VEXPRESS_DCSCB
88 config ARCH_VEXPRESS_SPC
89 bool "Versatile Express Serial Power Controller (SPC)"
93 The TC2 (A15x2 A7x3) versatile express core tile integrates a logic
94 --- a/drivers/devfreq/Kconfig
95 +++ b/drivers/devfreq/Kconfig
96 @@ -68,7 +68,6 @@ comment "DEVFREQ Drivers"
97 config ARM_EXYNOS4_BUS_DEVFREQ
98 bool "ARM Exynos4210/4212/4412 Memory Bus DEVFREQ Driver"
99 depends on (CPU_EXYNOS4210 || SOC_EXYNOS4212 || SOC_EXYNOS4412) && !ARCH_MULTIPLATFORM
100 - select ARCH_HAS_OPP
101 select DEVFREQ_GOV_SIMPLE_ONDEMAND
103 This adds the DEVFREQ driver for Exynos4210 memory bus (vdd_int)
104 --- a/kernel/power/Kconfig
105 +++ b/kernel/power/Kconfig
106 @@ -253,9 +253,6 @@ config APM_EMULATION
107 anything, try disabling/enabling this option (or disabling/enabling
114 bool "Operating Performance Point (OPP) Layer library"
115 depends on ARCH_HAS_OPP