1 /* SPDX-License-Identifier: GPL-2.0-only */ 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* 2 /* 3 * Freescale DSPI controller driver 3 * Freescale DSPI controller driver 4 * 4 * 5 * Copyright (c) 2017 Angelo Dureghello <angel 5 * Copyright (c) 2017 Angelo Dureghello <angelo@sysam.it> 6 */ 6 */ 7 7 8 #ifndef SPI_FSL_DSPI_HEADER_H 8 #ifndef SPI_FSL_DSPI_HEADER_H 9 #define SPI_FSL_DSPI_HEADER_H 9 #define SPI_FSL_DSPI_HEADER_H 10 10 11 /** 11 /** 12 * struct fsl_dspi_platform_data - platform da 12 * struct fsl_dspi_platform_data - platform data for the Freescale DSPI driver 13 * @bus_num: board specific identifier for thi 13 * @bus_num: board specific identifier for this DSPI driver. 14 * @cs_num: number of chip selects supported b 14 * @cs_num: number of chip selects supported by this DSPI driver. 15 */ 15 */ 16 struct fsl_dspi_platform_data { 16 struct fsl_dspi_platform_data { 17 u32 cs_num; 17 u32 cs_num; 18 u32 bus_num; 18 u32 bus_num; 19 u32 sck_cs_delay; 19 u32 sck_cs_delay; 20 u32 cs_sck_delay; 20 u32 cs_sck_delay; 21 }; 21 }; 22 22 23 #endif /* SPI_FSL_DSPI_HEADER_H */ 23 #endif /* SPI_FSL_DSPI_HEADER_H */ 24 24
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.