Hi *, does any one know what I have to include instead
https://elixir.bootlin.com/linux/v3.16. ... 1sam9260.h
in v4.14.11 ?
I need in my driver
```
#define AT91SAM9260_ID_SPI1 13 /* Serial Peripheral Interface 1 */
```
but I could not find define for IRQ in v4.14.11 !
IRQs are not useless http://lists.infradead.org/pipermail/li ... 30762.html
ok moved to dts https://elixir.bootlin.com/linux/v4.14. ... .dtsi#L299
how I have to use dts irq "reg" in kernel module ..any examples
v4.14.11 missing at91sam9260.h
Moderator: nferre
- blue_z
- Location: USA
Post
Regards
Re: v4.14.11 missing at91sam9260.h
Such header files have been deprecated because, instead of hardcoded, compiled-in constants, drivers dynamically receive their configuration parameters from the Device Tree.PowerPenguin wrote:what I have to include instead
https://elixir.bootlin.com/linux/v3.16. ... 1sam9260.h
in v4.14.11 ?
Unless the kernel module that you're writing is going to replace the existing Atmel SPI master controller driver, drivers/spi/spi-atmel.c, or you're going to use this device as a SPI slave controller, then you have no business with that (hardware) IRQ number.PowerPenguin wrote:I need in my driver
```
#define AT91SAM9260_ID_SPI1 13 /* Serial Peripheral Interface 1 */
```
but I could not find define for IRQ in v4.14.11 !
...
how I have to use dts irq "reg" in kernel module
Regards
Who is online
Users browsing this forum: Bing [Bot] and 2 guests