From 3564200d7cc664da08b7b9e04da123121d5fcb64 Mon Sep 17 00:00:00 2001 From: Kyungmin Park Date: Mon, 30 Aug 2010 20:33:50 +0900 Subject: [PATCH] s5pc210: universal: Generate the ARM voltage as 1.1V --- board/samsung/universal_c210/universal.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/board/samsung/universal_c210/universal.c b/board/samsung/universal_c210/universal.c index a868673..3268cc3 100644 --- a/board/samsung/universal_c210/universal.c +++ b/board/samsung/universal_c210/universal.c @@ -493,11 +493,16 @@ static void init_pmic_max8952(void) if (max8952_probe()) return; - /* VARM_OUTPUT_SEL_A / VID_0 / XEINT_3 (GPX0[3]) = default 0 */ - gpio_direction_output(&gpio2->x0, 3, 0); - /* VARM_OUTPUT_SEL_B / VID_1 / XEINT_4 (GPX0[4]) = default 0 */ - gpio_direction_output(&gpio2->x0, 4, 0); + /* + * Note: use the default setting and configure pins high + * to generate the 1.1V + */ + /* VARM_OUTPUT_SEL_A / VID_0 / XEINT_3 (GPX0[3]) = default 1 */ + gpio_direction_output(&gpio2->x0, 3, 1); + /* VARM_OUTPUT_SEL_B / VID_1 / XEINT_4 (GPX0[4]) = default 1 */ + gpio_direction_output(&gpio2->x0, 4, 1); +#if 0 /* MODE0: 1.25V */ val[0] = 48; i2c_write(addr, 0x00, 1, val, 1); @@ -514,6 +519,7 @@ static void init_pmic_max8952(void) /* CONTROL: Disable PULL_DOWN */ val[0] = 0; i2c_write(addr, 0x04, 1, val, 1); +#endif /* SYNC: Do Nothing */ /* RAMP: As Fast As Possible: Default: Do Nothing */ -- 2.7.4