aboutsummaryrefslogtreecommitdiff
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorwzedlare <vedatak01@gmail.com>2017-06-18 16:38:26 +0000
committerwzedlare <vedatak01@gmail.com>2017-06-19 16:57:11 +0000
commitc7d4e3fd588e3ba3d3fa4d5cfa224aa54bc288bf (patch)
treeb8b64cb9deb6832c1e41f58f0f143514beafc709 /include/linux/platform_data
parent28c99c87b881bb664c44bb26e80a681f87d54e60 (diff)
p2a42: Import fully working kernel sourceHEADn7.1
Change-Id: Ia4c94f09e29843b1af34d466243378a357e97b70
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r--include/linux/platform_data/lis2dg.h38
-rw-r--r--include/linux/platform_data/lis2ds12.h22
2 files changed, 60 insertions, 0 deletions
diff --git a/include/linux/platform_data/lis2dg.h b/include/linux/platform_data/lis2dg.h
new file mode 100644
index 00000000..016ca07d
--- /dev/null
+++ b/include/linux/platform_data/lis2dg.h
@@ -0,0 +1,38 @@
+/******************** (C) COPYRIGHT 2015 STMicroelectronics ********************
+*
+* File Name : lis2dg.h
+* Authors : AMS - VMU - Application Team
+* : Giuseppe Barba <giuseppe.barba@st.com>
+* : Author is willing to be considered the contact and update
+* : point for the driver.
+* Version : V.1.0.0
+* Date : 2015/Mar/18
+* Description : LIS2DG driver
+*
+********************************************************************************
+*
+* 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.
+*
+* THE PRESENT SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES
+* OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, FOR THE SOLE
+* PURPOSE TO SUPPORT YOUR APPLICATION DEVELOPMENT.
+* AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT,
+* INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE
+* CONTENT OF SUCH SOFTWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
+* INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
+*
+********************************************************************************/
+
+#ifndef __LIS2DG_H__
+#define __LIS2DG_H__
+
+#define LIS2DG_DEV_NAME "lis2dg"
+#define LIS2DG_I2C_ADDR 0x1e
+
+struct lis2dg_platform_data {
+ u8 drdy_int_pin;
+};
+
+#endif /* __LIS2DG_H__ */
diff --git a/include/linux/platform_data/lis2ds12.h b/include/linux/platform_data/lis2ds12.h
new file mode 100644
index 00000000..fec9fccb
--- /dev/null
+++ b/include/linux/platform_data/lis2ds12.h
@@ -0,0 +1,22 @@
+/*
+ * STMicroelectronics lis2ds12 driver
+ *
+ * Copyright 2015 STMicroelectronics Inc.
+ *
+ * Giuseppe Barba <giuseppe.barba@st.com>
+ *
+ * Licensed under the GPL-2.
+ */
+
+
+#ifndef __LIS2DS12_H__
+#define __LIS2DS12_H__
+
+#define LIS2DS12_DEV_NAME "lis2ds12"
+#define LIS2DS12_I2C_ADDR 0x1e
+
+struct lis2ds12_platform_data {
+ u8 drdy_int_pin;
+};
+
+#endif /* __LIS2DS12_H__ */