• Jane Wan's avatar
    spi: fsl-espi: Configure FSL eSPI CSBEF and CSAFT · d0fb47a5
    Jane Wan authored
    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>
    d0fb47a5
fsl-spi.txt 1.93 KB