blob: 51081b67610ad5bbd4cc7a14510288908a2a25f2 [file] [log] [blame]
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001/* Copyright (c) 2008-2009, Code Aurora Forum. All rights reserved.
2 *
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;
23 uint32_t pm_lat;
24};