]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - include/linux/spi/spi-fsl-dspi.h
Merge tag 'devicetree-fixes-for-4.15' of git://git.kernel.org/pub/scm/linux/kernel...
[mirror_ubuntu-bionic-kernel.git] / include / linux / spi / spi-fsl-dspi.h
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 */