This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/WL1805MOD: how WL1805MOD work on AM5728 evm

Part Number: WL1805MOD
Other Parts Discussed in Thread: AM5728, , WL1271

Tool/software: Linux

I useed WL1805MOD  on AM5728 evmboad . but .i can't make it working.

in dts ,I select the WL1805MOD  .and we use mmc3

wlcore: wlcore@0 {
221 compatible = "ti,wl1805";
222 reg = <2>;
223 interrupt-parent = <&gpio5>;
224 interrupts = <7 IRQ_TYPE_LEVEL_HIGH>;
225 };

in the broad . I use      usr/share/wl18xx/load_wlcore.sh to insmod wl18xx.ko and wlcore_sdio.ko 

but there is no wlan0 create..

why?

and the log just at wl1271_init ...not going to probe ..shoud I do somethings to make it working .

and .the driver ,i see here

drivers/net/wireless/ti/wlcore/sdio.c 

then I make some logs 

--- a/drivers/net/wireless/ti/wlcore/sdio.c
+++ b/drivers/net/wireless/ti/wlcore/sdio.c
@@ -272,6 +272,7 @@ static int wl1271_probe(struct sdio_func *func,
int irq;
const char *chip_family;

+ printk("in wl1271_probe \n");
/* We are only able to handle the wlan function */
if (func->num != 0x02)
return -ENODEV;
@@ -442,12 +443,14 @@ static struct sdio_driver wl1271_sdio_driver = {
#ifdef CONFIG_PM
.drv = {
.pm = &wl1271_sdio_pm_ops,
+ .of_match_table = of_match_ptr(wlcore_sdio_of_match_table),
},
#endif
};

static int __init wl1271_init(void)
-{
+{
+ printk("in wl1271_init \n");
return sdio_register_driver(&wl1271_sdio_driver);
}

the am5728 sdk I try sdk3.2 and sdk2.0 ..both not okay