How to use CONFIG_RK29_SDIO_IRQ_FROM_GPIO for your new wifi-module.
authorxbw <xbw@rock-chips.com>
Mon, 20 May 2013 03:04:19 +0000 (11:04 +0800)
committerxbw <xbw@rock-chips.com>
Mon, 20 May 2013 03:04:19 +0000 (11:04 +0800)
For example,please refer to board-rk3168m-tb.c.
continue with the commit eb1ab60e9f7308d90aff40998178ff2a8a502a29

arch/arm/mach-rk30/board-rk3168m-tb.c

index b76afbd07e219357fa012b6e227d4e9575ac27e2..a91d7b9b78d87fd57e42a3fb3cc0b9554f68713f 100755 (executable)
@@ -1007,6 +1007,9 @@ struct rk29_sdmmc_platform_data default_sdmmc1_data = {
 
     #if defined(CONFIG_RK29_SDIO_IRQ_FROM_GPIO)
         .sdio_INT_gpio = RK29SDK_WIFI_SDIO_CARD_INT,
+        #ifdef USE_SDIO_INT_LEVEL
+        .sdio_INT_level = RK30SDK_WIFI_GPIO_WIFI_INT_B_ENABLE_VALUE,
+        #endif
     #endif
 
     .det_pin_info = {