Skip to content
  • Valentin Longchamp's avatar
    kw_spi: support spi_claim/release_bus functions · ac486e3b
    Valentin Longchamp authored
    
    
    These two function nows ensure that the MPP is configured correctly for
    the SPI controller before any SPI access, and restore the initial
    configuration when the access is over.
    
    Since the used pins for the SPI controller can differ (2 possibilities
    for each signal), the used pins are configured with CONFIG_SYS_KW_SPI_MPP.
    
    Signed-off-by: default avatarValentin Longchamp <valentin.longchamp@keymile.com>
    cc: Holger Brunck <holger.brunck@keymile.com>
    cc: Prafulla Wadaskar <prafulla@marvell.com>
    ac486e3b