spi.h 292 B

1234567891011121314151617
  1. /*
  2. * Copyright 2011 Freescale Semiconductor, Inc.
  3. *
  4. * SPDX-License-Identifier: GPL-2.0+
  5. */
  6. #ifndef __MXC_SPI_H_
  7. #define __MXC_SPI_H_
  8. /*
  9. * Board-level chip-select callback
  10. * Should return GPIO # to be used for chip-select
  11. */
  12. int board_spi_cs_gpio(unsigned bus, unsigned cs);
  13. #endif