drivers: power: report battery voltage in AOSP compatible format
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / arm / mach-msm / devices.h
CommitLineData
bcc0f6af
BS
1/* linux/arch/arm/mach-msm/devices.h
2 *
3 * Copyright (C) 2008 Google, Inc.
4 *
5 * This software is licensed under the terms of the GNU General Public
6 * License version 2, as published by the Free Software Foundation, and
7 * may be copied, distributed, and modified under those terms.
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
16#ifndef __ARCH_ARM_MACH_MSM_DEVICES_H
17#define __ARCH_ARM_MACH_MSM_DEVICES_H
18
bd32344a
SB
19#include <linux/clkdev.h>
20
5e96da5d
DW
21#include "clock.h"
22
7bce696b
SB
23extern struct platform_device msm_device_gpio_7201;
24extern struct platform_device msm_device_gpio_7x30;
25extern struct platform_device msm_device_gpio_8x50;
26
bcc0f6af
BS
27extern struct platform_device msm_device_uart1;
28extern struct platform_device msm_device_uart2;
29extern struct platform_device msm_device_uart3;
30
d056fca3
SM
31extern struct platform_device msm8960_device_uart_gsbi2;
32extern struct platform_device msm8960_device_uart_gsbi5;
33
bcc0f6af
BS
34extern struct platform_device msm_device_sdc1;
35extern struct platform_device msm_device_sdc2;
36extern struct platform_device msm_device_sdc3;
37extern struct platform_device msm_device_sdc4;
38
39extern struct platform_device msm_device_hsusb;
7032d512
PK
40extern struct platform_device msm_device_otg;
41extern struct platform_device msm_device_hsusb_host;
bcc0f6af
BS
42
43extern struct platform_device msm_device_i2c;
44
45extern struct platform_device msm_device_smd;
46
47extern struct platform_device msm_device_nand;
48
50bc0ef4
DW
49extern struct platform_device msm_device_mddi0;
50extern struct platform_device msm_device_mddi1;
51extern struct platform_device msm_device_mdp;
52
bd32344a 53extern struct clk_lookup msm_clocks_7x01a[];
5e96da5d
DW
54extern unsigned msm_num_clocks_7x01a;
55
bd32344a 56extern struct clk_lookup msm_clocks_7x30[];
1ed8d58f
DW
57extern unsigned msm_num_clocks_7x30;
58
bd32344a 59extern struct clk_lookup msm_clocks_8x50[];
acb241cb
DW
60extern unsigned msm_num_clocks_8x50;
61
bcc0f6af 62#endif