summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChen Jian <jackchen@nvidia.com>2014-01-02 14:46:33 +0800
committerMartin Chi <mchi@nvidia.com>2014-01-04 08:31:27 -0800
commitff62d3758c10b781aeffe61441655dc67adc8047 (patch)
tree1a1bfa2482024b2157bfb795d141153c451520b9 /include
parentfeb5b297079610e29b17b44299692c4979146d5c (diff)
ARM:tegra:tn7c:proximity sensor LTR659PS
Bug 1410904 Change-Id: Iec927ec18063cfcab399ab9a4eb22ef23a91ce8e Signed-off-by: Chen Jian <jackchen@nvidia.com> Reviewed-on: http://git-master/r/351213 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Martin Chi <mchi@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/ltr659ps.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/include/linux/ltr659ps.h b/include/linux/ltr659ps.h
new file mode 100644
index 000000000000..b4f86efe8fac
--- /dev/null
+++ b/include/linux/ltr659ps.h
@@ -0,0 +1,29 @@
+/*
+ * ltr659ps.h -- LTR-659PS-01 proximity sensor header file.
+ *
+ * Copyright (c) 2013-2014 NVIDIA CORPORATION. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ * 02111-1307, USA
+ */
+#ifndef _LTR659PS_H
+#define _LTR659PS_H
+
+struct ltr659_platform_data {
+ int gpio;
+ int default_ps_lowthreshold;
+ int default_ps_highthreshold;
+};
+
+#endif /* #ifndef _LTR659PS_H */