blob: e143083ac7ade712ea9dd845128bea47cd5546b4 [file] [log] [blame]
Flemmard8bffe232013-10-17 10:52:56 +02001/* Copyright (c) 2010, Hewlett-Packard Development Company, L.P. All rights reserved.
2 *
3 * mdmgpio.h - Linux kernel modules for modem gpio control
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 and
7 * only version 2 as published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 */
14
15#ifndef __LINUX_MDMGPIO_H
16#define __LINUX_MDMGPIO_H
17
18
19struct mdmgpio_platform_data {
20 int uim_cd_gpio;
21 int mdm_disable_gpio;
22 int (*get_gpio_value)(int gpionum);
23 int (*set_gpio_value)(int gpionum, int value);
24 int (*mdm_poweron)(int on);
25 int (*mdm_poweron_status)(void);
26};
27#endif