Searched refs:mcp23s08 (Results 1 – 3 of 3) sorted by relevance
| /linux-4.4.14/drivers/gpio/ |
| D | gpio-mcp23s08.c | 57 struct mcp23s08; 60 int (*read)(struct mcp23s08 *mcp, unsigned reg); 61 int (*write)(struct mcp23s08 *mcp, unsigned reg, unsigned val); 62 int (*read_regs)(struct mcp23s08 *mcp, unsigned reg, 66 struct mcp23s08 { struct 93 struct mcp23s08 *mcp[8]; argument 94 struct mcp23s08 chip[]; 106 static int mcp23008_read(struct mcp23s08 *mcp, unsigned reg) in mcp23008_read() 111 static int mcp23008_write(struct mcp23s08 *mcp, unsigned reg, unsigned val) in mcp23008_write() 117 mcp23008_read_regs(struct mcp23s08 *mcp, unsigned reg, u16 *vals, unsigned n) in mcp23008_read_regs() [all …]
|
| D | Makefile | 62 obj-$(CONFIG_GPIO_MCP23S08) += gpio-mcp23s08.o
|
| /linux-4.4.14/Documentation/devicetree/bindings/gpio/ |
| D | gpio-mcp23s08.txt | 6 - "mcp,mcp23s08" (DEPRECATED) for 8 GPIO SPI version 11 - "microchip,mcp23s08" for 8 GPIO SPI version 34 which is 0x08. mcp23s08 chip variant only supports bits 0-3. It is not 35 possible to mix mcp23s08 and mcp23s17 on the same chipselect. Set at
|