Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 1583

RE: RZ/A1 RSK Device Tree add WiFi/BT using SDIO interface with TI Wilink8

$
0
0

Thanks Chris - it turns out I needed to some code in the TI kernel driver to clear the interrupt for the Renesas in the TI wl18xx.ko interrupt handler code... This at least allows the WiFi module to talk with the RZA1 and not get a flood of interrupts. I can scan wireless networks with this fix but cannot associate... I'm thinking there might be some other place I need to put this.

Is this the right way to clear the interrupt?

///////////////////////////////////////////////////////////////////////////////

       void __iomem *irc1 = IOMEM(0xfcfef804);

       u16 value;

       value = __raw_readw(irc1);

printk("<cmp> 1 WILINK8 IRQ: Read this value: %d\n",value);

value = 0x0000;

printk("<cmp> 2 WILINK8 IRQ: Write this value: %d\n",value);

       __raw_writew(value, irc1);

value = __raw_readw(irc1);

printk("<cmp> 3 WILINK8 IRQ: Read this value: %d\n",value);

///////////////////////////////////////////////////////////////////////////////


Viewing all articles
Browse latest Browse all 1583

Trending Articles