diff options
author | Angelo Dureghello <angelo@sysam.it> | 2017-10-27 18:23:01 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-11-03 07:53:16 -0400 |
commit | ec7ed7708e009e046d1e16ed53ba4d6048748d07 (patch) | |
tree | 4e9b8c2cc69ee6974101e1d73f713531ac4774b5 /include/linux/spi/spi-fsl-dspi.h | |
parent | 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e (diff) |
spi: spi-fsl-dspi: enabling Coldfire mcf5441x dspi
Signed-off-by: Angelo Dureghello <angelo@sysam.it>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/spi/spi-fsl-dspi.h')
-rw-r--r-- | include/linux/spi/spi-fsl-dspi.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/include/linux/spi/spi-fsl-dspi.h b/include/linux/spi/spi-fsl-dspi.h new file mode 100644 index 000000000000..74c9bae20bf2 --- /dev/null +++ b/include/linux/spi/spi-fsl-dspi.h | |||
@@ -0,0 +1,31 @@ | |||
1 | /* | ||
2 | * Freescale DSPI controller driver | ||
3 | * | ||
4 | * Copyright (c) 2017 Angelo Dureghello <angelo@sysam.it> | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | * | ||
10 | * This program is distributed in the hope that it will be useful, | ||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | * GNU General Public License for more details. | ||
14 | */ | ||
15 | |||
16 | #ifndef SPI_FSL_DSPI_HEADER_H | ||
17 | #define SPI_FSL_DSPI_HEADER_H | ||
18 | |||
19 | /** | ||
20 | * struct fsl_dspi_platform_data - platform data for the Freescale DSPI driver | ||
21 | * @bus_num: board specific identifier for this DSPI driver. | ||
22 | * @cs_num: number of chip selects supported by this DSPI driver. | ||
23 | */ | ||
24 | struct fsl_dspi_platform_data { | ||
25 | u32 cs_num; | ||
26 | u32 bus_num; | ||
27 | u32 sck_cs_delay; | ||
28 | u32 cs_sck_delay; | ||
29 | }; | ||
30 | |||
31 | #endif /* SPI_FSL_DSPI_HEADER_H */ | ||