Merge tag 'devicetree-for-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / include / linux / spi / spi-fsl-dspi.h
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Freescale DSPI controller driver
4  *
5  * Copyright (c) 2017 Angelo Dureghello <angelo@sysam.it>
6  */
7
8 #ifndef SPI_FSL_DSPI_HEADER_H
9 #define SPI_FSL_DSPI_HEADER_H
10
11 /**
12  * struct fsl_dspi_platform_data - platform data for the Freescale DSPI driver
13  * @bus_num: board specific identifier for this DSPI driver.
14  * @cs_num: number of chip selects supported by this DSPI driver.
15  */
16 struct fsl_dspi_platform_data {
17         u32 cs_num;
18         u32 bus_num;
19         u32 sck_cs_delay;
20         u32 cs_sck_delay;
21 };
22
23 #endif /* SPI_FSL_DSPI_HEADER_H */