land: Update sensor_def_qcomdev.conf

This commit is contained in:
karthick111 2017-06-08 22:12:18 +05:30 committed by Darshan Manjrekar
parent 88634ecd38
commit 83a32029db

View file

@ -867,6 +867,17 @@
#######################################################################
### 8937 Chipsets
#######################################################################
# MSM8940, MSM8937 and MSM8917 share the same property(ro.board.platfrom) as 8937.
# In this configuration, MSM8940, MSM8937 and MSM8917 share same sensor
# configuration because sensors are same in reference design.
# The identification of MSM8940, MSM8937 and MSM8917 can be done by soc_id
# which is unique.
# <target> - <soc_id>:
# MSM8940 - 313
# MSM8937 - 294 APQ8037 - 295
# MSM8917 - 303 APQ8017 - 307 MSM8217 - 308 MSM8617 - 309
# MSM8920 - 320
:hardware 8937
:platform
:property
@ -1100,6 +1111,19 @@
120 20 0x00010001 #als_thresh_high
121 20 0x00010001 #als_thresh_low
# Factory magnetometer calibration
401 0x00000001 0x00010001 #Mag_fac_cal_bias_valid
402 0x00000001 0x00010001 #Mag_fac_cal_matrix_valid
406 0x0001026C 0x00010001 #Compensation_matrix_0_0
407 0x0000013B 0x00010001 #Compensation_matrix_0_1
408 0x0000000E 0x00010001 #Compensation_matrix_0_2
409 0x0000013B 0x00010001 #Compensation_matrix_1_0
410 0x0000FC50 0x00010001 #Compensation_matrix_1_1
411 0xFFFFFE94 0x00010001 #Compensation_matrix_1_2
412 0x0000000E 0x00010001 #Compensation_matrix_2_0
413 0xFFFFFE94 0x00010001 #Compensation_matrix_2_1
414 0x00010144 0x00010001 #Compensation_matrix_2_2
:platform QRD
@ -1190,7 +1214,9 @@
#######################################################################
### 8917 Chipsets
#######################################################################
:soc_id 303
# QRD8917 QRD8920
# Inherit configurations from 8937 and 8920 but new orientation
:soc_id 303 320
# Orientation of sensors
# accel0 x/y/z
700 1 0x00010001 #accel-x-axis
@ -1422,6 +1448,20 @@
120 20 0x00010001 #als_thresh_high
121 20 0x00010001 #als_thresh_low
# Factory magnetometer calibration
1940 0x00000014 0x00010001 #cal_grp_id
401 0x00000001 0x00010001 #Mag_fac_cal_bias_valid
402 0x00000001 0x00010001 #Mag_fac_cal_matrix_valid
406 0x0001026C 0x00010001 #Compensation_matrix_0_0
407 0x0000013B 0x00010001 #Compensation_matrix_0_1
408 0x0000000E 0x00010001 #Compensation_matrix_0_2
409 0x0000013B 0x00010001 #Compensation_matrix_1_0
410 0x0000FC50 0x00010001 #Compensation_matrix_1_1
411 0xFFFFFE94 0x00010001 #Compensation_matrix_1_2
412 0x0000000E 0x00010001 #Compensation_matrix_2_0
413 0xFFFFFE94 0x00010001 #Compensation_matrix_2_1
414 0x00010144 0x00010001 #Compensation_matrix_2_2
:platform QRD
# Orientation of sensors
# accel x/y/z
@ -3284,7 +3324,21 @@
116 0x64 0x00010001 #rgb_g_factor
117 0x64 0x00010001 #rgb_b_factor
:platform
:platform MTP
# Factory magnetometer calibration
1940 0x00000014 0x00010001 #cal_grp_id
401 0x00000001 0x00010001 #Mag_fac_cal_bias_valid
402 0x00000001 0x00010001 #Mag_fac_cal_matrix_valid
406 0x00010475 0x00010001 #Compensation_matrix_0_0
407 0x00000094 0x00010001 #Compensation_matrix_0_1
408 0xFFFFFF95 0x00010001 #Compensation_matrix_0_2
409 0x00000094 0x00010001 #Compensation_matrix_1_0
410 0x0000FA46 0x00010001 #Compensation_matrix_1_1
411 0xFFFFFD8D 0x00010001 #Compensation_matrix_1_2
412 0xFFFFFF95 0x00010001 #Compensation_matrix_2_0
413 0xFFFFFD8D 0x00010001 #Compensation_matrix_2_1
414 0x00010145 0x00010001 #Compensation_matrix_2_2
:platform Liquid
@ -4150,4 +4204,3 @@
#-----------------------------
3801 1 0x00010001
3804 0x000a0000 0x10001 #Sample Rate