From 682a810524e5e83e8161df239233900d60681dfe Mon Sep 17 00:00:00 2001 From: karthick111 Date: Thu, 29 Jun 2017 14:48:18 +0200 Subject: [PATCH] land: Update configs from santoni N --- configs/sec_config | 6 +- configs/sensors/sensor_def_qcomdev.conf | 4193 +---------------------- 2 files changed, 174 insertions(+), 4025 deletions(-) diff --git a/configs/sec_config b/configs/sec_config index 7ec6221..6ab6b93 100644 --- a/configs/sec_config +++ b/configs/sec_config @@ -5,6 +5,8 @@ 56:4294967295:1021 /* Allow SS CTL service to be used by system and net_raw processes */ 43:4294967295:1000:3004 +/* :: */ +71:4294967295:1001 /* :: */ 50:4294967295:1001 /* QMI-SLIM service permitted to gps and net_raw */ @@ -270,7 +272,7 @@ 18:4294967295:1001:3004 /* Allow QMID service to aquire net_raw permission */ 3:4294967295:1001:3004 -2:4294967295:1001:3004 +2:4294967295:1000:1001:3004 42:4294967295:1001:3004 18:4294967295:1001:3004 9:4294967295:1001:3004 @@ -305,6 +307,8 @@ 33:4294967295:1001 /* CSVT */ 29:4294967295:1001 +/*LTE*/ +70:4294967295:1001 /* Allow Data dpmd to access QMI DFS */ 48:4294967295:1000:3004 /* DIAG */ diff --git a/configs/sensors/sensor_def_qcomdev.conf b/configs/sensors/sensor_def_qcomdev.conf index 5a96725..80dcaee 100644 --- a/configs/sensors/sensor_def_qcomdev.conf +++ b/configs/sensors/sensor_def_qcomdev.conf @@ -62,6 +62,14 @@ # subtype list gets overwritten with the new one every time when "subtype" # tag appears while parsing conf file. # +# - "sub_id" : Similar to the "hardware" key, but this string will need to +# match the text of /sys/devices/soc0/platform_subtype_id. +# Common conf entries for multiple sub_id can be mentioned as below. +# configuration below this string is common for sub_id +# :sub_id 0 10 +# sub_id list gets overwritten with the new one every time when "sub_id" +# tag appears while parsing conf file. +# # - "soc_rev" : Similar to the "hardware" key, but this string will need to # match the text of /sys/devices/soc0/revision. # Common conf entries for multiple soc_rev can be mentioned as below. @@ -104,768 +112,10 @@ # The numeric fields are parsed with the strtoull function, base 0. # -:version 0x00010001 +:version 0x00010003 ####################################################################### -### MSM8976,APQ8076 and MSM8956 Chipsets -####################################################################### -# msm8976,apq8076 and msm8956 share the same property(ro.board.platfrom) -# as msm8952. -# use 8952 as hardware,8976,8076 and 8956 identification is done by -# soc_id which is unique. -:hardware 8952 -:platform -:property -# soc_id for msm8976 targets is 278 -# soc_id for apq8076 targets is 277 -# soc_id for msm8956 targets is 266 -# Below configuration is common for msm8976,apq8076 and msm8956 -:soc_id 278 266 277 -# Orientation of sensors -# accel x/y/z -700 -2 0x00010001 #accel-x-axis -701 1 0x00010001 #accel-y-axis -702 3 0x00010001 #accel-z-axis -# gyro x/y/z -800 -2 0x00010001 #gyro-x-axis -801 1 0x00010001 #gyro-y-axis -802 3 0x00010001 #gyro-z-axis -# mag x/y/z -900 -2 0x00010001 #mag-x-axis -901 -1 0x00010001 #mag-y-axis -902 -3 0x00010001 #mag-z-axis -# SSI SMGR Version -1900 1 0x00010001 #Maj Ver -1901 1 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 - -# SSI SMGR Cfg 0 BMI160 FIFO -1903 0x0f4d0fd654c7eab5 0x00010001 #UUID -1902 0xd646cb83ec0cd5a5 0x00010001 #UUID -1904 10000 0x00010001 #off_to_idle -1905 0 0x00010001 #idle_to_ready -1906 5 0x00010001 #i2c_bus -1907 1000 0x00010001 #reg_group_id -1908 0 0x00010001 #cal_grp_id -1909 138 0x00010001 #gpio1 -1910 0xFFFF 0x00010001 #gpio2 -1911 0 0x00010001 #sensor_id -1912 0x68 0x00010001 #i2c_address -1913 1 0x00010001 #data_type1 -1914 4 0x00010001 #data_type2 -1915 -1 0x00010001 #rel_sns_idx -1916 2 0x00010001 #sens_default -1917 0xD0 0x00010001 #flags -1982 0 0x00010001 #device_select - -# SSI SMGR Cfg 1 BMG160 FIFO -1919 0x0f4d0fd654c7eab5 0x00010001 #UUID -1918 0xd646cb83ec0cd5a5 0x00010001 #UUID -1920 150000 0x00010001 #off_to_idle -1921 0 0x00010001 #idle_to_ready -1922 5 0x00010001 #i2c_bus -1923 1010 0x00010001 #reg_group_id -1924 10 0x00010001 #cal_grp_id -1925 138 0x00010001 #gpio1 -1926 0xFFFF 0x00010001 #gpio2 -1927 10 0x00010001 #sensor_id -1928 0x68 0x00010001 #i2c_address -1929 3 0x00010001 #data_type1 -1930 4 0x00010001 #data_type2 -1931 -1 0x00010001 #rel_sns_idx -1932 4 0x00010001 #sens_default -1933 0XD0 0x00010001 #flags -1983 0 0x00010001 #device_select - -# SSI SMGR Cfg 2: HSCDTD008A POLL -1935 0x6b7b6b353051699e 0x00010001 #UUID -1934 0xe1451a747fc17ad2 0x00010001 #UUID -1936 3000 0x00010001 #off_to_idle -1937 10000 0x00010001 #idle_to_ready -1938 5 0x00010001 #i2c_bus -1939 1020 0x00010001 #reg_group_id -1940 0xFFFF 0x00010001 #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 - -# SSI SMGR Cfg 3: LPS25H POLL -1951 0x04e4e644164294bf 0x00010001 #UUID -1950 0xf84490bce44e195c 0x00010001 #UUID -1952 10000 0x00010001 #off_to_idle -1953 1000 0x00010001 #idle_to_ready -1954 5 0x00010001 #i2c_bus -1955 0xFFFF 0x00010001 #reg_group_id -1956 0xFFFF 0x00010001 #cal_grp_id -1957 0xFFFF 0x00010001 #gpio1 -1958 0xFFFF 0x00010001 #gpio2 -1959 30 0x00010001 #sensor_id -1960 0x5C 0x00010001 #i2c_address -1961 7 0x00010001 #data_type1 -1962 4 0x00010001 #data_type2 -1963 0xFF 0x00010001 #rel_sns_idx -1964 0 0x00010001 #sens_default -1965 0 0x00010001 #flags -1985 0 0x00010001 #device_select - -# SSI SMGR Cfg 4: TMG399x DRI -1967 0x8ab69de1d4cdf1a2 0x00010001 #UUID -1966 0xf1400bc7db90fb32 0x00010001 #UUID -1968 5700 0x00010001 #off_to_idle -1969 0 0x00010001 #idle_to_ready -1970 5 0x00010001 #i2c_bus -1971 1040 0x00010001 #reg_group_id -1972 0xFFFF 0x00010001 #cal_grp_id -1973 141 0x00010001 #gpio1 -1974 0xFFFF 0x00010001 #gpio2 -1975 40 0x00010001 #sensor_id -1976 0x39 0x00010001 #i2c_address -1977 5 0x00010001 #data_type1 -1978 6 0x00010001 #data_type2 -1979 0xFF 0x00010001 #rel_sns_idx -1980 0 0x00010001 #sens_default -1981 0x80 0x00010001 #flags -1986 0 0x00010001 #device_select - - -# SSI SMGR Version -3600 1 0x00010001 #Maj Ver -3601 1 0x00010001 #Min Ver - -# QMAG_CAL Configuration -3801 1 0x00010001 -3804 0x000A0000 0x00010001 #Sample Rate - -# -# SSI GPIO configuration -#----------------------------- -2700 1 0x00010001 #maj ver -2701 1 0x00010001 #min ver -2702 136 0x00010001 #I2C SDA_1 -2703 137 0x00010001 #I2C SCL_1 -2704 0xFFFF 0x00010001 #I2C SDA_2 -2705 0xFFFF 0x00010001 #I2C SCL_2 -#2706 132 0x00010001 #RESET pin -2709 138 0x00010001 #ACCEL DRI -2710 138 0x00010001 #GYRO DRI -2711 142 0x00010001 #MAG DRI -2712 141 0x00010001 #ALS/PRX INT -2714 140 0x00010001 #PRESS INT - -# SSI SMGR Cfg 5: TMG399x RGB DRI -3603 0x8ab69de1d4cdf1a2 0x00010001 #UUID -3602 0xf1400bc7db90fb32 0x00010001 #UUID -3604 5700 0x00010001 #off_to_idle -3605 10000 0x00010001 #idle_to_ready -3606 5 0x00010001 #i2c_bus -3607 1040 0x00010001 #reg_group_id -3608 0xFFFF 0x00010001 #cal_grp_id -3609 141 0x00010001 #gpio1 -3610 0xFFFF 0x00010001 #gpio2 -3611 60 0x00010001 #sensor_id -3612 0x39 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 0x80 0x00010001 #flags -3682 0 0x00010001 #device_select - -# AMD Cfg -200 0x000A0000 0x00010001 #AMD Default Sample rate -201 0x00000CDC 0x00010001 #AMD INT Cfg param1 -202 0x00008000 0x00010001 #AMD INT Cfg param2 - -# RMD Cfg -220 0x001E0000 0x00010001 #RMD Default Sample rate -221 0X0001B333 0x00010001 #RMD INT Cfg param1 -222 0x00003333 0x00010001 #RMD INT Cfg param2 -223 0x00001657 0x00010001 #RMD INT Cfg param3 -224 0x00003333 0x00010001 #RMD INT Cfg param4 - -# Mag soft iron calibration -1940 0x00000014 0x00010001 # cal_grp_id -401 0x00000001 0x00010001 # Mag_fac_cal_bias_valid -402 0x00000001 0x00010001 # Mag_fac_cal_matrix_valid -406 0x0000EFFF 0x00010001 # Compensation_matrix_0_0 -407 0xFFFFFEA5 0x00010001 # Compensation_matrix_0_1 -408 0x00000896 0x00010001 # Compensation_matrix_0_2 -409 0xFFFFFEA5 0x00010001 # Compensation_matrix_1_0 -410 0x00014000 0x00010001 # Compensation_matrix_1_1 -411 0x0000026B 0x00010001 # Compensation_matrix_1_2 -412 0x00000896 0x00010001 # Compensation_matrix_2_0 -413 0x0000026B 0x00010001 # Compensation_matrix_2_1 -414 0x0000E03A 0x00010001 # Compensation_matrix_2_2 - -:platform QRD -# Orientation of sensors -# accel0 x/y/z -700 -1 0x00010001 #accel-x-axis -701 2 0x00010001 #accel-y-axis -702 -3 0x00010001 #accel-z-axis -# gyro x/y/z -800 1 0x00010001 #gyro-x-axis -801 -2 0x00010001 #gyro-y-axis -802 -3 0x00010001 #gyro-z-axis -# mag x/y/z -900 1 0x00010001 #max-x-axis -901 -2 0x00010001 #mag-y-axis -902 3 0x00010001 #mag-z-axis - -# SSI SMGR Cfg 0 BMA253 -1903 0xc10ffaeed4057c96 0x00010001 #UUID -1902 0xaf4644363f26965d 0x00010001 #UUID -1904 3000 0x00010001 #off_to_idle -1905 0 0x00010001 #idle_to_ready -1906 5 0x00010001 #i2c_bus -1907 1000 0x00010001 #reg_group_id -1908 0 0x00010001 #cal_grp_id -1909 138 0x00010001 #gpio1 -1910 0xFFFF 0x00010001 #gpio2 -1911 0 0x00010001 #sensor_id -1912 0x18 0x00010001 #i2c_address -1913 1 0x00010001 #data_type1 -1914 0 0x00010001 #data_type2 -1915 -1 0x00010001 #rel_sns_idx -1916 1 0x00010001 #sens_default -1917 0xD0 0x00010001 #flags -1982 0 0x00010001 #device_select - -# SSI SMGR Cfg 1 BMI160 ACCEL -1919 0x0f4d0fd654c7eab5 0x00010001 #UUID -1918 0xd646cb83ec0cd5a5 0x00010001 #UUID -1920 30000 0x00010001 #off_to_idle -1921 0 0x00010001 #idle_to_ready -1922 5 0x00010001 #i2c_bus -1923 1000 0x00010001 #reg_group_id -1924 10 0x00010001 #cal_grp_id -1925 139 0x00010001 #gpio1 -1926 0xFFFF 0x00010001 #gpio2 -1927 1 0x00010001 #sensor_id -1928 0x69 0x00010001 #i2c_address -1929 1 0x00010001 #data_type1 -1930 0 0x00010001 #data_type2 -1931 -1 0x00010001 #rel_sns_idx -1932 4 0x00010001 #sens_default -1933 0X40 0x00010001 #flags -1983 0 0x00010001 #device_select - -# SSI SMGR Cfg 2 BMI160 GYRO -1935 0x0f4d0fd654c7eab5 0x00010001 #UUID -1934 0xd646cb83ec0cd5a5 0x00010001 #UUID -1936 30000 0x00010001 #off_to_idle -1938 5 0x00010001 #i2c_bus -1939 1010 0x00010001 #reg_group_id -1940 10 0x00010001 #cal_grp_id -1941 139 0x00010001 #gpio1 -1942 0xFFFF 0x00010001 #gpio2 -1943 10 0x00010001 #sensor_id -1944 0x69 0x00010001 #i2c_address -1945 3 0x00010001 #data_type1 -1946 0 0x00010001 #data_type2 -1947 -1 0x00010001 #rel_sns_idx -1948 4 0x00010001 #sens_default -1949 0X40 0x00010001 #flags -1984 0 0x00010001 #device_select - -# SSI SMGR Cfg 3: TMD27723 -1951 0x9ab11a6ea1c0218a 0x00010001 #UUID -1950 0xcc44f904e9e569f7 0x00010001 #UUID -1952 10000 0x00010001 #off_to_idle -1953 0 0x00010001 #idle_to_ready -1954 5 0x00010001 #i2c_bus -1955 1040 0x00010001 #reg_group_id -1956 0xFFFF 0x00010001 #cal_grp_id -1957 141 0x00010001 #gpio1 -1958 0xFFFF 0x00010001 #gpio2 -1959 40 0x00010001 #sensor_id -1960 0x39 0x00010001 #i2c_address -1961 5 0x00010001 #data_type1 -1962 6 0x00010001 #data_type2 -1963 -1 0x00010001 #rel_sns_idx -1964 0 0x00010001 #sens_default -1965 0x00 0x00010001 #flags -1985 0 0x00010001 #device_select - -# SSI SMGR Cfg 4: MMC3530 -1967 0x7fc31ec17f1c0abd 0x00010001 #UUID -1966 0x5c473990a806b072 0x00010001 #UUID -1968 5 0x00010001 #off_to_idle -1969 10 0x00010001 #idle_to_ready -1970 5 0x00010001 #i2c_bus -1971 1020 0x00010001 #reg_group_id -1972 0xFFFF 0x00010001 #cal_grp_id -1973 0xFFFF 0x00010001 #gpio1 -1974 0xFFFF 0x00010001 #gpio2 -1975 20 0x00010001 #sensor_id -1976 0x30 0x00010001 #i2c_address -1977 2 0x00010001 #data_type1 -1978 0 0x00010001 #data_type2 -1979 -1 0x00010001 #rel_sns_idx -1980 1 0x00010001 #sens_default -1981 0 0x00010001 #flags -1986 0 0x00010001 #device_select - -# QMAG_CAL Configuration -3801 1 0x00010001 - -# platform: QRD, subtype: POLARIS -:subtype POLARIS - -# Orientation of sensors -# accel0 x/y/z -700 1 0x00010001 #accel-x-axis -701 -2 0x00010001 #accel-y-axis -702 3 0x00010001 #accel-z-axis -# mag x/y/z -900 1 0x00010001 #max-x-axis -901 -2 0x00010001 #mag-y-axis -902 3 0x00010001 #mag-z-axis - -# SSI SMGR Cfg 0 LIS2HH FIFO ACC -1903 0x8b32c5274ad0b6b8 0x00010001 #UUID -1902 0x224b9d8e7c327218 0x00010001 #UUID -1904 100000 0x00010001 #off_to_idle -1905 25000 0x00010001 #idle_to_ready -1906 5 0x00010001 #i2c_bus -1907 1000 0x00010001 #reg_group_id -1908 0 0x00010001 #cal_grp_id -1909 138 0x00010001 #gpio1 -1910 0xFFFF 0x00010001 #gpio2 -1911 0 0x00010001 #sensor_id -1912 0x1d 0x00010001 #i2c_address -1913 1 0x00010001 #data_type1 -1914 0 0x00010001 #data_type2 -1915 -1 0x00010001 #rel_sns_idx -1916 1 0x00010001 #sens_default -1917 0xD0 0x00010001 #flags -1982 0 0x00010001 #device_select - -# SSI SMGR Cfg 1 LIS2MDL MAG -1919 0xca65bea8d350d5be 0x00010001 #UUID -1918 0x594b35ddb8cb132f 0x00010001 #UUID -1920 1000 0x00010001 #off_to_idle -1921 0 0x00010001 #idle_to_ready -1922 5 0x00010001 #i2c_bus -1923 1020 0x00010001 #reg_group_id -1924 0xFFFF 0x00010001 #cal_grp_id -1925 142 0x00010001 #gpio1 -1926 0xFFFF 0x00010001 #gpio2 -1927 20 0x00010001 #sensor_id -1928 0x1E 0x00010000 #i2c_address -1929 2 0x00010001 #data_type1 -1930 0 0x00010001 #data_type2 -1931 -1 0x00010001 #rel_sns_idx -1932 0 0x00010001 #sens_default -1933 0 0x00010001 #flags -1983 0 0x00010001 #device_select - -1935 0 0x00010001 #UUID -1934 0 0x00010001 #UUID - -1951 0 0x00010001 #UUID -1950 0 0x00010001 #UUID - -1967 0 0x00010001 #UUID -1966 0 0x00010001 #UUID - -3603 0 0x00010001 #UUID -3602 0 0x00010001 #UUID - -####################################################################### -### 8952 Chipsets -####################################################################### -:hardware 8952 -:platform -:property -:subtype -# Use soc_id of msm8952(264) to indicate, this configuration is specific -# to msm8952 targets. This is needed as msm8952 and msm8976 share same -# hardware field. -# soc_id for msm8952 targets is 264 -# soc_id for apq8052 targets is 289 -:soc_id 264 289 -# Orientation of sensors -# accel x/y/z -700 -1 0x00010001 #accel-x-axis -701 -2 0x00010001 #accel-y-axis -702 3 0x00010001 #accel-z-axis -# gyro x/y/z -800 -1 0x00010001 #gyro-x-axis -801 -2 0x00010001 #gyro-y-axis -802 3 0x00010001 #gyro-z-axis -# mag x/y/z -900 -2 0x00010001 #mag-x-axis -901 -1 0x00010001 #mag-y-axis -902 -3 0x00010001 #mag-z-axis -# SSI SMGR Version -1900 1 0x00010001 #Maj Ver -1901 1 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 - -# SSI SMGR Cfg 0 BMA2x2/BMI058 FIFO -1903 0xc10ffaeed4057c96 0x00010001 #UUID -1902 0xaf4644363f26965d 0x00010001 #UUID -1904 3000 0x00010001 #off_to_idle -1905 0 0x00010001 #idle_to_ready -1906 4 0x00010001 #i2c_bus -1907 1000 0x00010001 #reg_group_id -1908 0 0x00010001 #cal_grp_id -1909 42 0x00010001 #gpio1 -1910 0xFFFF 0x00010001 #gpio2 -1911 0 0x00010001 #sensor_id -1912 0x18 0x00010001 #i2c_address -1913 1 0x00010001 #data_type1 -1914 0 0x00010001 #data_type2 -1915 -1 0x00010001 #rel_sns_idx -1916 1 0x00010001 #sens_default -1917 0xD0 0x00010001 #flags -1982 0 0x00010001 #device_select - -# SSI SMGR Cfg 1 BMG160/BMI058 FIFO -1919 0xc0b3f9bee990498d 0x00010001 #UUID -1918 0xc347c5575be90345 0x00010001 #UUID -1920 30000 0x00010001 #off_to_idle -1921 0 0x00010001 #idle_to_ready -1922 4 0x00010001 #i2c_bus -1923 1010 0x00010001 #reg_group_id -1924 10 0x00010001 #cal_grp_id -1925 45 0x00010001 #gpio1 -1926 0xFFFF 0x00010001 #gpio2 -1927 10 0x00010001 #sensor_id -1928 0x68 0x00010001 #i2c_address -1929 3 0x00010001 #data_type1 -1930 0 0x00010001 #data_type2 -1931 -1 0x00010001 #rel_sns_idx -1932 4 0x00010001 #sens_default -1933 0XD0 0x00010001 #flags -1983 0 0x00010001 #device_select - -# SSI SMGR Cfg 2: HSCDTD008A POLL -1935 0x6b7b6b353051699e 0x00010001 #UUID -1934 0xe1451a747fc17ad2 0x00010001 #UUID -1936 3000 0x00010001 #off_to_idle -1937 10000 0x00010001 #idle_to_ready -1938 4 0x00010001 #i2c_bus -1939 1020 0x00010001 #reg_group_id -1940 0xFFFF 0x00010001 #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 - -# SSI SMGR Cfg 3: LPS25H POLL -1951 0x04e4e644164294bf 0x00010001 #UUID -1950 0xf84490bce44e195c 0x00010001 #UUID -1952 10000 0x00010001 #off_to_idle -1953 1000 0x00010001 #idle_to_ready -1954 4 0x00010001 #i2c_bus -1955 0xFFFF 0x00010001 #reg_group_id -1956 0xFFFF 0x00010001 #cal_grp_id -1957 0xFFFF 0x00010001 #gpio1 -1958 0xFFFF 0x00010001 #gpio2 -1959 30 0x00010001 #sensor_id -1960 0x5C 0x00010001 #i2c_address -1961 7 0x00010001 #data_type1 -1962 4 0x00010001 #data_type2 -1963 0xFF 0x00010001 #rel_sns_idx -1964 0 0x00010001 #sens_default -1965 0 0x00010001 #flags -1985 0 0x00010001 #device_select - -# SSI SMGR Cfg 4: TMG399x DRI -1967 0x8ab69de1d4cdf1a2 0x00010001 #UUID -1966 0xf1400bc7db90fb32 0x00010001 #UUID -1968 5700 0x00010001 #off_to_idle -1969 0 0x00010001 #idle_to_ready -1970 4 0x00010001 #i2c_bus -1971 1040 0x00010001 #reg_group_id -1972 0xFFFF 0x00010001 #cal_grp_id -1973 43 0x00010001 #gpio1 -1974 0xFFFF 0x00010001 #gpio2 -1975 40 0x00010001 #sensor_id -1976 0x39 0x00010001 #i2c_address -1977 5 0x00010001 #data_type1 -1978 6 0x00010001 #data_type2 -1979 0xFF 0x00010001 #rel_sns_idx -1980 0 0x00010001 #sens_default -1981 0x80 0x00010001 #flags -1986 0 0x00010001 #device_select - - -# SSI SMGR Version -3600 1 0x00010001 #Maj Ver -3601 1 0x00010001 #Min Ver - -# QMAG_CAL Configuration -3801 1 0x00010001 -3804 0x000A0000 0x00010001 #Sample Rate - -# -# SSI GPIO configuration -#----------------------------- -2700 1 0x00010001 #maj ver -2701 1 0x00010001 #min ver -2702 14 0x00010001 #I2C SDA_1 -2703 15 0x00010001 #I2C SCL_1 -2704 0xFFFF 0x00010001 #I2C SDA_2 -2705 0xFFFF 0x00010001 #I2C SCL_2 -2706 132 0x00010001 #RESET pin -2709 42 0x00010001 #ACCEL DRI -2710 45 0x00010001 #GYRO DRI -2711 44 0x00010001 #MAG DRI -2712 43 0x00010001 #ALS/PRX INT -2714 46 0x00010001 #PRESS INT - -# SSI SMGR Cfg 5: TMG399x RGB DRI -3603 0x8ab69de1d4cdf1a2 0x00010001 #UUID -3602 0xf1400bc7db90fb32 0x00010001 #UUID -3604 5700 0x00010001 #off_to_idle -3605 10000 0x00010001 #idle_to_ready -3606 4 0x00010001 #i2c_bus -3607 1040 0x00010001 #reg_group_id -3608 0xFFFF 0x00010001 #cal_grp_id -3609 43 0x00010001 #gpio1 -3610 0xFFFF 0x00010001 #gpio2 -3611 60 0x00010001 #sensor_id -3612 0x39 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 0x80 0x00010001 #flags -3682 0 0x00010001 #device_select - -# AMD Cfg -200 0x000A0000 0x00010001 #AMD Default Sample rate -201 0x00000CDC 0x00010001 #AMD INT Cfg param1 -202 0x00008000 0x00010001 #AMD INT Cfg param2 - -# RMD Cfg -220 0x001E0000 0x00010001 #RMD Default Sample rate -221 0X0001B333 0x00010001 #RMD INT Cfg param1 -222 0x00003333 0x00010001 #RMD INT Cfg param2 -223 0x00001657 0x00010001 #RMD INT Cfg param3 -224 0x00003333 0x00010001 #RMD INT Cfg param4 - -:platform MTP -# TMG399x override default parameters -100 25 0x00010001 #visible_light_trans_ratio -101 60 0x00010001 #ir_light_trans_ratio -102 10 0x00010001 #dc_offset -103 80 0x00010001 #near_thresh -104 50 0x00010001 #far_thresh -105 200 0x00010001 #prx_factor -106 281 0x00010001 #als factor -107 50 0x00010001 #ams_magic_number -108 1 0x00010001 #ams_driver_id -109 1 0x00010001 #calibratePhone -110 1 0x00010001 #ams_sensor -111 250 0x00010001 #calLuxLower -112 500 0x00010001 #calLuxUpper -113 458 0x00010001 #d_factor -114 440 0x00010001 #r_coef -115 1000 0x00010001 #g_coef -116 0xfffffff6 0x00010001 #b_coef -117 3057 0x00010001 #ct_coef -118 785 0x00010001 #ct_offset -119 100 0x00010001 #proxDetect -120 50 0x00010001 #proxRelease -121 0x400 0x00010001 #luxCorrection - -:platform QRD -# Orientation of sensors -# accel0 x/y/z -700 1 0x00010001 #accel-x-axis -701 -2 0x00010001 #accel-y-axis -702 -3 0x00010001 #accel-z-axis -# gyro x/y/z -800 1 0x00010001 #gyro-x-axis -801 -2 0x00010001 #gyro-y-axis -802 -3 0x00010001 #gyro-z-axis -# mag x/y/z -900 -2 0x00010001 #max-x-axis -901 -1 0x00010001 #mag-y-axis -902 3 0x00010001 #mag-z-axis - -# SSI SMGR Cfg 0 BMI160 ACCEL -1903 0x0f4d0fd654c7eab5 0x00010001 #UUID -1902 0xd646cb83ec0cd5a5 0x00010001 #UUID -1904 30000 0x00010001 #off_to_idle -1905 0 0x00010001 #idle_to_ready -1906 4 0x00010001 #i2c_bus -1907 1000 0x00010001 #reg_group_id -1908 10 0x00010001 #cal_grp_id -1909 45 0x00010001 #gpio1 -1910 0xFFFF 0x00010001 #gpio2 -1911 0 0x00010001 #sensor_id -1912 0x69 0x00010001 #i2c_address -1913 1 0x00010001 #data_type1 -1914 0 0x00010001 #data_type2 -1915 -1 0x00010001 #rel_sns_idx -1916 4 0x00010001 #sens_default -1917 0xD0 0x00010001 #flags -1982 0 0x00010001 #device_select -1987 0xff 0x00010001 #vdd -1988 0xff 0x00010001 #vddio - -# SSI SMGR Cfg 1 BMI160 GYRO -1919 0x0f4d0fd654c7eab5 0x00010001 #UUID -1918 0xd646cb83ec0cd5a5 0x00010001 #UUID -1920 30000 0x00010001 #off_to_idle -1921 0 0x00010001 #idle_to_ready -1922 4 0x00010001 #i2c_bus -1923 1010 0x00010001 #reg_group_id -1924 10 0x00010001 #cal_grp_id -1925 45 0x00010001 #gpio1 -1926 0xFFFF 0x00010001 #gpio2 -1927 10 0x00010001 #sensor_id -1928 0x69 0x00010001 #i2c_address -1929 3 0x00010001 #data_type1 -1930 0 0x00010001 #data_type2 -1931 -1 0x00010001 #rel_sns_idx -1932 4 0x00010001 #sens_default -1933 0xD0 0x00010001 #flags -1983 0 0x00010001 #device_select -1989 0xff 0x00010001 #vdd -1990 0xff 0x00010001 #vddio - -# SSI SMGR Cfg 2 TMD27723 -1935 0x9ab11a6ea1c0218a 0x00010001 #UUID -1934 0xcc44f904e9e569f7 0x00010001 #UUID -1936 10000 0x00010001 #off_to_idle -1937 0 0x00010001 #idle_to_ready -1938 4 0x00010001 #i2c_bus -1939 1040 0x00010001 #reg_group_id -1940 0xFFFF 0x00010001 #cal_grp_id -1941 43 0x00010001 #gpio1 -1942 0xFFFF 0x00010001 #gpio2 -1943 40 0x00010001 #sensor_id -1944 0x39 0x00010001 #i2c_address -1945 5 0x00010001 #data_type1 -1946 6 0x00010001 #data_type2 -1947 -1 0x00010001 #rel_sns_idx -1948 0 0x00010001 #sens_default -1949 0x00 0x00010001 #flags -1984 0 0x00010001 #device_select -1991 0xff 0x00010001 #vdd -1992 0xff 0x00010001 #vddio - -# SSI SMGR Cfg 3 MMC3530 -1951 0x7fc31ec17f1c0abd 0x00010001 #UUID -1950 0x5c473990a806b072 0x00010001 #UUID -1952 5 0x00010001 #off_to_idle -1953 10 0x00010001 #idle_to_ready -1954 4 0x00010001 #i2c_bus -1955 1020 0x00010001 #reg_group_id -1956 0xFFFF 0x00010001 #cal_grp_id -1957 0xFFFF 0x00010001 #gpio1 -1958 0xFFFF 0x00010001 #gpio2 -1959 20 0x00010001 #sensor_id -1960 0x30 0x00010001 #i2c_address -1961 2 0x00010001 #data_type1 -1962 0 0x00010001 #data_type2 -1963 -1 0x00010001 #rel_sns_idx -1964 1 0x00010001 #sens_default -1965 0 0x00010001 #flags -1985 0 0x00010001 #device_select -1993 0xff 0x00010001 #vdd -1994 0xff 0x00010001 #vddio - -# SSI SMGR Cfg 4: None -1967 0 0x00010001 #UUID -1966 0 0x00010001 #UUID -1968 0 0x00010001 #off_to_idle -1969 0 0x00010001 #idle_to_ready -1970 0 0x00010001 #i2c_bus -1971 0 0x00010001 #reg_group_id -1972 0 0x00010001 #cal_grp_id -1973 0 0x00010001 #gpio1 -1974 0 0x00010001 #gpio2 -1975 0 0x00010001 #sensor_id -1976 0 0x00010001 #i2c_address -1977 0 0x00010001 #data_type1 -1978 0 0x00010001 #data_type2 -1979 0 0x00010001 #rel_sns_idx -1980 0 0x00010001 #sens_default -1981 0 0x00010001 #flags -1986 0 0x00010001 #device_select -1995 0 0x00010001 #vdd -1996 0 0x00010001 #vddio - -# SSI SMGR Cfg 5: None -3603 0 0x00010001 #UUID -3602 0 0x00010001 #UUID -3604 0 0x00010001 #off_to_idle -3605 0 0x00010001 #idle_to_ready -3606 0 0x00010001 #i2c_bus -3607 0 0x00010001 #reg_group_id -3608 0 0x00010001 #cal_grp_id -3609 0 0x00010001 #gpio1 -3610 0 0x00010001 #gpio2 -3611 0 0x00010001 #sensor_id -3612 0 0x00010001 #i2c_address -3613 0 0x00010001 #data_type1 -3614 0 0x00010001 #data_type2 -3615 0 0x00010001 #rel_sns_idx -3616 0 0x00010001 #sens_default -3617 0 0x00010001 #flags -3682 0 0x00010001 #device_select -3687 0 0x00010001 #vdd -3688 0 0x00010001 #vddio - -# QMAG_CAL Configuration -3801 1 0x00010001 - -####################################################################### -### 8937 Chipsets +### MSM8940, MSM8937 and MSM8917 Chipsets ####################################################################### # MSM8940, MSM8937 and MSM8917 share the same property(ro.board.platfrom) as 8937. # In this configuration, MSM8940, MSM8937 and MSM8917 share same sensor @@ -884,171 +134,185 @@ :soc_id # Orientation of sensors # accel x/y/z -700 -1 0x00010001 #accel-x-axis -701 -2 0x00010001 #accel-y-axis -702 3 0x00010001 #accel-z-axis +700 -1 0x00010003 #accel-x-axis +701 -2 0x00010003 #accel-y-axis +702 3 0x00010003 #accel-z-axis # gyro x/y/z -800 -1 0x00010001 #gyro-x-axis -801 -2 0x00010001 #gyro-y-axis -802 3 0x00010001 #gyro-z-axis +800 -1 0x00010003 #gyro-x-axis +801 -2 0x00010003 #gyro-y-axis +802 3 0x00010003 #gyro-z-axis # mag x/y/z -900 1 0x00010001 #mag-x-axis -901 -2 0x00010001 #mag-y-axis -902 -3 0x00010001 #mag-z-axis +900 1 0x00010003 #mag-x-axis +901 -2 0x00010003 #mag-y-axis +902 -3 0x00010003 #mag-z-axis # SSI SMGR Version -1900 0 0x00010001 #Maj Ver -1901 1 0x00010001 #Min Ver +1900 1 0x00010003 #Maj Ver +1901 2 0x00010003 #Min Ver -2000 1 0x00010001 # set to 1 to enable -2001 2 0x00010001 # number of accel sensors +2000 1 0x00010003 # set to 1 to enable +2001 2 0x00010003 # number of accel sensors -2100 1 0x00010001 # set to 1 to enable -2101 2 0x00010001 # number of gyro sensors +2100 1 0x00010003 # set to 1 to enable +2101 2 0x00010003 # number of gyro sensors -2200 1 0x00010001 # set to 1 to enable -2201 2 0x00010001 # number of mag sensors +2200 1 0x00010003 # set to 1 to enable +2201 2 0x00010003 # number of mag sensors -2300 1 0x00010001 # set to 1 to enable -2301 2 0x00010001 # number of plsensors +2300 1 0x00010003 # set to 1 to enable +2301 3 0x00010003 # number of plsensors # SAM config # -203 65536 0x00010001 # AMD -225 983040 0x00010001 # RMD -504 65536 0x00010001 # Gyro Cal -1703 65536 0x00010001 # Ped -2800 983040 0x00010001 # basic ges -2900 983040 0x00010001 # Facing -3400 65536 0x00010001 # CMC -609 983040 0x00010001 # FMV -1005 983040 0x00010001 # Grav -1103 983040 0x00010001 # orientation -3000 983040 0x00010001 # gyro quat -3100 983040 0x00010001 # rot vec -3500 983040 0x00010001 # game rv -4112 65536 0x00010001 # SMD +203 65536 0x00010003 # AMD +225 983040 0x00010003 # RMD +504 65536 0x00010003 # Gyro Cal +1703 65536 0x00010003 # Ped +2800 983040 0x00010003 # basic ges +2900 983040 0x00010003 # Facing +3400 65536 0x00010003 # CMC +609 983040 0x00010003 # FMV +1005 983040 0x00010003 # Grav +1103 983040 0x00010003 # orientation +3000 983040 0x00010003 # gyro quat +3100 983040 0x00010003 # rot vec +3500 983040 0x00010003 # game rv +4112 65536 0x00010003 # SMD 4103 5 0x00010001 # SMD_ACC_WIN_TIME - # SSI SMGR Cfg 0 BMI160 ACCEL -2003 0x0f4d0fd654c7eab5 0x00010001 #UUID -2002 0xd646cb83ec0cd5a5 0x00010001 #UUID -2004 30000 0x00010001 #off_to_idle -2005 0 0x00010001 #idle_to_ready -2006 42 0x00010001 #gpio1 -2007 1000 0x00010001 #reg_group_id -2008 0 0x00010001 #cal_grp_id -2009 4 0x00010001 #i2c_bus -2010 0x68 0x00010001 #i2c_address -2011 1 0x00010001 #sens_default -2012 0xD0 0x00010001 #flags -2068 0xff 0x00010001 #vdd -2069 0xff 0x00010001 #vddio +2003 0x0f4d0fd654c7eab5 0x00010003 #UUID +2002 0xd646cb83ec0cd5a5 0x00010003 #UUID +2004 30000 0x00010003 #off_to_idle +2005 5000 0x00010003 #idle_to_ready +2006 42 0x00010003 #gpio1 +2007 1000 0x00010003 #reg_group_id +2008 0 0x00010003 #cal_grp_id +2009 4 0x00010003 #i2c_bus +2010 0x68 0x00010003 #i2c_address +2011 1 0x00010003 #sens_default +2012 0xD0 0x00010003 #flags +2068 0xff 0x00010003 #vdd +2069 0xff 0x00010003 #vddio -# SSI SMGR Cfg 0: LSM6DS3 Accel FIFO -2014 0x1a0bd9d5956c508e 0x00010001 #UUID -2013 0x1246e1cb09a92baa 0x00010001 #UUID -2015 100000 0x00010001 #off_to_idle -2016 250000 0x00010001 #idle_to_ready -2017 42 0x00010001 #gpio1 -2018 1000 0x00010001 #reg_group_id -2019 0 0x00010001 #cal_grp_id -2020 4 0x00010001 #i2c_bus -2021 0x6A 0x00010001 #i2c_address -2022 1 0x00010001 #sens_default -2023 0xD0 0x00010001 #flags -2070 0xff 0x00010001 #vdd -2071 0xff 0x00010001 #vddio +# SSI SMGR Cfg 1: ICM20607 Accel FIFO +2014 0x8e13a32aa65f6521 0x00010003 #UUID +2013 0xa3524f726703c251 0x00010003 #UUID +2015 30000 0x00010003 #off_to_idle +2016 5000 0x00010003 #idle_to_ready +2017 42 0x00010003 #gpio1 +2018 1000 0x00010003 #reg_group_id +2019 0 0x00010003 #cal_grp_id +2020 4 0x00010003 #i2c_bus +2021 0x68 0x00010003 #i2c_address +2022 1 0x00010003 #sens_default +2023 0x80 0x00010003 #flags +2070 0xff 0x00010003 #vdd +2071 0xff 0x00010003 #vddio -# SSI SMGR Cfg 1 BMI160 GYRO -2103 0x0f4d0fd654c7eab5 0x00010001 #UUID -2102 0xd646cb83ec0cd5a5 0x00010001 #UUID -2104 30000 0x00010001 #off_to_idle -2105 0 0x00010001 #idle_to_ready -2106 42 0x00010001 #gpio1 -2107 1010 0x00010001 #reg_group_id -2108 10 0x00010001 #cal_grp_id -2109 4 0x00010001 #i2c_bus -2110 0x68 0x00010001 #i2c_address -2111 4 0x00010001 #sens_default -2112 0xD0 0x00010001 #flags -2168 0xff 0x00010001 #vdd -2169 0xff 0x00010001 #vddio +# SSI SMGR Cfg 0 BMI160 GYRO +2103 0x0f4d0fd654c7eab5 0x00010003 #UUID +2102 0xd646cb83ec0cd5a5 0x00010003 #UUID +2104 30000 0x00010003 #off_to_idle +2105 5000 0x00010003 #idle_to_ready +2106 42 0x00010003 #gpio1 +2107 1010 0x00010003 #reg_group_id +2108 10 0x00010003 #cal_grp_id +2109 4 0x00010003 #i2c_bus +2110 0x68 0x00010003 #i2c_address +2111 4 0x00010003 #sens_default +2112 0xD0 0x00010003 #flags +2168 0xff 0x00010003 #vdd +2169 0xff 0x00010003 #vddio -# SSI SMGR Cfg 1: LSM6DS3 Gyro FIFO -2114 0x1a0bd9d5956c508e 0x00010001 #UUID -2113 0x1246e1cb09a92baa 0x00010001 #UUID -2115 100000 0x00010001 #off_to_idle -2116 250000 0x00010001 #idle_to_ready -2117 42 0x00010001 #gpio1 -2118 1010 0x00010001 #reg_group_id -2119 10 0x00010001 #cal_grp_id -2120 4 0x00010001 #i2c_bus -2121 0x6A 0x00010001 #i2c_address -2122 3 0x00010001 #sens_default -2123 0xD0 0x00010001 #flags -2170 0xff 0x00010001 #vdd -2171 0xff 0x00010001 #vddio +# SSI SMGR Cfg 1: ICM20607 Gyro FIFO +2114 0x8e13a32aa65f6521 0x00010003 #UUID +2113 0xa3524f726703c251 0x00010003 #UUID +2115 30000 0x00010003 #off_to_idle +2116 5000 0x00010003 #idle_to_ready +2117 42 0x00010003 #gpio1 +2118 1010 0x00010003 #reg_group_id +2119 10 0x00010003 #cal_grp_id +2120 4 0x00010003 #i2c_bus +2121 0x68 0x00010003 #i2c_address +2122 3 0x00010003 #sens_default +2123 0x80 0x00010003 #flags +2170 0xff 0x00010003 #vdd +2171 0xff 0x00010003 #vddio -# SSI SMGR Cfg 2 AKM0911 -2203 0x90611b98d561168f 0x00010001 #UUID -2202 0x564d2b94fe80aef6 0x00010001 #UUID -2204 5 0x00010001 #off_to_idle -2205 10 0x00010001 #idle_to_ready -2206 0xFFFF 0x00010001 #gpio1 -2207 1020 0x00010001 #reg_group_id -2208 0xFFFF 0x00010001 #cal_grp_id -2209 4 0x00010001 #i2c_bus -2210 0x0C 0x00010001 #i2c_address -2211 1 0x00010001 #sens_default -2212 0x00 0x00010001 #flags -2268 0xff 0x00010001 #vdd -2269 0xff 0x00010001 #vddio +# SSI SMGR Cfg 1 ST480 +2203 0x2e94aafbde68bd9d 0x00010003 #UUID +2202 0xc04992988b1365e3 0x00010003 #UUID +2204 1500 0x00010003 #off_to_idle +2205 10000 0x00010003 #idle_to_ready +2206 0xFFFF 0x00010003 #gpio1 +2207 1020 0x00010003 #reg_group_id +2208 0xFFFF 0x00010003 #cal_grp_id +2209 4 0x00010003 #i2c_bus +2210 0x0C 0x00010003 #i2c_address +2211 1 0x00010003 #sens_default +2212 0x00 0x00010003 #flags +2268 0xff 0x00010003 #vdd +2269 0xff 0x00010003 #vddio -# SSI SMGR Cfg 1 YAS530 -2214 0x1dc79ad346a827b3 0x00010001 #UUID -2213 0xbd403129b15b7905 0x00010001 #UUID -2215 5 0x00010001 #off_to_idle -2216 10 0x00010001 #idle_to_ready -2217 0xFFFF 0x00010001 #gpio1 -2218 1020 0x00010001 #reg_group_id -2219 0xFFFF 0x00010001 #cal_grp_id -2220 4 0x00010001 #i2c_bus -2221 0x2E 0x00010001 #i2c_address -2222 1 0x00010001 #sens_default -2223 0x00 0x00010001 #flags -2270 0xff 0x00010001 #vdd -2271 0xff 0x00010001 #vddio +# SSI SMGR Cfg 0 YAS530 +2214 0x1dc79ad346a827b3 0x00010003 #UUID +2213 0xbd403129b15b7905 0x00010003 #UUID +2215 5 0x00010003 #off_to_idle +2216 10 0x00010003 #idle_to_ready +2217 0xFFFF 0x00010003 #gpio1 +2218 1020 0x00010003 #reg_group_id +2219 0xFFFF 0x00010003 #cal_grp_id +2220 4 0x00010003 #i2c_bus +2221 0x2E 0x00010003 #i2c_address +2222 1 0x00010003 #sens_default +2223 0x00 0x00010003 #flags +2270 0xff 0x00010003 #vdd +2271 0xff 0x00010003 #vddio -# SSI SMGR Cfg 4 ltr559 -2303 0x2f1531647b9aa8b3 0x00010001 #UUID should same to ADSP -2302 0x194a7a549019f36d 0x00010001 #UUID -2304 5700 0x00010001 #off_to_idle -2305 10000 0x00010001 #idle_to_ready -2306 0xFFFF 0x00010001 #gpio1 -2307 1040 0x00010001 #reg_group_id -2308 0xFFFF 0x00010001 #cal_grp_id -2309 4 0x00010001 #i2c_bus -2310 0x23 0x00010001 #i2c_address -2311 0 0x00010001 #sens_default -2312 0x00 0x00010001 #flags -2368 0xff 0x00010001 #vdd -2369 0xff 0x00010001 #vddio +# SSI SMGR Cfg 1 ltr559 +2303 0x2f1531647b9aa8b3 0x00010003 #UUID should same to ADSP +2302 0x194a7a549019f36d 0x00010003 #UUID +2304 5700 0x00010003 #off_to_idle +2305 10000 0x00010003 #idle_to_ready +2306 0xFFFF 0x00010003 #gpio1 +2307 1040 0x00010003 #reg_group_id +2308 0xFFFF 0x00010003 #cal_grp_id +2309 4 0x00010003 #i2c_bus +2310 0x23 0x00010003 #i2c_address +2311 0 0x00010003 #sens_default +2312 0x00 0x00010003 #flags +2368 0xff 0x00010003 #vdd +2369 0xff 0x00010003 #vddio -# SSI SMGR Cfg 4 STK3x1x -2314 0x8b11a21aa55e6586 0x00010001 #UUID should same to ADSP -2313 0xa4524f726702e351 0x00010001 #UUID -2315 5700 0x00010001 #off_to_idle -2316 0 0x00010001 #idle_to_ready -2317 43 0x00010001 #gpio1 -2318 1040 0x00010001 #reg_group_id -2319 0xFFFF 0x00010001 #cal_grp_id -2320 4 0x00010001 #i2c_bus -2321 0x48 0x00010001 #i2c_address -2322 0 0x00010001 #sens_default -2323 0x00 0x00010001 #flags -2370 0xff 0x00010001 #vdd -2371 0xff 0x00010001 #vddio +# SSI SMGR Cfg 0 STK3x1x +2314 0x8b11a21aa55e6586 0x00010003 #UUID should same to ADSP +2313 0xa4524f726702e351 0x00010003 #UUID +2315 5700 0x00010003 #off_to_idle +2316 0 0x00010003 #idle_to_ready +2317 43 0x00010003 #gpio1 +2318 1040 0x00010003 #reg_group_id +2319 0xFFFF 0x00010003 #cal_grp_id +2320 4 0x00010003 #i2c_bus +2321 0x48 0x00010003 #i2c_address +2322 0 0x00010003 #sens_default +2323 0x00 0x00010003 #flags +2370 0xff 0x00010003 #vdd +2371 0xff 0x00010003 #vddio + +# SSI SMGR Cfg 2 ltr578 +2325 0x8f11a32aa65f6586 0x00010003 #UUID should same to ADSP +2324 0xa4524f726703e252 0x00010003 #UUID +2326 5700 0x00010003 #off_to_idle +2327 10000 0x00010003 #idle_to_ready +2328 0xFFFF 0x00010003 #gpio1 +2329 1040 0x00010003 #reg_group_id +2330 0xFFFF 0x00010003 #cal_grp_id +2331 4 0x00010003 #i2c_bus +2332 0x53 0x00010003 #i2c_address +2333 0 0x00010003 #sens_default +2334 0x00 0x00010003 #flags +2372 0xff 0x00010003 #vdd +2373 0xff 0x00010003 #vddio # SSI SMGR Version 3600 1 0x00010001 #Maj Ver @@ -1085,3122 +349,3 @@ 222 0x00003333 0x00010001 #RMD INT Cfg param2 223 0x00001657 0x00010001 #RMD INT Cfg param3 224 0x00003333 0x00010001 #RMD INT Cfg param4 - -:platform MTP -# TMD27723 override default parameters -100 25 0x00010001 #visible_light_trans_ratio -101 60 0x00010001 #ir_light_trans_ratio -102 10 0x00010001 #dc_offset -103 80 0x00010001 #near_thresh -104 50 0x00010001 #far_thresh -105 200 0x00010001 #prx_factor -106 32 0x00010001 #als factor -107 50 0x00010001 #ams_magic_number -108 1 0x00010001 #ams_driver_id -109 1 0x00010001 #calibratePhone -110 4 0x00010001 #ams_sensor -111 250 0x00010001 #calLuxLower -112 350 0x00010001 #calLuxUpper -113 24 0x00010001 #d_factor -114 2000 0x00010001 #iCoefB -115 600 0x00010001 #iCoefC -116 1000 0x00010001 #iCoefD -117 600 0x00010001 #proxDetect -118 400 0x00010001 #proxRelease -119 32768 0x00010001 #luxCorrection -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 - - -# SSI SMGR Cfg 2 AKM09911 -1935 0x90611b98d561168f 0x00010001 #UUID -1934 0x564d2b94fe80aef6 0x00010001 #UUID -1936 5 0x00010001 #off_to_idle -1937 10 0x00010001 #idle_to_ready -1938 4 0x00010001 #i2c_bus -1939 1020 0x00010001 #reg_group_id -1940 0xFFFF 0x00010001 #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 -1 0x00010001 #rel_sns_idx -1948 1 0x00010001 #sens_default -1949 0 0x00010001 #flags -1984 0 0x00010001 #device_select -1991 0xff 0x00010001 #vdd -1992 0xff 0x00010001 #vddio - -# SSI SMGR Cfg 3: None -1951 0 0x00010001 #UUID -1950 0 0x00010001 #UUID - -# SSI SMGR Cfg 4: None -1967 0 0x00010001 #UUID -1966 0 0x00010001 #UUID - -# SSI SMGR Cfg 5: None -3603 0 0x00010001 #UUID -3602 0 0x00010001 #UUID - -# QMAG_CAL Configuration -3801 1 0x00010001 - -# -# SSI GPIO configuration -#----------------------------- -2700 1 0x00010001 #maj ver -2701 1 0x00010001 #min ver -2702 14 0x00010001 #I2C SDA_1 -2703 15 0x00010001 #I2C SCL_1 -2704 0xFFFF 0x00010001 #I2C SDA_2 -2705 0xFFFF 0x00010001 #I2C SCL_2 -2706 44 0x00010001 #RESET pin -2709 42 0x00010001 #ACCEL DRI -2710 45 0x00010001 #GYRO DRI -2711 0xFFFF 0x00010001 #MAG DRI -2712 43 0x00010001 #ALS/PRX INT -2714 46 0x00010001 #PRESS INT - -:plat_ver 131072 196608 262144 -# Orientation of sensors -# accel0 x/y/z -700 1 0x00010001 #accel-x-axis -701 -2 0x00010001 #accel-y-axis -702 -3 0x00010001 #accel-z-axis -# gyro x/y/z -800 1 0x00010001 #gyro-x-axis -801 -2 0x00010001 #gyro-y-axis -802 -3 0x00010001 #gyro-z-axis -# mag x/y/z -900 2 0x00010001 #max-x-axis -901 -1 0x00010001 #mag-y-axis -902 3 0x00010001 #mag-z-axis - -:plat_ver 1179648 1245184 1310720 -# Orientation of sensors -# accel0 x/y/z -700 1 0x00010001 #accel-x-axis -701 2 0x00010001 #accel-y-axis -702 3 0x00010001 #accel-z-axis -# gyro x/y/z -800 1 0x00010001 #gyro-x-axis -801 -2 0x00010001 #gyro-y-axis -802 -3 0x00010001 #gyro-z-axis -# mag x/y/z -900 -1 0x00010001 #max-x-axis -901 -2 0x00010001 #mag-y-axis -902 3 0x00010001 #mag-z-axis - -:plat_ver - -####################################################################### -### 8917 Chipsets -####################################################################### -# 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 -701 2 0x00010001 #accel-y-axis -702 3 0x00010001 #accel-z-axis -# gyro x/y/z -800 1 0x00010001 #gyro-x-axis -801 -2 0x00010001 #gyro-y-axis -802 -3 0x00010001 #gyro-z-axis -# mag x/y/z -900 -1 0x00010001 #max-x-axis -901 -2 0x00010001 #mag-y-axis -902 3 0x00010001 #mag-z-axis - -####################################################################### -### Titanium Chipsets -####################################################################### -:hardware titanium -:platform -:property -:soc_id -# Orientation of sensors -# accel x/y/z -700 -1 0x00010001 #accel-x-axis -701 -2 0x00010001 #accel-y-axis -702 3 0x00010001 #accel-z-axis -# gyro x/y/z -800 -1 0x00010001 #gyro-x-axis -801 -2 0x00010001 #gyro-y-axis -802 3 0x00010001 #gyro-z-axis -# mag x/y/z -900 -2 0x00010001 #mag-x-axis -901 -1 0x00010001 #mag-y-axis -902 -3 0x00010001 #mag-z-axis -# SSI SMGR Version -1900 1 0x00010001 #Maj Ver -1901 1 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 - -# SSI SMGR Cfg 0: LSM6DS3 Accel DRI/FIFO -1903 0x1a0bd9d5956c508e 0x00010001 #UUID -1902 0x1246e1cb09a92baa 0x00010001 #UUID -1904 100000 0x00010001 #off_to_idle -1905 250000 0x00010001 #idle_to_ready -1906 0x1006 0x00010001 #SPI_bus -1907 1000 0x00010001 #reg_group_id -1908 0 0x00010001 #cal_grp_id -1909 42 0x00010001 #gpio1 -1910 0xFFFF 0x00010001 #gpio2 -1911 0 0x00010001 #sensor_id -1912 0 0x00010001 #CS for SPI -1913 1 0x00010001 #data_type1 -1914 0 0x00010001 #data_type2 -1915 -1 0x00010001 #rel_sns_idx -1916 2 0x00010001 #sens_default -1917 0xD0 0x00010001 #flags -1982 0 0x00010001 #device_select - -# SSI SMGR Cfg 0: LSM6DS3 GYRO DRI/FIFO -1919 0x1a0bd9d5956c508e 0x00010001 #UUID -1918 0x1246e1cb09a92baa 0x00010001 #UUID -1920 100000 0x00010001 #off_to_idle -1921 250000 0x00010001 #idle_to_ready -1922 0x1006 0x00010001 #SPI_bus -1923 1010 0x00010001 #reg_group_id -1924 10 0x00010001 #cal_grp_id -1925 42 0x00010001 #gpio1 -1926 0xFFFF 0x00010001 #gpio2 -1927 10 0x00010001 #sensor_id -1928 0 0x00010001 #CS for SPI -1929 3 0x00010001 #data_type1 -1930 0 0x00010001 #data_type2 -1931 -1 0x00010001 #rel_sns_idx -1932 3 0x00010001 #sens_default -1933 0xD0 0x00010001 #flags -1983 0 0x00010001 #device_select - -# SSI SMGR Cfg 2: AKM09915 DRI/FIFO -1935 0x90611b98d561168f 0x00010001 #UUID -1934 0x564d2b94fe80aef6 0x00010001 #UUID -1936 3000 0x00010001 #off_to_idle -1937 10000 0x00010001 #idle_to_ready -1938 0x1006 0x00010001 #SPI_bus -1939 1020 0x00010001 #reg_group_id -1940 0xFFFF 0x00010001 #cal_grp_id -1941 44 0x00010001 #gpio1 -1942 0xFFFF 0x00010001 #gpio2 -1943 20 0x00010001 #sensor_id -1944 2 0x00010001 #CS_for_SPI -1945 2 0x00010001 #data_type1 -1946 0 0x00010001 #data_type2 -1947 0xFF 0x00010001 #rel_sns_idx -1948 0 0x00010001 #sens_default -1949 0xD0 0x00010001 #flags -1984 0 0x00010001 #device_select - -# SSI SMGR Cfg 3: BMP280 POLL -1951 0x32c31ec17f1c0abd 0x00010001 #UUID -1950 0x5c473990a806b072 0x00010001 #UUID -1952 5000 0x00010001 #off_to_idle -1953 50000 0x00010001 #idle_to_ready -1954 4 0x00010001 #i2c_bus -1955 0xFFFF 0x00010001 #reg_group_id -1956 0xFFFF 0x00010001 #cal_grp_id -1957 0xFFFF 0x00010001 #gpio1 -1958 0xFFFF 0x00010001 #gpio2 -1959 30 0x00010001 #sensor_id -1960 0x76 0x00010001 #i2c_address -1961 7 0x00010001 #data_type1 -1962 4 0x00010001 #data_type2 -1963 0xFF 0x00010001 #rel_sns_idx -1964 0 0x00010001 #sens_default -1965 0 0x00010001 #flags -1985 0 0x00010001 #device_select - -# SSI SMGR Cfg 5 TMD27723 DRI -1967 0x9ab11a6ea1c0218a 0x00010001 #UUID -1966 0xcc44f904e9e569f7 0x00010001 #UUID -1968 10000 0x00010001 #off_to_idle -1969 0 0x00010001 #idle_to_ready -1970 4 0x00010001 #i2c_bus -1971 1040 0x00010001 #reg_group_id -1972 0xFFFF 0x00010001 #cal_grp_id -1973 43 0x00010001 #gpio1 -1974 0xFFFF 0x00010001 #gpio2 -1975 40 0x00010001 #sensor_id -1976 0x39 0x00010001 #i2c_address -1977 5 0x00010001 #data_type1 -1978 6 0x00010001 #data_type2 -1979 -1 0x00010001 #rel_sns_idx -1980 0 0x00010001 #sens_default -1981 0x80 0x00010001 #flags -1982 0 0x00010001 #device_select - -# SSI SMGR Cfg 6: Hall Effect BU52053NVX DRI -3603 0x5da5cb55d3c7bd84 0x00010001 #UUID -3602 0x7e412494d22ec81e 0x00010001 #UUID -3604 100 0x00010001 #off_to_idle -3605 100 0x00010001 #idle_to_ready -3606 4 0x00010001 #i2c_bus -3607 0xFFFF 0x00010001 #reg_group_id -3608 0xFFFF 0x00010001 #cal_grp_id -3609 13 0x00010001 #gpio1 -3610 0xFFFF 0x00010001 #gpio2 -3611 80 0x00010001 #sensor_id -3612 0x20 0x00010001 #i2c_address, dummy -3613 31 0x00010001 #data_type1 -3614 00 0x00010001 #data_type2 -3615 0xFF 0x00010001 #rel_sns_idx -3616 0 0x00010001 #sens_default -3617 0x80 0x00010001 #flags -3682 5 0x00010001 #device_select - -# SSI SMGR Version -3600 1 0x00010001 #Maj Ver -3601 1 0x00010001 #Min Ver - -# QMAG_CAL Configuration -3801 1 0x00010001 -3804 0x000A0000 0x00010001 #Sample Rate - -# -# SSI GPIO configuration -#----------------------------- -2700 1 0x00010001 #maj ver -2701 1 0x00010001 #min ver -2702 14 0x00010001 #I2C SDA_1 -2703 15 0x00010001 #I2C SCL_1 -2704 0xFFFF 0x00010001 #I2C SDA_2 -2705 0xFFFF 0x00010001 #I2C SCL_2 -2706 0xFFFF 0x00010001 #RESET pin -2709 42 0x00010001 #ACCEL DRI -2710 45 0x00010001 #GYRO DRI -2711 44 0x00010001 #MAG DRI -2712 43 0x00010001 #ALS/PRX INT -2714 46 0x00010001 #PRESS INT - -# AMD Cfg -200 0x000A0000 0x00010001 #AMD Default Sample rate -201 0x00000CDC 0x00010001 #AMD INT Cfg param1 -202 0x00008000 0x00010001 #AMD INT Cfg param2 - -# RMD Cfg -220 0x001E0000 0x00010001 #RMD Default Sample rate -221 0X0001B333 0x00010001 #RMD INT Cfg param1 -222 0x00003333 0x00010001 #RMD INT Cfg param2 -223 0x00001657 0x00010001 #RMD INT Cfg param3 -224 0x00003333 0x00010001 #RMD INT Cfg param4 - -:platform MTP -# TMD27723 override default parameters -100 25 0x00010001 #visible_light_trans_ratio -101 60 0x00010001 #ir_light_trans_ratio -102 10 0x00010001 #dc_offset -103 80 0x00010001 #near_thresh -104 50 0x00010001 #far_thresh -105 200 0x00010001 #prx_factor -106 32 0x00010001 #als factor -107 50 0x00010001 #ams_magic_number -108 1 0x00010001 #ams_driver_id -109 1 0x00010001 #calibratePhone -110 4 0x00010001 #ams_sensor -111 250 0x00010001 #calLuxLower -112 350 0x00010001 #calLuxUpper -113 24 0x00010001 #d_factor -114 2000 0x00010001 #iCoefB -115 600 0x00010001 #iCoefC -116 1000 0x00010001 #iCoefD -117 600 0x00010001 #proxDetect -118 400 0x00010001 #proxRelease -119 24576 0x00010001 #luxCorrection -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 -700 1 0x00010001 #accel-x-axis -701 2 0x00010001 #accel-y-axis -702 3 0x00010001 #accel-z-axis -# gyro x/y/z -800 -1 0x00010001 #gyro-x-axis -801 -2 0x00010001 #gyro-y-axis -802 3 0x00010001 #gyro-z-axis -# mag x/y/z -900 1 0x00010001 #mag-x-axis -901 2 0x00010001 #mag-y-axis -902 3 0x00010001 #mag-z-axis - -# SSI SMGR Cfg 0: LSM6DS3 Accel FIFO -1903 0x1a0bd9d5956c508e 0x00010001 #UUID -1902 0x1246e1cb09a92baa 0x00010001 #UUID -1904 0 0x00010001 #off_to_idle -1905 1000 0x00010001 #idle_to_ready -1906 0x1006 0x00010001 #SPI_bus -1907 1000 0x00010001 #reg_group_id -1908 0 0x00010001 #cal_grp_id -1909 42 0x00010001 #gpio1 -1910 0xFFFF 0x00010001 #gpio2 -1911 0 0x00010001 #sensor_id -1912 0 0x00010001 #CS for SPI -1913 1 0x00010001 #data_type1 -1914 0 0x00010001 #data_type2 -1915 -1 0x00010001 #rel_sns_idx -1916 4 0x00010001 #sens_default -1917 0xD0 0x00010001 #flags -1982 0 0x00010001 #device_select - -# SSI SMGR Cfg 0: LSM6DS3 GYRO FIFO -1919 0x1a0bd9d5956c508e 0x00010001 #UUID -1918 0x1246e1cb09a92baa 0x00010001 #UUID -1920 0 0x00010001 #off_to_idle -1921 1000 0x00010001 #idle_to_ready -1922 0x1006 0x00010001 #SPI_bus -1923 1010 0x00010001 #reg_group_id -1924 10 0x00010001 #cal_grp_id -1925 42 0x00010001 #gpio1 -1926 0xFFFF 0x00010001 #gpio2 -1927 10 0x00010001 #sensor_id -1928 0 0x00010001 #CS for SPI -1929 3 0x00010001 #data_type1 -1930 0 0x00010001 #data_type2 -1931 -1 0x00010001 #rel_sns_idx -1932 4 0x00010001 #sens_default -1933 0xD0 0x00010001 #flags -1983 0 0x00010001 #device_select - -# SSI SMGR Cfg 2: AKM09915 POLLING -1935 0x90611b98d561168f 0x00010001 #UUID -1934 0x564d2b94fe80aef6 0x00010001 #UUID -1936 3000 0x00010001 #off_to_idle -1937 10000 0x00010001 #idle_to_ready -1938 0x1006 0x00010001 #SPI_bus -1939 1020 0x00010001 #reg_group_id -1940 0xFFFF 0x00010001 #cal_grp_id -1941 44 0x00010001 #gpio1 -1942 0xFFFF 0x00010001 #gpio2 -1943 20 0x00010001 #sensor_id -1944 2 0x00010001 #CS_for_SPI -1945 2 0x00010001 #data_type1 -1946 0 0x00010001 #data_type2 -1947 0xFF 0x00010001 #rel_sns_idx -1948 0 0x00010001 #sens_default -1949 0x0 0x00010001 #flags -1984 0 0x00010001 #device_select - -# SSI SMGR Cfg 3 TMD27723 DRI -1951 0x9ab11a6ea1c0218a 0x00010001 #UUID -1950 0xcc44f904e9e569f7 0x00010001 #UUID -1952 10000 0x00010001 #off_to_idle -1953 0 0x00010001 #idle_to_ready -1954 4 0x00010001 #i2c_bus -1955 1040 0x00010001 #reg_group_id -1956 0xFFFF 0x00010001 #cal_grp_id -1957 43 0x00010001 #gpio1 -1958 0xFFFF 0x00010001 #gpio2 -1959 40 0x00010001 #sensor_id -1960 0x39 0x00010001 #i2c_address -1961 5 0x00010001 #data_type1 -1962 6 0x00010001 #data_type2 -1963 -1 0x00010001 #rel_sns_idx -1964 0 0x00010001 #sens_default -1965 0x00 0x00010001 #flags -1985 0 0x00010001 #device_select - -# SSI SMGR Cfg 4 -1967 0 0x00010001 #UUID -1966 0 0x00010001 #UUID - -# SSI SMGR Cfg 5 -3603 0 0x00010001 #UUID -3602 0 0x00010001 #UUID - -# SSI SMGR Version -3600 1 0x00010001 #Maj Ver -3601 1 0x00010001 #Min Ver - -# QMAG_CAL Configuration -3801 1 0x00010001 -3804 0x000A0000 0x00010001 #Sample Rate - -# -# SSI GPIO configuration -#----------------------------- -2700 1 0x00010001 #maj ver -2701 1 0x00010001 #min ver -2702 14 0x00010001 #I2C SDA_1 -2703 15 0x00010001 #I2C SCL_1 -2704 0xFFFF 0x00010001 #I2C SDA_2 -2705 0xFFFF 0x00010001 #I2C SCL_2 -2706 0xFFFF 0x00010001 #RESET pin -2709 42 0x00010001 #ACCEL DRI -2710 45 0x00010001 #GYRO DRI -2711 44 0x00010001 #MAG DRI -2712 43 0x00010001 #ALS/PRX INT -2714 0xFFFF 0x00010001 #PRESS INT - - -######################################################################## -### 8974 Chipsets -######################################################################## -:hardware 8974 -:platform -:property -:soc_id -# Orientation of sensors -# accel x/y/z -700 1 0x00010001 #accel-x-axis -701 2 0x00010001 #accel-y-axis -702 3 0x00010001 #accel-z-axis -# gyro x/y/z -800 1 0x00010001 #gyro-x-axis -801 2 0x00010001 #gyro-y-axis -802 3 0x00010001 #gyro-z-axis -# mag x/y/z -900 1 0x00010001 #max-x-axis -901 2 0x00010001 #mag-y-axis -902 3 0x00010001 #mag-z-axis -# SSI SMGR Version -1900 1 0x00010001 #Maj Ver -1901 2 0x00010001 #Min Ver -# SSI SMGR Cfg 0 -1903 0x8d79ae42524820ad 0x00010001 #UUID -1902 0xcc4575757b462d60 0x00010001 #UUID -1906 12 0x00010001 #off_to_idle -1907 1000 0x00010001 #idle_to_ready -1908 0 0x00010001 #i2c_bus -1909 66 0x00010001 #reg_group_id -1910 0xFFFF 0x00010001 #cal_grp_id -1904 100000 0x00010001 #gpio1 -1905 250000 0x00010001 #gpio2 -1911 0 0x00010001 #sensor_id -1912 0x68 0x00010001 #i2c_address -1913 1 0x00010001 #data_type1 -1914 0 0x00010001 #data_type2 -1915 1 0x00010001 #rel_sns_idx -1916 1 0x00010001 #sens_default -1917 0x40 0x00010001 #flags -1982 0 0x00010001 #device_select -1987 0xff 0x00010001 #vdd -1988 0xff 0x00010001 #vddio - -# SSI SMGR Cfg 1 -1919 0x8d79ae42524820ad 0x00010001 #UUID -1918 0xcc4575757b462d60 0x00010001 #UUID -1920 100000 0x00010001 #off_to_idle -1921 250000 0x00010001 #idle_to_ready -1922 12 0x00010001 #i2c_bus -1923 1010 0x00010001 #reg_group_id -1924 10 0x00010001 #cal_grp_id -1925 66 0x00010001 #gpio1 -1926 0xFFFF 0x00010001 #gpio2 -1927 10 0x00010001 #sensor_id -1928 0x68 0x00010001 #i2c_address -1929 3 0x00010001 #data_type1 -1930 4 0x00010001 #data_type2 -1931 0 0x00010001 #rel_sns_idx -1932 3 0x00010001 #sens_default -1933 0x40 0x00010001 #flags -1983 0 0x00010001 #device_select -1989 0xff 0x00010001 #vdd -1990 0xff 0x00010001 #vddio - - -# SSI SMGR Cfg 2 -1935 0x355c5a01689ed8b6 0x00010001 #UUID -1934 0x9e4e43dd9919b2d4 0x00010001 #UUID -1936 0 0x00010001 #off_to_idle -1937 0 0x00010001 #idle_to_ready -1938 3 0x00010001 #i2c_bus -1939 1020 0x00010001 #reg_group_id -1940 0xFFFF 0x00010001 #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 0xff 0x00010001 #vdd -1992 0xff 0x00010001 #vddio - - -# SSI SMGR Cfg 3 -1951 0x8624930f2c38a784 0x00010001 #UUID -1950 0xf2494d45c55e4f96 0x00010001 #UUID -1952 10000 0x00010001 #off_to_idle -1953 0 0x00010001 #idle_to_ready -1954 3 0x00010001 #i2c_bus -1955 0xFFFF 0x00010001 #reg_group_id -1956 0xFFFF 0x00010001 #cal_grp_id -1957 0xFFFF 0x00010001 #gpio1 -1958 0xFFFF 0x00010001 #gpio2 -1959 30 0x00010001 #sensor_id -1960 0x77 0x00010001 #i2c_address -1961 7 0x00010001 #data_type1 -1962 4 0x00010001 #data_type2 -1963 0xFF 0x00010001 #rel_sns_idx -1964 0 0x00010001 #sens_default -1965 0 0x00010001 #flags -1985 0 0x00010001 #device_select -1993 0xff 0x00010001 #vdd -1994 0xff 0x00010001 #vddio - -# SSI SMGR Cfg 4 -1967 0x0ce6069d4d31faaf 0x00010001 #UUID -1966 0x4c4bfbc3d8a879e6 0x00010001 #UUID -1968 5000 0x00010001 #off_to_idle -1969 0 0x00010001 #idle_to_ready -1970 3 0x00010001 #i2c_bus -1971 1040 0x00010001 #reg_group_id -1972 0xFFFF 0x00010001 #cal_grp_id -1973 0xFFFF 0x00010001 #gpio1 -1974 0xFFFF 0x00010001 #gpio2 -1975 40 0x00010001 #sensor_id -1976 0x39 0x00010001 #i2c_address -1977 5 0x00010001 #data_type1 -1978 6 0x00010001 #data_type2 -1979 0xFF 0x00010001 #rel_sns_idx -1980 0 0x00010001 #sens_default -1981 0 0x00010001 #flags -1986 0 0x00010001 #device_select -1995 0xff 0x00010001 #vdd -1996 0xff 0x00010001 #vddio - - -# -# SSI GPIO configuration -#----------------------------- -2700 1 0x00010001 # maj ver -2701 0 0x00010001 # min ver -2702 10 0x00010001 # I2C SDA_1 -2703 11 0x00010001 # I2C SCL_1 -2704 87 0x00010001 # I2C SDA_2 -2705 88 0x00010001 # I2C SCL_2 -2706 64 0x00010001 # RESET pin - -# QMAG_CAL Configuration -3801 1 0x00010001 - -# Default report rates for algorithms -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 - -:platform Fluid -# Fluid has a different orientation of sensors -700 1 0x00010001 #accel-x-axis -701 -2 0x00010001 #accel-y-axis -702 -3 0x00010001 #accel-z-axis - -800 1 0x00010001 #gyro-x-axis -801 -2 0x00010001 #gyro-y-axis -802 -3 0x00010001 #gyro-z-axis - -900 1 0x00010001 #max-x-axis -901 2 0x00010001 #mag-y-axis -902 3 0x00010001 #mag-z-axis - -####################################################################### -### 8x26 Chipsets -####################################################################### -:hardware 8226 -:platform -# Orientation of sensors -700 -2 0x00010001 #accel-x-axis -701 -1 0x00010001 #accel-y-axis -702 -3 0x00010001 #accel-z-axis - -800 -2 0x00010001 #gyro-x-axis -801 -1 0x00010001 #gyro-y-axis -802 -3 0x00010001 #gyro-z-axis - -900 -1 0x00010001 #max-x-axis -901 2 0x00010001 #mag-y-axis -902 -3 0x00010001 #mag-z-axis - -# SMGR SSI Configuration -1900 1 0x00010001 #Maj Ver -1901 2 0x00010001 #Min Ver - -1903 0xc10ffaeed4057c96 0x00010001 #UUID -1902 0xaf4644363f26965d 0x00010001 #UUID -1919 0x1b810db85f93c082 0x00010001 #UUID -1918 0xc546930e071dc819 0x00010001 #UUID -1935 0x6b7b6b353051699e 0x00010001 #UUID -1934 0xe1451a747fc17ad2 0x00010001 #UUID -1951 0x0 0x00010001 #UUID -1950 0x0 0x00010001 #UUID -1967 0x9ab11a6ea1c0218a 0x00010001 #UUID -1966 0xcc44f904e9e569f7 0x00010001 #UUID -1904 2000 0x00010001 #off_to_idle -1920 150000 0x00010001 #off_to_idle -1936 100000 0x00010001 #off_to_idle -1952 0 0x00010001 #off_to_idle -1968 5000 0x00010001 #off_to_idle -1905 100000 0x00010001 #idle_to_ready -1921 100000 0x00010001 #idle_to_ready -1937 0 0x00010001 #idle_to_ready -1953 0 0x00010001 #idle_to_ready -1969 0 0x00010001 #idle_to_ready -1906 2 0x00010001 #i2c_bus -1907 1000 0x00010001 #i2c_bus -1908 0 0x00010001 #i2c_bus -1909 63 0x00010001 #i2c_bus -1910 0xFFFF 0x00010001 #i2c_bus -1922 2 0x00010001 #reg_group_id -1923 1010 0x00010001 #reg_group_id -1924 10 0x00010001 #reg_group_id -1925 64 0x00010001 #reg_group_id -1926 0xFFFF 0x00010001 #reg_group_id -1938 2 0x00010001 #cal_grp_id -1939 1020 0x00010001 #cal_grp_id -1940 0xFFFF 0x00010001 #cal_grp_id -1941 0xFFFF 0x00010001 #cal_grp_id -1942 0xFFFF 0x00010001 #cal_grp_id -1954 0 0x00010001 #gpio1 -1955 0xFFFF 0x00010001 #gpio1 -1956 0xFFFF 0x00010001 #gpio1 -1957 0xFFFF 0x00010001 #gpio1 -1958 0xFFFF 0x00010001 #gpio1 -1970 2 0x00010001 #gpio2 -1971 1040 0x00010001 #gpio2 -1972 0xFFFF 0x00010001 #gpio2 -1973 0xFFFF 0x00010001 #gpio2 -1974 0xFFFF 0x00010001 #gpio2 -1911 0 0x00010001 #sensor_id -1912 0x18 0x00010001 #sensor_id -1913 1 0x00010001 #sensor_id -1914 0 0x00010001 #sensor_id -1915 0xFF 0x00010001 #sensor_id -1916 1 0x00010001 #i2c_address -1917 0x40 0x00010001 #i2c_address -1927 10 0x00010001 #i2c_address -1928 0x68 0x00010001 #i2c_address -1929 3 0x00010001 #i2c_address -1930 4 0x00010001 #data_type1 -1931 0xFF 0x00010001 #data_type1 -1932 3 0x00010001 #data_type1 -1933 0x40 0x00010001 #data_type1 -1943 20 0x00010001 #data_type1 -1944 0x0C 0x00010001 #data_type2 -1945 2 0x00010001 #data_type2 -1946 0 0x00010001 #data_type2 -1947 0xFF 0x00010001 #data_type2 -1948 0 0x00010001 #data_type2 -1949 0 0x00010001 #rel_sns_idx -1959 30 0x00010001 #rel_sns_idx -1960 0x0 0x00010001 #rel_sns_idx -1961 7 0x00010001 #rel_sns_idx -1962 4 0x00010001 #rel_sns_idx -1963 0xFF 0x00010001 #sens_default -1964 0 0x00010001 #sens_default -1965 0 0x00010001 #sens_default -1975 40 0x00010001 #sens_default -1976 0x39 0x00010001 #sens_default -1977 5 0x00010001 #flags -1978 6 0x00010001 #flags -1979 0xFF 0x00010001 #flags -1980 0 0x00010001 #flags -1981 0 0x00010001 #flags -1982 0 0x00010001 #device_select -1983 0 0x00010001 #device_select -1984 0 0x00010001 #device_select -1985 0 0x00010001 #device_select -1986 0 0x00010001 #device_select -1987 0xff 0x00010001 #vdd -1988 0xff 0x00010001 #vddio -1989 0xff 0x00010001 #vdd -1990 0xff 0x00010001 #vddio -1991 0xff 0x00010001 #vdd -1992 0xff 0x00010001 #vddio -1993 0xff 0x00010001 #vdd -1994 0xff 0x00010001 #vddio -1995 0xff 0x00010001 #vdd -1996 0xff 0x00010001 #vddio - -# -# SSI GPIO configuration -#----------------------------- -2700 1 0x00010001 # maj ver -2701 0 0x00010001 # min ver -2702 6 0x00010001 # I2C SDA_1 -2703 7 0x00010001 # I2C SCL_1 -2706 62 0x00010001 # RESET pin - -# QMAG_CAL Configuration -3801 1 0x00010001 - -# Default report rates for algorithms -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 - -# sam parameters for BMA2x2 -201 0x1048 0x00010001 #AMD_INT_cfg_prm1 -202 0xcccd 0x00010001 #AMD_INT_cfg_prm2 -211 0x10db 0x00010001 #VMD_INT_cfg_prm1 -221 0x20000 0x00010001 #RMD_INT_cfg_prm1 -222 0x451f 0x00010001 #RMD_INT_cfg_prm2 -223 0x1acf 0x00010001 #RMD_INT_cfg_prm3 -224 0x451f 0x00010001 #RMD_INT_cfg_prm4 - - - -:platform MTP -# Override orientation on MTP -700 -1 0x00010001 #accel-x-axis -701 -2 0x00010001 #accel-y-axis -702 3 0x00010001 #accel-z-axis - -800 2 0x00010001 #gyro-x-axis -801 -1 0x00010001 #gyro-y-axis -802 3 0x00010001 #gyro-z-axis - -900 -1 0x00010001 #max-x-axis -901 2 0x00010001 #mag-y-axis -902 -3 0x00010001 #mag-z-axis - -# On MTP, also disable the prox/light sensor by zero-ing out the UUID -1967 0 0x00010001 #UUID -1966 0 0x00010001 #UUID - -:soc_id 199 200 219 224 -# Gen 5B settings (MSM/APQ) - -# SMGR SSI Configuration -1900 1 0x00010001 #Maj Ver -1901 2 0x00010001 #Min Ver - -# Orientation of sensors -700 1 0x00010001 #accel-x-axis -701 -2 0x00010001 #accel-y-axis -702 -3 0x00010001 #accel-z-axis - -# Gyro is same part, has same orientation as accel -800 1 0x00010001 #gyro-x-axis -801 -2 0x00010001 #gyro-y-axis -802 -3 0x00010001 #gyro-z-axis - -# ak9912 on top of gen5B -900 2 0x00010001 #max-x-axis -901 1 0x00010001 #mag-y-axis -902 -3 0x00010001 #mag-z-axis - -#config 0 acc bmi160 -1903 0x0f4d0fd654c7eab5 0x00010001 #UUID -1902 0xd646cb83ec0cd5a5 0x00010001 #UUID -1904 100000 0x00010001 #off_to_idle -1905 250000 0x00010001 #idle_to_ready -1906 2 0x00010001 #i2c_bus -1907 1000 0x00010001 #reg_group_id -1908 0 0x00010001 #cal_grp_id -1909 63 0x00010001 #gpio1 -1910 0xFFFF 0x00010001 #gpio2 -1911 0 0x00010001 #sensor_id -1912 0x69 0x00010001 #i2c_address -1913 1 0x00010001 #data_type1 -1914 4 0x00010001 #data_type2 -1915 -1 0x00010001 #rel_sns_idx -1916 1 0x00010001 #sens_default -1917 0xD0 0x00010001 #flags -1987 0xff 0x00010001 #vdd -1988 0xff 0x00010001 #vddio - -#config 1 gyro bmi160 -1919 0x0f4d0fd654c7eab5 0x00010001 #UUID -1918 0xd646cb83ec0cd5a5 0x00010001 #UUID -1920 100000 0x00010001 #off_to_idle -1921 250000 0x00010001 #idle_to_ready -1922 2 0x00010001 #i2c_bus -1923 1010 0x00010001 #reg_group_id -1924 10 0x00010001 #cal_grp_id -1925 63 0x00010001 #gpio1 -1926 0xFFFF 0x00010001 #gpio2 -1927 10 0x00010001 #sensor_id -1928 0x69 0x00010001 #i2c_address -1929 3 0x00010001 #data_type1 -1930 0 0x00010001 #data_type2 -1931 -1 0x00010001 #rel_sns_idx -1932 4 0x00010001 #sens_default -1933 0xD0 0x00010001 #flags -1989 0xff 0x00010001 #vdd -1990 0xff 0x00010001 #vddio - -#config 2 pressure BME280 -1935 0x1f9c234ed6f5e8a9 0x00010001 #UUID -1934 0xe14bd3143a0786c1 0x00010001 #UUID -1936 5000 0x00010001 #off_to_idle may need adjustment. -1937 5000 0x00010001 #idle_to_ready may need adjustment. -1938 2 0x00010001 #i2c bus -1939 0xFFFF 0x00010001 #reg_group_id -1940 0xFFFF 0x00010001 #cal_group_id -1941 0xFFFF 0x00010001 #gpio1 -1942 0xFFFF 0x00010001 #gpio2 -1943 30 0x00010001 #sensor id -1944 0x76 0x00010001 #i2c address -1945 7 0x00010001 #data type1 -1946 0 0x00010001 #data type2 -1947 0xFF 0x00010001 #rel_sns_index -1948 0 0x00010001 #sns_defult -1949 0x40 0x00010001 #flags -1991 0xff 0x00010001 #vdd -1992 0xff 0x00010001 #vddio - -# config 3 MAG akm9912 -1951 0x9214f949478ffc8d 0x00010001 #UUID -1950 0x574f45f0359057f4 0x00010001 #UUID -1952 3000 0x00010001 #off_to_idle -1953 10000 0x00010001 #idle_to_ready -1954 2 0x00010001 #i2c bus -1955 1020 0x00010001 #reg group -1956 20 0x00010001 #cal group -1957 26 0x00010001 #gpio -1958 0xFFFF 0x00010001 #gpio2 -1959 20 0x00010001 #sensor id -1960 0x0F 0x00010001 #i2c_address -1961 2 0x00010001 #data type 1 -1962 0 0x00010001 #data type 2 -1963 0xFF 0x00010001 #rel sensor index -1964 0 0x00010001 #sns_default -1965 0x40 0x00010001 #flags -1993 0xff 0x00010001 #vdd -1994 0xff 0x00010001 #vddio - - -# config 4 PPG adpd142 -1966 0x3442ccc77ff3c117 0x00010001 #UUID -1967 0xa8ba2a809af25c80 0x00010001 #UUID -1968 100 0x00010001 #off_to_idle -1969 3000 0x00010001 #idle_to_ready -1970 2 0x00010001 #i2c_bus -1971 0xFFFF 0x00010001 #reg_group_id -1972 0xFFFF 0x00010001 #cal_grp_id -1973 49 0x00010001 #gpio1 -1974 0xFFFF 0x00010001 #gpio2 -1975 90 0x00010001 #sensor_id -1976 0x64 0x00010001 #i2c_address -1977 34 0x00010001 #data_type1 -1978 0 0x00010001 #data_type2 -1979 0xFF 0x00010001 #rel_sns_idx -1980 0 0x00010001 #sens_default -1981 0x40 0x00010001 #flags -1995 0xff 0x00010001 #vdd -1996 0xff 0x00010001 #vddio - -1982 0 0x00010001 #device_select -1983 0 0x00010001 #device_select -1984 0 0x00010001 #device_select -1985 0 0x00010001 #device_select -1986 0 0x00010001 #device_select - -# SSI SMGR Version -3600 1 0x00010001 #Maj Ver -3601 2 0x00010001 #Min Ver - -# SSI SMGR config 5: sensor polling mode -# (ALPS : hsvddd002 uv-a/ambient) - -3602 0x77476dfbc5e833fc 0x00010001 #UUID -3603 0xe949401da5455ea3 0x00010001 #UUID -3604 50000 0x00010001 #off_to_idle -3605 5000 0x00010001 #idle_to_ready -3606 2 0x00010001 #i2c_bus -3607 0xFFFF 0x00010001 #reg_group_id -3608 0xFFFF 0x00010001 #cal_grp_id -3609 0xFFFF 0x00010001 #gpio1 -3610 0xFFFF 0x00010001 #gpio2 -3611 100 0x00010001 #sensor_id -3612 13 0x00010001 #i2c_address -3613 35 0x00010001 #data_type1 -3614 0 0x00010001 #data_type2 -3615 0xFF 0x00010001 #rel_sns_idx -3616 0 0x00010001 #sens_default -3617 0x40 0x00010001 #flags -3682 0 0x00010001 #device_select -3687 0xff 0x00010001 #vdd -3688 0xff 0x00010001 #vddio - -# SSI SMGR Cfg 6 Prox: APDS9960 -3619 0x0f0287cfe19679b6 0x00010001 #UUID -3618 0x6f497c047a7439f8 0x00010001 #UUID -3620 5000 0x00010001 #off_to_idle -3621 0 0x00010001 #idle_to_ready -3622 2 0x00010001 #i2c_bus -3623 0xFFFF 0x00010001 #reg_group_id -3624 0xFFFF 0x00010001 #cal_grp_id -3625 65 0x00010001 #gpio1 -3626 0xFFFF 0x00010001 #gpio2 -3627 40 0x00010001 #sensor_id -3628 0x39 0x00010001 #i2c_address -3629 5 0x00010001 #data_type1 -3630 6 0x00010001 #data_type2 -3631 0xFF 0x00010001 #rel_sns_idx -3632 0 0x00010001 #sens_default -3633 0x80 0x00010001 #flags -3683 0 0x00010001 #device_select -3689 0xff 0x00010001 #vdd -3690 0xff 0x00010001 #vddio - - -# Geneva stretch board GPIO configuration (MSM/APQ) -:subtype qvga_g -1909 4 0x00010001 #BMI160 Aceel gpio1 on Geneva -1925 4 0x00010001 #BMI160 Gyro gpio1 on Geneva -1957 66 0x00010001 #AKM9912 Mag gpio1 on Geneva -1973 67 0x00010001 #ADPD142 PPG gpio1 on Geneva -3625 5 0x00010001 #APDS9960 Prox gpio1 on Geneva - -:subtype - -:soc_id - -:platform SKUF -# Override orientation on SKUF -700 -1 0x00010001 #accel-x-axis -701 2 0x00010001 #accel-y-axis -702 -3 0x00010001 #accel-z-axis - -# Override gyro orientation -800 -1 0x00010001 #gyro-x-axis -801 2 0x00010001 #gyro-y-axis -802 -3 0x00010001 #gyro-z-axis - -# Override accel -1903 0x14ac75f5047dffbf 0x00010001 #UUID -1902 0x3a4b28e0ebfab614 0x00010001 #UUID -1912 0x19 0x00010001 #i2c_address - -# override mag -1935 0x1dc79ad346a827b3 0x00010001 #UUID -1934 0xbd403129b15b7905 0x00010001 #UUID -1941 66 0x00010001 #gpio1 -1944 0x2E 0x00010001 #i2c_address - -# override prox/light -1966 0x194a7a549019f36d 0x00010001 #UUID -1967 0x2f1531647b9aa8b3 0x00010001 #UUID -1976 0x23 0x00010001 #i2c_address - - - - -:platform SKUG - -# Override gyro orientation -800 -1 0x00010001 #gyro-x-axis -801 -2 0x00010001 #gyro-y-axis -802 3 0x00010001 #gyro-z-axis - -# override magnetic orientation -900 1 0x00010001 #magnetic-x-axis -901 -2 0x00010001 #magnetic-y-axis -902 3 0x00010001 #magnetic-z-axis - -# override gyroscope as MPU6050 -1919 0x8d79ae42524820ad 0x00010001 #UUID -1918 0xcc4575757b462d60 0x00010001 #UUID -1925 64 0x00010001 #gpio1 -1928 0x68 0x00010001 #i2c_address - -# override mag as MEMSIC3XXX -1935 0xbe02212a00fd2182 0x00010001 #UUID -1934 0xe1478ad2a73e07b2 0x00010001 #UUID -1941 66 0x00010001 #gpio1 -1944 0x30 0x00010001 #i2c_address - -# override prox/light as ISL29147 -100 10 0x00010001 #visible_light_trans_ratio -101 60 0x00010001 #ir_light_trans_ratio -102 20 0x00010001 #dc_offset -103 200 0x00010001 #near_thresh -104 200 0x00010001 #far_thresh -105 100 0x00010001 #prx_factor -106 100 0x00010001 #als_factor -107 0xC001 0x00010001 #ds1 -1967 0xd67bfccdfd7fb594 0x00010001 #UUID -1966 0x2645a3e15fb0a0a9 0x00010001 #UUID -1976 0x44 0x00010001 #i2c_address - -# QMAG_CAL Configuration -3801 1 0x00010001 - -####################################################################### -### 8084 Chipsets -####################################################################### -:hardware 8084 -:platform -:property -# Orientation of sensors -# accel x/y/z -700 1 0x00010001 #accel-x-axis -701 2 0x00010001 #accel-y-axis -702 3 0x00010001 #accel-z-axis -# gyro x/y/z -800 1 0x00010001 #gyro-x-axis -801 2 0x00010001 #gyro-y-axis -802 3 0x00010001 #gyro-z-axis -# mag x/y/z -900 1 0x00010001 #max-x-axis -901 2 0x00010001 #mag-y-axis -902 3 0x00010001 #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 - -# SSI SMGR Cfg 0: LIS3DSH FIFO -1903 0xaca69c46a53306b9 0x00010001 #UUID -1902 0xc442100d89ab81fb 0x00010001 #UUID -1906 8 0x00010001 #i2c_bus -1907 1000 0x00010001 #reg_group_id -1908 0 0x00010001 #cal_grp_id -1909 76 0x00010001 #gpio1 -1910 0xFFFF 0x00010001 #gpio2 -1904 10000 0x00010001 #off_to_idle -1905 30000 0x00010001 #idle_to_ready -1911 0 0x00010001 #sensor_id -1912 0x1e 0x00010001 #i2c_address -1913 1 0x00010001 #data_type1 -1914 0 0x00010001 #data_type2 -1915 -1 0x00010001 #rel_sns_idx -1916 1 0x00010001 #sens_default -1917 0xd0 0x00010001 #flags -1982 0 0x00010001 #device_select -1987 0xff 0x00010001 #vdd -1988 0xff 0x00010001 #vddio - -# SSI SMGR Cfg 1: L3GD20 FIFO -1919 0x1f4a14dfc3569db6 0x00010001 #UUID -1918 0xfd4f1bcdc2178c7d 0x00010001 #UUID -1920 150000 0x00010001 #off_to_idle -1921 250000 0x00010001 #idle_to_ready -1922 8 0x00010001 #i2c_bus -1923 1010 0x00010001 #reg_group_id -1924 10 0x00010001 #cal_grp_id -1925 28 0x00010001 #gpio1 -1926 0xFFFF 0x00010001 #gpio2 -1927 10 0x00010001 #sensor_id -1928 0x6a 0x00010001 #i2c_address -1929 3 0x00010001 #data_type1 -1930 0 0x00010001 #data_type2 -1931 -1 0x00010001 #rel_sns_idx -1932 2 0x00010001 #sens_default -1933 0xd0 0x00010001 #flags -1983 0 0x00010001 #device_select -1989 0xff 0x00010001 #vdd -1990 0xff 0x00010001 #vddio - - -# SSI SMGR Cfg 2: AKM8963 POLL -1935 0x355c5a01689ed8b6 0x00010001 #UUID -1934 0x9e4e43dd9919b2d4 0x00010001 #UUID -1936 0 0x00010001 #off_to_idle -1937 0 0x00010001 #idle_to_ready -1938 12 0x00010001 #i2c_bus -1939 1020 0x00010001 #reg_group_id -1940 0xFFFF 0x00010001 #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 0xff 0x00010001 #vdd -1992 0xff 0x00010001 #vddio - -# SSI SMGR Cfg 3: BMP180 POLL -1951 0x8624930f2c38a784 0x00010001 #UUID -1950 0xf2494d45c55e4f96 0x00010001 #UUID -1952 10000 0x00010001 #off_to_idle -1953 0 0x00010001 #idle_to_ready -1954 12 0x00010001 #i2c_bus -1955 0xFFFF 0x00010001 #reg_group_id -1956 0xFFFF 0x00010001 #cal_grp_id -1957 0xFFFF 0x00010001 #gpio1 -1958 0xFFFF 0x00010001 #gpio2 -1959 30 0x00010001 #sensor_id -1960 0x77 0x00010001 #i2c_address -1961 7 0x00010001 #data_type1 -1962 4 0x00010001 #data_type2 -1963 0xFF 0x00010001 #rel_sns_idx -1964 0 0x00010001 #sens_default -1965 0 0x00010001 #flags -1985 0 0x00010001 #device_select -1993 0xff 0x00010001 #vdd -1994 0xff 0x00010001 #vddio - -# SSI SMGR Cfg 4: APDS9950 DRI -1967 0x943616cb2c1d85a8 0x00010001 #UUID -1966 0xdb4c43c638e0d939 0x00010001 #UUID -1968 5000 0x00010001 #off_to_idle -1969 0 0x00010001 #idle_to_ready -1970 12 0x00010001 #i2c_bus -1971 1040 0x00010001 #reg_group_id -1972 0xFFFF 0x00010001 #cal_grp_id -1973 77 0x00010001 #gpio1 -1974 0xFFFF 0x00010001 #gpio2 -1975 40 0x00010001 #sensor_id -1976 0x39 0x00010001 #i2c_address -1977 5 0x00010001 #data_type1 -1978 6 0x00010001 #data_type2 -1979 0xFF 0x00010001 #rel_sns_idx -1980 0 0x00010001 #sens_default -1981 0x80 0x00010001 #flags -1986 0 0x00010001 #device_select -1995 0xff 0x00010001 #vdd -1996 0xff 0x00010001 #vddio - -# SSI SMGR Version -3600 1 0x00010001 #Maj Ver -3601 2 0x00010001 #Min Ver - -# SSI SMGR Cfg 5: APDS9950 RGB DRI -3603 0x943616cb2c1d85a8 0x00010001 #UUID -3602 0xdb4c43c638e0d939 0x00010001 #UUID -3604 5000 0x00010001 #off_to_idle -3605 0 0x00010001 #idle_to_ready -3606 12 0x00010001 #i2c_bus -3607 1040 0x00010001 #reg_group_id -3608 0xFFFF 0x00010001 #cal_grp_id -3609 77 0x00010001 #gpio1 -3610 0xFFFF 0x00010001 #gpio2 -3611 60 0x00010001 #sensor_id -3612 0x39 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 0x80 0x00010001 #flags -3682 0 0x00010001 #device_select -3687 0xff 0x00010001 #vdd -3688 0xff 0x00010001 #vddio - -# -# SSI GPIO configuration -#----------------------------- -2700 1 0x00010001 #maj ver -2701 0 0x00010001 # min ver -2702 53 0x00010001 # I2C SDA_1 -2703 54 0x00010001 # I2C SCL_1 -2704 49 0x00010001 # I2C SDA_2 -2705 50 0x00010001 # I2C SCL_2 -2706 57 0x00010001 # RESET pin - -# Mag Cal config -#----------------------------- -3801 1 0x00010001 -3804 0x000a0000 0x10001 #Sample Rate - -:platform Liquid -# SSI SMGR Cfg 6: SHTC1 Humidity DRI / Onchange -3619 0xcc631478716da795 0x00010001 #UUID -3618 0x40410cafc67cfbbe 0x00010001 #UUID -3620 10000 0x00010001 #off_to_idle -3621 10000 0x00010001 #idle_to_ready -3622 12 0x00010001 #i2c_bus -3623 0xFFFF 0x00010001 #reg_group_id -3624 0xFFFF 0x00010001 #cal_grp_id -3625 0xFFFF 0x00010001 #gpio1 -3626 0xFFFF 0x00010001 #gpio2 -3627 50 0x00010001 #sensor_id -3628 0x70 0x00010001 #i2c_address -3629 27 0x00010001 #data_type1 -3630 32 0x00010001 #data_type2 -3631 0xFF 0x00010001 #rel_sns_idx -3632 0 0x00010001 #sens_default -3633 0x80 0x00010001 #flags -3683 0 0x00010001 #device_select -3689 0xff 0x00010001 #vdd -3690 0xff 0x00010001 #vddio - -# SSI SMGR Cfg 6: ADI SAR DRI -3635 0x9b8cfaa89ed604b4 0x00010001 #UUID -3634 0x7f4fd19c1953dda8 0x00010001 #UUID -3636 1000000 0x00010001 #off_to_idle -3637 0 0x00010001 #idle_to_ready -3638 12 0x00010001 #i2c_bus -3639 1090 0x00010001 #reg_group_id -3640 0xFFFF 0x00010001 #cal_grp_id -3641 79 0x00010001 #gpio1 -3642 0xFFFF 0x00010001 #gpio2 -3643 70 0x00010001 #sensor_id -3644 0x2f 0x00010001 #i2c_address -3645 30 0x00010001 #data_type1 -3646 0 0x00010001 #data_type2 -3647 0xFF 0x00010001 #rel_sns_idx -3648 0 0x00010001 #sens_default -3649 0x80 0x00010001 #flags -3684 0 0x00010001 #device_select -3691 0xff 0x00010001 #vdd -3692 0xff 0x00010001 #vddio - -# SSI SMGR Cfg 7: ADI SAR 2 DRI -3651 0x9b8cfaa89ed604b4 0x00010001 #UUID -3650 0x7f4fd19c1953dda8 0x00010001 #UUID -3652 1000000 0x00010001 #off_to_idle -3653 0 0x00010001 #idle_to_ready -3654 12 0x00010001 #i2c_bus -3655 1091 0x00010001 #reg_group_id -3656 0xFFFF 0x00010001 #cal_grp_id -3657 95 0x00010001 #gpio1 -3658 0xFFFF 0x00010001 #gpio2 -3659 71 0x00010001 #sensor_id -3660 0x2c 0x00010001 #i2c_address -3661 30 0x00010001 #data_type1 -3662 0 0x00010001 #data_type2 -3663 0xFF 0x00010001 #rel_sns_idx -3664 0 0x00010001 #sens_default -3665 0x80 0x00010001 #flags -3685 0 0x00010001 #device_select -3693 0xff 0x00010001 #vdd -3694 0xff 0x00010001 #vddio - -# SAR Registry -# Item ID's corresponding to group SNS_REG_DRIVER_GROUP_SAR (Group Id: 1090) -4800 3 0x00010001 #SNS_REG_DRIVER_SAR_x_NUM_ELECTRODES (number_of_stages) -4801 0x0700 0x00010001 #SNS_REG_DRIVER_SAR_x_E0_BIAS (STAGE0_AFE_offset) -4802 0x2700 0x00010001 #SNS_REG_DRIVER_SAR_x_E0_THRESHOLD (STAGE0_offset_high) -4803 0x0700 0x00010001 #SNS_REG_DRIVER_SAR_x_E1_BIAS (STAGE1_AFE_offset) -4804 0x2700 0x00010001 #SNS_REG_DRIVER_SAR_x_E1_THRESHOLD (STAGE1_offset_high) -4805 0x0600 0x00010001 #SNS_REG_DRIVER_SAR_x_E2_BIAS (STAGE2_AFE_offset) -4806 0x2700 0x00010001 #SNS_REG_DRIVER_SAR_x_E2_THRESHOLD (STAGE2_offset_high) - -4825 0x2700 0x00010001 #STAGE0_offset_low -4826 0x337B 0x00010001 #STAGE0_connection_6_0 -4827 0x3CCC 0x00010001 #STAGE0_connection_12_7 - -4828 0x2700 0x00010001 #STAGE1_offset_low -4829 0x3333 0x00010001 #STAGE1_connection_6_0 -4830 0x3DEC 0x00010001 #STAGE1_connection_12_7 - -4831 0x2700 0x00010001 #STAGE2_offset_low -4832 0x3B33 0x00010001 #STAGE2_connection_6_0 -4833 0x3CCD 0x00010001 #STAGE2_connection_12_7 - -4861 0x3230 0x00010001 #comp_control_0 -4862 0x0419 0x00010001 #comp_control_1 -4863 0x0832 0x00010001 #comp_control_2 - -# SAR 2 Registry -# Item ID's corresponding to group SNS_REG_DRIVER_GROUP_SAR_2 (Group Id: 1091) -4900 2 0x00010001 #SNS_REG_DRIVER_SAR_x_NUM_ELECTRODES (number_of_stages) -4901 0x3600 0x00010001 #SNS_REG_DRIVER_SAR_x_E0_BIAS (STAGE0_AFE_offset) -4902 0x0000 0x00010001 #SNS_REG_DRIVER_SAR_x_E0_THRESHOLD (STAGE0_offset_high) -4903 0x3E00 0x00010001 #SNS_REG_DRIVER_SAR_x_E1_BIAS (STAGE1_AFE_offset) -4904 0x0400 0x00010001 #SNS_REG_DRIVER_SAR_x_E1_THRESHOLD (STAGE1_offset_high) # Used to be 0x4000 but that didn't work out - -4925 0x0000 0x00010001 #STAGE0_offset_low -4926 0x3FFB 0x00010001 #STAGE0_connection_6_0 -4927 0x2FCF 0x00010001 #STAGE0_connection_12_7 - -4928 0x0400 0x00010001 #STAGE1_offset_low # Used to be 0x4000 but that didn't work out -4929 0x3FF3 0x00010001 #STAGE1_connection_6_0 -4930 0x2FEF 0x00010001 #STAGE1_connection_12_7 - -4961 0x3230 0x00010001 #comp_control_0 -4962 0x0419 0x00010001 #comp_control_1 -4963 0x0832 0x00010001 #comp_control_2 - - -######################################################################## -### 8994 Chipsets -######################################################################## -:hardware 8994 -:platform -:property -# Orientation of sensors -# accel x/y/z -700 1 0x00010001 #accel-x-axis -701 2 0x00010001 #accel-y-axis -702 3 0x00010001 #accel-z-axis -# gyro x/y/z -800 1 0x00010001 #gyro-x-axis -801 2 0x00010001 #gyro-y-axis -802 3 0x00010001 #gyro-z-axis -# mag x/y/z -900 1 0x00010001 #mag-x-axis -901 2 0x00010001 #mag-y-axis -902 3 0x00010001 #mag-z-axis -# SSI SMGR Version -1900 1 0x00010001 #Maj Ver -1901 2 0x00010001 #Min Ver - -# SAM config -# -203 65536 0x10001 # AMD -225 327680 0x10001 # RMD -504 65536 0x10001 # Gyro Cal -1703 65536 0x10001 # Ped -2800 327680 0x10001 # basic ges -2900 327680 0x10001 # Facing -3400 65536 0x10001 # CMC -609 65536 0x10001 # FMV -1005 65536 0x10001 # Grav -1103 65536 0x10001 # orientation -3000 65536 0x10001 # gyro quat -3100 65536 0x10001 # rot vec -3500 65536 0x10001 # game rv -4112 65536 0x10001 # SMD - -# SSI SMGR Cfg 0 BMA2x2/BMI058 FIFO -1903 0xc10ffaeed4057c96 0x00010001 #UUID -1902 0xaf4644363f26965d 0x00010001 #UUID -1904 3000 0x00010001 #off_to_idle -1905 0 0x00010001 #idle_to_ready -1906 5 0x00010001 #i2c_bus -1907 1000 0x00010001 #reg_group_id -1908 0 0x00010001 #cal_grp_id -1909 64 0x00010001 #gpio1 -1910 0xFFFF 0x00010001 #gpio2 -1911 0 0x00010001 #sensor_id -1912 0x18 0x00010001 #i2c_address -1913 1 0x00010001 #data_type1 -1914 0 0x00010001 #data_type2 -1915 -1 0x00010001 #rel_sns_idx -1916 1 0x00010001 #sens_default -1917 0xD0 0x00010001 #flags -1982 0 0x00010001 #device_select -1987 0xff 0x00010001 #vdd -1988 0xff 0x00010001 #vddio - -# SSI SMGR Cfg 1 BMG160/BMI058 FIFO -1919 0xc0b3f9bee990498d 0x00010001 #UUID -1918 0xc347c5575be90345 0x00010001 #UUID -1920 30000 0x00010001 #off_to_idle -1921 0 0x00010001 #idle_to_ready -1922 5 0x00010001 #i2c_bus -1923 1010 0x00010001 #reg_group_id -1924 10 0x00010001 #cal_grp_id -1925 42 0x00010001 #gpio1 -1926 0xFFFF 0x00010001 #gpio2 -1927 10 0x00010001 #sensor_id -1928 0x68 0x00010001 #i2c_address -1929 3 0x00010001 #data_type1 -1930 0 0x00010001 #data_type2 -1931 -1 0x00010001 #rel_sns_idx -1932 4 0x00010001 #sens_default -1933 0XD0 0x00010001 #flags -1983 0 0x00010001 #device_select -1989 0xff 0x00010001 #vdd -1990 0xff 0x00010001 #vddio - -# SSI SMGR Cfg 2: HSCDTD008A POLL -1935 0x6b7b6b353051699e 0x00010001 #UUID -1934 0xe1451a747fc17ad2 0x00010001 #UUID -1936 3000 0x00010001 #off_to_idle -1937 10000 0x00010001 #idle_to_ready -1938 5 0x00010001 #i2c_bus -1939 1020 0x00010001 #reg_group_id -1940 0xFFFF 0x00010001 #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 0xff 0x00010001 #vdd -1992 0xff 0x00010001 #vddio - -# SSI SMGR Cfg 3: LPS25H POLL -1951 0x04e4e644164294bf 0x00010001 #UUID -1950 0xf84490bce44e195c 0x00010001 #UUID -1952 10000 0x00010001 #off_to_idle -1953 1000 0x00010001 #idle_to_ready -1954 7 0x00010001 #i2c_bus -1955 0xFFFF 0x00010001 #reg_group_id -1956 0xFFFF 0x00010001 #cal_grp_id -1957 0xFFFF 0x00010001 #gpio1 -1958 0xFFFF 0x00010001 #gpio2 -1959 30 0x00010001 #sensor_id -1960 0x5C 0x00010001 #i2c_address -1961 7 0x00010001 #data_type1 -1962 4 0x00010001 #data_type2 -1963 0xFF 0x00010001 #rel_sns_idx -1964 0 0x00010001 #sens_default -1965 0 0x00010001 #flags -1985 0 0x00010001 #device_select -1993 0xff 0x00010001 #vdd -1994 0xff 0x00010001 #vddio - -# SSI SMGR Cfg 4: TMG399x DRI -1967 0x8ab69de1d4cdf1a2 0x00010001 #UUID -1966 0xf1400bc7db90fb32 0x00010001 #UUID -1968 5700 0x00010001 #off_to_idle -1969 0 0x00010001 #idle_to_ready -1970 7 0x00010001 #i2c_bus -1971 1040 0x00010001 #reg_group_id -1972 0xFFFF 0x00010001 #cal_grp_id -1973 40 0x00010001 #gpio1 -1974 0xFFFF 0x00010001 #gpio2 -1975 40 0x00010001 #sensor_id -1976 0x39 0x00010001 #i2c_address -1977 5 0x00010001 #data_type1 -1978 6 0x00010001 #data_type2 -1979 0xFF 0x00010001 #rel_sns_idx -1980 0 0x00010001 #sens_default -1981 0x80 0x00010001 #flags -1986 0 0x00010001 #device_select -1995 0xff 0x00010001 #vdd -1996 0xff 0x00010001 #vddio - -# SSI SMGR Version -3600 1 0x00010001 #Maj Ver -3601 2 0x00010001 #Min Ver - -# SSI SMGR Cfg 5: TMG399x RGB DRI -3603 0x8ab69de1d4cdf1a2 0x00010001 #UUID -3602 0xf1400bc7db90fb32 0x00010001 #UUID -3604 5700 0x00010001 #off_to_idle -3605 10000 0x00010001 #idle_to_ready -3606 7 0x00010001 #i2c_bus -3607 1040 0x00010001 #reg_group_id -3608 0xFFFF 0x00010001 #cal_grp_id -3609 40 0x00010001 #gpio1 -3610 0xFFFF 0x00010001 #gpio2 -3611 60 0x00010001 #sensor_id -3612 0x39 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 0x80 0x00010001 #flags -3682 0 0x00010001 #device_select -3687 0xff 0x00010001 #vdd -3688 0xff 0x00010001 #vddio - -# SSI SMGR Cfg 6: SHTC1 Humidity DRI / Onchange -3619 0xcc631478716da795 0x00010001 #UUID -3618 0x40410cafc67cfbbe 0x00010001 #UUID -3620 10000 0x00010001 #off_to_idle -3621 10000 0x00010001 #idle_to_ready -3622 7 0x00010001 #i2c_bus -3623 0xFFFF 0x00010001 #reg_group_id -3624 0xFFFF 0x00010001 #cal_grp_id -3625 0xFFFF 0x00010001 #gpio1 -3626 0xFFFF 0x00010001 #gpio2 -3627 50 0x00010001 #sensor_id -3628 0x70 0x00010001 #i2c_address -3629 27 0x00010001 #data_type1 -3630 32 0x00010001 #data_type2 -3631 0xFF 0x00010001 #rel_sns_idx -3632 0 0x00010001 #sens_default -3633 0x80 0x00010001 #flags -3683 0 0x00010001 #device_select -3689 0xff 0x00010001 #vdd -3690 0xff 0x00010001 #vddio - -# -# SSI GPIO configuration -#----------------------------- -2700 1 0x00010001 #maj ver -2701 1 0x00010001 #min ver -2702 23 0x00010001 #I2C SDA_1 -2703 24 0x00010001 #I2C SCL_1 -2704 43 0x00010001 #I2C SDA_2 -2705 44 0x00010001 #I2C SCL_2 -2706 63 0x00010001 #RESET pin -2707 77 0x00010001 #TEST pin -2708 74 0x00010001 #ACCEL MD -2709 64 0x00010001 #ACCEL DRI -2710 42 0x00010001 #GYRO DRI -2711 26 0x00010001 #MAG DRI -2712 40 0x00010001 #ALS/PRX INT -2713 75 0x00010001 #GEST INT -2714 76 0x00010001 #PRESS INT -2715 77 0x00010001 #SAR INT -2716 90 0x00010001 #FP INT -2717 -1 0x00010001 #HALL INT - -# Mag Cal config -#----------------------------- -3801 1 0x00010001 -3804 0x000a0000 0x10001 #Sample Rate - -# sam parameters for BMI058 -201 0x0cdc 0x00010001 #AMD_INT_cfg_prm1 -202 0x8000 0x00010001 #AMD_INT_cfg_prm2 -211 0x10db 0x00010001 #VMD_INT_cfg_prm1 -221 0x1b333 0x00010001 #RMD_INT_cfg_prm1 -222 0x3333 0x00010001 #RMD_INT_cfg_prm2 -223 0x1657 0x00010001 #RMD_INT_cfg_prm3 -224 0x3333 0x00010001 #RMD_INT_cfg_prm4 - -:platform MTP -# mag x/y/z -900 -2 0x00010001 #mag-x-axis -901 -1 0x00010001 #mag-y-axis -902 -3 0x00010001 #mag-z-axis - -:platform Liquid - -# SSI SMGR Cfg 6: ADI SAR DRI -3635 0x9b8cfaa89ed604b4 0x00010001 #UUID -3634 0x7f4fd19c1953dda8 0x00010001 #UUID -3636 1000000 0x00010001 #off_to_idle -3637 0 0x00010001 #idle_to_ready -3638 7 0x00010001 #i2c_bus -3639 1090 0x00010001 #reg_group_id -3640 0xFFFF 0x00010001 #cal_grp_id -3641 77 0x00010001 #gpio1 -3642 0xFFFF 0x00010001 #gpio2 -3643 70 0x00010001 #sensor_id -3644 0x2f 0x00010001 #i2c_address -3645 30 0x00010001 #data_type1 -3646 0 0x00010001 #data_type2 -3647 0xFF 0x00010001 #rel_sns_idx -3648 0 0x00010001 #sens_default -3649 0x80 0x00010001 #flags -3684 0 0x00010001 #device_select -3691 0xff 0x00010001 #vdd -3692 0xff 0x00010001 #vddio - -# SSI SMGR Cfg 7: ADI SAR 2 DRI -3651 0x9b8cfaa89ed604b4 0x00010001 #UUID -3650 0x7f4fd19c1953dda8 0x00010001 #UUID -3652 1000000 0x00010001 #off_to_idle -3653 0 0x00010001 #idle_to_ready -3654 7 0x00010001 #i2c_bus -3655 1091 0x00010001 #reg_group_id -3656 0xFFFF 0x00010001 #cal_grp_id -3657 77 0x00010001 #gpio1 -3658 0xFFFF 0x00010001 #gpio2 -3659 71 0x00010001 #sensor_id -3660 0x2c 0x00010001 #i2c_address -3661 30 0x00010001 #data_type1 -3662 0 0x00010001 #data_type2 -3663 0xFF 0x00010001 #rel_sns_idx -3664 0 0x00010001 #sens_default -3665 0x80 0x00010001 #flags -3685 0 0x00010001 #device_select -3693 0xff 0x00010001 #vdd -3694 0xff 0x00010001 #vddio - -# SAR Registry -# Item ID's corresponding to group SNS_REG_DRIVER_GROUP_SAR (Group Id: 1090) -4800 3 0x00010001 #SNS_REG_DRIVER_SAR_x_NUM_ELECTRODES (number_of_stages) -4801 0x0700 0x00010001 #SNS_REG_DRIVER_SAR_x_E0_BIAS (STAGE0_AFE_offset) -4802 0x2700 0x00010001 #SNS_REG_DRIVER_SAR_x_E0_THRESHOLD (STAGE0_offset_high) -4803 0x0700 0x00010001 #SNS_REG_DRIVER_SAR_x_E1_BIAS (STAGE1_AFE_offset) -4804 0x2700 0x00010001 #SNS_REG_DRIVER_SAR_x_E1_THRESHOLD (STAGE1_offset_high) -4805 0x0600 0x00010001 #SNS_REG_DRIVER_SAR_x_E2_BIAS (STAGE2_AFE_offset) -4806 0x2700 0x00010001 #SNS_REG_DRIVER_SAR_x_E2_THRESHOLD (STAGE2_offset_high) - -4825 0x2700 0x00010001 #STAGE0_offset_low -4826 0x337B 0x00010001 #STAGE0_connection_6_0 -4827 0x3CCC 0x00010001 #STAGE0_connection_12_7 - -4828 0x2700 0x00010001 #STAGE1_offset_low -4829 0x3333 0x00010001 #STAGE1_connection_6_0 -4830 0x3DEC 0x00010001 #STAGE1_connection_12_7 - -4831 0x2700 0x00010001 #STAGE2_offset_low -4832 0x3B33 0x00010001 #STAGE2_connection_6_0 -4833 0x3CCD 0x00010001 #STAGE2_connection_12_7 - -4861 0x3230 0x00010001 #comp_control_0 -4862 0x0419 0x00010001 #comp_control_1 -4863 0x0832 0x00010001 #comp_control_2 - -# SAR 2 Registry -# Item ID's corresponding to group SNS_REG_DRIVER_GROUP_SAR_2 (Group Id: 1091) -4900 2 0x00010001 #SNS_REG_DRIVER_SAR_x_NUM_ELECTRODES (number_of_stages) -4901 0x3600 0x00010001 #SNS_REG_DRIVER_SAR_x_E0_BIAS (STAGE0_AFE_offset) -4902 0x0000 0x00010001 #SNS_REG_DRIVER_SAR_x_E0_THRESHOLD (STAGE0_offset_high) -4903 0x3E00 0x00010001 #SNS_REG_DRIVER_SAR_x_E1_BIAS (STAGE1_AFE_offset) -4904 0x0400 0x00010001 #SNS_REG_DRIVER_SAR_x_E1_THRESHOLD (STAGE1_offset_high) # Used to be 0x4000 but that didn't work out - -4925 0x0000 0x00010001 #STAGE0_offset_low -4926 0x3FFB 0x00010001 #STAGE0_connection_6_0 -4927 0x2FCF 0x00010001 #STAGE0_connection_12_7 - -4928 0x0400 0x00010001 #STAGE1_offset_low # Used to be 0x4000 but that didn't work out -4929 0x3FF3 0x00010001 #STAGE1_connection_6_0 -4930 0x2FEF 0x00010001 #STAGE1_connection_12_7 - -4961 0x3230 0x00010001 #comp_control_0 -4962 0x0419 0x00010001 #comp_control_1 -4963 0x0832 0x00010001 #comp_control_2 - - -####################################################################### -### 8996 Chipsets -####################################################################### -:hardware msm8996 -:platform -:property -# Orientation of sensors -# accel x/y/z -700 -2 0x00010001 #accel-x-axis -701 1 0x00010001 #accel-y-axis -702 3 0x00010001 #accel-z-axis -# gyro x/y/z -800 -2 0x00010001 #gyro-x-axis -801 1 0x00010001 #gyro-y-axis -802 3 0x00010001 #gyro-z-axis -# mag x/y/z -900 1 0x00010001 #max-x-axis -901 2 0x00010001 #mag-y-axis -902 3 0x00010001 #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 - -# 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 0x00001657 0x00010001 #RMD_INT_cfg_prm3 -224 0x00003333 0x00010001 #RMD_INT_cfg_prm4 - -# SSI SMGR Cfg 0: BMI160 Accel DRI/FIFO -1903 0x0f4d0fd654c7eab5 0x00010001 #UUID -1902 0xd646cb83ec0cd5a5 0x00010001 #UUID -1904 10000 0x00010001 #off_to_idle -1905 0 0x00010001 #idle_to_ready -1906 0x1001 0x00010001 #SPI_bus -1907 1000 0x00010001 #reg_group_id -1908 0 0x00010001 #cal_grp_id -1909 117 0x00010001 #gpio1 -1910 0xFFFF 0x00010001 #gpio2 -1911 0 0x00010001 #sensor_id -1912 0 0x00010001 #CS for SPI -1913 1 0x00010001 #data_type1 -1914 4 0x00010001 #data_type2 -1915 -1 0x00010001 #rel_sns_idx -1916 2 0x00010001 #sens_default -1917 0xD0 0x00010001 #flags -1982 0 0x00010001 #device_select -1987 0x2 0x00010001 #vdd -1988 0x2 0x00010001 #vddio - - -# SSI SMGR Cfg 1 BMI160 gyro DRI/FIFO -1919 0x0f4d0fd654c7eab5 0x00010001 #UUID -1918 0xd646cb83ec0cd5a5 0x00010001 #UUID -1920 150000 0x00010001 #off_to_idle -1921 0 0x00010001 #idle_to_ready -1922 0x1001 0x00010001 #SPI_bus -1923 1010 0x00010001 #reg_group_id -1924 10 0x00010001 #cal_grp_id -1925 117 0x00010001 #gpio1 -1926 0xFFFF 0x00010001 #gpio2 -1927 10 0x00010001 #sensor_id -1928 0 0x00010001 #CS for SPI -1929 3 0x00010001 #data_type1 -1930 4 0x00010001 #data_type2 -1931 -1 0x00010001 #rel_sns_idx -1932 4 0x00010001 #sens_default -1933 0xD0 0x00010001 #flags -1983 0 0x00010001 #device_select -1989 0x2 0x00010001 #vdd -1990 0x2 0x00010001 #vddio - -# SSI SMGR Cfg 2: AKM09915 FIFO -1935 0x90611b98d561168f 0x00010001 #UUID -1934 0x564d2b94fe80aef6 0x00010001 #UUID -1936 3000 0x00010001 #off_to_idle -1937 10000 0x00010001 #idle_to_ready -1938 0x1001 0x00010001 #SPI_bus -1939 1020 0x00010001 #reg_group_id -1940 0xFFFF 0x00010001 #cal_grp_id -1941 119 0x00010001 #gpio1 -1942 0xFFFF 0x00010001 #gpio2 -1943 20 0x00010001 #sensor_id -1944 0x1 0x00010001 #CS_for_SPI -1945 2 0x00010001 #data_type1 -1946 0 0x00010001 #data_type2 -1947 0xFF 0x00010001 #rel_sns_idx -1948 0 0x00010001 #sens_default -1949 0xD0 0x00010001 #flags -1984 0 0x00010001 #device_select -1991 0x2 0x00010001 #vdd -1992 0x2 0x00010001 #vddio - -# SSI SMGR Cfg 3: BMP280 POLL -1951 0x32c31ec17f1c0abd 0x00010001 #UUID -1950 0x5c473990a806b072 0x00010001 #UUID -1952 5000 0x00010001 #off_to_idle -1953 50000 0x00010001 #idle_to_ready -1954 3 0x00010001 #i2c_bus -1955 0xFFFF 0x00010001 #reg_group_id -1956 0xFFFF 0x00010001 #cal_grp_id -1957 0xFFFF 0x00010001 #gpio1 -1958 0xFFFF 0x00010001 #gpio2 -1959 30 0x00010001 #sensor_id -1960 0x76 0x00010001 #i2c_address -1961 7 0x00010001 #data_type1 -1962 4 0x00010001 #data_type2 -1963 0xFF 0x00010001 #rel_sns_idx -1964 0 0x00010001 #sens_default -1965 0 0x00010001 #flags -1985 0 0x00010001 #device_select -1993 0x2 0x00010001 #vdd -1994 0x2 0x00010001 #vddio - -# SSI SMGR Cfg 4: APDS9960 DRI -1967 0x0f0287cfe19679b6 0x00010001 #UUID -1966 0x6f497c047a7439f8 0x00010001 #UUID -1968 5000 0x00010001 #off_to_idle -1969 0 0x00010001 #idle_to_ready -1970 3 0x00010001 #i2c_bus -1971 1040 0x00010001 #reg_group_id -1972 0xFFFF 0x00010001 #cal_grp_id -1973 120 0x00010001 #gpio1 -1974 0xFFFF 0x00010001 #gpio2 -1975 40 0x00010001 #sensor_id -1976 0x39 0x00010001 #i2c_address -1977 5 0x00010001 #data_type1 -1978 6 0x00010001 #data_type2 -1979 0xFF 0x00010001 #rel_sns_idx -1980 0 0x00010001 #sens_default -1981 0x80 0x00010001 #flags -1986 0 0x00010001 #device_select -1995 0x93 0x00010001 #vdd -1996 0x2 0x00010001 #vddio - - -# SSI SMGR Version -3600 1 0x00010001 #Maj Ver -3601 2 0x00010001 #Min Ver - -# SSI SMGR Cfg 5: APDS9960 RGB DRI -3603 0x0f0287cfe19679b6 0x00010001 #UUID -3602 0x6f497c047a7439f8 0x00010001 #UUID -3604 5000 0x00010001 #off_to_idle -3605 0 0x00010001 #idle_to_ready -3606 3 0x00010001 #i2c_bus -3607 1040 0x00010001 #reg_group_id -3608 0xFFFF 0x00010001 #cal_grp_id -3609 120 0x00010001 #gpio1 -3610 0xFFFF 0x00010001 #gpio2 -3611 60 0x00010001 #sensor_id -3612 0x39 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 0x80 0x00010001 #flags -3682 0 0x00010001 #device_select -3687 0x93 0x00010001 #vdd -3688 0x2 0x00010001 #vddio - - -# SSI SMGR Cfg 6: SHTC1 Humidity Onchange -3619 0xcc631478716da795 0x00010001 #UUID -3618 0x40410cafc67cfbbe 0x00010001 #UUID -3620 10000 0x00010001 #off_to_idle -3621 10000 0x00010001 #idle_to_ready -3622 3 0x00010001 #i2c_bus -3623 1140 0x00010001 #reg_group_id -3624 0xFFFF 0x00010001 #cal_grp_id -3625 0xFFFF 0x00010001 #gpio1 -3626 0xFFFF 0x00010001 #gpio2 -3627 50 0x00010001 #sensor_id -3628 0x70 0x00010001 #i2c_address -3629 27 0x00010001 #data_type1 -3630 32 0x00010001 #data_type2 -3631 0xFF 0x00010001 #rel_sns_idx -3632 0 0x00010001 #sens_default -3633 0x80 0x00010001 #flags -3683 0 0x00010001 #device_select -3689 0x2 0x00010001 #vdd -3690 0x2 0x00010001 #vddio - -# SSI SMGR Cfg 7: UV HSVDDD002A Polling -#3635 0xe949401da5455ea3 0x00010001 #UUID -#3634 0x77476dfbc5e833fc 0x00010001 #UUID -3636 10000 0x00010001 #off_to_idle -3637 10000 0x00010001 #idle_to_ready -3638 3 0x00010001 #i2c_bus -3639 1120 0x00010001 #reg_group_id -3640 0xFFFF 0x00010001 #cal_grp_id -3641 0xFFFF 0x00010001 #gpio1 -3642 0xFFFF 0x00010001 #gpio2 -3643 100 0x00010001 #sensor_id -3644 0x0D 0x00010001 #i2c_address -3645 33 0x00010001 #data_type1 -3646 0 0x00010001 #data_type2 -3647 0xFF 0x00010001 #rel_sns_idx -3648 0 0x00010001 #sens_default -3649 0x0 0x00010001 #flags -3684 0 0x00010001 #device_select -3691 0x93 0x00010001 #vdd -3692 0x2 0x00010001 #vddio - -# SSI SMGR Cfg 8: Thermopile DTS201A Polling -#3651 0xd82328c4183d599c 0x00010001 #UUID -#3650 0x6a4123b302f33a76 0x00010001 #UUID -3652 100000 0x00010001 #off_to_idle -3653 100000 0x00010001 #idle_to_ready -3654 3 0x00010001 #i2c_bus -3655 1130 0x00010001 #reg_group_id -3656 0xFFFF 0x00010001 #cal_grp_id -3657 0xFFFF 0x00010001 #gpio1 -3658 0xFFFF 0x00010001 #gpio2 -3659 110 0x00010001 #sensor_id -3660 0x1A 0x00010001 #i2c_address -3661 36 0x00010001 #data_type1 -3662 0 0x00010001 #data_type2 -3663 0xFF 0x00010001 #rel_sns_idx -3664 0 0x00010001 #sens_default -3665 0x0 0x00010001 #flags -3685 0 0x00010001 #device_select -3693 0x2 0x00010001 #vdd -3694 0x2 0x00010001 #vddio - -# SSI SMGR Cfg 9: Hall Effect BU52053NVX DRI -3667 0x5da5cb55d3c7bd84 0x00010001 -3666 0x7e412494d22ec81e 0x00010001 #UUID -3668 100 0x00010001 #off_to_idle -3669 100 0x00010001 #idle_to_ready -3670 3 0x00010001 #i2c_bus -3671 0xFFFF 0x00010001 #reg_group_id -3672 0xFFFF 0x00010001 #cal_grp_id -3673 124 0x00010001 #gpio1 -3674 0xFFFF 0x00010001 #gpio2 -3675 80 0x00010001 #sensor_id -3676 0x20 0x00010001 #i2c_address, dummy -3677 31 0x00010001 #data_type1 -3678 00 0x00010001 #data_type2 -3679 0xFF 0x00010001 #rel_sns_idx -3680 0 0x00010001 #sens_default -3681 0x80 0x00010001 #flags -3686 5 0x00010001 #device_select -3695 0x2 0x00010001 #vdd -3696 0x2 0x00010001 #vddio - -# SSI SMGR Version -5500 1 0x00010001 #Maj Ver -5501 2 0x00010001 #Min Ver - -# SSI SMGR Cfg 10: Heart Rate ADPD142 DRI -#5503 0xa8ba2a809af25c80 0x00010001 -#5502 0x3442ccc77ff3c117 0x00010001 #UUID -5504 35000 0x00010001 #off_to_idle -5505 5715 0x00010001 #idle_to_ready -5506 3 0x00010001 #i2c_bus -5507 0xFFFF 0x00010001 #reg_group_id -5508 0xFFFF 0x00010001 #cal_grp_id -5509 122 0x00010001 #gpio1 -5510 0xFFFF 0x00010001 #gpio2 -5511 90 0x00010001 #sensor_id -5512 0x64 0x00010001 #i2c_address -5513 35 0x00010001 #data_type1 -5514 0 0x00010001 #data_type2 -5515 0xFF 0x00010001 #rel_sns_idx -5516 0 0x00010001 #sens_default -5517 0x80 0x00010001 #flags -5582 0 0x00010001 #device_select -5587 0x93 0x00010001 #vdd -5588 0x2 0x00010001 #vddio - -# -# IOD AUTOCAL configuration -#----------------------------- -6000 1 0x00010001 #version -6001 1 0x00010001 #converge staus -6002 0x3F86CBFB 0x00010001 #coefficient - -# -# SSI GPIO configuration -#----------------------------- -2700 1 0x00010001 #maj ver -2701 0 0x00010001 # min ver -2706 80 0x00010001 # RESET pin - -# -# SSC GPIO CFG (inactive) -#----------------------------- -6300 1 0x00010001 # version -6301 0x0104 0x00010001 # gpio num -6302 2 0x00010001 # active func sel -6303 1 0x00010001 # active dir -6304 2 0x00010001 # active pull -6305 3 0x00010001 # active drive -6306 2 0x00010001 # inactive func sel -6307 1 0x00010001 # inactive dir -6308 2 0x00010001 # inactive pull -6309 3 0x00010001 # inactive drive - -6310 1 0x00010001 # version -6311 0x0105 0x00010001 # gpio num -6312 2 0x00010001 # active func sel -6313 1 0x00010001 # active dir -6314 2 0x00010001 # active pull -6315 3 0x00010001 # active drive -6316 2 0x00010001 # inactive func sel -6317 1 0x00010001 # inactive dir -6318 2 0x00010001 # inactive pull -6319 3 0x00010001 # inactive drive - -6320 1 0x00010001 # version -6321 0x0106 0x00010001 # gpio num -6322 2 0x00010001 # active func sel -6323 1 0x00010001 # active dir -6324 2 0x00010001 # active pull -6325 3 0x00010001 # active drive -6326 2 0x00010001 # inactive func sel -6327 1 0x00010001 # inactive dir -6328 2 0x00010001 # inactive pull -6329 3 0x00010001 # inactive drive - -6330 1 0x00010001 # version -6331 0x0107 0x00010001 # gpio num -6332 2 0x00010001 # active func sel -6333 0 0x00010001 # active dir -6334 2 0x00010001 # active pull -6335 3 0x00010001 # active drive -6336 2 0x00010001 # inactive func sel -6337 0 0x00010001 # inactive dir -6338 2 0x00010001 # inactive pull -6339 3 0x00010001 # inactive drive - -6340 1 0x00010001 # version -6341 0x010C 0x00010001 # gpio num -6342 1 0x00010001 # active func sel -6343 1 0x00010001 # active dir -6344 2 0x00010001 # active pull -6345 3 0x00010001 # active drive -6346 1 0x00010001 # inactive func sel -6347 1 0x00010001 # inactive dir -6348 2 0x00010001 # inactive pull -6349 3 0x00010001 # inactive drive - -6350 1 0x00010001 # version -6351 0x010D 0x00010001 # gpio num -6352 1 0x00010001 # active func sel -6353 0 0x00010001 # active dir -6354 2 0x00010001 # active pull -6355 3 0x00010001 # active drive -6356 1 0x00010001 # inactive func sel -6357 0 0x00010001 # inactive dir -6358 2 0x00010001 # inactive pull -6359 3 0x00010001 # inactive drive - -# -# SSC GPIO CFG (active) -#----------------------------- -6360 1 0x00010001 # version -6361 0x0100 0x00010001 # gpio num -6362 1 0x00010001 # active func sel -6363 1 0x00010001 # active dir -6364 0 0x00010001 # active pull -6365 0 0x00010001 # active drive -6366 1 0x00010001 # inactive func sel -6367 1 0x00010001 # inactive dir -6368 2 0x00010001 # inactive pull -6369 0 0x00010001 # inactive drive - -6370 1 0x00010001 # version -6371 0x0102 0x00010001 # gpio num -6372 1 0x00010001 # active func sel -6373 1 0x00010001 # active dir -6374 0 0x00010001 # active pull -6375 0 0x00010001 # active drive -6376 1 0x00010001 # inactive func sel -6377 1 0x00010001 # inactive dir -6378 2 0x00010001 # inactive pull -6379 0 0x00010001 # inactive drive - -6380 1 0x00010001 # version -6381 0x0103 0x00010001 # gpio num -6382 1 0x00010001 # active func sel -6383 1 0x00010001 # active dir -6384 0 0x00010001 # active pull -6385 0 0x00010001 # active drive -6386 1 0x00010001 # inactive func sel -6387 1 0x00010001 # inactive dir -6388 2 0x00010001 # inactive pull -6389 0 0x00010001 # inactive drive - -6390 1 0x00010001 # version -6391 0x0108 0x00010001 # gpio num -6392 1 0x00010001 # active func sel -6393 1 0x00010001 # active dir -6394 0 0x00010001 # active pull -6395 3 0x00010001 # active drive -6396 1 0x00010001 # inactive func sel -6397 1 0x00010001 # inactive dir -6398 2 0x00010001 # inactive pull -6399 3 0x00010001 # inactive drive - -6400 1 0x00010001 # version -6401 0x0109 0x00010001 # gpio num -6402 1 0x00010001 # active func sel -6403 1 0x00010001 # active dir -6404 0 0x00010001 # active pull -6405 3 0x00010001 # active drive -6406 1 0x00010001 # inactive func sel -6407 1 0x00010001 # inactive dir -6408 2 0x00010001 # inactive pull -6409 3 0x00010001 # inactive drive - -6410 1 0x00010001 # version -6411 0x010A 0x00010001 # gpio num -6412 1 0x00010001 # active func sel -6413 1 0x00010001 # active dir -6414 0 0x00010001 # active pull -6415 3 0x00010001 # active drive -6416 1 0x00010001 # inactive func sel -6417 1 0x00010001 # inactive dir -6418 2 0x00010001 # inactive pull -6419 3 0x00010001 # inactive drive - -6420 1 0x00010001 # version -6421 0x010B 0x00010001 # gpio num -6422 1 0x00010001 # active func sel -6423 0 0x00010001 # active dir -6424 0 0x00010001 # active pull -6425 3 0x00010001 # active drive -6426 1 0x00010001 # inactive func sel -6427 0 0x00010001 # inactive dir -6428 2 0x00010001 # inactive pull -6429 3 0x00010001 # inactive drive - -6430 1 0x00010001 # version -6431 0x010E 0x00010001 # gpio num -6432 1 0x00010001 # active func sel -6433 1 0x00010001 # active dir -6434 0 0x00010001 # active pull -6435 3 0x00010001 # active drive -6436 1 0x00010001 # inactive func sel -6437 1 0x00010001 # inactive dir -6438 2 0x00010001 # inactive pull -6439 3 0x00010001 # inactive drive - -6440 1 0x00010001 # version -6441 0x010F 0x00010001 # gpio num -6442 1 0x00010001 # active func sel -6443 0 0x00010001 # active dir -6444 0 0x00010001 # active pull -6445 3 0x00010001 # active drive -6446 1 0x00010001 # inactive func sel -6447 0 0x00010001 # inactive dir -6448 2 0x00010001 # inactive pull -6449 3 0x00010001 # inactive drive - - -# Mag Cal config -#----------------------------- -3801 1 0x00010001 -3804 0x000a0000 0x10001 #Sample Rate - -#APDS9960: ALS/Proxi registry -100 0x14 0x00010001 #visible_ratio -101 0x50 0x00010001 #ir_ratio -102 0 0x00010001 #dc_offset -103 0x64 0x00010001 #thresh_near -104 0x50 0x00010001 #thresh_far -105 0 0x00010001 #prx_crosstalk -106 681 0x00010001 #als_factor -107 0x01 0x00010001 #version_num -108 0x68 0x00010001 #ID -109 0x07 0x00010001 #als_change_pcnt -110 0x47 0x00010001 #ppulse -111 0 0x00010001 #poffset_ur -112 0 0x00010001 #poffset_dl -113 0x64 0x00010001 #cct_factor -114 0x64 0x00010001 #rgb_c_factor -115 0x64 0x00010001 #rgb_r_factor -116 0x64 0x00010001 #rgb_g_factor -117 0x64 0x00010001 #rgb_b_factor - -: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 - -# Orientation of sensors -# accel x/y/z -700 1 0x00010001 #accel-x-axis -701 2 0x00010001 #accel-y-axis -702 3 0x00010001 #accel-z-axis -# gyro x/y/z -800 1 0x00010001 #gyro-x-axis -801 2 0x00010001 #gyro-y-axis -802 3 0x00010001 #gyro-z-axis - -# SSI SMGR Cfg 7: ADI SAR DRI -#3635 0x9b8cfaa89ed604b4 0x00010001 #UUID -#3634 0x7f4fd19c1953dda8 0x00010001 #UUID -3636 1000000 0x00010001 #off_to_idle -3637 0 0x00010001 #idle_to_ready -3638 12 0x00010001 #i2c_bus -3639 1090 0x00010001 #reg_group_id -3640 0xFFFF 0x00010001 #cal_grp_id -3641 79 0x00010001 #gpio1 -3642 0xFFFF 0x00010001 #gpio2 -3643 70 0x00010001 #sensor_id -3644 0x2f 0x00010001 #i2c_address -3645 30 0x00010001 #data_type1 -3646 0 0x00010001 #data_type2 -3647 0xFF 0x00010001 #rel_sns_idx -3648 0 0x00010001 #sens_default -3649 0x80 0x00010001 #flags -3684 0 0x00010001 #device_select - -# SSI SMGR Cfg 8: ADI SAR 2 DRI -#3651 0x9b8cfaa89ed604b4 0x00010001 #UUID -#3650 0x7f4fd19c1953dda8 0x00010001 #UUID -3652 1000000 0x00010001 #off_to_idle -3653 0 0x00010001 #idle_to_ready -3654 12 0x00010001 #i2c_bus -3655 1091 0x00010001 #reg_group_id -3656 0xFFFF 0x00010001 #cal_grp_id -3657 95 0x00010001 #gpio1 -3658 0xFFFF 0x00010001 #gpio2 -3659 71 0x00010001 #sensor_id -3660 0x2c 0x00010001 #i2c_address -3661 30 0x00010001 #data_type1 -3662 0 0x00010001 #data_type2 -3663 0xFF 0x00010001 #rel_sns_idx -3664 0 0x00010001 #sens_default -3665 0x80 0x00010001 #flags -3685 0 0x00010001 #device_select -3693 0x2 0x00010001 #vdd -3694 0x2 0x00010001 #vddio - -# SAR Registry -# Item ID's corresponding to group SNS_REG_DRIVER_GROUP_SAR (Group Id: 1090) -4800 3 0x00010001 #SNS_REG_DRIVER_SAR_x_NUM_ELECTRODES (number_of_stages) -4801 0x0700 0x00010001 #SNS_REG_DRIVER_SAR_x_E0_BIAS (STAGE0_AFE_offset) -4802 0x2700 0x00010001 #SNS_REG_DRIVER_SAR_x_E0_THRESHOLD (STAGE0_offset_high) -4803 0x0700 0x00010001 #SNS_REG_DRIVER_SAR_x_E1_BIAS (STAGE1_AFE_offset) -4804 0x2700 0x00010001 #SNS_REG_DRIVER_SAR_x_E1_THRESHOLD (STAGE1_offset_high) -4805 0x0600 0x00010001 #SNS_REG_DRIVER_SAR_x_E2_BIAS (STAGE2_AFE_offset) -4806 0x2700 0x00010001 #SNS_REG_DRIVER_SAR_x_E2_THRESHOLD (STAGE2_offset_high) - -4825 0x2700 0x00010001 #STAGE0_offset_low -4826 0x337B 0x00010001 #STAGE0_connection_6_0 -4827 0x3CCC 0x00010001 #STAGE0_connection_12_7 - -4828 0x2700 0x00010001 #STAGE1_offset_low -4829 0x3333 0x00010001 #STAGE1_connection_6_0 -4830 0x3DEC 0x00010001 #STAGE1_connection_12_7 - -4831 0x2700 0x00010001 #STAGE2_offset_low -4832 0x3B33 0x00010001 #STAGE2_connection_6_0 -4833 0x3CCD 0x00010001 #STAGE2_connection_12_7 - -4861 0x3230 0x00010001 #comp_control_0 -4862 0x0419 0x00010001 #comp_control_1 -4863 0x0832 0x00010001 #comp_control_2 - -# SAR 2 Registry -# Item ID's corresponding to group SNS_REG_DRIVER_GROUP_SAR_2 (Group Id: 1091) -4900 2 0x00010001 #SNS_REG_DRIVER_SAR_x_NUM_ELECTRODES (number_of_stages) -4901 0x3600 0x00010001 #SNS_REG_DRIVER_SAR_x_E0_BIAS (STAGE0_AFE_offset) -4902 0x0000 0x00010001 #SNS_REG_DRIVER_SAR_x_E0_THRESHOLD (STAGE0_offset_high) -4903 0x3E00 0x00010001 #SNS_REG_DRIVER_SAR_x_E1_BIAS (STAGE1_AFE_offset) -4904 0x0400 0x00010001 #SNS_REG_DRIVER_SAR_x_E1_THRESHOLD (STAGE1_offset_high) # Used to be 0x4000 but that didn't work out - -4925 0x0000 0x00010001 #STAGE0_offset_low -4926 0x3FFB 0x00010001 #STAGE0_connection_6_0 -4927 0x2FCF 0x00010001 #STAGE0_connection_12_7 - -4928 0x0400 0x00010001 #STAGE1_offset_low # Used to be 0x4000 but that didn't work out -4929 0x3FF3 0x00010001 #STAGE1_connection_6_0 -4930 0x2FEF 0x00010001 #STAGE1_connection_12_7 - -4961 0x3230 0x00010001 #comp_control_0 -4962 0x0419 0x00010001 #comp_control_1 -4963 0x0832 0x00010001 #comp_control_2 - -:platform QRD -# Orientation of sensors -# accel0 x/y/z -700 1 0x00010001 #accel-x-axis -701 2 0x00010001 #accel-y-axis -702 3 0x00010001 #accel-z-axis -# gyro x/y/z -800 1 0x00010001 #gyro-x-axis -801 2 0x00010001 #gyro-y-axis -802 3 0x00010001 #gyro-z-axis -# mag x/y/z -900 1 0x00010001 #max-x-axis -901 2 0x00010001 #mag-y-axis -902 3 0x00010001 #mag-z-axis - -# SSI SMGR Cfg 0 BMI160 ACCEL -1903 0x0f4d0fd654c7eab5 0x00010001 #UUID -1902 0xd646cb83ec0cd5a5 0x00010001 #UUID -1904 10000 0x00010001 #off_to_idle -1905 30000 0x00010001 #idle_to_ready -1906 0x1001 0x00010001 #SPI_bus -1907 1000 0x00010001 #reg_group_id -1908 0 0x00010001 #cal_grp_id -1909 117 0x00010001 #gpio1 -1910 0xFFFF 0x00010001 #gpio2 -1911 0 0x00010001 #sensor_id -1912 0 0x00010001 #CS for SPI -1913 1 0x00010001 #data_type1 -1914 4 0x00010001 #data_type2 -1915 -1 0x00010001 #rel_sns_idx -1916 2 0x00010001 #sens_default -1917 0xD0 0x00010001 #flags -1982 0 0x00010001 #device_select -1987 0x2 0x00010001 #vdd -1988 0x2 0x00010001 #vddio - -# SSI SMGR Cfg 1 BMI160 GYRO -1919 0x0f4d0fd654c7eab5 0x00010001 #UUID -1918 0xd646cb83ec0cd5a5 0x00010001 #UUID -1920 150000 0x00010001 #off_to_idle -1921 250000 0x00010001 #idle_to_ready -1922 0x1001 0x00010001 #SPI_bus -1923 1010 0x00010001 #reg_group_id -1924 10 0x00010001 #cal_grp_id -1925 117 0x00010001 #gpio1 -1926 0xFFFF 0x00010001 #gpio2 -1927 10 0x00010001 #sensor_id -1928 0 0x00010001 #CS for SPI -1929 3 0x00010001 #data_type1 -1930 4 0x00010001 #data_type2 -1931 -1 0x00010001 #rel_sns_idx -1932 4 0x00010001 #sens_default -1933 0xD0 0x00010001 #flags -1983 0 0x00010001 #device_select -1989 0x2 0x00010001 #vdd -1990 0x2 0x00010001 #vddio - -# SSI SMGR Cfg 2 TMD27723 -1935 0x9ab11a6ea1c0218a 0x00010001 #UUID -1934 0xcc44f904e9e569f7 0x00010001 #UUID -1936 10000 0x00010001 #off_to_idle -1937 0 0x00010001 #idle_to_ready -1938 3 0x00010001 #i2c_bus -1939 1040 0x00010001 #reg_group_id -1940 0xFFFF 0x00010001 #cal_grp_id -1941 120 0x00010001 #gpio1 -1942 0xFFFF 0x00010001 #gpio2 -1943 40 0x00010001 #sensor_id -1944 0x39 0x00010001 #i2c_address -1945 5 0x00010001 #data_type1 -1946 6 0x00010001 #data_type2 -1947 -1 0x00010001 #rel_sns_idx -1948 0 0x00010001 #sens_default -1949 0x00 0x00010001 #flags -1984 0 0x00010001 #device_select -1991 0x93 0x00010001 #vdd -1992 0x2 0x00010001 #vddio - -# SSI SMGR Cfg 3: AKM09915 FIFO -1951 0x90611b98d561168f 0x00010001 #UUID -1950 0x564d2b94fe80aef6 0x00010001 #UUID -1952 3000 0x00010001 #off_to_idle -1953 10000 0x00010001 #idle_to_ready -1954 0x1001 0x00010001 #SPI_bus -1955 1020 0x00010001 #reg_group_id -1956 0xFFFF 0x00010001 #cal_grp_id -1957 119 0x00010001 #gpio1 -1958 0xFFFF 0x00010001 #gpio2 -1959 20 0x00010001 #sensor_id -1960 0x1 0x00010001 #CS_for_SPI -1961 2 0x00010001 #data_type1 -1962 0 0x00010001 #data_type2 -1963 0xFF 0x00010001 #rel_sns_idx -1964 0 0x00010001 #sens_default -1965 0xD0 0x00010001 #flags -1985 0 0x00010001 #device_select -1993 0x2 0x00010001 #vdd -1994 0x2 0x00010001 #vddio - -# SSI SMGR Cfg 4: -1967 0 0x00010001 #UUID -1966 0 0x00010001 #UUID -1968 0 0x00010001 #off_to_idle -1969 0 0x00010001 #idle_to_ready -1970 0 0x00010001 #i2c_bus -1971 0 0x00010001 #reg_group_id -1972 0 0x00010001 #cal_grp_id -1973 0 0x00010001 #gpio1 -1974 0 0x00010001 #gpio2 -1975 0 0x00010001 #sensor_id -1976 0 0x00010001 #i2c_address, dummy -1977 0 0x00010001 #data_type1 -1978 0 0x00010001 #data_type2 -1979 0 0x00010001 #rel_sns_idx -1980 0 0x00010001 #sens_default -1981 0 0x00010001 #flags -1986 0 0x00010001 #device_select -1995 0xFF 0x00010001 #vdd -1996 0xFF 0x00010001 #vddio - -# SSI SMGR Cfg 5: -3603 0 0x00010001 #UUID -3602 0 0x00010001 #UUID -3604 0 0x00010001 #off_to_idle -3605 0 0x00010001 #idle_to_ready -3606 0 0x00010001 #i2c_bus -3607 0 0x00010001 #reg_group_id -3608 0 0x00010001 #cal_grp_id -3609 0 0x00010001 #gpio1 -3610 0 0x00010001 #gpio2 -3611 0 0x00010001 #sensor_id -3612 0 0x00010001 #i2c_address -3613 0 0x00010001 #data_type1 -3614 0 0x00010001 #data_type2 -3615 0 0x00010001 #rel_sns_idx -3616 0 0x00010001 #sens_default -3617 0 0x00010001 #flags -3682 0 0x00010001 #device_select -3687 0xFF 0x00010001 #vdd -3688 0xFF 0x00010001 #vddio - -# SSI SMGR Cfg 6: -3619 0 0x00010001 #UUID -3618 0 0x00010001 #UUID -3620 0 0x00010001 #off_to_idle -3621 0 0x00010001 #idle_to_ready -3622 0 0x00010001 #i2c_bus -3623 0 0x00010001 #reg_group_id -3624 0 0x00010001 #cal_grp_id -3625 0 0x00010001 #gpio1 -3626 0 0x00010001 #gpio2 -3627 0 0x00010001 #sensor_id -3628 0 0x00010001 #i2c_address -3629 0 0x00010001 #data_type1 -3630 0 0x00010001 #data_type2 -3631 0 0x00010001 #rel_sns_idx -3632 0 0x00010001 #sens_default -3633 0 0x00010001 #flags -3683 0 0x00010001 #device_select -3689 0xFF 0x00010001 #vdd -3690 0xFF 0x00010001 #vddio - -# SSI SMGR Cfg 7: -3635 0 0x00010001 #UUID -3634 0 0x00010001 #UUID -3636 0 0x00010001 #off_to_idle -3637 0 0x00010001 #idle_to_ready -3638 0 0x00010001 #i2c_bus -3639 0 0x00010001 #reg_group_id -3640 0 0x00010001 #cal_grp_id -3641 0 0x00010001 #gpio1 -3642 0 0x00010001 #gpio2 -3643 0 0x00010001 #sensor_id -3644 0 0x00010001 #i2c_address -3645 0 0x00010001 #data_type1 -3646 0 0x00010001 #data_type2 -3647 0 0x00010001 #rel_sns_idx -3648 0 0x00010001 #sens_default -3649 0 0x00010001 #flags -3684 0 0x00010001 #device_select -3691 0xFF 0x00010001 #vdd -3692 0xFF 0x00010001 #vddio - -# SSI SMGR Cfg 8: -3651 0 0x00010001 #UUID -3650 0 0x00010001 #UUID -3652 0 0x00010001 #off_to_idle -3653 0 0x00010001 #idle_to_ready -3654 0 0x00010001 #i2c_bus -3655 0 0x00010001 #reg_group_id -3656 0 0x00010001 #cal_grp_id -3657 0 0x00010001 #gpio1 -3658 0 0x00010001 #gpio2 -3659 0 0x00010001 #sensor_id -3660 0 0x00010001 #i2c_address -3661 0 0x00010001 #data_type1 -3662 0 0x00010001 #data_type2 -3663 0 0x00010001 #rel_sns_idx -3664 0 0x00010001 #sens_default -3665 0 0x00010001 #flags -3685 0 0x00010001 #device_select -3693 0xFF 0x00010001 #vdd -3694 0xFF 0x00010001 #vddio - -# SSI SMGR Cfg 9: -3667 0 0x00010001 #UUID -3666 0 0x00010001 #UUID -3668 0 0x00010001 #off_to_idle -3669 0 0x00010001 #idle_to_ready -3670 0 0x00010001 #i2c_bus -3671 0 0x00010001 #reg_group_id -3672 0 0x00010001 #cal_grp_id -3673 0 0x00010001 #gpio1 -3674 0 0x00010001 #gpio2 -3675 0 0x00010001 #sensor_id -3676 0 0x00010001 #i2c_address, dummy -3677 0 0x00010001 #data_type1 -3678 0 0x00010001 #data_type2 -3679 0 0x00010001 #rel_sns_idx -3680 0 0x00010001 #sens_default -3681 0 0x00010001 #flags -3686 0 0x00010001 #device_select -3695 0xFF 0x00010001 #vdd -3696 0xFF 0x00010001 #vddio - -# SSI SMGR Cfg 10: -5503 0 0x00010001 #UUID -5502 0 0x00010001 #UUID -5504 0 0x00010001 #off_to_idle -5505 0 0x00010001 #idle_to_ready -5506 0 0x00010001 #i2c_bus -5507 0 0x00010001 #reg_group_id -5508 0 0x00010001 #cal_grp_id -5509 0 0x00010001 #gpio1 -5510 0 0x00010001 #gpio2 -5511 0 0x00010001 #sensor_id -5512 0 0x00010001 #i2c_address -5513 0 0x00010001 #data_type1 -5514 0 0x00010001 #data_type2 -5515 0 0x00010001 #rel_sns_idx -5516 0 0x00010001 #sens_default -5517 0 0x00010001 #flags -5582 0 0x00010001 #device_select -5587 0xFF 0x00010001 #vdd -5588 0xFF 0x00010001 #vddio - -# QMAG_CAL Configuration -3801 1 0x00010001 - -:platform Fluid - -# Orientation of sensors -# accel x/y/z -700 2 0x00010001 #accel-x-axis -701 -1 0x00010001 #accel-y-axis -702 3 0x00010001 #accel-z-axis -# gyro x/y/z -800 2 0x00010001 #gyro-x-axis -801 -1 0x00010001 #gyro-y-axis -802 3 0x00010001 #gyro-z-axis - -######################################################################## -### 8992 Chipsets -######################################################################## -:hardware 8992 -:platform -:property -# Orientation of sensors -# accel x/y/z -700 1 0x00010001 #accel-x-axis -701 2 0x00010001 #accel-y-axis -702 3 0x00010001 #accel-z-axis -# gyro x/y/z -800 1 0x00010001 #gyro-x-axis -801 2 0x00010001 #gyro-y-axis -802 3 0x00010001 #gyro-z-axis -# mag x/y/z -900 1 0x00010001 #mag-x-axis -901 2 0x00010001 #mag-y-axis -902 3 0x00010001 #mag-z-axis -# SSI SMGR Version -1900 1 0x00010001 #Maj Ver -1901 1 0x00010001 #Min Ver - -# SAM config -# -203 65536 0x10001 # AMD -225 327680 0x10001 # RMD -504 65536 0x10001 # Gyro Cal -1703 65536 0x10001 # Ped -2800 327680 0x10001 # basic ges -2900 327680 0x10001 # Facing -3400 65536 0x10001 # CMC -609 65536 0x10001 # FMV -1005 65536 0x10001 # Grav -1103 65536 0x10001 # orientation -3000 65536 0x10001 # gyro quat -3100 65536 0x10001 # rot vec -3500 65536 0x10001 # game rv -4112 65536 0x10001 # SMD - -# SSI SMGR Cfg 0 BMA2x2/BMI058 FIFO -1903 0xc10ffaeed4057c96 0x00010001 #UUID -1902 0xaf4644363f26965d 0x00010001 #UUID -1904 3000 0x00010001 #off_to_idle -1905 0 0x00010001 #idle_to_ready -1906 5 0x00010001 #i2c_bus -1907 1000 0x00010001 #reg_group_id -1908 0 0x00010001 #cal_grp_id -1909 64 0x00010001 #gpio1 -1910 0xFFFF 0x00010001 #gpio2 -1911 0 0x00010001 #sensor_id -1912 0x18 0x00010001 #i2c_address -1913 1 0x00010001 #data_type1 -1914 0 0x00010001 #data_type2 -1915 -1 0x00010001 #rel_sns_idx -1916 1 0x00010001 #sens_default -1917 0xD0 0x00010001 #flags -1982 0 0x00010001 #device_select - -# SSI SMGR Cfg 1 BMG160/BMI058 FIFO -1919 0xc0b3f9bee990498d 0x00010001 #UUID -1918 0xc347c5575be90345 0x00010001 #UUID -1920 30000 0x00010001 #off_to_idle -1921 0 0x00010001 #idle_to_ready -1922 5 0x00010001 #i2c_bus -1923 1010 0x00010001 #reg_group_id -1924 10 0x00010001 #cal_grp_id -1925 42 0x00010001 #gpio1 -1926 0xFFFF 0x00010001 #gpio2 -1927 10 0x00010001 #sensor_id -1928 0x68 0x00010001 #i2c_address -1929 3 0x00010001 #data_type1 -1930 0 0x00010001 #data_type2 -1931 -1 0x00010001 #rel_sns_idx -1932 4 0x00010001 #sens_default -1933 0XD0 0x00010001 #flags -1983 0 0x00010001 #device_select - -# SSI SMGR Cfg 2: HSCDTD008A POLL -1935 0x6b7b6b353051699e 0x00010001 #UUID -1934 0xe1451a747fc17ad2 0x00010001 #UUID -1936 3000 0x00010001 #off_to_idle -1937 10000 0x00010001 #idle_to_ready -1938 5 0x00010001 #i2c_bus -1939 1020 0x00010001 #reg_group_id -1940 0xFFFF 0x00010001 #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 - -# SSI SMGR Cfg 3: LPS25H POLL -1951 0x04e4e644164294bf 0x00010001 #UUID -1950 0xf84490bce44e195c 0x00010001 #UUID -1952 10000 0x00010001 #off_to_idle -1953 0 0x00010001 #idle_to_ready -1954 7 0x00010001 #i2c_bus -1955 0xFFFF 0x00010001 #reg_group_id -1956 0xFFFF 0x00010001 #cal_grp_id -1957 0xFFFF 0x00010001 #gpio1 -1958 0xFFFF 0x00010001 #gpio2 -1959 30 0x00010001 #sensor_id -1960 0x5C 0x00010001 #i2c_address -1961 7 0x00010001 #data_type1 -1962 4 0x00010001 #data_type2 -1963 0xFF 0x00010001 #rel_sns_idx -1964 0 0x00010001 #sens_default -1965 0 0x00010001 #flags -1985 0 0x00010001 #device_select - -# SSI SMGR Cfg 4: TMG399x DRI -1967 0x8ab69de1d4cdf1a2 0x00010001 #UUID -1966 0xf1400bc7db90fb32 0x00010001 #UUID -1968 5700 0x00010001 #off_to_idle -1969 0 0x00010001 #idle_to_ready -1970 7 0x00010001 #i2c_bus -1971 1040 0x00010001 #reg_group_id -1972 0xFFFF 0x00010001 #cal_grp_id -1973 40 0x00010001 #gpio1 -1974 0xFFFF 0x00010001 #gpio2 -1975 40 0x00010001 #sensor_id -1976 0x39 0x00010001 #i2c_address -1977 5 0x00010001 #data_type1 -1978 6 0x00010001 #data_type2 -1979 0xFF 0x00010001 #rel_sns_idx -1980 0 0x00010001 #sens_default -1981 0x80 0x00010001 #flags -1986 0 0x00010001 #device_select - -# SSI SMGR Version -3600 1 0x00010001 #Maj Ver -3601 1 0x00010001 #Min Ver - -# SSI SMGR Cfg 5: TMG399x RGB DRI -3603 0x8ab69de1d4cdf1a2 0x00010001 #UUID -3602 0xf1400bc7db90fb32 0x00010001 #UUID -3604 5700 0x00010001 #off_to_idle -3605 10000 0x00010001 #idle_to_ready -3606 7 0x00010001 #i2c_bus -3607 1040 0x00010001 #reg_group_id -3608 0xFFFF 0x00010001 #cal_grp_id -3609 40 0x00010001 #gpio1 -3610 0xFFFF 0x00010001 #gpio2 -3611 60 0x00010001 #sensor_id -3612 0x39 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 0x80 0x00010001 #flags -3682 0 0x00010001 #device_select - -# SSI SMGR Cfg 6: SHTC1 Humidity DRI / Onchange -3619 0xcc631478716da795 0x00010001 #UUID -3618 0x40410cafc67cfbbe 0x00010001 #UUID -3620 10000 0x00010001 #off_to_idle -3621 10000 0x00010001 #idle_to_ready -3622 7 0x00010001 #i2c_bus -3623 0xFFFF 0x00010001 #reg_group_id -3624 0xFFFF 0x00010001 #cal_grp_id -3625 0xFFFF 0x00010001 #gpio1 -3626 0xFFFF 0x00010001 #gpio2 -3627 50 0x00010001 #sensor_id -3628 0x70 0x00010001 #i2c_address -3629 27 0x00010001 #data_type1 -3630 32 0x00010001 #data_type2 -3631 0xFF 0x00010001 #rel_sns_idx -3632 0 0x00010001 #sens_default -3633 0x80 0x00010001 #flags -3683 0 0x00010001 #device_select - -# -# SSI GPIO configuration -#----------------------------- -2700 1 0x00010001 #maj ver -2701 1 0x00010001 #min ver -2702 23 0x00010001 #I2C SDA_1 -2703 24 0x00010001 #I2C SCL_1 -2704 43 0x00010001 #I2C SDA_2 -2705 44 0x00010001 #I2C SCL_2 -2706 63 0x00010001 #RESET pin -2707 77 0x00010001 #TEST pin -2708 74 0x00010001 #ACCEL MD -2709 64 0x00010001 #ACCEL DRI -2710 42 0x00010001 #GYRO DRI -2711 26 0x00010001 #MAG DRI -2712 40 0x00010001 #ALS/PRX INT -2713 75 0x00010001 #GEST INT -2714 76 0x00010001 #PRESS INT -2715 77 0x00010001 #SAR INT -2716 90 0x00010001 #FP INT -2717 -1 0x00010001 #HALL INT - -# Mag Cal config -#----------------------------- -3801 1 0x00010001 -3804 0x000a0000 0x10001 #Sample Rate - -# sam parameters for BMI058 -201 0x0cdc 0x00010001 #AMD_INT_cfg_prm1 -202 0x8000 0x00010001 #AMD_INT_cfg_prm2 -211 0x10db 0x00010001 #VMD_INT_cfg_prm1 -221 0x1b333 0x00010001 #RMD_INT_cfg_prm1 -222 0x3333 0x00010001 #RMD_INT_cfg_prm2 -223 0x1657 0x00010001 #RMD_INT_cfg_prm3 -224 0x3333 0x00010001 #RMD_INT_cfg_prm4 - -:platform MTP -# mag x/y/z -900 -2 0x00010001 #mag-x-axis -901 -1 0x00010001 #mag-y-axis -902 -3 0x00010001 #mag-z-axis - -:platform Liquid - -# SSI SMGR Cfg 6: ADI SAR DRI -3635 0x9b8cfaa89ed604b4 0x00010001 #UUID -3634 0x7f4fd19c1953dda8 0x00010001 #UUID -3636 1000000 0x00010001 #off_to_idle -3637 0 0x00010001 #idle_to_ready -3638 7 0x00010001 #i2c_bus -3639 1090 0x00010001 #reg_group_id -3640 0xFFFF 0x00010001 #cal_grp_id -3641 77 0x00010001 #gpio1 -3642 0xFFFF 0x00010001 #gpio2 -3643 70 0x00010001 #sensor_id -3644 0x2f 0x00010001 #i2c_address -3645 30 0x00010001 #data_type1 -3646 0 0x00010001 #data_type2 -3647 0xFF 0x00010001 #rel_sns_idx -3648 0 0x00010001 #sens_default -3649 0x80 0x00010001 #flags -3684 0 0x00010001 #device_select - -# SSI SMGR Cfg 7: ADI SAR 2 DRI -3651 0x9b8cfaa89ed604b4 0x00010001 #UUID -3650 0x7f4fd19c1953dda8 0x00010001 #UUID -3652 1000000 0x00010001 #off_to_idle -3653 0 0x00010001 #idle_to_ready -3654 7 0x00010001 #i2c_bus -3655 1091 0x00010001 #reg_group_id -3656 0xFFFF 0x00010001 #cal_grp_id -3657 77 0x00010001 #gpio1 -3658 0xFFFF 0x00010001 #gpio2 -3659 71 0x00010001 #sensor_id -3660 0x2c 0x00010001 #i2c_address -3661 30 0x00010001 #data_type1 -3662 0 0x00010001 #data_type2 -3663 0xFF 0x00010001 #rel_sns_idx -3664 0 0x00010001 #sens_default -3665 0x80 0x00010001 #flags -3685 0 0x00010001 #device_select - -# SAR Registry -# Item ID's corresponding to group SNS_REG_DRIVER_GROUP_SAR (Group Id: 1090) -4800 3 0x00010001 #SNS_REG_DRIVER_SAR_x_NUM_ELECTRODES (number_of_stages) -4801 0x0700 0x00010001 #SNS_REG_DRIVER_SAR_x_E0_BIAS (STAGE0_AFE_offset) -4802 0x2700 0x00010001 #SNS_REG_DRIVER_SAR_x_E0_THRESHOLD (STAGE0_offset_high) -4803 0x0700 0x00010001 #SNS_REG_DRIVER_SAR_x_E1_BIAS (STAGE1_AFE_offset) -4804 0x2700 0x00010001 #SNS_REG_DRIVER_SAR_x_E1_THRESHOLD (STAGE1_offset_high) -4805 0x0600 0x00010001 #SNS_REG_DRIVER_SAR_x_E2_BIAS (STAGE2_AFE_offset) -4806 0x2700 0x00010001 #SNS_REG_DRIVER_SAR_x_E2_THRESHOLD (STAGE2_offset_high) - -4825 0x2700 0x00010001 #STAGE0_offset_low -4826 0x337B 0x00010001 #STAGE0_connection_6_0 -4827 0x3CCC 0x00010001 #STAGE0_connection_12_7 - -4828 0x2700 0x00010001 #STAGE1_offset_low -4829 0x3333 0x00010001 #STAGE1_connection_6_0 -4830 0x3DEC 0x00010001 #STAGE1_connection_12_7 - -4831 0x2700 0x00010001 #STAGE2_offset_low -4832 0x3B33 0x00010001 #STAGE2_connection_6_0 -4833 0x3CCD 0x00010001 #STAGE2_connection_12_7 - -4861 0x3230 0x00010001 #comp_control_0 -4862 0x0419 0x00010001 #comp_control_1 -4863 0x0832 0x00010001 #comp_control_2 - -# SAR 2 Registry -# Item ID's corresponding to group SNS_REG_DRIVER_GROUP_SAR_2 (Group Id: 1091) -4900 2 0x00010001 #SNS_REG_DRIVER_SAR_x_NUM_ELECTRODES (number_of_stages) -4901 0x3600 0x00010001 #SNS_REG_DRIVER_SAR_x_E0_BIAS (STAGE0_AFE_offset) -4902 0x0000 0x00010001 #SNS_REG_DRIVER_SAR_x_E0_THRESHOLD (STAGE0_offset_high) -4903 0x3E00 0x00010001 #SNS_REG_DRIVER_SAR_x_E1_BIAS (STAGE1_AFE_offset) -4904 0x0400 0x00010001 #SNS_REG_DRIVER_SAR_x_E1_THRESHOLD (STAGE1_offset_high) # Used to be 0x4000 but that didn't work out - -4925 0x0000 0x00010001 #STAGE0_offset_low -4926 0x3FFB 0x00010001 #STAGE0_connection_6_0 -4927 0x2FCF 0x00010001 #STAGE0_connection_12_7 - -4928 0x0400 0x00010001 #STAGE1_offset_low # Used to be 0x4000 but that didn't work out -4929 0x3FF3 0x00010001 #STAGE1_connection_6_0 -4930 0x2FEF 0x00010001 #STAGE1_connection_12_7 - -4961 0x3230 0x00010001 #comp_control_0 -4962 0x0419 0x00010001 #comp_control_1 -4963 0x0832 0x00010001 #comp_control_2 - -####################################################################### -### 8909W Chipsets -####################################################################### -:hardware msm8909 -:platform -:property -:soc_id - -# Orientation of sensors -# accel x/y/z -700 -1 0x00010001 #accel-x-axis -701 -2 0x00010001 #accel-y-axis -702 3 0x00010001 #accel-z-axis -# gyro x/y/z -800 -1 0x00010001 #gyro-x-axis -801 -2 0x00010001 #gyro-y-axis -802 3 0x00010001 #gyro-z-axis -# mag x/y/z -900 1 0x00010001 #max-x-axis -901 2 0x00010001 #mag-y-axis -902 3 0x00010001 #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 - -# SSI SMGR Cfg 0: LSM6DS3 Accel FIFO -1903 0x1a0bd9d5956c508e 0x00010001 #UUID -1902 0x1246e1cb09a92baa 0x00010001 #UUID -1904 100000 0x00010001 #off_to_idle -1905 250000 0x00010001 #idle_to_ready -1906 0x1003 0x00010001 #SPI_bus -1907 1000 0x00010001 #reg_group_id -1908 0 0x00010001 #cal_grp_id -1909 96 0x00010001 #gpio1 -1910 0xFFFF 0x00010001 #gpio2 -1911 0 0x00010001 #sensor_id -1912 0 0x00010001 #CS for SPI -1913 1 0x00010001 #data_type1 -1914 0 0x00010001 #data_type2 -1915 -1 0x00010001 #rel_sns_idx -1916 2 0x00010001 #sens_default -1917 0xD0 0x00010001 #flags -1982 0 0x00010001 #device_select -1987 0x2 0x00010001 #vdd -1988 0x2 0x00010001 #vddio - -# SSI SMGR Cfg 1: LSM6DS3 Gyro FIFO -1919 0x1a0bd9d5956c508e 0x00010001 #UUID -1918 0x1246e1cb09a92baa 0x00010001 #UUID -1920 100000 0x00010001 #off_to_idle -1921 250000 0x00010001 #idle_to_ready -1922 0x1003 0x00010001 #SPI_bus -1923 1010 0x00010001 #reg_group_id -1924 10 0x00010001 #cal_grp_id -1925 96 0x00010001 #gpio1 -1926 0xFFFF 0x00010001 #gpio2 -1927 10 0x00010001 #sensor_id -1928 0 0x00010001 #CS for SPI -1929 3 0x00010001 #data_type1 -1930 0 0x00010001 #data_type2 -1931 -1 0x00010001 #rel_sns_idx -1932 3 0x00010001 #sens_default -1933 0xD0 0x00010001 #flags -1983 0 0x00010001 #device_select -1989 0x93 0x00010001 #vdd -1990 0x2 0x00010001 #vddio - -# SSI SMGR Cfg 2: AKM09915 FIFO -1935 0x90611b98d561168f 0x00010001 #UUID -1934 0x564d2b94fe80aef6 0x00010001 #UUID -1936 3000 0x00010001 #off_to_idle -1937 10000 0x00010001 #idle_to_ready -1938 1 0x00010001 #i2c_bus -1939 1020 0x00010001 #reg_group_id -1940 0xFFFF 0x00010001 #cal_grp_id -1941 65 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 0x90 0x00010001 #flags -1984 0 0x00010001 #device_select -1991 0x2 0x00010001 #vdd -1992 0x2 0x00010001 #vddio - -# SSI SMGR Cfg 3: BMP280 POLL -1951 0x32c31ec17f1c0abd 0x00010001 #UUID -1950 0x5c473990a806b072 0x00010001 #UUID -1952 10000 0x00010001 #off_to_idle -1953 0 0x00010001 #idle_to_ready -1954 1 0x00010001 #i2c_bus -1955 0xFFFF 0x00010001 #reg_group_id -1956 0xFFFF 0x00010001 #cal_grp_id -1957 0xFFFF 0x00010001 #gpio1 -1958 0xFFFF 0x00010001 #gpio2 -1959 30 0x00010001 #sensor_id -1960 0x76 0x00010001 #i2c_address -1961 7 0x00010001 #data_type1 -1962 4 0x00010001 #data_type2 -1963 0xFF 0x00010001 #rel_sns_idx -1964 0 0x00010001 #sens_default -1965 0 0x00010001 #flags -1985 0 0x00010001 #device_select -1993 0x2 0x00010001 #vdd -1994 0x2 0x00010001 #vddio - -# SSI SMGR Cfg 4: TMD27723 DRI -1967 0x9ab11a6ea1c0218a 0x00010001 #UUID -1966 0xcc44f904e9e569f7 0x00010001 #UUID -1968 10000 0x00010001 #off_to_idle -1969 0 0x00010001 #idle_to_ready -1970 1 0x00010001 #i2c_bus -1971 1040 0x00010001 #reg_group_id -1972 0xFFFF 0x00010001 #cal_grp_id -1973 94 0x00010001 #gpio1 -1974 0xFFFF 0x00010001 #gpio2 -1975 40 0x00010001 #sensor_id -1976 0x39 0x00010001 #i2c_address -1977 5 0x00010001 #data_type1 -1978 6 0x00010001 #data_type2 -1979 -1 0x00010001 #rel_sns_idx -1980 0 0x00010001 #sens_default -1981 0x80 0x00010001 #flags -1986 0 0x00010001 #device_select -1995 0x93 0x00010001 #vdd -1996 0x2 0x00010001 #vddio - -# SSI SMGR Version -3600 1 0x00010001 #Maj Ver -3601 2 0x00010001 #Min Ver - -# SSI SMGR Cfg 5: Heart Rate PAH8002 DRI -3603 0xf7d58cadaa8ae18c 0x00010001 #UUID -3602 0x924e81b6331b219c 0x00010001 #UUID -3604 40000 0x00010001 #off_to_idle -3605 0 0x00010001 #idle_to_ready -3606 1 0x00010001 #i2c_bus -3607 0xFFFF 0x00010001 #reg_group_id -3608 0xFFFF 0x00010001 #cal_grp_id -3609 110 0x00010001 #gpio1 -3610 0xFFFF 0x00010001 #gpio2 -3611 90 0x00010001 #sensor_id -3612 0x15 0x00010001 #i2c_address -3613 0x23 0x00010001 #data_type1 -3614 0 0x00010001 #data_type2 -3615 0xFF 0x00010001 #rel_sns_idx -3616 0 0x00010001 #sens_default -3617 0x80 0x00010001 #flags -3682 0 0x00010001 #device_select -3687 0x93 0x00010001 #vdd -3688 0x2 0x00010001 #vddio - - -# -# SSI GPIO configuration -#----------------------------- -2700 1 0x00010001 #maj ver -2701 1 0x00010001 #min ver -2702 6 0x00010001 #I2C SDA_1 -2703 7 0x00010001 #I2C SCL_1 -2704 -1 0x00010001 #I2C SDA_2 -2705 -1 0x00010001 #I2C SCL_2 -2706 -1 0x00010001 #RESET pin -2707 -1 0x00010001 #TEST pin -2708 96 0x00010001 #ACCEL MD -2709 96 0x00010001 #ACCEL DRI -2710 96 0x00010001 #GYRO DRI -2711 65 0x00010001 #MAG DRI -2712 94 0x00010001 #ALS/PRX INT -2713 -1 0x00010001 #GEST INT -2714 -1 0x00010001 #PRESS INT -2715 -1 0x00010001 #SAR INT -2716 -1 0x00010001 #FP INT -2717 -1 0x00010001 #HALL INT - -# Mag Cal config -#----------------------------- -3801 1 0x00010001 -3804 0x000a0000 0x10001 #Sample Rate