summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/imx-common/spi.h
blob: 1d4473a04ae4095ef42c7b4a021e6d7c347a51be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * Copyright 2011 Freescale Semiconductor, Inc.
 *
 * SPDX-License-Identifier:	GPL-2.0+
 */

#ifndef __MXC_SPI_H_
#define __MXC_SPI_H_

/*
 * Board-level chip-select callback
 * Should return GPIO # to be used for chip-select
 */

int board_spi_cs_gpio(unsigned bus, unsigned cs);

#endif
OpenPOWER on IntegriCloud