summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/mach-imx/spi.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/include/asm/mach-imx/spi.h')
-rw-r--r--arch/arm/include/asm/mach-imx/spi.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/include/asm/mach-imx/spi.h b/arch/arm/include/asm/mach-imx/spi.h
new file mode 100644
index 0000000..598a996
--- /dev/null
+++ b/arch/arm/include/asm/mach-imx/spi.h
@@ -0,0 +1,16 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright 2011 Freescale Semiconductor, Inc.
+ */
+
+#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