unify {de,}mangle_poll(), get rid of kernel-side POLL...
[cris-mirror.git] / include / linux / spi / spi-fsl-dspi.h
blob74c9bae20bf2d6353b1c15841127980b12555a4e
1 /*
2 * Freescale DSPI controller driver
4 * Copyright (c) 2017 Angelo Dureghello <angelo@sysam.it>
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.
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.
16 #ifndef SPI_FSL_DSPI_HEADER_H
17 #define SPI_FSL_DSPI_HEADER_H
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.
24 struct fsl_dspi_platform_data {
25 u32 cs_num;
26 u32 bus_num;
27 u32 sck_cs_delay;
28 u32 cs_sck_delay;
31 #endif /* SPI_FSL_DSPI_HEADER_H */