spi: spi-nxp-fspi: Add support for IP read only
authorKuldeep Singh <kuldeep.singh@nxp.com>
Tue, 2 Mar 2021 12:49:33 +0000 (18:19 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 10 Mar 2021 12:46:55 +0000 (12:46 +0000)
commit31e92cbfb9cd9f7dcb2c04858f6cdcb3cbca914f
tree7eca3171fe05b7da037b5926f62a91b9ecee37f7
parent87d62d8fa66622d75a76836ecc0fd2edbbcb38d3
spi: spi-nxp-fspi: Add support for IP read only

Add support for disabling AHB bus and read entire flash contents via IP
bus only. Please note, this enables IP bus read using a quirk which can
be enabled directly in device-type data or in existence of an errata
where AHB bus may need to be disabled.

Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com>
Link: https://lore.kernel.org/r/20210302124936.1972546-2-kuldeep.singh@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-nxp-fspi.c