diff options
author | Steven Miao <realmz6@gmail.com> | 2012-05-17 05:29:54 -0400 |
---|---|---|
committer | Bob Liu <lliubbo@gmail.com> | 2012-05-21 02:54:50 -0400 |
commit | 0fbd88ca20a68a633b565e1f5ba18ca64afb0c78 (patch) | |
tree | 0c97e9c20a71ba20750f4e51d8e0e4a07e845ddd /arch/blackfin/Kconfig | |
parent | 7c141c1c5c148419eef8972688e86e2e3115ea13 (diff) |
blackfin: bf60x: add wakeup source select
Support select the wakeup source for power management on bf60x.
Signed-off-by: Steven Miao <realmz6@gmail.com>
Signed-off-by: Bob Liu <lliubbo@gmail.com>
Diffstat (limited to 'arch/blackfin/Kconfig')
-rw-r--r-- | arch/blackfin/Kconfig | 114 |
1 files changed, 113 insertions, 1 deletions
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig index 4e48e72291a9..383e7ecda923 100644 --- a/arch/blackfin/Kconfig +++ b/arch/blackfin/Kconfig | |||
@@ -1256,7 +1256,7 @@ config ARCH_SUSPEND_POSSIBLE | |||
1256 | 1256 | ||
1257 | choice | 1257 | choice |
1258 | prompt "Standby Power Saving Mode" | 1258 | prompt "Standby Power Saving Mode" |
1259 | depends on PM | 1259 | depends on PM && !BF60x |
1260 | default PM_BFIN_SLEEP_DEEPER | 1260 | default PM_BFIN_SLEEP_DEEPER |
1261 | config PM_BFIN_SLEEP_DEEPER | 1261 | config PM_BFIN_SLEEP_DEEPER |
1262 | bool "Sleep Deeper" | 1262 | bool "Sleep Deeper" |
@@ -1311,6 +1311,118 @@ config PM_BFIN_WAKE_GP | |||
1311 | On ADSP-BF549 this option enables the the same functionality on the | 1311 | On ADSP-BF549 this option enables the the same functionality on the |
1312 | /MRXON pin also PH7. | 1312 | /MRXON pin also PH7. |
1313 | 1313 | ||
1314 | config PM_BFIN_WAKE_PA15 | ||
1315 | bool "Allow Wake-Up from PA15" | ||
1316 | depends on PM && BF60x | ||
1317 | default n | ||
1318 | help | ||
1319 | Enable PA15 Wake-Up | ||
1320 | |||
1321 | config PM_BFIN_WAKE_PA15_POL | ||
1322 | int "Wake-up priority" | ||
1323 | depends on PM_BFIN_WAKE_PA15 | ||
1324 | default 0 | ||
1325 | help | ||
1326 | Wake-Up priority 0(low) 1(high) | ||
1327 | |||
1328 | config PM_BFIN_WAKE_PB15 | ||
1329 | bool "Allow Wake-Up from PB15" | ||
1330 | depends on PM && BF60x | ||
1331 | default n | ||
1332 | help | ||
1333 | Enable PB15 Wake-Up | ||
1334 | |||
1335 | config PM_BFIN_WAKE_PB15_POL | ||
1336 | int "Wake-up priority" | ||
1337 | depends on PM_BFIN_WAKE_PB15 | ||
1338 | default 0 | ||
1339 | help | ||
1340 | Wake-Up priority 0(low) 1(high) | ||
1341 | |||
1342 | config PM_BFIN_WAKE_PC15 | ||
1343 | bool "Allow Wake-Up from PC15" | ||
1344 | depends on PM && BF60x | ||
1345 | default n | ||
1346 | help | ||
1347 | Enable PC15 Wake-Up | ||
1348 | |||
1349 | config PM_BFIN_WAKE_PC15_POL | ||
1350 | int "Wake-up priority" | ||
1351 | depends on PM_BFIN_WAKE_PC15 | ||
1352 | default 0 | ||
1353 | help | ||
1354 | Wake-Up priority 0(low) 1(high) | ||
1355 | |||
1356 | config PM_BFIN_WAKE_PD06 | ||
1357 | bool "Allow Wake-Up from PD06(ETH0_PHYINT)" | ||
1358 | depends on PM && BF60x | ||
1359 | default n | ||
1360 | help | ||
1361 | Enable PD06(ETH0_PHYINT) Wake-up | ||
1362 | |||
1363 | config PM_BFIN_WAKE_PD06_POL | ||
1364 | int "Wake-up priority" | ||
1365 | depends on PM_BFIN_WAKE_PD06 | ||
1366 | default 0 | ||
1367 | help | ||
1368 | Wake-Up priority 0(low) 1(high) | ||
1369 | |||
1370 | config PM_BFIN_WAKE_PE12 | ||
1371 | bool "Allow Wake-Up from PE12(ETH1_PHYINT, PUSH BUTTON)" | ||
1372 | depends on PM && BF60x | ||
1373 | default n | ||
1374 | help | ||
1375 | Enable PE12(ETH1_PHYINT, PUSH BUTTON) Wake-up | ||
1376 | |||
1377 | config PM_BFIN_WAKE_PE12_POL | ||
1378 | int "Wake-up priority" | ||
1379 | depends on PM_BFIN_WAKE_PE12 | ||
1380 | default 0 | ||
1381 | help | ||
1382 | Wake-Up priority 0(low) 1(high) | ||
1383 | |||
1384 | config PM_BFIN_WAKE_PG04 | ||
1385 | bool "Allow Wake-Up from PG04(CAN0_RX)" | ||
1386 | depends on PM && BF60x | ||
1387 | default n | ||
1388 | help | ||
1389 | Enable PG04(CAN0_RX) Wake-up | ||
1390 | |||
1391 | config PM_BFIN_WAKE_PG04_POL | ||
1392 | int "Wake-up priority" | ||
1393 | depends on PM_BFIN_WAKE_PG04 | ||
1394 | default 0 | ||
1395 | help | ||
1396 | Wake-Up priority 0(low) 1(high) | ||
1397 | |||
1398 | config PM_BFIN_WAKE_PG13 | ||
1399 | bool "Allow Wake-Up from PG13" | ||
1400 | depends on PM && BF60x | ||
1401 | default n | ||
1402 | help | ||
1403 | Enable PG13 Wake-Up | ||
1404 | |||
1405 | config PM_BFIN_WAKE_PG13_POL | ||
1406 | int "Wake-up priority" | ||
1407 | depends on PM_BFIN_WAKE_PG13 | ||
1408 | default 0 | ||
1409 | help | ||
1410 | Wake-Up priority 0(low) 1(high) | ||
1411 | |||
1412 | config PM_BFIN_WAKE_USB | ||
1413 | bool "Allow Wake-Up from (USB)" | ||
1414 | depends on PM && BF60x | ||
1415 | default n | ||
1416 | help | ||
1417 | Enable (USB) Wake-up | ||
1418 | |||
1419 | config PM_BFIN_WAKE_USB_POL | ||
1420 | int "Wake-up priority" | ||
1421 | depends on PM_BFIN_WAKE_USB | ||
1422 | default 0 | ||
1423 | help | ||
1424 | Wake-Up priority 0(low) 1(high) | ||
1425 | |||
1314 | endmenu | 1426 | endmenu |
1315 | 1427 | ||
1316 | menu "CPU Frequency scaling" | 1428 | menu "CPU Frequency scaling" |