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

Commit 78c5e0bb authored by Mark Brown's avatar Mark Brown Committed by Rafael J. Wysocki
Browse files

PM / OPP: Remove ARCH_HAS_OPP



Since the OPP layer is a kernel library which has been converted to be
directly selectable by its callers rather than user selectable and
requiring architectures to enable it explicitly the ARCH_HAS_OPP symbol
has become redundant and can be removed. Do so.

Signed-off-by: default avatarMark Brown <broonie@linaro.org>
Reviewed-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Acked-by: default avatarNishanth Menon <nm@ti.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
Acked-by: default avatarShawn Guo <shawn.guo@freescale.com>
Acked-by: default avatarSimon Horman <horms+renesas@verge.net.au>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 9a3c4145
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -51,9 +51,6 @@ Typical usage of the OPP library is as follows:
SoC framework	-> modifies on required cases certain OPPs	-> OPP layer
		-> queries to search/retrieve information	->

Architectures that provide a SoC framework for OPP should select ARCH_HAS_OPP
to make the OPP layer available.

OPP layer expects each domain to be represented by a unique device pointer. SoC
framework registers a set of initial OPPs per device with the OPP layer. This
list is expected to be an optimally small number typically around 5 per device.
+0 −1
Original line number Diff line number Diff line
@@ -100,7 +100,6 @@ config SOC_EXYNOS5440
	default y
	depends on ARCH_EXYNOS5
	select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
	select ARCH_HAS_OPP
	select HAVE_ARM_ARCH_TIMER
	select AUTO_ZRELADDR
	select MIGHT_HAVE_PCI
+0 −1
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@ config ARCH_HIGHBANK
	bool "Calxeda ECX-1000/2000 (Highbank/Midway)" if ARCH_MULTI_V7
	select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
	select ARCH_HAS_HOLES_MEMORYMODEL
	select ARCH_HAS_OPP
	select ARCH_SUPPORTS_BIG_ENDIAN
	select ARM_AMBA
	select ARM_ERRATA_764369 if SMP
+0 −1
Original line number Diff line number Diff line
menuconfig ARCH_MXC
	bool "Freescale i.MX family" if ARCH_MULTI_V4_V5 || ARCH_MULTI_V6_V7
	select ARCH_HAS_OPP
	select ARCH_REQUIRE_GPIOLIB
	select ARM_CPU_SUSPEND if PM
	select CLKSRC_MMIO
+0 −1
Original line number Diff line number Diff line
@@ -15,7 +15,6 @@ config ARCH_OMAP3
	bool "TI OMAP3"
	depends on ARCH_MULTI_V7
	select ARCH_OMAP2PLUS
	select ARCH_HAS_OPP
	select ARM_CPU_SUSPEND if PM
	select OMAP_INTERCONNECT
	select PM_OPP if PM
Loading