spi: mxic: Provide a capability structure
authorMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 27 Jan 2022 09:17:59 +0000 (10:17 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 10 Feb 2022 08:32:30 +0000 (09:32 +0100)
commit0e450c7ce7d170a78adaeaa9a430e4184f191c15
tree100c1c92dc67e0dff1ef324ee15da50f1a8bafac
parenta9be454927de3b6df8ca4cbd88e019e52b73d4b4
spi: mxic: Provide a capability structure

This controller has DTR support, so advertize it with a capability now
that the spi-controller structure contains this new field. This will
later be used by the core to discriminate whether an operation is
supported or not, in a more generic way than having different helpers.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Reviewed-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/linux-mtd/20220127091808.1043392-5-miquel.raynal@bootlin.com
drivers/spi/spi-mxic.c