#ifndef __LINUX_GW_I2C_PLD_H
#define __LINUX_GW_I2C_PLD_H

/**
 * The Gateworks I2C PLD Implements an additional 8 bits of GPIO through the PLD
 */

struct gw_i2c_pld_platform_data {
	unsigned gpio_base;
	unsigned nr_gpio;
	int		(*setup)(struct i2c_client *client,
					int gpio, unsigned ngpio,
					void *context);
	int		(*teardown)(struct i2c_client *client,
					int gpio, unsigned ngpio,
					void *context);
	void		*context;
};

#endif /* __LINUX_GW_I2C_PLD_H */
