Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Eric Nelson | 16acd1c | 2014-09-30 15:40:03 -0700 | [diff] [blame] | 2 | /* |
3 | * Copyright 2011 Freescale Semiconductor, Inc. | ||||
Eric Nelson | 16acd1c | 2014-09-30 15:40:03 -0700 | [diff] [blame] | 4 | */ |
5 | |||||
6 | #ifndef __MXC_SPI_H_ | ||||
7 | #define __MXC_SPI_H_ | ||||
8 | |||||
9 | /* | ||||
10 | * Board-level chip-select callback | ||||
11 | * Should return GPIO # to be used for chip-select | ||||
12 | */ | ||||
13 | |||||
14 | int board_spi_cs_gpio(unsigned bus, unsigned cs); | ||||
15 | |||||
16 | #endif |