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

mtd: spi-nor: cadence-quadspi: Add new binding to enable loop-back circuit

Cadence QSPI IP has a adapted loop-back circuit which can be enabled by
setting BYPASS field to 0 in READCAPTURE register. It enables use of
QSPI return clock to latch the data rather than the internal QSPI
reference clock. For high speed operations, adapted loop-back circuit
using QSPI return clock helps to increase data valid window.

Add DT parameter cdns,rclk-en to help enable adapted loop-back circuit
for boards which do have QSPI return clock provided. Update binding
documentation for the same.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Cyrille Pitchen <cyrille.pitchen@wedev4u.fr>

authored by

Vignesh R and committed by
Cyrille Pitchen
00df2635 61dc8493

+3
+3
Documentation/devicetree/bindings/mtd/cadence-quadspi.txt
··· 16 16 17 17 Optional properties: 18 18 - cdns,is-decoded-cs : Flag to indicate whether decoder is used or not. 19 + - cdns,rclk-en : Flag to indicate that QSPI return clock is used to latch 20 + the read data rather than the QSPI clock. Make sure that QSPI return 21 + clock is populated on the board before using this property. 19 22 20 23 Optional subnodes: 21 24 Subnodes of the Cadence Quad SPI controller are spi slave nodes with additional