diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2008-07-19 04:57:32 -0400 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2008-07-19 04:57:32 -0400 |
commit | 1efc80b53eb54770139219f99657abd92595fc86 (patch) | |
tree | 254c76b3aaf22110b116e67a8118945006cacce6 /arch/blackfin/Kconfig | |
parent | 4f13f548cef5af1717cbbc341a1a3474f3e7466e (diff) |
Blackfin arch: Functional power management support
Enable: PM_SUSPEND_MEM -> Blackfin Hibernate to SDRAM
This feature requires a special bootloader (u-boot)
supporting return from hibernate.
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/Kconfig')
-rw-r--r-- | arch/blackfin/Kconfig | 66 |
1 files changed, 61 insertions, 5 deletions
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig index c602727d1a9a..8f21b78b2e6f 100644 --- a/arch/blackfin/Kconfig +++ b/arch/blackfin/Kconfig | |||
@@ -880,7 +880,7 @@ config ARCH_SUSPEND_POSSIBLE | |||
880 | depends on !SMP | 880 | depends on !SMP |
881 | 881 | ||
882 | choice | 882 | choice |
883 | prompt "Default Power Saving Mode" | 883 | prompt "Standby Power Saving Mode" |
884 | depends on PM | 884 | depends on PM |
885 | default PM_BFIN_SLEEP_DEEPER | 885 | default PM_BFIN_SLEEP_DEEPER |
886 | config PM_BFIN_SLEEP_DEEPER | 886 | config PM_BFIN_SLEEP_DEEPER |
@@ -899,6 +899,8 @@ config PM_BFIN_SLEEP_DEEPER | |||
899 | normal during Sleep Deeper, due to the reduced SCLK frequency. | 899 | normal during Sleep Deeper, due to the reduced SCLK frequency. |
900 | When in the sleep mode, system DMA access to L1 memory is not supported. | 900 | When in the sleep mode, system DMA access to L1 memory is not supported. |
901 | 901 | ||
902 | If unsure, select "Sleep Deeper". | ||
903 | |||
902 | config PM_BFIN_SLEEP | 904 | config PM_BFIN_SLEEP |
903 | bool "Sleep" | 905 | bool "Sleep" |
904 | help | 906 | help |
@@ -906,15 +908,17 @@ config PM_BFIN_SLEEP | |||
906 | dissipation by disabling the clock to the processor core (CCLK). | 908 | dissipation by disabling the clock to the processor core (CCLK). |
907 | The PLL and system clock (SCLK), however, continue to operate in | 909 | The PLL and system clock (SCLK), however, continue to operate in |
908 | this mode. Typically an external event or RTC activity will wake | 910 | this mode. Typically an external event or RTC activity will wake |
909 | up the processor. When in the sleep mode, | 911 | up the processor. When in the sleep mode, system DMA access to L1 |
910 | system DMA access to L1 memory is not supported. | 912 | memory is not supported. |
913 | |||
914 | If unsure, select "Sleep Deeper". | ||
911 | endchoice | 915 | endchoice |
912 | 916 | ||
913 | config PM_WAKEUP_BY_GPIO | 917 | config PM_WAKEUP_BY_GPIO |
914 | bool "Cause Wakeup Event by GPIO" | 918 | bool "Allow Wakeup from Standby by GPIO" |
915 | 919 | ||
916 | config PM_WAKEUP_GPIO_NUMBER | 920 | config PM_WAKEUP_GPIO_NUMBER |
917 | int "Wakeup GPIO number" | 921 | int "GPIO number" |
918 | range 0 47 | 922 | range 0 47 |
919 | depends on PM_WAKEUP_BY_GPIO | 923 | depends on PM_WAKEUP_BY_GPIO |
920 | default 2 if BFIN537_STAMP | 924 | default 2 if BFIN537_STAMP |
@@ -935,6 +939,58 @@ config PM_WAKEUP_GPIO_POLAR_EDGE_B | |||
935 | bool "Both EDGE" | 939 | bool "Both EDGE" |
936 | endchoice | 940 | endchoice |
937 | 941 | ||
942 | comment "Possible Suspend Mem / Hibernate Wake-Up Sources" | ||
943 | depends on PM | ||
944 | |||
945 | config PM_BFIN_WAKE_RTC | ||
946 | bool "Allow Wake-Up from RESET and on-chip RTC" | ||
947 | depends on PM | ||
948 | default n | ||
949 | help | ||
950 | Enable RTC Wake-Up (Voltage Regulator Power-Up) | ||
951 | |||
952 | config PM_BFIN_WAKE_PH6 | ||
953 | bool "Allow Wake-Up from on-chip PHY or PH6 GP" | ||
954 | depends on PM && (BF52x || BF534 || BF536 || BF537) | ||
955 | default n | ||
956 | help | ||
957 | Enable PHY and PH6 GP Wake-Up (Voltage Regulator Power-Up) | ||
958 | |||
959 | config PM_BFIN_WAKE_CAN | ||
960 | bool "Allow Wake-Up from on-chip CAN0/1" | ||
961 | depends on PM && (BF54x || BF534 || BF536 || BF537) | ||
962 | default n | ||
963 | help | ||
964 | Enable CAN0/1 Wake-Up (Voltage Regulator Power-Up) | ||
965 | |||
966 | config PM_BFIN_WAKE_GP | ||
967 | bool "Allow Wake-Up from GPIOs" | ||
968 | depends on PM && BF54x | ||
969 | default n | ||
970 | help | ||
971 | Enable General-Purpose Wake-Up (Voltage Regulator Power-Up) | ||
972 | |||
973 | config PM_BFIN_WAKE_USB | ||
974 | bool "Allow Wake-Up from on-chip USB" | ||
975 | depends on PM && (BF54x || BF52x) | ||
976 | default n | ||
977 | help | ||
978 | Enable USB Wake-Up (Voltage Regulator Power-Up) | ||
979 | |||
980 | config PM_BFIN_WAKE_KEYPAD | ||
981 | bool "Allow Wake-Up from on-chip Keypad" | ||
982 | depends on PM && BF54x | ||
983 | default n | ||
984 | help | ||
985 | Enable Keypad Wake-Up (Voltage Regulator Power-Up) | ||
986 | |||
987 | config PM_BFIN_WAKE_ROTARY | ||
988 | bool "Allow Wake-Up from on-chip Rotary" | ||
989 | depends on PM && BF54x | ||
990 | default n | ||
991 | help | ||
992 | Enable Rotary Wake-Up (Voltage Regulator Power-Up) | ||
993 | |||
938 | endmenu | 994 | endmenu |
939 | 995 | ||
940 | menu "CPU Frequency scaling" | 996 | menu "CPU Frequency scaling" |