spi: cadence-quadspi: Provide a capability structure
authorMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 27 Jan 2022 09:17:58 +0000 (10:17 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 10 Feb 2022 08:32:30 +0000 (09:32 +0100)
commita9be454927de3b6df8ca4cbd88e019e52b73d4b4
tree1e4279420ff1459b92709468a06e452b50b50c50
parentcb7e96ee81edaa48c67d84c14df2cbe464391c37
spi: cadence-quadspi: 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: Pratyush Yadav <p.yadav@ti.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-4-miquel.raynal@bootlin.com
drivers/spi/spi-cadence-quadspi.c