summaryrefslogtreecommitdiffstats
path: root/libsensors/ak8975-reg.h
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2016-12-13 02:31:32 +0100
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2016-12-13 02:31:32 +0100
commite7e8f7d29063df2017d419a898fe877b56b14653 (patch)
treeb450d69a7775c0b898e15956fac7069975513aab /libsensors/ak8975-reg.h
parent80d404b929c222f3fdc7ecad7694753c8c27a537 (diff)
parent25eedce86d2723b23b6fc21dece20540f7ec68c0 (diff)
downloaddevice_samsung_i9300-e7e8f7d29063df2017d419a898fe877b56b14653.zip
device_samsung_i9300-e7e8f7d29063df2017d419a898fe877b56b14653.tar.gz
device_samsung_i9300-e7e8f7d29063df2017d419a898fe877b56b14653.tar.bz2
Merge branch 'cm-13.0' of https://github.com/CyanogenMod/android_device_samsung_i9300 into replicant-6.0replicant-6.0-alpha-0006
Diffstat (limited to 'libsensors/ak8975-reg.h')
-rw-r--r--libsensors/ak8975-reg.h48
1 files changed, 0 insertions, 48 deletions
diff --git a/libsensors/ak8975-reg.h b/libsensors/ak8975-reg.h
deleted file mode 100644
index 1a78a27..0000000
--- a/libsensors/ak8975-reg.h
+++ /dev/null
@@ -1,48 +0,0 @@
-/* linux/drivers/misc/ak8975-reg.h
- *
- * Copyright (c) 2010 Samsung Electronics Co., Ltd.
- * http://www.samsung.com/
- *
- * 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.
-*/
-#ifndef __AK8975_REG__
-#define __AK8975_REG__
-
-/* Compass device dependent definition */
-#define AK8975_MODE_SNG_MEASURE 0x01
-#define AK8975_MODE_SELF_TEST 0x08
-#define AK8975_MODE_FUSE_ACCESS 0x0F
-#define AK8975_MODE_POWER_DOWN 0x00
-
-/* Rx buffer size. i.e ST,TMPS,H1X,H1Y,H1Z*/
-#define SENSOR_DATA_SIZE 8
-
-/* Read/Write buffer size.*/
-#define RWBUF_SIZE 16
-
-/* AK8975 register address */
-#define AK8975_REG_WIA 0x00
-#define AK8975_REG_INFO 0x01
-#define AK8975_REG_ST1 0x02
-#define AK8975_REG_HXL 0x03
-#define AK8975_REG_HXH 0x04
-#define AK8975_REG_HYL 0x05
-#define AK8975_REG_HYH 0x06
-#define AK8975_REG_HZL 0x07
-#define AK8975_REG_HZH 0x08
-#define AK8975_REG_ST2 0x09
-#define AK8975_REG_CNTL 0x0A
-#define AK8975_REG_RSV 0x0B
-#define AK8975_REG_ASTC 0x0C
-#define AK8975_REG_TS1 0x0D
-#define AK8975_REG_TS2 0x0E
-#define AK8975_REG_I2CDIS 0x0F
-
-/* AK8975 fuse-rom address */
-#define AK8975_FUSE_ASAX 0x10
-#define AK8975_FUSE_ASAY 0x11
-#define AK8975_FUSE_ASAZ 0x12
-
-#endif /* __AK8975_REG__ */