| 1 | From 24c474c864c5b53c068a3203393e40894a385fb8 Mon Sep 17 00:00:00 2001 |
| 2 | From: Xiangfu Liu <xiangfu@sharism.cc> |
| 3 | Date: Tue, 1 Nov 2011 21:15:26 +0800 |
| 4 | Subject: [PATCH 32/32] set atben GPIO to func_none |
| 5 | |
| 6 | --- |
| 7 | arch/mips/jz4740/board-qi_lb60.c | 7 +++++++ |
| 8 | 1 files changed, 7 insertions(+), 0 deletions(-) |
| 9 | |
| 10 | diff --git a/arch/mips/jz4740/board-qi_lb60.c b/arch/mips/jz4740/board-qi_lb60.c |
| 11 | index 0bc4caa..67a5fa3 100644 |
| 12 | --- a/arch/mips/jz4740/board-qi_lb60.c |
| 13 | +++ b/arch/mips/jz4740/board-qi_lb60.c |
| 14 | @@ -446,6 +446,13 @@ static void __init board_gpio_setup(void) |
| 15 | * drivers. Everything else is done by the drivers themselves. */ |
| 16 | jz_gpio_disable_pullup(QI_LB60_GPIO_SD_VCC_EN_N); |
| 17 | jz_gpio_disable_pullup(QI_LB60_GPIO_SD_CD); |
| 18 | + |
| 19 | + jz_gpio_set_function(JZ_GPIO_PORTD(8), JZ_GPIO_FUNC_NONE); |
| 20 | + jz_gpio_set_function(JZ_GPIO_PORTD(9), JZ_GPIO_FUNC_NONE); |
| 21 | + jz_gpio_set_function(JZ_GPIO_PORTD(10), JZ_GPIO_FUNC_NONE); |
| 22 | + jz_gpio_set_function(JZ_GPIO_PORTD(11), JZ_GPIO_FUNC_NONE); |
| 23 | + jz_gpio_set_function(JZ_GPIO_PORTD(12), JZ_GPIO_FUNC_NONE); |
| 24 | + jz_gpio_set_function(JZ_GPIO_PORTD(13), JZ_GPIO_FUNC_NONE); |
| 25 | } |
| 26 | |
| 27 | static int __init qi_lb60_init_platform_devices(void) |
| 28 | -- |
| 29 | 1.7.4.1 |
| 30 | |
| 31 | |