gpio_to_irq(25) = -6
While following this thread to add a MCP2515 (CAN driver on SPI bus) on an Up Xtreme, the driver proposed by @nukular works to register the SPI device but the
gpio_to_irq() always returns
-6 so the SPI driver is not happy with it.
We have tried several GPIO numbers, from 1 to 26 but all are returning
This same driver was working on an UpBoard.
We are currently running the 5.0 kernel from Up ppa has explained in the wiki.
Did anyone have success on using irq on pins from the 40-pin Raspberry Pi style connector?
I have tried to follow the kernel source code but I am not enough familiar with it so if anyone could point me to the right files, it would be nice too.
- 267 All Categories
- 104 Announcements & News
- 35 Product News - New Product/Product Change Notice/ End-of-life
- 175 Welcome Developers!
- 48 Unboxing & Project Sharing
- 15 Tech Updates
- 235 UP Products
- 20 UP Squared Pro
- 107 UP Xtreme
- 763 UP Squared
- 1.3K UP Board
- 81 UP Core Plus
- 209 UP Core
- 1 UP Xtreme Lite
- 36 UP AI Edge
- 207 Starter Kits & Peripheral