https://github.com/torvalds/linux
Raw File
Tip revision: 0f57d86787d8b1076ea8f9cbdddda2a46d534a27 authored by Linus Torvalds on 15 June 2015, 01:51:10 UTC
Linux 4.1-rc8
Tip revision: 0f57d86
i2c-pca-platform.h
#ifndef I2C_PCA9564_PLATFORM_H
#define I2C_PCA9564_PLATFORM_H

struct i2c_pca9564_pf_platform_data {
	int gpio;		/* pin to reset chip. driver will work when
				 * not supplied (negative value), but it
				 * cannot exit some error conditions then */
	int i2c_clock_speed;	/* values are defined in linux/i2c-algo-pca.h */
	int timeout;		/* timeout in jiffies */
};

#endif /* I2C_PCA9564_PLATFORM_H */
back to top