blob: 8bc4317612475526fc19f0598d691421417b9fc0 [file] [log] [blame]
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -06001/* Copyright (c) 2012, 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#ifndef __ASM_ARCH_MSM_PCIE_H
14#define __ASM_ARCH_MSM_PCIE_H
15
16#include <linux/types.h>
17
18/* gpios */
19enum msm_pcie_gpio {
20 MSM_PCIE_GPIO_RST_N,
21 MSM_PCIE_GPIO_PWR_EN,
22 MSM_PCIE_MAX_GPIO
23};
24
25/* gpio info structrue */
26struct msm_pcie_gpio_info_t {
27 char *name;
28 uint32_t num;
29 uint32_t on;
30};
31
32/* msm pcie platfrom data */
33struct msm_pcie_platform {
34 struct msm_pcie_gpio_info_t *gpio;
Niranjana Vishwanathapura68210ff2012-06-24 18:03:49 -060035 uint32_t axi_addr;
36 uint32_t axi_size;
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -060037};
38
39#endif