2019-05-27 09:55:21 +03:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2017-10-28 01:23:01 +03:00
|
|
|
/*
|
|
|
|
* Freescale DSPI controller driver
|
|
|
|
*
|
|
|
|
* Copyright (c) 2017 Angelo Dureghello <angelo@sysam.it>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef SPI_FSL_DSPI_HEADER_H
|
|
|
|
#define SPI_FSL_DSPI_HEADER_H
|
|
|
|
|
|
|
|
/**
|
|
|
|
* struct fsl_dspi_platform_data - platform data for the Freescale DSPI driver
|
|
|
|
* @bus_num: board specific identifier for this DSPI driver.
|
|
|
|
* @cs_num: number of chip selects supported by this DSPI driver.
|
|
|
|
*/
|
|
|
|
struct fsl_dspi_platform_data {
|
|
|
|
u32 cs_num;
|
|
|
|
u32 bus_num;
|
|
|
|
u32 sck_cs_delay;
|
|
|
|
u32 cs_sck_delay;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* SPI_FSL_DSPI_HEADER_H */
|