From: wbx Date: Wed, 27 Mar 2013 01:59:40 +0000 (+0800) Subject: rk3168,3188: add BCM4330 for wifi-module X-Git-Tag: firefly_0821_release~7343 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5b1fd916a844fc17c6f0fd49034d8d97cc00dfb0;p=firefly-linux-kernel-4.4.55.git rk3168,3188: add BCM4330 for wifi-module --- diff --git a/arch/arm/mach-rk30/board-rk3168-tb-sdmmc-conifg.c b/arch/arm/mach-rk30/board-rk3168-tb-sdmmc-conifg.c index e44300abd7ec..9626c1b80a89 100644 --- a/arch/arm/mach-rk30/board-rk3168-tb-sdmmc-conifg.c +++ b/arch/arm/mach-rk30/board-rk3168-tb-sdmmc-conifg.c @@ -72,8 +72,8 @@ int rk31sdk_get_sdmmc0_pin_io_voltage(void) #define RK30SDK_WIFI_GPIO_POWER_N RK30_PIN3_PD0 #define RK30SDK_WIFI_GPIO_POWER_ENABLE_VALUE GPIO_LOW//GPIO_HIGH -#elif defined(CONFIG_BCM4329) || defined(CONFIG_BCM4319) || defined(CONFIG_RK903) || defined(CONFIG_RK901) - #define RK30SDK_WIFI_GPIO_POWER_N RK30_PIN3_PD0 +#elif defined(CONFIG_BCM4330) || defined(CONFIG_BCM4329) || defined(CONFIG_BCM4319) || defined(CONFIG_RK903) || defined(CONFIG_RK901) + #define RK30SDK_WIFI_GPIO_POWER_N RK30_PIN3_PD0 #define RK30SDK_WIFI_GPIO_POWER_ENABLE_VALUE GPIO_HIGH #define RK30SDK_WIFI_GPIO_RESET_N RK30_PIN2_PA7 @@ -144,7 +144,7 @@ int rk31sdk_get_sdio_wifi_voltage(void) /****************************************************************************** ** Please tell me how much wifi-module uses voltage in your project. ******************************************************************************/ -#if defined(CONFIG_BCM4329) || defined(CONFIG_BCM4319) || defined(CONFIG_RK903) || defined(CONFIG_RK901) +#if defined(CONFIG_BCM4330) || defined(CONFIG_BCM4329) || defined(CONFIG_BCM4319) || defined(CONFIG_RK903) || defined(CONFIG_RK901) voltage = 1800 ; //power 1800mV #elif defined(CONFIG_MT5931_MT6622)||defined(CONFIG_MT5931)