Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

spi: spi-nxp-fspi: Enable the Octal Mode in MCR0

Apply patch from NXP upstream repo to
Enable the octal combination mode in MCR0

Signed-off-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Han Xu <han.xu@nxp.com>

Link: https://lore.kernel.org/r/20200126140913.2139260-3-aford173@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Han Xu and committed by
Mark Brown
b7461fa5 d166a735

+3 -2
+3 -2
drivers/spi/spi-nxp-fspi.c
··· 913 913 fspi_writel(f, FSPI_DLLBCR_OVRDEN, base + FSPI_DLLBCR); 914 914 915 915 /* enable module */ 916 - fspi_writel(f, FSPI_MCR0_AHB_TIMEOUT(0xFF) | FSPI_MCR0_IP_TIMEOUT(0xFF), 917 - base + FSPI_MCR0); 916 + fspi_writel(f, FSPI_MCR0_AHB_TIMEOUT(0xFF) | 917 + FSPI_MCR0_IP_TIMEOUT(0xFF) | (u32) FSPI_MCR0_OCTCOMB_EN, 918 + base + FSPI_MCR0); 918 919 919 920 /* 920 921 * Disable same device enable bit and configure all slave devices