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

Hi Chris,

Yes the driver is calling request_irq() - but I need to set that value. The following code is what I added to the board-rskrza1.c. I've removed the ethernet phy from the RSK and soldered a wire to the ETH_IRQ signal. In the pfc-rza1.c file I've mapped that gpio to number 68. I understand I need to map the gpio to an irq... the problem is the request returns -6 ( and the request_irq() call fails ) if I try to convert GPIO 68 to an IRQ to assign to the WLAN platform data. If I just use the 68, then the request_irq() call succeeds but I get no interrupts. How do I assign a working IRQ? Thanks!

pr_info("WILINK8 WLAN: Setting up wl12xx platform data\n");

//wlanIrq = gpio_to_irq(wlanGpio); // Does not work

wlanIrq = 68; // gives me no interrupts

fluke_gemini_board_wlan_data.irq = wlanIrq;

pr_info("WILINK8 WLAN: GPIO: %d IRQ: %d\n",wlanGpio,wlanIrq);

if (wl12xx_set_platform_data(&fluke_gemini_board_wlan_data))

pr_info("WILINK8 WLAN: Error setting up wl12xx platform data\n");


Viewing all articles
Browse latest Browse all 1583

Trending Articles