blob: 7a0bacfa0ded79d5a4756fdfa415bd5070714712 [file] [log] [blame]
Jay Chokshi89489c32011-11-16 16:55:26 -08001/* Copyright (c) 2011, 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 LTC4088_CHARGER_H_
14#define LTC4088_CHARGER_H_
15
16#define LTC4088_CHARGER_DEV_NAME "ltc4088-charger"
17
18/**
19 * struct ltc4088_charger_platform_data - platform data for LTC4088 charger
20 * @gpio_mode_select_d0: GPIO #pin for D0 charger line
21 * @gpio_mode_select_d1: GPIO #pin for D1 charger line
22 * @gpio_mode_select_d2: GPIO #pin for D2 charger line
23 */
24struct ltc4088_charger_platform_data {
25 unsigned int gpio_mode_select_d0;
26 unsigned int gpio_mode_select_d1;
27 unsigned int gpio_mode_select_d2;
28};
29
30#endif /* LTC4088_CHARGER_H_ */