What are the GPIO numbers for interrupts 0,1 [ Pins IO2, IO3 ] to be mentioned in linux kernel during driver registration?
I intend to interface a hardware with the Galileo on SPI 1 interface, and I see that I need to register it as a SPI platform driver in the galileo platform file "Intel_qrk_plat_galileo.c", in structure spi_board_info.
Even though I have been referring to Galileo I/O Mappings doc, I am confused in initializing the interrupt pin [irq] during the driver probe.
Shall I initialize with 14 or 15 [for int 0 or 1 ] as given under Linux column of the above mentioned document? if so "gpio_cs" variable of the SPI master controller is initialized with values 8, 10 for respective SPI's [0,1] when the SP1_SS_B is available on IO10, with value 16 in the linux column hence I am confused with these numbers.
I am on BSP v1.0.0, LSB image, using BSP user guide & Sergey's blog info for building.
Regards
Simba