Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Wolfram Sang | 244fbbb | 2008-04-22 22:16:46 +0200 | [diff] [blame] | 2 | #ifndef I2C_PCA9564_PLATFORM_H |
| 3 | #define I2C_PCA9564_PLATFORM_H |
| 4 | |
| 5 | struct i2c_pca9564_pf_platform_data { |
| 6 | int gpio; /* pin to reset chip. driver will work when |
| 7 | * not supplied (negative value), but it |
| 8 | * cannot exit some error conditions then */ |
| 9 | int i2c_clock_speed; /* values are defined in linux/i2c-algo-pca.h */ |
Wolfram Sang | 8e99ada | 2009-03-28 21:34:45 +0100 | [diff] [blame] | 10 | int timeout; /* timeout in jiffies */ |
Wolfram Sang | 244fbbb | 2008-04-22 22:16:46 +0200 | [diff] [blame] | 11 | }; |
| 12 | |
| 13 | #endif /* I2C_PCA9564_PLATFORM_H */ |