]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: socfpga: change qspi to "intel,socfpga-qspi"
authorDinh Nguyen <dinguyen@kernel.org>
Mon, 22 Nov 2021 15:10:03 +0000 (09:10 -0600)
committerDinh Nguyen <dinguyen@kernel.org>
Mon, 27 Dec 2021 10:20:06 +0000 (04:20 -0600)
commit0bdfd74a21707b6e5c614eb5316417e8ef86afdd
tree5f15180537ae389dd70153ce8972ff55b5125259
parent7255fb8afc33a72ace01ed23c986df68aafe1331
ARM: dts: socfpga: change qspi to "intel,socfpga-qspi"

Because of commit 70119b6093cc ("spi: cadence-quadspi: Disable Auto-HW polling"),
which does a write to the CQSPI_REG_WR_COMPLETION_CTRL register
regardless of any condition. Well, the Cadence QuadSPI controller on
Intel's SoCFPGA platforms does not implement the
CQSPI_REG_WR_COMPLETION_CTRL register, thus a write to this register
results in a crash!

So starting with v5.16, I introduced the patch
665fd18ce2d ("spi: cadence-quadspi: fix write completion support"),
which adds the dts compatible "intel,socfpga-qspi" that is specific for
versions that doesn't have the CQSPI_REG_WR_COMPLETION_CTRL register implemented.

Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
---
v3: revert back to "intel,socfpga-qspi"
v2: use both "cdns,qspi-nor" and "cdns,qspi-nor-0010"
arch/arm/boot/dts/socfpga.dtsi
arch/arm/boot/dts/socfpga_arria10.dtsi
arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
arch/arm64/boot/dts/intel/socfpga_agilex.dtsi