https://github.com/torvalds/linux
Raw File
Tip revision: 7928b2cbe55b2a410a0f5c1f154610059c57b1b2 authored by Linus Torvalds on 11 February 2018, 23:04:29 UTC
Linux 4.16-rc1
Tip revision: 7928b2c
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