The serirq gpio pin is used only as interrupt. After driver initialization, the serirq signal is always used through interrupt and never with gpio kernel API. The irq can then be initialized during the platform_data definition within the client->irq pin.
Showing the changes to include/linux/platform_data (1 of 2 files). Show all
Unified · Split
| @@ -33,7 +33,6 @@ · 32 unmodified lines | |||
| 33 | #define TPM_ST33_I2C "st33zp24_i2c" | 33 | #define TPM_ST33_I2C "st33zp24_i2c" |
| 34 | 34 | ||
| 35 | struct st33zp24_platform_data { | 35 | struct st33zp24_platform_data { |
| 36 | int io_serirq; | ||
| 37 | int io_lpcpd; | 36 | int io_lpcpd; |
| 38 | }; | 37 | }; |
| 39 | 38 | ||