diff options
author | Peter Chen <peter.chen@freescale.com> | 2013-04-08 16:02:14 +0800 |
---|---|---|
committer | Peter Chen <peter.chen@freescale.com> | 2013-04-11 13:09:04 +0800 |
commit | 754fa25a2310995c10acc9cfe6b2db35b3536a23 (patch) | |
tree | 06d8d84b0518f5c50b3ee02c26d62e1f8e747e6a | |
parent | 2973fc2e363622601dbca02a21efec228c9ebc52 (diff) |
ENGR00257130-5 mx6sl: Add config for USB ID as system wakeup source
Since USB ID pin may affect power savings, we add enable/disable
USB ID pin as system wakeup source using Kconfig option, the user
can determine it.
Signed-off-by: Peter Chen <peter.chen@freescale.com>
-rw-r--r-- | arch/arm/mach-mx6/Kconfig | 5 | ||||
-rw-r--r-- | arch/arm/mach-mx6/board-mx6sl_common.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-mx6/Kconfig b/arch/arm/mach-mx6/Kconfig index 59d8ab313f73..dab97da93777 100644 --- a/arch/arm/mach-mx6/Kconfig +++ b/arch/arm/mach-mx6/Kconfig @@ -295,6 +295,11 @@ config USB_EHCI_ARC_H1 config USB_FSL_ARC_OTG tristate "FSL USB OTG support" +config USB_ID_WAKEUP_ENABLE + bool "Enable USB ID Pin As System Wakeup Source" + depends on SOC_IMX6SL + default n + config MX6_INTER_LDO_BYPASS bool "Internal LDO in MX6Q/DL bypass" depends on REGULATOR_PFUZE100 && CPU_FREQ_IMX && ARCH_MX6 diff --git a/arch/arm/mach-mx6/board-mx6sl_common.h b/arch/arm/mach-mx6/board-mx6sl_common.h index 2b2dd6b93c9a..897099f2c1ea 100644 --- a/arch/arm/mach-mx6/board-mx6sl_common.h +++ b/arch/arm/mach-mx6/board-mx6sl_common.h @@ -481,7 +481,9 @@ static iomux_v3_cfg_t suspend_enter_pads[] = { MX6SL_PAD_SD3_DAT3__GPIO_5_17, /* USBOTG ID pin */ +#ifndef CONFIG_USB_ID_WAKEUP_ENABLE MX6SL_PAD_EPDC_PWRCOM__GPIO_2_11, +#endif MX6SL_PAD_HSIC_STROBE__GPIO_3_20, MX6SL_PAD_HSIC_DAT__GPIO_3_19, |