| 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
|---|---|
| 2 | #ifndef _LINUX_PCA953X_H |
| 3 | #define _LINUX_PCA953X_H |
| 4 | |
| 5 | #include <linux/types.h> |
| 6 | #include <linux/i2c.h> |
| 7 | |
| 8 | /* platform data for the PCA9539 16-bit I/O expander driver */ |
| 9 | |
| 10 | struct pca953x_platform_data { |
| 11 | /* number of the first GPIO */ |
| 12 | unsigned gpio_base; |
| 13 | |
| 14 | /* interrupt base */ |
| 15 | int irq_base; |
| 16 | }; |
| 17 | |
| 18 | #endif /* _LINUX_PCA953X_H */ |
| 19 |
