We have a tiwi-BLE moduel from LS-research attached to an SDIO controller. I cannot get the Wifi driver to initialize properly.
I added a few extra printk's to the driver, to see a bit more of what's happening. The following appears on the output:
sdhci-arasan e0101000.sdhci: card claims to support voltages below defined range
mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
mmc1: new SDIO card at address 0001
wl12xx_probe
wlcore_alloc_hw
wlcore_probe
wlcore_nvs_cb: Platform data found, irq=116
wl12xx_setup: Platform data found, irq=116
wlcore: loaded
mmc1: Timeout waiting for hardware interrupt.
mmc1: Reset 0x2 never completed.
mmc1: Reset 0x4 never completed.
mmc1: Timeout waiting for hardware interrupt.
mmc1: Reset 0x2 never completed.
mmc1: Reset 0x4 never completed.
I measured various lines on the module. The SDIO CLK is running at ~12 MHz. The IRQ line never goes high, it's connected to a GPIO line on the CPU. The WLAN_EN is enabled (high) during this routine, there's a 70ms delay between WLAN_EN going high and initiating communication.
The lines "mmc1: queuing unknown CIS tuple 0x91 (3 bytes)" and "mmc1: new SDIO card at address 0001" look familiar, I also saw those on TI evaluation boards with this chipset, so they appear to indicate all is well and that the chips has been detected.
What could be the cause of this behaviour?