aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/tegra3_tsensor.h
diff options
context:
space:
mode:
authorJonathan Herman <hermanjl@cs.unc.edu>2013-01-22 10:38:37 -0500
committerJonathan Herman <hermanjl@cs.unc.edu>2013-01-22 10:38:37 -0500
commitfcc9d2e5a6c89d22b8b773a64fb4ad21ac318446 (patch)
treea57612d1888735a2ec7972891b68c1ac5ec8faea /arch/arm/mach-tegra/tegra3_tsensor.h
parent8dea78da5cee153b8af9c07a2745f6c55057fe12 (diff)
Added missing tegra files.HEADmaster
Diffstat (limited to 'arch/arm/mach-tegra/tegra3_tsensor.h')
-rw-r--r--arch/arm/mach-tegra/tegra3_tsensor.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/tegra3_tsensor.h b/arch/arm/mach-tegra/tegra3_tsensor.h
new file mode 100644
index 00000000000..d6bd1182fa6
--- /dev/null
+++ b/arch/arm/mach-tegra/tegra3_tsensor.h
@@ -0,0 +1,40 @@
1/*
2 * arch/arm/mach-tegra/tegra3_tsensor.h
3 *
4 * Tegra tsensor header file
5 *
6 * Copyright (c) 2011, NVIDIA Corporation.
7 *
8 * This software is licensed under the terms of the GNU General Public
9 * License version 2, as published by the Free Software Foundation, and
10 * may be copied, distributed, and modified under those terms.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 */
18
19#ifndef __MACH_TEGRA_TEGRA3_TSENSOR_H
20#define __MACH_TEGRA_TEGRA3_TSENSOR_H
21
22struct tegra_tsensor_pmu_data {
23 u8 poweroff_reg_data;
24 u8 poweroff_reg_addr;
25 u8 reset_tegra;
26 u8 controller_type;
27 u8 i2c_controller_id;
28 u8 pinmux;
29 u8 pmu_16bit_ops;
30 u8 pmu_i2c_addr;
31};
32
33#ifdef CONFIG_SENSORS_TEGRA_TSENSOR
34void __init tegra3_tsensor_init(struct tegra_tsensor_pmu_data *data);
35#else
36static inline void tegra3_tsensor_init(struct tegra_tsensor_pmu_data *data)
37{}
38#endif
39
40#endif