Searched refs:mcp23s08 (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/drivers/pinctrl/ |
D | pinctrl-mcp23s08.c | 55 struct mcp23s08; 57 struct mcp23s08 { struct 168 static int mcp_read(struct mcp23s08 *mcp, unsigned int reg, unsigned int *val) in mcp_read() 173 static int mcp_write(struct mcp23s08 *mcp, unsigned int reg, unsigned int val) in mcp_write() 178 static int mcp_set_mask(struct mcp23s08 *mcp, unsigned int reg, in mcp_set_mask() 186 static int mcp_set_bit(struct mcp23s08 *mcp, unsigned int reg, in mcp_set_bit() 255 struct mcp23s08 *mcp = pinctrl_dev_get_drvdata(pctldev); in mcp_pinconf_get() 280 struct mcp23s08 *mcp = pinctrl_dev_get_drvdata(pctldev); in mcp_pinconf_set() 315 struct mcp23s08 *mcp = context; in mcp23sxx_spi_write() 332 struct mcp23s08 *mcp = context; in mcp23sxx_spi_gather_write() [all …]
|
D | Makefile | 22 obj-$(CONFIG_PINCTRL_MCP23S08) += pinctrl-mcp23s08.o
|
/Linux-v4.19/Documentation/devicetree/bindings/pinctrl/ |
D | pinctrl-mcp23s08.txt | 6 - "mcp,mcp23s08" (DEPRECATED) for 8 GPIO SPI version 11 - "microchip,mcp23s08" for 8 GPIO SPI version 38 which is 0x08. mcp23s08 chip variant only supports bits 0-3. It is not 39 possible to mix mcp23s08 and mcp23s17 on the same chipselect. Set at
|