blob: ab5271f1c92bba0b4d442ced5f33207071402e3d [file] [log] [blame]
Gilad Avidovd0262342012-10-24 16:52:30 -06001/* Copyright (c) 2008-2009, 2012, The Linux Foundation. All rights reserved.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 *
12 */
13/*
14 * SPI driver for Qualcomm MSM platforms.
15 */
16
17struct msm_spi_platform_data {
18 u32 max_clock_speed;
19 int (*gpio_config)(void);
20 void (*gpio_release)(void);
21 int (*dma_config)(void);
22 const char *rsl_id;
Gilad Avidovd0262342012-10-24 16:52:30 -060023 u32 pm_lat;
24 u32 infinite_mode;
25 bool ver_reg_exists;
26 bool use_bam;
27 u32 bam_consumer_pipe_index;
28 u32 bam_producer_pipe_index;
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070029};