summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMaureen Helm <maureen.helm@nxp.com>2017-01-14 14:22:34 -0600
committerKumar Gala <kumar.gala@linaro.org>2017-01-23 15:15:54 -0600
commit8769cd585ed1f6d664ae65923419a45e9d26390a (patch)
treee825253d398a4b6a20c3155c6b2a1593e6d0e81c /include
parent4279bf1c0375337090074e12736844e3ed13cf8a (diff)
spi: k64: Remove the k64 spi driver
Now that we have a more generic mcux spi driver that can be used across multiple Kinetis SoCs, remove the specific k64 spi driver. Jira: ZEP-1374 Change-Id: Ifc324374f305837f5e3d2cfd7ad30d3608865b5b Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
Diffstat (limited to 'include')
-rw-r--r--include/drivers/spi/spi_k64.h68
1 files changed, 0 insertions, 68 deletions
diff --git a/include/drivers/spi/spi_k64.h b/include/drivers/spi/spi_k64.h
deleted file mode 100644
index 5836f5c18..000000000
--- a/include/drivers/spi/spi_k64.h
+++ /dev/null
@@ -1,68 +0,0 @@
-/* spi_k64.h - Freescale K64 SPI controller driver utilities */
-
-/*
- * Copyright (c) 2015 Wind River Systems, Inc.
- *
- * SPDX-License-Identifier: Apache-2.0
- */
-
-#ifndef __SPI_K64_H__
-#define __SPI_K64_H__
-
-/*
- * Device configuration
- *
- * Device-independent configuration:
- * Bits [0 : 11] in the config parameter of the spi_configure() API are defined
- * with the following fields.
- *
- * SCK polarity [ 0 ] - SCK inactive state (0 = low, 1 = high)
- * SCK phase [ 1 ] - Data captured/changed on which SCK edge:
- * - 0 = leading/following edges, respectively
- * - 1 = following/leading edges, respectively
- * loop_mode [ 2 ] - Not used/Unsupported
- * transfer_mode [ 3 ] - First significant bit (0 = MSB, 1 = LSB)
- * word_size [ 4 : 7 ] - Size of a data train in bits
- * unused [ 8 : 11 ] - Unused word_size field bits
- *
- * Device-specific configuration:
- * Bits [12 : 31] in the config parameter of the spi_configure() API are
- * available, with the following fields defined for this device.
- *
- * PCS0-5 polarity [ 12 : 17 ] - Periph. Chip Select inactive state, MCR[PCSIS]
- * - (0 = low, 1 = high)
- * Continuous SCK [ 18 ] - Continuous serial clocking, MCR[CONT_SCKE]
- * - (0 = disabled, 1 = enabled)
- * Continuous PCS [ 19 ] - Continuous selection format, PUSHR[CONT]
- * - (0 = disabled, 1 = enabled)
- *
- * Note that the number of valid PCS signals differs for each
- * K64 SPI module:
- * - SPI0 uses PCS0-5;
- * - SPI1 uses PCS0-3;
- * - SPI2 uses PCS0-1;
- */
-
-/* PCS polarity access macros */
-
-#define SPI_PCS_POL_MASK (0x3F << 12)
-#define SPI_PCS_POL_GET(_in_) (((_in_) & SPI_PCS_POL_MASK) >> 12)
-#define SPI_PCS_POL_SET(_in_) ((_in_) << 12)
-
-/* Continuous SCK access macros */
-
-#define SPI_CONT_SCK_MASK (0x1 << 18)
-#define SPI_CONT_SCK_GET(_in_) (((_in_) & SPI_CONT_SCK_MASK) >> 18)
-#define SPI_CONT_SCK_SET(_in_) ((_in_) << 18)
-
-/* Continuous PCS access macros */
-
-#define SPI_CONT_PCS_MASK (0x1 << 19)
-#define SPI_CONT_PCS_GET(_in_) (((_in_) & SPI_CONT_PCS_MASK) >> 19)
-#define SPI_CONT_PCS_SET(_in_) ((_in_) << 19)
-
-/* K64 SPI word/frame size is limited to 16 bits, represented as: (size - 1) */
-
-#define SPI_K64_WORD_SIZE_MAX (16)
-
-#endif /* __SPI_K64_H__ */