kernel: update 3.14 to 3.14.18
[openwrt/staging/stintel.git] / target / linux / ipq806x / patches / 0162-PM-OPP-Remove-ARCH_HAS_OPP.patch
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
5
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.
10
11 Signed-off-by: Mark Brown <broonie@linaro.org>
12 Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
13 ---
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(-)
23
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 ->
29
30 -Architectures that provide a SoC framework for OPP should select ARCH_HAS_OPP
31 -to make the OPP layer available.
32 -
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
42 - select ARCH_HAS_OPP
43 select HAVE_ARM_ARCH_TIMER
44 select AUTO_ZRELADDR
45 select MIGHT_HAVE_PCI
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
52 - select ARCH_HAS_OPP
53 select ARCH_SUPPORTS_BIG_ENDIAN
54 select ARCH_WANT_OPTIONAL_GPIOLIB
55 select ARM_AMBA
56 --- a/arch/arm/mach-omap2/Kconfig
57 +++ b/arch/arm/mach-omap2/Kconfig
58 @@ -13,7 +13,6 @@ config ARCH_OMAP3
59 bool "TI OMAP3"
60 depends on ARCH_MULTI_V7
61 select ARCH_OMAP2PLUS
62 - select ARCH_HAS_OPP
63 select ARM_CPU_SUSPEND if PM
64 select CPU_V7
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
69 select CPU_V7
70 select SH_CLK_CPG
71 select RENESAS_IRQC
72 - select ARCH_HAS_OPP
73
74 config ARCH_R8A7740
75 bool "R-Mobile A1 (R8A77400)"
76 @@ -270,7 +269,6 @@ config MACH_KOELSCH
77 config MACH_KZM9G
78 bool "KZM-A9-GT board"
79 depends on ARCH_SH73A0
80 - select ARCH_HAS_OPP
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
87
88 config ARCH_VEXPRESS_SPC
89 bool "Versatile Express Serial Power Controller (SPC)"
90 - select ARCH_HAS_OPP
91 select PM_OPP
92 help
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
102 help
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
108 APM in your BIOS).
109
110 -config ARCH_HAS_OPP
111 - bool
112 -
113 config PM_OPP
114 bool "Operating Performance Point (OPP) Layer library"
115 depends on ARCH_HAS_OPP