[ 1.591308] c1 1 mmc3: Qualcomm MSM SDCC-core at 0x00000000121c0000 irq 133,0 dma 21 dmacrcri 5 [ 1.591308] c1 1 mmc3: Controller capabilities: 0x00000001 [ 1.591308] c1 1 mmc3: Platform slot type: SDIO(WIFI) [ 1.591339] c1 1 mmc3: 8 bit data mode disabled [ 1.591339] c1 1 mmc3: 4 bit data mode enabled [ 1.591339] c1 1 mmc3: polling status mode disabled [ 1.591369] c1 1 mmc3: MMC clock 400000 -> 48000000 Hz, PCLK 0 Hz [ 1.591369] c1 1 mmc3: Slot eject status = 0 [ 1.591369] c1 1 mmc3: Power save feature enable = 1 [ 1.591400] c1 1 mmc3: DM non-cached buffer at ffd60000, dma_addr 0x6bfa0000 [ 1.591400] c1 1 mmc3: DM cmd busaddr 0x6bfa0000, cmdptr busaddr 0x6bfb7f40 [ 1.895111] c1 28 ti_wifi_power:1, mmc->index=3 [ 1.895172] c1 28 ti_wifi_power: 1 [ 2.611236] c0 28 mmc3: card claims to support voltages below the defined range. These will be ignored. [ 2.613067] c0 28 sdio_read_cccr: card->ccr.sdio_vsn: 1, cccr_vsn: 1 [ 2.628662] c0 28 mmc3: queuing unknown CIS tuple 0x91 (3 bytes) [ 2.633544] c0 28 mmc3: new SDIO card at address 0001 [ 2.634552] c0 28 mmc3: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0 timing 0 [ 2.634643] c0 28 ti_wifi_power:0, mmc->index=3 [ 2.634674] c0 28 ti_wifi_power: 0
thats how my wifi related logs comes in my last_kmsg,
below are the mmc values provided by htc..the stock source had MMC_VDD_165_195 so i checked it with MMC_VDD_28_29 ... still a no go...CONFIG_TIWLAN_SDIO is not set by default in config.
static unsigned int ruby_sdc_slot_type = MMC_TYPE_SDIO_WIFI; static struct mmc_platform_data ruby_wifi_data = { // .ocr_mask = MMC_VDD_165_195, //#else .ocr_mask = MMC_VDD_28_29, //#endif #ifdef CONFIG_TIWLAN_SDIO .status = ruby_wifi_status, .register_status_notify = ruby_wifi_status_register, .embedded_sdio = &ruby_wifi_emb_data, #endif .mmc_bus_width = MMC_CAP_4_BIT_DATA, .msmsdcc_fmin = 400000, .msmsdcc_fmid = 24000000, .msmsdcc_fmax = 48000000, .slot_type = &ruby_sdc_slot_type, .nonremovable = 1, };
i'm using stock values provided by htc including Sdiodrv.c and its dependencies so i'm not sure what i'm missing..any help would be great :)