Skip to content
Commit d0fb47a5 authored by Jane Wan's avatar Jane Wan Committed by Mark Brown
Browse files

spi: fsl-espi: Configure FSL eSPI CSBEF and CSAFT



Make FSL eSPI CSnBEF and CSnAFT fields in ESPI_SPMODEn registers
(n=0,1,2,3) configurable through device tree.

CSnBEF is the chip select setup time.  It's the delay in bits from the
activation of chip select pin to the first clock for data frame.

CSnAFT is the chip select hold time.  It's the delay in bits from the
last clock for data frame to the deactivation of chip select pin.

The FSL eSPI driver hardcodes CSnBEF and CSnAFT to 0.  Need to set
them to a different value for some device.

Signed-off-by: default avatarJane Wan <Jane.Wan@gainspeed.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent c9eaa447
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment