Remove sensors configurations
Signed-off-by: Deokgyu Yang <secugyu@gmail.com> Change-Id: I8867890971a26882a23ed069024c216a22ec34d6
This commit is contained in:
parent
15ce05f0df
commit
779f97c5a0
3 changed files with 0 additions and 411 deletions
|
@ -1 +0,0 @@
|
|||
sensors.ssc.so
|
|
@ -1,405 +0,0 @@
|
|||
#
|
||||
# File: sensor_def_qcomdev.conf
|
||||
#
|
||||
# Tihs file contains default sensor registry values for Qualcomm development
|
||||
# test platforms.
|
||||
#
|
||||
# Copyright (c) 2013-2015 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
|
||||
# File format:
|
||||
#
|
||||
# Lines starting with "#" are comments and ignored.
|
||||
#
|
||||
# File metadata uses this format:
|
||||
# :key value1 value2
|
||||
#
|
||||
# The following keys are defined:
|
||||
# - "version" : value1 is non-zero positive version number of the file. This
|
||||
# number will be stored in the sensors registry. It should be equal to the
|
||||
# largest version of any item. It will be saved in the sensors registry for
|
||||
# later use when initializing values. See the item format below.
|
||||
# This value should only be specified once in the file.
|
||||
#
|
||||
# - "hardware" : The value1 will be compared to the "Hardware" string from
|
||||
# the property of ro.board.platform.
|
||||
# Items will only be used as default values in the registry if the hardware
|
||||
# string value is a substring of the ro.board.platform string.
|
||||
# This metadata key can be used more than once, so that one file can support
|
||||
# more than one type of hardware.
|
||||
# The value may be NULL, indicating common item values for all hardware.
|
||||
#
|
||||
# - "platform" : Similar to the "hardware" key, but this string will need to
|
||||
# match the text of either /sys/devices/soc0/hw_platform or
|
||||
# /sys/devices/soc0/platform_subtype.
|
||||
#
|
||||
# - "soc_id" : Similar to the "hardware" key, but this string will need to
|
||||
# match the text of /sys/devices/soc0/soc_id.
|
||||
#
|
||||
# - "subtype" : Similar to the "hardware" key, but this string will need to
|
||||
# match the text of /sys/devices/soc0/platform_subtype.
|
||||
#
|
||||
# - "soc_rev" : Similar to the "hardware" key, but this string will need to
|
||||
# match the text of /sys/devices/soc0/revision.
|
||||
#
|
||||
# - "property" : value1 is the Android system property key, and value2 is
|
||||
# the desired property value. If the system property value matches the
|
||||
# desired property value, then the following items will be applied.
|
||||
# This metadata key can be used more than once, in which case the new
|
||||
# property value overrides the old.
|
||||
# value1 and 2 may be NULL, indicating common item values for all properties.
|
||||
#
|
||||
# Registry items are in lines with the following format:
|
||||
# <itemID> <value> <version>
|
||||
# Where:
|
||||
# itemID is the numeric item ID defined in sns_reg_api_v02.h
|
||||
#
|
||||
# "value" is the numeric value of the item.
|
||||
#
|
||||
# "version" is a non-zero version of the item value.
|
||||
# The version field will be compared against the previous saved
|
||||
# value in the sensors registry. If this value is greater than the
|
||||
# saved value, the default will be applied. Otherwise, the default
|
||||
# will be skipped.
|
||||
#
|
||||
# Registry item values will only be applied if the hardware, platform, and
|
||||
# property values match for the current hardware configuration.
|
||||
#
|
||||
# The numeric fields are parsed with the strtoull function, base 0.
|
||||
#
|
||||
|
||||
# If you update the conf version, you have to update the item version for magnetic calibration.
|
||||
# 401 ~ 414, 3903, 3904, 3905, 3915
|
||||
|
||||
:version 0x00010003
|
||||
|
||||
#######################################################################
|
||||
### 8996 Chipsets - REV00
|
||||
#######################################################################
|
||||
:hardware msm8996
|
||||
:platform
|
||||
:property
|
||||
:hw_rev 0
|
||||
# Orientation of sensors
|
||||
# accel x/y/z
|
||||
700 2 0x00010003 #accel-x-axis
|
||||
701 -1 0x00010003 #accel-y-axis
|
||||
702 3 0x00010003 #accel-z-axis
|
||||
# gyro x/y/z
|
||||
800 2 0x00010003 #gyro-x-axis
|
||||
801 -1 0x00010003 #gyro-y-axis
|
||||
802 3 0x00010003 #gyro-z-axis
|
||||
# mag x/y/z
|
||||
900 1 0x00010005 #max-x-axis
|
||||
901 2 0x00010005 #mag-y-axis
|
||||
902 3 0x00010005 #mag-z-axis
|
||||
# SSI SMGR Version
|
||||
1900 1 0x00010001 #Maj Ver
|
||||
1901 2 0x00010001 #Min Ver
|
||||
|
||||
# SAM config
|
||||
#
|
||||
203 65536 0x10001 # AMD
|
||||
225 983040 0x10001 # RMD
|
||||
504 65536 0x10001 # Gyro Cal
|
||||
1703 65536 0x10001 # Ped
|
||||
2800 983040 0x10001 # basic ges
|
||||
2900 983040 0x10001 # Facing
|
||||
3400 65536 0x10001 # CMC
|
||||
609 983040 0x10001 # FMV
|
||||
1005 983040 0x10001 # Grav
|
||||
1103 983040 0x10001 # orientation
|
||||
3000 983040 0x10001 # gyro quat
|
||||
3100 983040 0x10001 # rot vec
|
||||
3500 983040 0x10001 # game rv
|
||||
4112 65536 0x10001 # SMD
|
||||
4103 5 0x10001 # SMD_ACC_WIN_TIME
|
||||
|
||||
#MAG Cal registry
|
||||
401 0x00000000 0x00010005 # Mag_fac_cal_bias_valid
|
||||
402 0x00000001 0x00010005 # Mag_fac_cal_matrix_valid
|
||||
403 0x00006C6C 0x00010005 # X_offset
|
||||
404 0xFFFFDB8B 0x00010005 # Y_offset
|
||||
405 0xFFFFF5F2 0x00010005 # Z_offset
|
||||
406 0x0000E0F2 0x00010007 # Compensation_matrix_0_0
|
||||
407 0x0000019D 0x00010007 # Compensation_matrix_0_1
|
||||
408 0xFFFFFFC5 0x00010007 # Compensation_matrix_0_2
|
||||
409 0xFFFFF7A1 0x00010007 # Compensation_matrix_1_0
|
||||
410 0x0000FC5D 0x00010007 # Compensation_matrix_1_1
|
||||
411 0x00000803 0x00010007 # Compensation_matrix_1_2
|
||||
412 0xFFFFF92A 0x00010007 # Compensation_matrix_2_0
|
||||
413 0xFFFFF525 0x00010007 # Compensation_matrix_2_1
|
||||
414 0x00010ADB 0x00010007 # Compensation_matrix_2_2
|
||||
|
||||
#ALS/Proxi registry
|
||||
100 0x14 0x00010001 #visible_ratio
|
||||
101 0x50 0x00010001 #ir_ratio
|
||||
102 0 0x00010001 #dc_offset
|
||||
103 2000 0x00010002 #thresh_near
|
||||
104 1400 0x00010002 #thresh_far
|
||||
105 0 0x00010001 #prx_crosstalk
|
||||
106 0x356 0x00010001 #als_factor
|
||||
107 50 0x00010001 #ams_num
|
||||
108 1 0x00010001 #drv_ID
|
||||
109 1 0x00010001 #calibratePhone
|
||||
110 1 0x00010001 #device
|
||||
111 250 0x00010001 #calLuxLower
|
||||
112 500 0x00010001 #calLuxUpper
|
||||
113 3367 0x00010003 #d_factor
|
||||
114 300 0x00010002 #r_coef
|
||||
115 1000 0x00010002 #g_coef
|
||||
116 -10 0x00010002 #b_coef
|
||||
117 3699 0x00010002 #ct_coef
|
||||
118 1687 0x00010002 #ct_offset
|
||||
119 2000 0x00010001 #proxDetect
|
||||
120 1400 0x00010001 #proxRelease
|
||||
121 1024 0x00010001 #luxCorrection
|
||||
122 6 0x00010001 #led enable gpio num
|
||||
123 0 0x00010001 #cancelation
|
||||
124 0x000F 0x00010001 #trim
|
||||
|
||||
# sam parameters for BMI160
|
||||
200 0x000a0000 0x00010001 #AMD_ACC_SAMP_RATE_HZ_Q16
|
||||
201 0x00000cdc 0x00010001 #AMD_INT_cfg_prm1
|
||||
202 0x00008000 0x00010001 #AMD_INT_cfg_prm2
|
||||
211 0x000010db 0x00010001 #VMD_INT_cfg_prm1
|
||||
220 0x001e0000 0x00010001 #RMD_ACC_SAMP_RATE_HZ_Q16
|
||||
221 0x0001b333 0x00010001 #RMD_INT_cfg_prm1
|
||||
222 0x00003333 0x00010001 #RMD_INT_cfg_prm2
|
||||
223 0x00050000 0x00010001 #RMD_INT_cfg_prm3
|
||||
224 0x00003333 0x00010001 #RMD_INT_cfg_prm4
|
||||
|
||||
# LSM6DS3 - accel
|
||||
# {0xaa,0x2b,0xa9,0x09,0xcb,0xe1,0x46,0x12,0x8e,0x50,0x6c,0x95,0xd5,0xd9,0x0b,0x1a}
|
||||
1902 0x1246e1cb09a92baa 0x00010001 #UUID
|
||||
1903 0x1a0bd9d5956c508e 0x00010001 #UUID
|
||||
1904 100000 0x00010001 #off_to_idle
|
||||
1905 0 0x00010002 #idle_to_ready
|
||||
1906 0x1001 0x00010001 #SPI_bus
|
||||
1907 1000 0x00010001 #reg_group_id
|
||||
1908 0 0x00010001 #cal_grp_id
|
||||
1909 122 0x00010001 #gpio1
|
||||
1910 0xFFFF 0x00010001 #gpio2
|
||||
1911 0 0x00010001 #sensor_id
|
||||
1912 0x0 0x00010001 #i2c_address // SPI
|
||||
1913 1 0x00010001 #data_type1
|
||||
1914 0 0x00010001 #data_type2
|
||||
1915 -1 0x00010001 #rel_sns_idx
|
||||
1916 1 0x00010004 #sens_default
|
||||
1917 0xD0 0x00010001 #flags
|
||||
1982 0 0x00010001 #device_select
|
||||
1987 0x2 0x00010004 #vdd
|
||||
1988 0x2 0x00010001 #vddio
|
||||
|
||||
# LSM6DS3 - gyro
|
||||
# {0xaa,0x2b,0xa9,0x09,0xcb,0xe1,0x46,0x12,0x8e,0x50,0x6c,0x95,0xd5,0xd9,0x0b,0x1a}
|
||||
1918 0x1246e1cb09a92baa 0x00010001 #UUID
|
||||
1919 0x1a0bd9d5956c508e 0x00010001 #UUID
|
||||
1920 100000 0x00010001 #off_to_idle
|
||||
1921 0 0x00010002 #idle_to_ready
|
||||
1922 0x1001 0x00010001 #SPI_bus
|
||||
1923 1010 0x00010001 #reg_group_id
|
||||
1924 10 0x00010001 #cal_grp_id
|
||||
1925 122 0x00010001 #gpio1
|
||||
1926 0xFFFF 0x00010001 #gpio2
|
||||
1927 10 0x00010001 #sensor_id
|
||||
1928 0x0 0x00010001 #i2c_address // SPI
|
||||
1929 3 0x00010001 #data_type1
|
||||
1930 0 0x00010001 #data_type2
|
||||
1931 -1 0x00010001 #rel_sns_idx
|
||||
1932 2 0x00010004 #sens_default
|
||||
1933 0xD0 0x00010001 #flags
|
||||
1983 0 0x00010001 #device_select
|
||||
1989 0x2 0x00010004 #vdd
|
||||
1990 0x2 0x00010001 #vddio
|
||||
|
||||
# AKM099xx_FIFO
|
||||
# {0xf6,0xae,0x80,0xfe,0x94,0x2b,0x4d,0x56, 0x8f,0x16,0x61,0xd5,0x98,0x1b,0x61,0x90}
|
||||
1934 0x564d2b94fe80aef6 0x00010001 #UUID
|
||||
1935 0x90611b98d561168f 0x00010001 #UUID
|
||||
1936 3000 0x00010004 #off_to_idle
|
||||
1937 10000 0x00010004 #idle_to_ready
|
||||
1938 3 0x00010001 #i2c_bus
|
||||
1939 1020 0x00010001 #reg_group_id
|
||||
1940 0x0014 0x00010002 #cal_grp_id
|
||||
1941 0xFFFF 0x00010001 #gpio1
|
||||
1942 0xFFFF 0x00010001 #gpio2
|
||||
1943 20 0x00010001 #sensor_id
|
||||
1944 0x0C 0x00010001 #i2c_address
|
||||
1945 2 0x00010001 #data_type1
|
||||
1946 0 0x00010001 #data_type2
|
||||
1947 0xFF 0x00010001 #rel_sns_idx
|
||||
1948 0 0x00010001 #sens_default
|
||||
1949 0 0x00010001 #flags
|
||||
1984 0 0x00010001 #device_select
|
||||
1991 0x2 0x00010004 #vdd
|
||||
1992 0x2 0x00010001 #vddio
|
||||
|
||||
# CM3323 - light
|
||||
# {0xa9,0xd5,0xce,0xe6,0x42,0xca,0x4e,0xa9,0x9c,0x29,0x7e,0x1a,0xc7,0x9e,0x78,0x4b}
|
||||
1950 0xa94eca42e6ced5a9 0x00010003 #UUID
|
||||
1951 0x4b789ec71a7e299c 0x00010003 #UUID
|
||||
1952 5000 0x00010003 #off_to_idle
|
||||
1953 150000 0x00010003 #idle_to_ready
|
||||
1954 2 0x00010003 #i2c_bus
|
||||
1955 1040 0x00010003 #reg_group_id
|
||||
1956 0xFFFF 0x00010003 #cal_grp_id
|
||||
1957 0xFFFF 0x00010003 #gpio1
|
||||
1958 0xFFFF 0x00010003 #gpio2
|
||||
1959 40 0x00010003 #sensor_id
|
||||
1960 0x10 0x00010003 #i2c_address
|
||||
1961 0 0x00010003 #data_type1
|
||||
1962 6 0x00010003 #data_type2
|
||||
1963 0xFF 0x00010003 #rel_sns_idx
|
||||
1964 0 0x00010003 #sens_default
|
||||
1965 0x80 0x00010004 #flags
|
||||
1985 0 0x00010003 #device_select
|
||||
1993 0x96 0x00010004 #vdd
|
||||
1994 0x96 0x00010004 #vddio
|
||||
|
||||
# SSI SMGR Cfg 4:
|
||||
# {0xbc,0x46,0xfd,0x1b,0x43,0xb8,0x25,0x0b,0x61,0xc6,0x95,0x37,0x96,0x75,0x40,0xc1}
|
||||
1966 0 0x00010003 #UUID low
|
||||
1967 0 0x00010003 #UUID high
|
||||
1968 300000 0x00010002 #off_to_idle
|
||||
1969 0 0x00010002 #idle_to_ready
|
||||
1970 2 0x00010002 #i2c_bus
|
||||
1971 1080 0x00010002 #reg_group_id
|
||||
1972 0xFFFF 0x00010002 #cal_grp_id
|
||||
1973 0xFFFF 0x00010002 #gpio1
|
||||
1974 0xFFFF 0x00010002 #gpio2
|
||||
1975 60 0x00010002 #sensor_id
|
||||
1976 0x1C 0x00010002 #i2c_address
|
||||
1977 28 0x00010002 #data_type1
|
||||
1978 29 0x00010002 #data_type2
|
||||
1979 0xFF 0x00010002 #rel_sns_idx
|
||||
1980 0 0x00010002 #sens_default
|
||||
1981 0 0x00010002 #flags
|
||||
1986 0 0x00010002 #device_select
|
||||
|
||||
# SSI SMGR Version
|
||||
3600 1 0x00010001 #Maj Ver
|
||||
3601 2 0x00010001 #Min Ver
|
||||
|
||||
# SSI SMGR Cfg 5:
|
||||
3602 0 0x00010001 #UUID low
|
||||
3603 0 0x00010001 #UUID high
|
||||
3604 300000 0x00010001 #off_to_idle
|
||||
3605 0 0x00010001 #idle_to_ready
|
||||
3606 2 0x00010001 #i2c_bus
|
||||
3607 1080 0x00010001 #reg_group_id
|
||||
3608 0xFFFF 0x00010001 #cal_grp_id
|
||||
3609 0xFFFF 0x00010001 #gpio1
|
||||
3610 0xFFFF 0x00010001 #gpio2
|
||||
3611 60 0x00010001 #sensor_id
|
||||
3612 0x1C 0x00010001 #i2c_address
|
||||
3613 28 0x00010001 #data_type1
|
||||
3614 29 0x00010001 #data_type2
|
||||
3615 0xFF 0x00010001 #rel_sns_idx
|
||||
3616 0 0x00010001 #sens_default
|
||||
3617 0 0x00010001 #flags
|
||||
3682 0 0x00010001 #device_select
|
||||
3687 0x2 0x00010001 #vdd
|
||||
3688 0x2 0x00010001 #vddio
|
||||
|
||||
# SSI SMGR Cfg 6:
|
||||
3618 0 0x00010003 #UUID
|
||||
3619 0 0x00010003 #UUID
|
||||
3620 5700 0x00010003 #off_to_idle
|
||||
3621 10000 0x00010003 #idle_to_ready
|
||||
3622 3 0x00010003 #i2c_bus
|
||||
3623 1040 0x00010003 #reg_group_id
|
||||
3624 0xFFFF 0x00010003 #cal_grp_id
|
||||
3625 118 0x00010003 #gpio1
|
||||
3626 0xFFFF 0x00010003 #gpio2
|
||||
3627 60 0x00010003 #sensor_id
|
||||
3628 0x39 0x00010003 #i2c_address
|
||||
3629 28 0x00010003 #data_type1
|
||||
3630 0 0x00010003 #data_type2
|
||||
3631 0xFF 0x00010003 #rel_sns_idx
|
||||
3632 0 0x00010003 #sens_default
|
||||
3633 0x80 0x00010003 #flags
|
||||
3683 0 0x00010003 #device_select
|
||||
3689 0x2 0x00010003 #vdd
|
||||
3690 0x2 0x00010003 #vddio
|
||||
|
||||
#
|
||||
# SSI GPIO configuration
|
||||
#-----------------------------
|
||||
2700 1 0x00010001 #maj ver
|
||||
2701 0 0x00010001 # min ver
|
||||
2706 0xFFFF 0x00010004 # RESET pin
|
||||
|
||||
#
|
||||
# SSC GPIO CFG (SSC_4,5 as active)
|
||||
#-----------------------------
|
||||
6300 1 0x00010003 # version
|
||||
6301 0x0104 0x00010003 # gpio num
|
||||
6302 1 0x00010003 # active func sel
|
||||
6303 1 0x00010003 # active dir
|
||||
6304 0 0x00010003 # active pull
|
||||
6305 0 0x00010003 # active drive
|
||||
6306 1 0x00010003 # inactive func sel
|
||||
6307 1 0x00010003 # inactive dir
|
||||
6308 2 0x00010003 # inactive pull
|
||||
6309 0 0x00010003 # inactive drive
|
||||
|
||||
6310 1 0x00010003 # version
|
||||
6311 0x0105 0x00010003 # gpio num
|
||||
6312 1 0x00010003 # active func sel
|
||||
6313 1 0x00010003 # active dir
|
||||
6314 0 0x00010003 # active pull
|
||||
6315 0 0x00010003 # active drive
|
||||
6316 1 0x00010003 # inactive func sel
|
||||
6317 1 0x00010003 # inactive dir
|
||||
6318 2 0x00010003 # inactive pull
|
||||
6319 0 0x00010003 # inactive drive
|
||||
|
||||
#
|
||||
# SSC GPIO CFG
|
||||
#-----------------------------
|
||||
6350 1 0x00010001 # version
|
||||
6351 0x0106 0x00010001 # gpio num (SSC GPIO 6)
|
||||
6352 0 0x00010001 # active func sel
|
||||
6353 0 0x00010001 # active dir
|
||||
6354 0 0x00010001 # active pull
|
||||
6355 0 0x00010001 # active drive
|
||||
6356 0 0x00010001 # inactive func sel
|
||||
6357 0 0x00010001 # inactive dir
|
||||
6358 0 0x00010001 # inactive pull
|
||||
6359 0 0x00010001 # inactive drive
|
||||
|
||||
#
|
||||
# SSC GPIO CFG
|
||||
#-----------------------------
|
||||
6360 1 0x00010001 # version
|
||||
6361 0x0107 0x00010001 # gpio num (SSC GPIO 7)
|
||||
6362 0 0x00010001 # active func sel
|
||||
6363 0 0x00010001 # active dir
|
||||
6364 3 0x00010001 # active pull
|
||||
6365 0 0x00010001 # active drive
|
||||
6366 0 0x00010001 # inactive func sel
|
||||
6367 0 0x00010001 # inactive dir
|
||||
6368 3 0x00010001 # inactive pull
|
||||
6369 0 0x00010001 # inactive drive
|
||||
|
||||
#
|
||||
# MSM GPIO CFG
|
||||
#-----------------------------
|
||||
6450 1 0x00010001 # version
|
||||
6451 0xFFFF 0x00010003 # gpio num 0x76 - 118 (MSM GPIO 118) // Disable
|
||||
6452 0 0x00010001 # active func sel
|
||||
6453 0 0x00010001 # active dir
|
||||
6454 0 0x00010001 # active pull
|
||||
6455 0 0x00010001 # active drive
|
||||
6456 0 0x00010001 # inactive func sel
|
||||
6457 0 0x00010001 # inactive dir
|
||||
6458 0 0x00010001 # inactive pull
|
||||
6459 0 0x00010001 # inactive drive
|
||||
|
||||
# Mag Cal config
|
||||
#-----------------------------
|
||||
3801 1 0x00010001
|
||||
3804 0x000a0000 0x10001 #Sample Rate
|
|
@ -354,11 +354,6 @@ PRODUCT_PACKAGES += \
|
|||
android.hardware.sensors@1.0-impl \
|
||||
android.hardware.sensors@1.0-service
|
||||
|
||||
# Sensors
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/configs/sensors/hals.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/hals.conf \
|
||||
$(LOCAL_PATH)/configs/sensors/sensor_def_qcomdev.conf:$(TARGET_COPY_OUT_SYSTEM)/etc/sensors/sensor_def_qcomdev.conf
|
||||
|
||||
# Soong namespaces
|
||||
PRODUCT_SOONG_NAMESPACES += \
|
||||
$(LOCAL_PATH) \
|
||||
|
|
Loading…
Reference in a new issue