linux/drivers/pinctrl/pinctrl-mcp23s08.h

/* SPDX-License-Identifier: GPL-2.0-only */
/* MCP23S08 SPI/I2C GPIO driver */

#include <linux/gpio/driver.h>
#include <linux/irq.h>
#include <linux/mutex.h>
#include <linux/pinctrl/pinctrl.h>
#include <linux/types.h>

/*
 * MCP types supported by driver
 */
#define MCP_TYPE_S08
#define MCP_TYPE_S17
#define MCP_TYPE_008
#define MCP_TYPE_017
#define MCP_TYPE_S18
#define MCP_TYPE_018

struct device;
struct regmap;

struct pinctrl_dev;

struct mcp23s08_info {};

struct mcp23s08 {};

extern const struct regmap_config mcp23x08_regmap;
extern const struct regmap_config mcp23x17_regmap;

int mcp23s08_probe_one(struct mcp23s08 *mcp, struct device *dev,
		       unsigned int addr, unsigned int type, unsigned int base);