]> git.baikalelectronics.ru Git - kernel.git/commit
spi: add ancillary device support
authorSebastian Reichel <sebastian.reichel@collabora.com>
Mon, 21 Jun 2021 17:53:55 +0000 (19:53 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 22 Jun 2021 11:54:59 +0000 (12:54 +0100)
commitfeae1939868ae83289fe4d6a1413c4a05e61098e
tree7a3c43d13c4cdfb0c8a748e3c58f4a762cdeb224
parent251a47b64552089dcffdf04a41450105d442e6dc
spi: add ancillary device support

Introduce support for ancillary devices, similar to existing
implementation for I2C. This is useful for devices having
multiple chip-selects, for example some microcontrollers
provide a normal SPI interface and a flashing SPI interface.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/r/20210621175359.126729-2-sebastian.reichel@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi.c
include/linux/spi/spi.h