On Wed, Feb 13, 2013 at 06:34:27PM +0100, Philipp Zabel wrote:
The SRC has auto-deasserting reset bits that control reset lines to
the GPU, VPU, IPU, and OpenVG IP modules. This patch adds a reset
controller that can be controlled by those devices using the
reset controller API.
We now architecturally depend on RESET_CONTROLLER, so need to have
Kconfig to reflect that. Not sure if it's the best solution, the
following is what I have.
drivers/reset/Kconfig:
config ARCH_HAS_RESET_CONTROLLER
bool
menuconfig RESET_CONTROLLER
bool "Reset Controller Support"
default y if ARCH_HAS_RESET_CONTROLLER
arch/arm/mach-imx/Kconfig:
config ARCH_MXC
bool "Freescale i.MX family" if ARCH_MULTI_V4_V5 || ARCH_MULTI_V6_V7
+ select ARCH_HAS_RESET_CONTROLLER
select ARCH_REQUIRE_GPIOLIB
select ARM_PATCH_PHYS_VIRT
select AUTO_ZRELADDR if !ZBOOT_ROM
Shawn