https://github.com/torvalds/linux
Raw File
Tip revision: 91ab883eb21325ad80f3473633f794c78ac87f51 authored by Linus Torvalds on 19 February 2018, 01:29:42 UTC
Linux 4.16-rc2
Tip revision: 91ab883
i2c-pca-platform.h
/* SPDX-License-Identifier: GPL-2.0 */
#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