From 38abb22061d31e55fa030ec7e733b8927d55b400 Mon Sep 17 00:00:00 2001 From: MyungJoo Ham Date: Mon, 1 Feb 2010 20:47:29 +0900 Subject: [PATCH] s5pc110: aquila/aries GPIO setting update - SET HIGH -> KEEP_STATE for UART_SEL (CP might be using UART just before an instance of sleep.) - KEEP_STATE setting of WLAN/BT in Aquila is copied to Aries. - KEEP_STATE setting of UART_SEL in Aries is copied to Aquila. --- board/samsung/universal/gpio_setting.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/board/samsung/universal/gpio_setting.h b/board/samsung/universal/gpio_setting.h index 1986d1d..4d16498 100644 --- a/board/samsung/universal/gpio_setting.h +++ b/board/samsung/universal/gpio_setting.h @@ -197,7 +197,7 @@ static struct gpio_powermode aquila_powerdown_modes[] = { PULL_DOWN(4) | PULL_DIS(5) | PULL_DIS(6) | PULL_DIS(7), }, { /* S5PC110_MP0_5_OFFSET */ INPUT(0) | OUTPUT0(1) | INPUT(2) | INPUT(3) | - OUTPUT0(4) | OUTPUT0(5) | OUTPUT0(6) | OUTPUT0(7), + OUTPUT0(4) | OUTPUT0(5) | OUTPUT0(6) | KEEP_STATE(7), PULL_DOWN(0) | PULL_DIS(1) | PULL_DIS(2) | PULL_DIS(3) | PULL_DIS(4) | PULL_DIS(5) | PULL_DIS(6) | PULL_DIS(7), }, { /* S5PC110_MP0_6_OFFSET */ @@ -251,7 +251,7 @@ static struct gpio_powermode aries_powerdown_modes[] = { PULL_DIS(0) | PULL_DIS(1) | PULL_DIS(2) | PULL_DIS(3), }, { /* S5PC110(ARIES)_GPIO_B_OFFSET */ OUTPUT0(0) | OUTPUT0(1) | OUTPUT0(2) | OUTPUT0(3) | - INPUT(4) | OUTPUT0(5) | PDNCON_NC(6) | OUTPUT0(7), + INPUT(4) | KEEP_STATE(5) | PDNCON_NC(6) | OUTPUT0(7), PULL_DIS(0) | PULL_DIS(1) | PULL_DIS(2) | PULL_DIS(3) | PULL_DIS(4) | PULL_DIS(5) | PDNPUD_NC(6) | PULL_DIS(7), }, { /* S5PC110(ARIES)_GPIO_C0_OFFSET */ @@ -308,7 +308,7 @@ static struct gpio_powermode aries_powerdown_modes[] = { PULL_DIS(0) | PULL_DIS(1) | PULL_DIS(2) | PULL_DIS(3) | PULL_DIS(4) | PULL_DIS(5) | PULL_DIS(6), }, { /* S5PC110(ARIES)_GPIO_G1_OFFSET */ - OUTPUT0(0) | OUTPUT1(1) | OUTPUT0(2) | OUTPUT1(3) | + OUTPUT0(0) | OUTPUT1(1) | KEEP_STATE(2) | OUTPUT1(3) | OUTPUT1(4) | OUTPUT1(5) | OUTPUT1(6), PULL_DIS(0) | PULL_DIS(1) | PULL_DIS(2) | PULL_DIS(3) | PULL_DIS(4) | PULL_DIS(5) | PULL_DIS(6), @@ -374,7 +374,7 @@ static struct gpio_powermode aries_powerdown_modes[] = { PDNPUD_NC(4) | PDNPUD_NC(5) | PULL_DIS(6) | PDNPUD_NC(7), }, { /* S5PC110(ARIES)_MP0_5_OFFSET */ INPUT(0) | INPUT(1) | INPUT(2) | INPUT(3) | - INPUT(4) | OUTPUT0(5) | INPUT(6) | OUTPUT1(7), + INPUT(4) | OUTPUT0(5) | INPUT(6) | KEEP_STATE(7), PULL_DIS(0) | PULL_DIS(1) | PULL_DIS(2) | PULL_DIS(3) | PULL_DOWN(4) | PULL_DIS(5) | PULL_UP(6) | PULL_DIS(7), }, { /* S5PC110(ARIES)_MP0_6_OFFSET */ -- 2.7.4