summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorallen yan <yanwei@marvell.com>2017-04-17 18:21:49 +0800
committerHua Jing <jinghua@marvell.com>2017-04-24 04:54:26 +0300
commit5c7ad73cf49c4f1fd598e61a40f38284ff55484a (patch)
tree0920c726439017bebf4e4e35a0de86b8a6ef4d71
parent79c984bd020dfbe8a15f223d8d624c49726ab9a6 (diff)
doc: Update Marvell porting documentation
- Update Marvell platform porting documents. Change-Id: I6a8d3a0d527dcce342f358e8f0d49ea2598306ac Signed-off-by: allen yan <yanwei@marvell.com> Reviewed-on: http://vgitil04.il.marvell.com:8080/38689 Reviewed-by: Victor Gu <xigu@marvell.com> Tested-by: iSoC Platform CI <ykjenk@marvell.com> Reviewed-by: Kostya Porotchkin <kostap@marvell.com> Reviewed-by: Hua Jing <jinghua@marvell.com>
-rw-r--r--docs/marvell/porting.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/marvell/porting.txt b/docs/marvell/porting.txt
index 83190eee..50d75ce4 100644
--- a/docs/marvell/porting.txt
+++ b/docs/marvell/porting.txt
@@ -72,7 +72,7 @@ A3700 specific:
- In pm_src.c, a dedicate routine with name mv_wake_up_src_config_get() should be defined, which
would be called by A3700 power management framework to get wake up source configuration.
struct pm_wake_up_src_config *mv_wake_up_src_config_get(void)
- - The only supported wake up source is South bridge and North bridge GPIO, and each platform
+ - The supported wake up source are South bridge, North bridge GPIO, Uart TX/RX, and each platform
could have up to 4 different wake up sources at the same time.
- Wake up source configuration is defined as "struct pm_wake_up_src_config"
o wake_up_src_num: the number of wake up source, could be up to 4.
@@ -84,7 +84,7 @@ A3700 specific:
gpio_data.gpio_num: GPIO number that is used as wake up source.
- Example of A3700-DB wake up source:
static struct pm_wake_up_src_config wake_up_src_cfg = {
- .wake_up_src_num = 2,
+ .wake_up_src_num = 3,
.wake_up_src[0] = {
.wake_up_src_type = WAKE_UP_SRC_GPIO,
.wake_up_data = {
@@ -98,6 +98,10 @@ A3700 specific:
.gpio_data.bank_num = 1, /* South Bridge */
.gpio_data.gpio_num = 2
}
+ },
+ .wake_up_src[2] = {
+ .wake_up_src_type = WAKE_UP_SRC_UART1,
+ }
}
};
struct pm_wake_up_src_config *mv_wake_up_src_config_get(void)