From c684ee10cf26d47fc3f6d59c296bdfc64cc23ffe Mon Sep 17 00:00:00 2001 From: karthick111 Date: Tue, 27 Jun 2017 12:23:13 +0200 Subject: [PATCH] land: Import more configs from vendor --- audio/aanc_tuning_mixer.txt | 144 + audio/audio_effects.conf | 418 ++ audio/audio_output_policy.conf | 56 + audio/audio_platform_info_extcodec.xml | 58 + audio/audio_policy.conf | 173 + audio/mixer_paths.xml | 1099 +++++ audio/mixer_paths_mtp.xml | 1260 ++++++ audio/mixer_paths_qrd_sku1.xml | 1195 ++++++ audio/mixer_paths_qrd_sku2.xml | 1164 ++++++ audio/mixer_paths_qrd_skuh.xml | 828 ++++ audio/mixer_paths_qrd_skuhf.xml | 825 ++++ audio/mixer_paths_qrd_skui.xml | 828 ++++ audio/mixer_paths_qrd_skum.xml | 931 +++++ audio/mixer_paths_qrd_skun.xml | 2130 ++++++++++ audio/mixer_paths_skuk.xml | 821 ++++ audio/mixer_paths_wcd9306.xml | 1313 ++++++ audio/mixer_paths_wcd9326.xml | 2108 ++++++++++ audio/mixer_paths_wcd9330.xml | 2085 ++++++++++ audio/mixer_paths_wcd9335.xml | 2277 ++++++++++ audio/sound_trigger_mixer_paths.xml | 83 + audio/sound_trigger_mixer_paths_wcd9306.xml | 103 + audio/sound_trigger_mixer_paths_wcd9330.xml | 90 + audio/sound_trigger_mixer_paths_wcd9335.xml | 106 + audio/sound_trigger_platform_info.xml | 60 + configs/Android.mk | 27 + configs/data/dsi_config.xml | 614 +++ configs/data/netmgr_config.xml | 1473 +++++++ configs/data/qmi_config.xml | 627 +++ configs/media_codecs_performance.xml | 115 + configs/media_profiles.xml | 698 ++++ configs/sec_config | 311 ++ configs/sensors/hals.conf | 1 + configs/sensors/sensor_def_qcomdev.conf | 4153 +++++++++++++++++++ product/media.mk | 4 +- product/qcom-audio.mk | 28 +- product/qcom-radio.mk | 13 + product/qcom-thermal.mk | 2 +- product/sensors.mk | 4 + 38 files changed, 28221 insertions(+), 4 deletions(-) create mode 100644 audio/aanc_tuning_mixer.txt create mode 100644 audio/audio_effects.conf create mode 100644 audio/audio_output_policy.conf create mode 100644 audio/audio_platform_info_extcodec.xml create mode 100644 audio/audio_policy.conf create mode 100644 audio/mixer_paths.xml create mode 100644 audio/mixer_paths_mtp.xml create mode 100644 audio/mixer_paths_qrd_sku1.xml create mode 100644 audio/mixer_paths_qrd_sku2.xml create mode 100644 audio/mixer_paths_qrd_skuh.xml create mode 100644 audio/mixer_paths_qrd_skuhf.xml create mode 100644 audio/mixer_paths_qrd_skui.xml create mode 100644 audio/mixer_paths_qrd_skum.xml create mode 100644 audio/mixer_paths_qrd_skun.xml create mode 100644 audio/mixer_paths_skuk.xml create mode 100644 audio/mixer_paths_wcd9306.xml create mode 100644 audio/mixer_paths_wcd9326.xml create mode 100644 audio/mixer_paths_wcd9330.xml create mode 100644 audio/mixer_paths_wcd9335.xml create mode 100644 audio/sound_trigger_mixer_paths.xml create mode 100644 audio/sound_trigger_mixer_paths_wcd9306.xml create mode 100644 audio/sound_trigger_mixer_paths_wcd9330.xml create mode 100644 audio/sound_trigger_mixer_paths_wcd9335.xml create mode 100644 audio/sound_trigger_platform_info.xml create mode 100644 configs/Android.mk create mode 100644 configs/data/dsi_config.xml create mode 100644 configs/data/netmgr_config.xml create mode 100644 configs/data/qmi_config.xml create mode 100644 configs/media_codecs_performance.xml create mode 100644 configs/media_profiles.xml create mode 100644 configs/sec_config create mode 100644 configs/sensors/hals.conf create mode 100644 configs/sensors/sensor_def_qcomdev.conf diff --git a/audio/aanc_tuning_mixer.txt b/audio/aanc_tuning_mixer.txt new file mode 100644 index 0000000..0e3bf30 --- /dev/null +++ b/audio/aanc_tuning_mixer.txt @@ -0,0 +1,144 @@ +#ANC_TEST_P_PATH_MIC_STEREO Capture +acdb_dev_id:85 +!Capture +Txdevice:0 + +enable +TX7 HPF Switch:0 +TX8 HPF Switch:0 +AIF1_CAP Mixer SLIM TX7:1 +AIF1_CAP Mixer SLIM TX8:1 +SLIM TX7 MUX:DEC9 +DEC9 MUX:DMIC4 +SLIM TX8 MUX:DEC10 +DEC10 MUX:DMIC3 +SLIM_0_TX Channels:Two +MultiMedia1 Mixer SLIM_0_TX:1 + +disable +MultiMedia1 Mixer SLIM_0_TX:0 +AIF1_CAP Mixer SLIM TX7:0 +AIF1_CAP Mixer SLIM TX8:0 +SLIM TX7 MUX:ZERO +SLIM TX8 MUX:ZERO +DEC10 MUX:ZERO +DEC9 MUX:ZERO +TX7 HPF Switch:0 +TX8 HPF Switch:0 + +#ANC_TEST_S_PATH_MIC_STEREO Capture +acdb_dev_id:88 +!Capture +Txdevice:0 + +enable +TX7 HPF Switch:0 +TX8 HPF Switch:0 +AIF1_CAP Mixer SLIM TX7:1 +AIF1_CAP Mixer SLIM TX8:1 +SLIM TX7 MUX:DEC8 +DEC7 MUX:ANC2_FB +ANC2 MUX:DMIC3 +SLIM TX8 MUX:DEC7 +DEC8 MUX:ANC1_FB +ANC1 MUX:DMIC3 +ANC1 FB MUX:EAR_HPH_L +SLIM_0_TX Channels:Two +MultiMedia1 Mixer SLIM_0_TX:1 + +disable +MultiMedia1 Mixer SLIM_0_TX:0 +AIF1_CAP Mixer SLIM TX7:0 +AIF1_CAP Mixer SLIM TX8:0 +SLIM TX7 MUX:ZERO +SLIM TX8 MUX:ZERO +DEC7 MUX:ZERO +ANC2 MUX:ZERO +ANC1 MUX:ZERO +DEC8 MUX:ZERO +ANC1 FB MUX:ZERO +TX7 HPF Switch:0 +TX8 HPF Switch:0 + +#ANC_TEST_E_PATH_MIC_STEREO Capture +acdb_dev_id:91 +!Capture +Txdevice:0 + +enable +TX7 HPF Switch:0 +TX8 HPF Switch:0 +AIF1_CAP Mixer SLIM TX7:1 +AIF1_CAP Mixer SLIM TX8:1 +SLIM TX7 MUX:DEC8 +DEC7 MUX:ANC2_FB +ANC2 MUX:DMIC4 +ANC1 MUX:DMIC4 +SLIM TX8 MUX:DEC7 +DEC8 MUX:ANC1_FB +ANC1 FB MUX:EAR_HPH_L +SLIM_0_TX Channels:Two +MultiMedia1 Mixer SLIM_0_TX:1 + +disable +MultiMedia1 Mixer SLIM_0_TX:0 +AIF1_CAP Mixer SLIM TX7:0 +AIF1_CAP Mixer SLIM TX8:0 +SLIM TX7 MUX:ZERO +SLIM TX8 MUX:ZERO +DEC7 MUX:ZERO +ANC2 MUX:ZERO +DEC10 MUX:ZERO +ANC1 FB MUX:ZERO +TX7 HPF Switch:0 +TX8 HPF Switch:0 + +#ANC_TEST_S_PATH_HANDSET_SPKR_ANC_MONO +acdb_dev_id:86 +!Playback +Rxdevice:0 + +enable +ANC Function:ON +SLIM RX1 MUX:AIF1_PB +SLIM_0_RX Channels:One +RX1 MIX1 INP1:RX1 +CLASS_H_DSM MUX:DSM_HPHL_RX1 +RX1 Digital Volume:87 +DAC1 Switch:1 +ANC Slot:7 +SLIMBUS_0_RX Audio Mixer MultiMedia1:1 + +disable +SLIMBUS_0_RX Audio Mixer MultiMedia1:0 +ANC Slot:0 +SLIM RX1 MUX:ZERO +RX1 MIX1 INP1:ZERO +RX1 Digital Volume:0 +DAC1 Switch:0 +ANC Function:OFF + +#ANC_TEST_E_PATH_HANDSET_SPKR_ANC_MONO +acdb_dev_id:89 +!Playback +Rxdevice:0 + +enable +ANC Function:ON +SLIM RX1 MUX:AIF1_PB +SLIM_0_RX Channels:One +RX1 MIX1 INP1:RX1 +CLASS_H_DSM MUX:DSM_HPHL_RX1 +RX1 Digital Volume:87 +DAC1 Switch:1 +ANC Slot:8 +SLIMBUS_0_RX Audio Mixer MultiMedia1:1 + +disable +SLIMBUS_0_RX Audio Mixer MultiMedia1:0 +ANC Slot:0 +SLIM RX1 MUX:ZERO +RX1 MIX1 INP1:ZERO +RX1 Digital Volume:0 +DAC1 Switch:0 +ANC Function:OFF diff --git a/audio/audio_effects.conf b/audio/audio_effects.conf new file mode 100644 index 0000000..b9f723e --- /dev/null +++ b/audio/audio_effects.conf @@ -0,0 +1,418 @@ +# List of effect libraries to load. Each library element must contain a "path" element +# giving the full path of the library .so file. +# libraries { +# { +# path +# } +# } +libraries { + bundle { + path /system/lib/soundfx/libbundlewrapper.so + } + reverb { + path /system/lib/soundfx/libreverbwrapper.so + } + qcbassboost { + path /vendor/lib/soundfx/libqcbassboost.so + } + qcvirt { + path /vendor/lib/soundfx/libqcvirt.so + } + qcreverb { + path /vendor/lib/soundfx/libqcreverb.so + } + visualizer_sw { + path /system/lib/soundfx/libvisualizer.so + } + visualizer_hw { + path /system/lib/soundfx/libqcomvisualizer.so + } + downmix { + path /system/lib/soundfx/libdownmix.so + } + loudness_enhancer { + path /system/lib/soundfx/libldnhncr.so + } + proxy { + path /system/lib/soundfx/libeffectproxy.so + } + offload_bundle { + path /system/lib/soundfx/libqcompostprocbundle.so + } + audio_pre_processing { + path /system/lib/soundfx/libqcomvoiceprocessing.so + } +# bug 156482 add dirac effect start + loudness_enhancer { + path /system/lib/soundfx/libldnhncr.so + } + volume_listener { + path /system/lib/soundfx/libvolumelistener.so + } + dirac { + path /system/lib/soundfx/libdirac.so + } +} +# bug 156482 add dirac effect end + +# Default pre-processing library. Add to audio_effect.conf "libraries" section if +# audio HAL implements support for default software audio pre-processing effects +# +# pre_processing { +# path /system/lib/soundfx/libaudiopreprocessing.so +# } + +# list of effects to load. Each effect element must contain a "library" and a "uuid" element. +# The value of the "library" element must correspond to the name of one library element in the +# "libraries" element. +# The name of the effect element is indicative, only the value of the "uuid" element +# designates the effect. +# The uuid is the implementation specific UUID as specified by the effect vendor. This is not the +# generic effect type UUID. +# effects { +# { +# library +# uuid +# } +# ... +# } + +effects { + +# additions for the proxy implementation +# Proxy implementation + #effectname { + #library proxy + #uuid xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx + + # SW implemetation of the effect. Added as a node under the proxy to + # indicate this as a sub effect. + #libsw { + #library libSW + #uuid yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy + #} End of SW effect + + # HW implementation of the effect. Added as a node under the proxy to + # indicate this as a sub effect. + #libhw { + #library libHW + #uuid zzzzzzzz-zzzz-zzzz-zzzz-zzzzzzzzzzzz + #}End of HW effect + #} End of effect proxy + + bassboost { + library proxy + uuid 14804144-a5ee-4d24-aa88-0002a5d5c51b + + libsw { + library qcbassboost + uuid 23aca180-44bd-11e2-bcfd-0800200c9a66 + } + + libhw { + library offload_bundle + uuid 2c4a8c24-1581-487f-94f6-0002a5d5c51b + } + } + virtualizer { + library proxy + uuid d3467faa-acc7-4d34-acaf-0002a5d5c51b + + libsw { + library qcvirt + uuid e6c98a16-22a3-11e2-b87b-f23c91aec05e + } + + libhw { + library offload_bundle + uuid 509a4498-561a-4bea-b3b1-0002a5d5c51b + } + } + equalizer { + library proxy + uuid c8e70ecd-48ca-456e-8a4f-0002a5d5c51b + + libsw { + library bundle + uuid ce772f20-847d-11df-bb17-0002a5d5c51b + } + + libhw { + library offload_bundle + uuid a0dac280-401c-11e3-9379-0002a5d5c51b + } + } + volume { + library bundle + uuid 119341a0-8469-11df-81f9-0002a5d5c51b + } + reverb_env_aux { + library proxy + uuid 48404ac9-d202-4ccc-bf84-0002a5d5c51b + + libsw { + library qcreverb + uuid a8c1e5f3-293d-43cd-95ec-d5e26c02e217 + } + + libhw { + library offload_bundle + uuid 79a18026-18fd-4185-8233-0002a5d5c51b + } + } + reverb_env_ins { + library proxy + uuid b707403a-a1c1-4291-9573-0002a5d5c51b + + libsw { + library qcreverb + uuid 791fff8b-8129-4655-83a4-59bc61034c3a + } + + libhw { + library offload_bundle + uuid eb64ea04-973b-43d2-8f5e-0002a5d5c51b + } + } + reverb_pre_aux { + library proxy + uuid 1b78f587-6d1c-422e-8b84-0002a5d5c51b + + libsw { + library qcreverb + uuid 53ef1db5-c0c0-445b-b060-e34d20ebb70a + } + + libhw { + library offload_bundle + uuid 6987be09-b142-4b41-9056-0002a5d5c51b + } + } + reverb_pre_ins { + library proxy + uuid f3e178d2-ebcb-408e-8357-0002a5d5c51b + + libsw { + library qcreverb + uuid b08a0e38-22a5-11e2-b87b-f23c91aec05e + } + + libhw { + library offload_bundle + uuid aa2bebf6-47cf-4613-9bca-0002a5d5c51b + } + } + visualizer { + library proxy + uuid 1d0a1a53-7d5d-48f2-8e71-27fbd10d842c + + libsw { + library visualizer_sw + uuid d069d9e0-8329-11df-9168-0002a5d5c51b + } + + libhw { + library visualizer_hw + uuid 7a8044a0-1a71-11e3-a184-0002a5d5c51b + } + } + downmix { + library downmix + uuid 93f04452-e4fe-41cc-91f9-e475b6d1d69f + } + hw_acc { + library offload_bundle + uuid 7d1580bd-297f-4683-9239-e475b6d1d69f + } + loudness_enhancer { + library loudness_enhancer + uuid fa415329-2034-4bea-b5dc-5b381c8d1e2c + } + aec { + library audio_pre_processing + uuid 0f8d0d2a-59e5-45fe-b6e4-248c8a799109 + } + ns { + library audio_pre_processing + uuid 1d97bb0b-9e2f-4403-9ae3-58c2554306f8 + } +# bug 156482 add dirac effect start + music_helper { + library volume_listener + uuid 08b8b058-0590-11e5-ac71-0025b32654a0 + } + ring_helper { + library volume_listener + uuid 0956df94-0590-11e5-bdbe-0025b32654a0 + } + alarm_helper { + library volume_listener + uuid 09f303e2-0590-11e5-8fdb-0025b32654a0 + } + # voice_helper is called when stream type is voice_call in VoIP usecase + voice_helper { + library volume_listener + uuid 0ace5c08-0590-11e5-ae9e-0025b32654a0 + } + notification_helper { + library volume_listener + uuid 0b776dde-0590-11e5-81ba-0025b32654a0 + } + dirac { + library dirac + uuid e069d9e0-8329-11df-9168-0002a5d5c51b + } +} + +# additional effect from vendor +# UUID generated using version 1 + +output_session_processing { + music { + music_helper { + } + } + ring { + ring_helper { + } + } + alarm { + alarm_helper { + } + } + # stream type voice_call is used for VoIP call + voice_call { + voice_helper { + } + } + notification { + notification_helper { + } + } +} + +# Audio global processor configurations. +# The global processor configuration consists in a list of effects elements. +# The name of the effect element must be the name of one of the effects in +# the "effects" list of the file. +# Each effect element may optionally contain a list of parameters and their +# default value to apply when the pre processor effect is created. +# A parameter is defined by a "param" element and a "value" element. Each of these elements +# consists in one or more elements specifying a type followed by a value. +# The types defined are: "int", "short", "float", "bool" and "string" +# When both "param" and "value" are a single int, a simple form is allowed where just +# the param and value pair is present in the parameter description +# global_processing { +# { +# { +# param { +# int|short|float|bool|string +# [ int|short|float|bool|string ] +# ... +# } +# value { +# int|short|float|bool|string +# [ int|short|float|bool|string ] +# ... +# } +# } +# { } +# ... +# } +# ... +# } +global_processing { + dirac { + bl@lakala { + param { + int 6 + } + value { + string *com.lakala.android + } + } + bl@jawboneup { + param { + int 6 + } + value { + string *com.jawbone.up + } + } + bl@hojyremote { + param { + int 6 + } + value { + string *com.hojy.hremote + } + } + } + } +# bug 156482 add dirac effect end +# Default pre-processing effects. Add to audio_effect.conf "effects" section if +# audio HAL implements support for them. +# +# agc { +# library pre_processing +# uuid aa8130e0-66fc-11e0-bad0-0002a5d5c51b +# } +# aec { +# library pre_processing +# uuid bb392ec0-8d4d-11e0-a896-0002a5d5c51b +# } +# ns { +# library pre_processing +# uuid c06c8400-8e06-11e0-9cb6-0002a5d5c51b +# } + +# Audio preprocessor configurations. +# The pre processor configuration consists in a list of elements each describing +# pre processor settings for a given input source. Valid input source names are: +# "mic", "camcorder", "voice_recognition", "voice_communication" +# Each input source element contains a list of effects elements. The name of the effect +# element must be the name of one of the effects in the "effects" list of the file. +# Each effect element may optionally contain a list of parameters and their +# default value to apply when the pre processor effect is created. +# A parameter is defined by a "param" element and a "value" element. Each of these elements +# consists in one or more elements specifying a type followed by a value. +# The types defined are: "int", "short", "float", "bool" and "string" +# When both "param" and "value" are a single int, a simple form is allowed where just +# the param and value pair is present in the parameter description +# pre_processing { +# { +# { +# { +# param { +# int|short|float|bool|string +# [ int|short|float|bool|string ] +# ... +# } +# value { +# int|short|float|bool|string +# [ int|short|float|bool|string ] +# ... +# } +# } +# { } +# ... +# } +# ... +# } +# ... +# } + +# Added aec, ns effects for voice_commuincation, which are supported by the board + +pre_processing { + voice_communication { + aec { + } + ns { + } + } +} + +# +# TODO: add default audio pre processor configurations after debug and tuning phase +# diff --git a/audio/audio_output_policy.conf b/audio/audio_output_policy.conf new file mode 100644 index 0000000..313d36c --- /dev/null +++ b/audio/audio_output_policy.conf @@ -0,0 +1,56 @@ +# List of profiles for the output device session where stream is routed. +# A stream opened with the inputs attributes which match the "flags" and +# "formats" as specified in the profile is routed to a device at +# sample rate specified under "sampling_rates" and bit width under +# "bit_width" and the topology extracted from the acdb data against +# the "app_type". +# +# the flags and formats are specified using the strings corresponding to +# enums in audio.h and audio_policy.h. They are concatenated with "|" +# without space or "\n". +# the flags and formats should match the ones in "audio_policy.conf" + +outputs { + default { + flags AUDIO_OUTPUT_FLAG_PRIMARY + formats AUDIO_FORMAT_PCM_16_BIT + sampling_rates 48000 + bit_width 16 + app_type 69937 + } + deep_buffer { + flags AUDIO_OUTPUT_FLAG_DEEP_BUFFER + formats AUDIO_FORMAT_PCM_16_BIT + sampling_rates 48000 + bit_width 16 + app_type 69936 + } + direct { + flags AUDIO_OUTPUT_FLAG_DIRECT + formats AUDIO_FORMAT_PCM_16_BIT + sampling_rates 48000 + bit_width 16 + app_type 69936 + } + direct_pcm { + flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_DIRECT_PCM + formats AUDIO_FORMAT_PCM_16_BIT + sampling_rates 44100|48000|96000|192000 + bit_width 16 + app_type 69936 + } + compress_offload_16 { + flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING + formats AUDIO_FORMAT_MP3|AUDIO_FORMAT_AC3|AUDIO_FORMAT_E_AC3|AUDIO_FORMAT_PCM_16_BIT_OFFLOAD|AUDIO_FORMAT_PCM_24_BIT_OFFLOAD|AUDIO_FORMAT_FLAC|AUDIO_FORMAT_ALAC|AUDIO_FORMAT_APE|AUDIO_FORMAT_AAC_LC|AUDIO_FORMAT_AAC_HE_V1|AUDIO_FORMAT_AAC_HE_V2|AUDIO_FORMAT_WMA|AUDIO_FORMAT_WMA_PRO|AUDIO_FORMAT_VORBIS|AUDIO_FORMAT_AAC_ADTS_LC|AUDIO_FORMAT_AAC_ADTS_HE_V1|AUDIO_FORMAT_AAC_ADTS_HE_V2 + sampling_rates 44100|48000 + bit_width 16 + app_type 69936 + } + compress_offload_24 { + flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING + formats AUDIO_FORMAT_PCM_24_BIT_OFFLOAD|AUDIO_FORMAT_FLAC|AUDIO_FORMAT_ALAC|AUDIO_FORMAT_APE|AUDIO_FORMAT_VORBIS + sampling_rates 44100|48000|96000|192000 + bit_width 24 + app_type 69940 + } +} diff --git a/audio/audio_platform_info_extcodec.xml b/audio/audio_platform_info_extcodec.xml new file mode 100644 index 0000000..fabe84a --- /dev/null +++ b/audio/audio_platform_info_extcodec.xml @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/audio/audio_policy.conf b/audio/audio_policy.conf new file mode 100644 index 0000000..f69cfa5 --- /dev/null +++ b/audio/audio_policy.conf @@ -0,0 +1,173 @@ +# Global configuration section: +# - lists input and output devices always present on the device +# as well as the output device selected by default. +# Devices are designated by a string that corresponds to the enum in audio.h +# - defines whether the speaker output path uses DRC +# "TRUE" means DRC is enabled, "FALSE" or omission means DRC isn't used. +global_configuration { + attached_output_devices AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_TELEPHONY_TX + default_output_device AUDIO_DEVICE_OUT_SPEAKER + attached_input_devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_BACK_MIC|AUDIO_DEVICE_IN_REMOTE_SUBMIX|AUDIO_DEVICE_IN_FM_TUNER|AUDIO_DEVICE_IN_VOICE_CALL|AUDIO_DEVICE_IN_TELEPHONY_RX + + speaker_drc_enabled TRUE +} + +# audio hardware module section: contains descriptors for all audio hw modules present on the +# device. Each hw module node is named after the corresponding hw module library base name. +# For instance, "primary" corresponds to audio.primary..so. +# The "primary" module is mandatory and must include at least one output with +# AUDIO_OUTPUT_FLAG_PRIMARY flag. +# Each module descriptor contains one or more output profile descriptors and zero or more +# input profile descriptors. Each profile lists all the parameters supported by a given output +# or input stream category. +# The "channel_masks", "formats", "devices" and "flags" are specified using strings corresponding +# to enums in audio.h and audio_policy.h. They are concatenated by use of "|" without space or "\n". + +audio_hw_modules { + primary { + outputs { + primary { + sampling_rates 44100|48000 + channel_masks AUDIO_CHANNEL_OUT_STEREO + formats AUDIO_FORMAT_PCM_16_BIT + devices AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_LINE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_AUX_DIGITAL|AUDIO_DEVICE_OUT_PROXY|AUDIO_DEVICE_OUT_FM + flags AUDIO_OUTPUT_FLAG_PRIMARY|AUDIO_OUTPUT_FLAG_FAST + } + raw { + sampling_rates 48000 + channel_masks AUDIO_CHANNEL_OUT_STEREO + formats AUDIO_FORMAT_PCM_16_BIT + devices AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_LINE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_AUX_DIGITAL|AUDIO_DEVICE_OUT_PROXY + flags AUDIO_OUTPUT_FLAG_FAST|AUDIO_OUTPUT_FLAG_RAW + } + deep_buffer { + sampling_rates 44100|48000 + channel_masks AUDIO_CHANNEL_OUT_STEREO + formats AUDIO_FORMAT_PCM_16_BIT + devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_LINE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_AUX_DIGITAL|AUDIO_DEVICE_OUT_PROXY + flags AUDIO_OUTPUT_FLAG_DEEP_BUFFER + } + multichannel { + sampling_rates 44100|48000 + channel_masks dynamic + formats AUDIO_FORMAT_PCM_16_BIT + devices AUDIO_DEVICE_OUT_AUX_DIGITAL|AUDIO_DEVICE_OUT_PROXY + flags AUDIO_OUTPUT_FLAG_DIRECT + } + direct_pcm { + sampling_rates 8000|11025|16000|22050|32000|44100|48000|64000|88200|96000|176400|192000 + channel_masks AUDIO_CHANNEL_OUT_MONO|AUDIO_CHANNEL_OUT_STEREO|AUDIO_CHANNEL_OUT_2POINT1|AUDIO_CHANNEL_OUT_QUAD|AUDIO_CHANNEL_OUT_PENTA|AUDIO_CHANNEL_OUT_5POINT1|AUDIO_CHANNEL_OUT_6POINT1|AUDIO_CHANNEL_OUT_7POINT1 + formats AUDIO_FORMAT_PCM_16_BIT + devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_LINE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_PROXY|AUDIO_DEVICE_OUT_AUX_DIGITAL + flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_DIRECT_PCM + } + compress_offload { + sampling_rates 8000|11025|12000|16000|22050|24000|32000|44100|48000|64000|88200|96000|176400|192000 + channel_masks AUDIO_CHANNEL_OUT_MONO|AUDIO_CHANNEL_OUT_STEREO|AUDIO_CHANNEL_OUT_2POINT1|AUDIO_CHANNEL_OUT_QUAD|AUDIO_CHANNEL_OUT_PENTA|AUDIO_CHANNEL_OUT_5POINT1|AUDIO_CHANNEL_OUT_6POINT1|AUDIO_CHANNEL_OUT_7POINT1 + formats AUDIO_FORMAT_MP3|AUDIO_FORMAT_AC3|AUDIO_FORMAT_E_AC3|AUDIO_FORMAT_PCM_16_BIT_OFFLOAD|AUDIO_FORMAT_PCM_24_BIT_OFFLOAD|AUDIO_FORMAT_FLAC|AUDIO_FORMAT_ALAC|AUDIO_FORMAT_APE|AUDIO_FORMAT_AAC_LC|AUDIO_FORMAT_AAC_HE_V1|AUDIO_FORMAT_AAC_HE_V2|AUDIO_FORMAT_WMA|AUDIO_FORMAT_WMA_PRO|AUDIO_FORMAT_VORBIS|AUDIO_FORMAT_AAC_ADTS_LC|AUDIO_FORMAT_AAC_ADTS_HE_V1|AUDIO_FORMAT_AAC_ADTS_HE_V2 + devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_LINE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_AUX_DIGITAL|AUDIO_DEVICE_OUT_PROXY + flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING + } + incall_music { + sampling_rates 8000|16000|48000 + channel_masks AUDIO_CHANNEL_OUT_MONO + formats AUDIO_FORMAT_PCM_16_BIT + devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_LINE|AUDIO_DEVICE_OUT_ALL_SCO + flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_INCALL_MUSIC + } + voice_tx { + sampling_rates 8000|16000|48000 + channel_masks AUDIO_CHANNEL_OUT_STEREO|AUDIO_CHANNEL_OUT_MONO + formats AUDIO_FORMAT_PCM_16_BIT + devices AUDIO_DEVICE_OUT_TELEPHONY_TX + } + voip_rx { + sampling_rates 8000|16000 + channel_masks AUDIO_CHANNEL_OUT_MONO + formats AUDIO_FORMAT_PCM_16_BIT + devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_LINE|AUDIO_DEVICE_OUT_ALL_SCO + flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_VOIP_RX + } + } + inputs { + primary { + sampling_rates 8000|11025|12000|16000|22050|24000|32000|44100|48000 + channel_masks AUDIO_CHANNEL_IN_MONO|AUDIO_CHANNEL_IN_STEREO|AUDIO_CHANNEL_IN_FRONT_BACK + formats AUDIO_FORMAT_PCM_16_BIT + devices AUDIO_DEVICE_IN_WIRED_HEADSET|AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET|AUDIO_DEVICE_IN_FM_TUNER|AUDIO_DEVICE_IN_VOICE_CALL + } + surround_sound { + sampling_rates 8000|11025|12000|16000|22050|24000|32000|44100|48000 + channel_masks AUDIO_CHANNEL_IN_MONO|AUDIO_CHANNEL_IN_STEREO|AUDIO_CHANNEL_IN_FRONT_BACK|AUDIO_CHANNEL_IN_5POINT1 + formats AUDIO_FORMAT_PCM_16_BIT + devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_BACK_MIC + } + voice_rx { + sampling_rates 8000|16000|48000 + channel_masks AUDIO_CHANNEL_IN_STEREO|AUDIO_CHANNEL_IN_MONO + formats AUDIO_FORMAT_PCM_16_BIT + devices AUDIO_DEVICE_IN_TELEPHONY_RX + } + } + } + a2dp { + outputs { + a2dp { + sampling_rates 44100 + channel_masks AUDIO_CHANNEL_OUT_STEREO + formats AUDIO_FORMAT_PCM_16_BIT + devices AUDIO_DEVICE_OUT_ALL_A2DP + } + } + inputs { + a2dp { + sampling_rates 44100|48000 + channel_masks AUDIO_CHANNEL_IN_MONO|AUDIO_CHANNEL_IN_STEREO + formats AUDIO_FORMAT_PCM_16_BIT + devices AUDIO_DEVICE_IN_BLUETOOTH_A2DP + } + } + } + usb { + outputs { + usb_accessory { + sampling_rates 44100 + channel_masks AUDIO_CHANNEL_OUT_STEREO + formats AUDIO_FORMAT_PCM_16_BIT + devices AUDIO_DEVICE_OUT_USB_ACCESSORY + } + usb_device { + sampling_rates dynamic + channel_masks dynamic + formats dynamic + devices AUDIO_DEVICE_OUT_USB_DEVICE + } + } + inputs { + usb_device { + sampling_rates dynamic + channel_masks AUDIO_CHANNEL_IN_STEREO + formats AUDIO_FORMAT_PCM_16_BIT + devices AUDIO_DEVICE_IN_USB_DEVICE + } + } + } + r_submix { + outputs { + submix { + sampling_rates 48000 + channel_masks AUDIO_CHANNEL_OUT_STEREO + formats AUDIO_FORMAT_PCM_16_BIT + devices AUDIO_DEVICE_OUT_REMOTE_SUBMIX + } + } + inputs { + submix { + sampling_rates 48000 + channel_masks AUDIO_CHANNEL_IN_STEREO + formats AUDIO_FORMAT_PCM_16_BIT + devices AUDIO_DEVICE_IN_REMOTE_SUBMIX + } + } + } +} diff --git a/audio/mixer_paths.xml b/audio/mixer_paths.xml new file mode 100644 index 0000000..e0885e9 --- /dev/null +++ b/audio/mixer_paths.xml @@ -0,0 +1,1099 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/audio/mixer_paths_mtp.xml b/audio/mixer_paths_mtp.xml new file mode 100644 index 0000000..5f8a229 --- /dev/null +++ b/audio/mixer_paths_mtp.xml @@ -0,0 +1,1260 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/audio/mixer_paths_qrd_sku1.xml b/audio/mixer_paths_qrd_sku1.xml new file mode 100644 index 0000000..ca12b96 --- /dev/null +++ b/audio/mixer_paths_qrd_sku1.xml @@ -0,0 +1,1195 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/audio/mixer_paths_qrd_sku2.xml b/audio/mixer_paths_qrd_sku2.xml new file mode 100644 index 0000000..b5f9528 --- /dev/null +++ b/audio/mixer_paths_qrd_sku2.xml @@ -0,0 +1,1164 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/audio/mixer_paths_qrd_skuh.xml b/audio/mixer_paths_qrd_skuh.xml new file mode 100644 index 0000000..49dc800 --- /dev/null +++ b/audio/mixer_paths_qrd_skuh.xml @@ -0,0 +1,828 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/audio/mixer_paths_qrd_skuhf.xml b/audio/mixer_paths_qrd_skuhf.xml new file mode 100644 index 0000000..eb78602 --- /dev/null +++ b/audio/mixer_paths_qrd_skuhf.xml @@ -0,0 +1,825 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/audio/mixer_paths_qrd_skui.xml b/audio/mixer_paths_qrd_skui.xml new file mode 100644 index 0000000..49dc800 --- /dev/null +++ b/audio/mixer_paths_qrd_skui.xml @@ -0,0 +1,828 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/audio/mixer_paths_qrd_skum.xml b/audio/mixer_paths_qrd_skum.xml new file mode 100644 index 0000000..876d910 --- /dev/null +++ b/audio/mixer_paths_qrd_skum.xml @@ -0,0 +1,931 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/audio/mixer_paths_qrd_skun.xml b/audio/mixer_paths_qrd_skun.xml new file mode 100644 index 0000000..7c45e29 --- /dev/null +++ b/audio/mixer_paths_qrd_skun.xml @@ -0,0 +1,2130 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/audio/mixer_paths_skuk.xml b/audio/mixer_paths_skuk.xml new file mode 100644 index 0000000..239c536 --- /dev/null +++ b/audio/mixer_paths_skuk.xml @@ -0,0 +1,821 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/audio/mixer_paths_wcd9306.xml b/audio/mixer_paths_wcd9306.xml new file mode 100644 index 0000000..213468c --- /dev/null +++ b/audio/mixer_paths_wcd9306.xml @@ -0,0 +1,1313 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/audio/mixer_paths_wcd9326.xml b/audio/mixer_paths_wcd9326.xml new file mode 100644 index 0000000..be3683a --- /dev/null +++ b/audio/mixer_paths_wcd9326.xml @@ -0,0 +1,2108 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/audio/mixer_paths_wcd9330.xml b/audio/mixer_paths_wcd9330.xml new file mode 100644 index 0000000..389324c --- /dev/null +++ b/audio/mixer_paths_wcd9330.xml @@ -0,0 +1,2085 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/audio/mixer_paths_wcd9335.xml b/audio/mixer_paths_wcd9335.xml new file mode 100644 index 0000000..e765a6e --- /dev/null +++ b/audio/mixer_paths_wcd9335.xml @@ -0,0 +1,2277 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/audio/sound_trigger_mixer_paths.xml b/audio/sound_trigger_mixer_paths.xml new file mode 100644 index 0000000..bbec875 --- /dev/null +++ b/audio/sound_trigger_mixer_paths.xml @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/audio/sound_trigger_mixer_paths_wcd9306.xml b/audio/sound_trigger_mixer_paths_wcd9306.xml new file mode 100644 index 0000000..f2e4cb1 --- /dev/null +++ b/audio/sound_trigger_mixer_paths_wcd9306.xml @@ -0,0 +1,103 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/audio/sound_trigger_mixer_paths_wcd9330.xml b/audio/sound_trigger_mixer_paths_wcd9330.xml new file mode 100644 index 0000000..15f0e06 --- /dev/null +++ b/audio/sound_trigger_mixer_paths_wcd9330.xml @@ -0,0 +1,90 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/audio/sound_trigger_mixer_paths_wcd9335.xml b/audio/sound_trigger_mixer_paths_wcd9335.xml new file mode 100644 index 0000000..aaf2981 --- /dev/null +++ b/audio/sound_trigger_mixer_paths_wcd9335.xml @@ -0,0 +1,106 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/audio/sound_trigger_platform_info.xml b/audio/sound_trigger_platform_info.xml new file mode 100644 index 0000000..846ea0e --- /dev/null +++ b/audio/sound_trigger_platform_info.xml @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/configs/Android.mk b/configs/Android.mk new file mode 100644 index 0000000..fabf635 --- /dev/null +++ b/configs/Android.mk @@ -0,0 +1,27 @@ +LOCAL_PATH:= $(call my-dir) + +# Qualcomm XML Files + +include $(CLEAR_VARS) +LOCAL_MODULE := dsi_config.xml +LOCAL_MODULE_TAGS := optional eng +LOCAL_MODULE_CLASS := ETC +LOCAL_SRC_FILES := data/dsi_config.xml +LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/data +include $(BUILD_PREBUILT) + +include $(CLEAR_VARS) +LOCAL_MODULE := netmgr_config.xml +LOCAL_MODULE_TAGS := optional eng +LOCAL_MODULE_CLASS := ETC +LOCAL_SRC_FILES := data/netmgr_config.xml +LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/data +include $(BUILD_PREBUILT) + +include $(CLEAR_VARS) +LOCAL_MODULE := qmi_config.xml +LOCAL_MODULE_TAGS := optional eng +LOCAL_MODULE_CLASS := ETC +LOCAL_SRC_FILES := data/qmi_config.xml +LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/data +include $(BUILD_PREBUILT) diff --git a/configs/data/dsi_config.xml b/configs/data/dsi_config.xml new file mode 100644 index 0000000..8ed481d --- /dev/null +++ b/configs/data/dsi_config.xml @@ -0,0 +1,614 @@ + + + + + + + + + 0 + 0 + rmnet0 + + 0 + rmnet0 + + 8 + + rmnet0 + rmnet1 + rmnet2 + rmnet3 + rmnet4 + rmnet5 + rmnet6 + rmnet7 + + + + rmnet0 + rmnet1 + rmnet2 + rmnet3 + rmnet4 + rmnet5 + rmnet6 + rmnet7 + + + + + + + 0 + 1 + rmnet_usb0 + + 0 + rmnet_usb0 + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + + rmnet_usb0 + rmnet_usb1 + rmnet_usb2 + rmnet_usb3 + rmnet_usb4 + rmnet_usb5 + rmnet_usb6 + rmnet_usb7 + + + + + + + 0 + 1 + rmnet_mhi0 + + 1 + rmnet_mhi0 + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + + + + + 1 + 1 + rmnet_ipa0 + + 1 + rmnet0 + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + + + + 1 + 1 + rmnet0 + + 1 + rmnet0 + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + + + + 1 + 1 + rmnet0 + + 1 + rmnet0 + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + + + + + 1 + 1 + rmnet_ipa0 + + 1 + rmnet0 + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + + + + 0 + 1 + 1 + rmnet_ipa0 + + 1 + rmnet0 + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + + + + + 1 + 1 + rmnet_ipa0 + + 1 + rmnet0 + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + + + + 1 + 1 + rmnet_ipa0 + + 1 + rmnet0 + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + + + + + + 1 + 1 + rmnet_ipa0 + + 1 + rmnet0 + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + + + + + 1 + 1 + rmnet_ipa0 + + 1 + rmnet0 + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + + + + 0 + 1 + rmnet_mhi0 + + 1 + rmnet_mhi0 + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + + + + 0 + 1 + 1 + rmnet_ipa0 + + 1 + rmnet0 + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + + + + 0 + 1 + rmnet_mhi0 + + 1 + rmnet_mhi0 + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + + + 0 + 1 + rmnet0 + + 1 + rmnet0 + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + + + 1 + 1 + rmnet0 + + 1 + rmnet0 + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + + + + + 1 + 1 + rmnet_ipa0 + + 1 + rmnet0 + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + + diff --git a/configs/data/netmgr_config.xml b/configs/data/netmgr_config.xml new file mode 100644 index 0000000..0f95ca0 --- /dev/null +++ b/configs/data/netmgr_config.xml @@ -0,0 +1,1473 @@ + + + + + + + + + 255 + 1 + /data/netmgr_cmd_log.txt + + + + + + 0 + 0 + + 0 + rmnet0 + SMDCTL0 + + 0 + 0 + 0 + 0 + 0 + 0 + 0 + rmnet0 + 0 + 0 + 0 + + 0 + + 2 + + 1 + 0 + + + 8 + + rmnet0 + rmnet1 + rmnet2 + rmnet3 + rmnet4 + rmnet5 + rmnet6 + rmnet7 + + + 8 + + rmnet0 + rmnet1 + rmnet2 + rmnet3 + rmnet4 + rmnet5 + rmnet6 + rmnet7 + + + 1 + 9 + + rev_rmnet0 + rev_rmnet1 + rev_rmnet2 + rev_rmnet3 + rev_rmnet4 + rev_rmnet5 + rev_rmnet6 + rev_rmnet7 + rev_rmnet8 + + + 9 + + rev_rmnet0 + rev_rmnet1 + rev_rmnet2 + rev_rmnet3 + rev_rmnet4 + rev_rmnet5 + rev_rmnet6 + rev_rmnet7 + rev_rmnet8 + + + + + + + 0 + 1 + + 0 + rmnet_usb0 + HSICTL0 + + 1 + 10 + 4096 + 0 + 0 + 5 + 5 + 0 + 0 + rmnet_usb0 + 0 + 0 + 0 + + 1 + + 2 + + 1 + 0 + + + 8 + + rmnet_usb0 + rmnet_usb1 + rmnet_usb2 + rmnet_usb3 + rmnet_usb4 + rmnet_usb5 + rmnet_usb6 + rmnet_usb7 + + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + 1 + 9 + + rev_rmnet_usb0 + rev_rmnet_usb1 + rev_rmnet_usb2 + rev_rmnet_usb3 + rev_rmnet_usb4 + rev_rmnet_usb5 + rev_rmnet_usb6 + rev_rmnet_usb7 + rev_rmnet_usb8 + + + 9 + + r_rmnet_data0 + r_rmnet_data1 + r_rmnet_data2 + r_rmnet_data3 + r_rmnet_data4 + r_rmnet_data5 + r_rmnet_data6 + r_rmnet_data7 + r_rmnet_data8 + + + + + + + 0 + 1 + 3 + + 1 + rmnet_mhi0 + MHICTL0 + + 1 + 1 + 2048 + 0 + 0 + 5 + 5 + 0 + 0 + rmnet_mhi0 + 1 + 0 + 9 + 0 + 1 + + 2 + + 1 + 0 + + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + 1 + 9 + + r_rmnet_data0 + r_rmnet_data1 + r_rmnet_data2 + r_rmnet_data3 + r_rmnet_data4 + r_rmnet_data5 + r_rmnet_data6 + r_rmnet_data7 + r_rmnet_data8 + + + 9 + + r_rmnet_data0 + r_rmnet_data1 + r_rmnet_data2 + r_rmnet_data3 + r_rmnet_data4 + r_rmnet_data5 + r_rmnet_data6 + r_rmnet_data7 + r_rmnet_data8 + + + + + + + 1 + 10000 + 1 + + 1 + rmnet0 + DATA5_CNTL + + 1 + 1 + 2048 + 0 + 0 + 7 + 5 + 0 + 0 + rmnet_ipa0 + 0 + 0 + 0 + 0 + 10000 + 55000000 + 2 + + 1 + 0 + + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + + 1 + 9 + + r_rmnet_data0 + r_rmnet_data1 + r_rmnet_data2 + r_rmnet_data3 + r_rmnet_data4 + r_rmnet_data5 + r_rmnet_data6 + r_rmnet_data7 + r_rmnet_data8 + + + 9 + + r_rmnet_data0 + r_rmnet_data1 + r_rmnet_data2 + r_rmnet_data3 + r_rmnet_data4 + r_rmnet_data5 + r_rmnet_data6 + r_rmnet_data7 + r_rmnet_data8 + + + + + + + 0 + 1 + + 1 + rmnet0 + DATA5_CNTL + 0 + 1 + 1 + 2048 + 0 + 0 + 5 + 5 + 0 + 0 + rmnet0 + 16 + 0 + 0 + 0 + 2 + + 1 + 0 + + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + 0 + 9 + + r_rmnet_data0 + r_rmnet_data1 + r_rmnet_data2 + r_rmnet_data3 + r_rmnet_data4 + r_rmnet_data5 + r_rmnet_data6 + r_rmnet_data7 + r_rmnet_data8 + + + 9 + + r_rmnet_data0 + r_rmnet_data1 + r_rmnet_data2 + r_rmnet_data3 + r_rmnet_data4 + r_rmnet_data5 + r_rmnet_data6 + r_rmnet_data7 + r_rmnet_data8 + + + + + + + 1 + 10000 + 1 + 5 + + 1 + rmnet0 + DATA5_CNTL + 65000000 + 1 + 1 + 2048 + 0 + 0 + rmnet0 + 5 + 5 + 0 + 0 + 2 + 9 + 1 + 0 + 2 + + 1 + 0 + + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + 0 + 9 + + r_rmnet_data0 + r_rmnet_data1 + r_rmnet_data2 + r_rmnet_data3 + r_rmnet_data4 + r_rmnet_data5 + r_rmnet_data6 + r_rmnet_data7 + r_rmnet_data8 + + + 9 + + r_rmnet_data0 + r_rmnet_data1 + r_rmnet_data2 + r_rmnet_data3 + r_rmnet_data4 + r_rmnet_data5 + r_rmnet_data6 + r_rmnet_data7 + r_rmnet_data8 + + + + + + + + 1 + 10000 + 1 + 5 + + 1 + rmnet0 + DATA5_CNTL + + 1 + 1 + 2048 + 0 + 0 + rmnet0 + 5 + 5 + 0 + 0 + 0 + 9 + 0 + 1 + 2 + + 1 + 0 + + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + + + + + 1 + 0 + 10000 + 1 + 5 + + 1 + rmnet0 + DATA5_CNTL + 65000000 + 24000 + + 1 + 1 + 2048 + 0 + 0 + rmnet0 + 5 + 5 + 1 + 0 + 16 + 9 + 0 + 1 + 2 + + 1 + 0 + + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + 0 + 9 + + r_rmnet_data0 + r_rmnet_data1 + r_rmnet_data2 + r_rmnet_data3 + r_rmnet_data4 + r_rmnet_data5 + r_rmnet_data6 + r_rmnet_data7 + r_rmnet_data8 + + + 9 + + r_rmnet_data0 + r_rmnet_data1 + r_rmnet_data2 + r_rmnet_data3 + r_rmnet_data4 + r_rmnet_data5 + r_rmnet_data6 + r_rmnet_data7 + r_rmnet_data8 + + + + + + + + 1 + 10000 + 1 + + 1 + rmnet0 + DATA5_CNTL + + 1 + 1 + 2048 + 0 + 0 + 7 + 5 + 0 + 0 + rmnet_ipa0 + 0 + 0 + 0 + 0 + 55000000 + 2 + + 1 + 0 + + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + + 1 + 9 + + r_rmnet_data0 + r_rmnet_data1 + r_rmnet_data2 + r_rmnet_data3 + r_rmnet_data4 + r_rmnet_data5 + r_rmnet_data6 + r_rmnet_data7 + r_rmnet_data8 + + + 9 + + r_rmnet_data0 + r_rmnet_data1 + r_rmnet_data2 + r_rmnet_data3 + r_rmnet_data4 + r_rmnet_data5 + r_rmnet_data6 + r_rmnet_data7 + r_rmnet_data8 + + + + + 1 + 1 + + 1 + rmnet0 + DATA5_CNTL + 0 + 1 + 1 + 2048 + 0 + 0 + rmnet_ipa0 + 5 + 5 + 0 + 0 + 0n + + 0 + + 300000 + 400000 + + 2 + + 1 + 0 + + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + + + + + 1 + 10000 + 1 + + 1 + rmnet0 + DATA5_CNTL + 0 + 1 + 1 + 2048 + 0 + 0 + 7 + 7 + 0 + 0 + rmnet_ipa0 + + 16 + 0 + 0 + 1 + 2 + + 1 + 0 + + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + + 1 + 9 + + r_rmnet_data0 + r_rmnet_data1 + r_rmnet_data2 + r_rmnet_data3 + r_rmnet_data4 + r_rmnet_data5 + r_rmnet_data6 + r_rmnet_data7 + r_rmnet_data8 + + + 9 + + r_rmnet_data0 + r_rmnet_data1 + r_rmnet_data2 + r_rmnet_data3 + r_rmnet_data4 + r_rmnet_data5 + r_rmnet_data6 + r_rmnet_data7 + r_rmnet_data8 + + + + + + 1 + 10000 + 1 + + 1 + rmnet0 + DATA5_CNTL + 0 + 1 + 10 + 8192 + 7 + 7 + 1 + 0 + rmnet_ipa0 + + 01 + 0 + 0 + + 2 + + 1 + 0 + + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + + 1 + 9 + + r_rmnet_data0 + r_rmnet_data1 + r_rmnet_data2 + r_rmnet_data3 + r_rmnet_data4 + r_rmnet_data5 + r_rmnet_data6 + r_rmnet_data7 + r_rmnet_data8 + + + 9 + + r_rmnet_data0 + r_rmnet_data1 + r_rmnet_data2 + r_rmnet_data3 + r_rmnet_data4 + r_rmnet_data5 + r_rmnet_data6 + r_rmnet_data7 + r_rmnet_data8 + + + + + + + 1 + 0 + 10000 + 1 + + 1 + rmnet0 + DATA5_CNTL + + 1 + 10 + 8192 + 0 + 0 + 7 + 7 + 1 + 0 + rmnet_ipa0 + + 16 + 0 + 0 + 0 + 1 + + 2 + + 1 + 0 + + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + + 1 + 9 + + r_rmnet_data0 + r_rmnet_data1 + r_rmnet_data2 + r_rmnet_data3 + r_rmnet_data4 + r_rmnet_data5 + r_rmnet_data6 + r_rmnet_data7 + r_rmnet_data8 + + + 9 + + r_rmnet_data0 + r_rmnet_data1 + r_rmnet_data2 + r_rmnet_data3 + r_rmnet_data4 + r_rmnet_data5 + r_rmnet_data6 + r_rmnet_data7 + r_rmnet_data8 + + + + + + + 1 + 0 + 10000 + 1 + + 1 + rmnet0 + DATA5_CNTL + 155000000 + 1 + 1 + 10 + 8192 + 0 + 0 + 8 + 8 + 1 + 0 + rmnet_ipa0 + + 2 + 15 + 0 + 0 + 1 + + 2 + + 1 + 0 + + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + + 1 + 9 + + r_rmnet_data0 + r_rmnet_data1 + r_rmnet_data2 + r_rmnet_data3 + r_rmnet_data4 + r_rmnet_data5 + r_rmnet_data6 + r_rmnet_data7 + r_rmnet_data8 + + + 9 + + r_rmnet_data0 + r_rmnet_data1 + r_rmnet_data2 + r_rmnet_data3 + r_rmnet_data4 + r_rmnet_data5 + r_rmnet_data6 + r_rmnet_data7 + r_rmnet_data8 + + + + + + + 1 + 0 + 10000 + 1 + 3 + + 1 + rmnet_mhi0 + MHICTL0 + + 1 + 32 + 16384 + 32 + 16384 + 5 + 5 + 0 + 0 + rmnet_mhi0 + 0 + 1 + 0 + 9 + 0 + + 2 + + 1 + 0 + + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + 1 + 9 + + r_rmnet_data0 + r_rmnet_data1 + r_rmnet_data2 + r_rmnet_data3 + r_rmnet_data4 + r_rmnet_data5 + r_rmnet_data6 + r_rmnet_data7 + r_rmnet_data8 + + + 9 + + r_rmnet_data0 + r_rmnet_data1 + r_rmnet_data2 + r_rmnet_data3 + r_rmnet_data4 + r_rmnet_data5 + r_rmnet_data6 + r_rmnet_data7 + r_rmnet_data8 + + + + + + 1 + 0 + 10000 + 1 + + 1 + rmnet0 + DATA5_CNTL + + 1 + 1 + 2048 + 0 + 0 + rmnet_ipa0 + 5 + 5 + 0 + 0 + 0 + 0 + + 0 + + 300000 + 400000 + + 2 + + 1 + 0 + + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + + + + + 1 + 0 + 10000 + 1 + 3 + + 1 + rmnet_mhi0 + MHICTL0 + + 1 + 32 + 16384 + 32 + 16384 + 5 + 5 + 0 + 0 + rmnet_mhi0 + 0 + 0 + 0 + 0 + 0 + + 2 + + 1 + 0 + + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + 1 + 9 + + r_rmnet_data0 + r_rmnet_data1 + r_rmnet_data2 + r_rmnet_data3 + r_rmnet_data4 + r_rmnet_data5 + r_rmnet_data6 + r_rmnet_data7 + r_rmnet_data8 + + + 9 + + r_rmnet_data0 + r_rmnet_data1 + r_rmnet_data2 + r_rmnet_data3 + r_rmnet_data4 + r_rmnet_data5 + r_rmnet_data6 + r_rmnet_data7 + r_rmnet_data8 + + + + + + + 1 + 0 + 10000 + 1 + + 1 + rmnet0 + DATA5_CNTL + + 1 + 10 + 8192 + 0 + 0 + 8 + 8 + 1 + 0 + rmnet_ipa0 + + 2 + 15 + 0 + 0 + 1 + + 2 + + 1 + 0 + + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + 8 + + rmnet_data0 + rmnet_data1 + rmnet_data2 + rmnet_data3 + rmnet_data4 + rmnet_data5 + rmnet_data6 + rmnet_data7 + + + + 1 + 9 + + r_rmnet_data0 + r_rmnet_data1 + r_rmnet_data2 + r_rmnet_data3 + r_rmnet_data4 + r_rmnet_data5 + r_rmnet_data6 + r_rmnet_data7 + r_rmnet_data8 + + + 9 + + r_rmnet_data0 + r_rmnet_data1 + r_rmnet_data2 + r_rmnet_data3 + r_rmnet_data4 + r_rmnet_data5 + r_rmnet_data6 + r_rmnet_data7 + r_rmnet_data8 + + + diff --git a/configs/data/qmi_config.xml b/configs/data/qmi_config.xml new file mode 100644 index 0000000..1e32910 --- /dev/null +++ b/configs/data/qmi_config.xml @@ -0,0 +1,627 @@ + + + + + + + + + + 1 + 2 + + + QMI_PORT_RMNET_MHI_0 + QMI_PORT_RMNET_MHI_1 + + + + QMI_CONN_ID_RMNET_MHI_0 + QMI_CONN_ID_RMNET_MHI_1 + + + + /dev/mhi_pipe_14 + /dev/mhi_pipe_16 + + + + /tmp/data/mhi_pipe_14 + /tmp/data/mhi_pipe_16 + + + + MHICTL0 + MHICTL1 + + + + LINUX_QMI_TRANSPORT_MHI + LINUX_QMI_TRANSPORT_MHI + + + + 1 + 1 + + + + 1 + 0 + + + + + + + 1 + 2 + + + QMI_PORT_RMNET_MHI_0 + QMI_PORT_RMNET_MHI_1 + + + + QMI_CONN_ID_RMNET_MHI_0 + QMI_CONN_ID_RMNET_MHI_1 + + + + /dev/mhi_pipe_14 + /dev/mhi_pipe_16 + + + + MHICTL0 + MHICTL1 + + + + LINUX_QMI_TRANSPORT_MHI + LINUX_QMI_TRANSPORT_MHI + + + + 1 + 1 + + + + 1 + 0 + + + + + + + 1 + 1 + 1 + 1 + + + QMI_PORT_RMNET_IPA_0 + + + + QMI_CONN_ID_RMNET_0 + QMI_CONN_ID_RMNET_8 + + + + /dev/smdcntl0 + /dev/smdcntl8 + + + + /tmp/data/smdcntl0 + /tmp/data/smdcntl8 + + + + DATA5_CNTL + DATA14_CNTL + + + + LINUX_QMI_TRANSPORT_SMD + LINUX_QMI_TRANSPORT_SMD + + + + 1 + 1 + + + + 1 + + + + + + + 1 + 1 + 1 + 2 + + + QMI_PORT_RMNET_0 + QMI_PORT_RMNET_8 + + + + QMI_CONN_ID_RMNET_0 + QMI_CONN_ID_RMNET_8 + + + + /dev/smdcntl0 + /dev/smdcntl8 + + + + DATA5_CNTL + DATA40_CNTL + + + + LINUX_QMI_TRANSPORT_BAM + LINUX_QMI_TRANSPORT_BAM + + + + 1 + 1 + + + + 1 + 0 + + + + + + + 1 + 1 + 1 + 2 + + + QMI_PORT_RMNET_0 + QMI_PORT_RMNET_8 + + + + QMI_CONN_ID_RMNET_0 + QMI_CONN_ID_RMNET_8 + + + + /dev/smdcntl0 + /dev/smdcntl8 + + + + /tmp/data/smdcntl0 + /tmp/data/smdcntl8 + + + + DATA5_CNTL + DATA40_CNTL + + + + LINUX_QMI_TRANSPORT_SMD + LINUX_QMI_TRANSPORT_SMD + + + + 1 + 1 + + + + 1 + 0 + + + + + + + + 1 + 1 + 1 + 2 + + + QMI_PORT_RMNET_0 + QMI_PORT_RMNET_8 + + + + QMI_CONN_ID_RMNET_0 + QMI_CONN_ID_RMNET_8 + + + + /dev/smdcntl0 + /dev/smdcntl8 + + + + /tmp/data/smdcntl0 + /tmp/data/smdcntl8 + + + + DATA5_CNTL + DATA40_CNTL + + + + LINUX_QMI_TRANSPORT_SMD + LINUX_QMI_TRANSPORT_SMD + + + + 1 + 1 + + + + 1 + 0 + + + + + + + + 1 + 2 + 1 + 0 + + + QMI_PORT_RMNET_0 + QMI_PORT_RMNET_8 + + + + QMI_CONN_ID_RMNET_0 + QMI_CONN_ID_RMNET_8 + + + + /dev/smdcntl0 + /dev/smdcntl8 + + + + /tmp/data/smdcntl0 + /tmp/data/smdcntl8 + + + + DATA5_CNTL + DATA40_CNTL + + + + LINUX_QMI_TRANSPORT_SMD + LINUX_QMI_TRANSPORT_SMD + + + + 1 + 1 + + + + 1 + 0 + + + + + + + + + 1 + 2 + 1 + 0 + + + QMI_PORT_RMNET_0 + QMI_PORT_RMNET_8 + + + + QMI_CONN_ID_RMNET_0 + QMI_CONN_ID_RMNET_8 + + + + /dev/smdcntl0 + /dev/smdcntl8 + + + + /tmp/data/smdcntl0 + /tmp/data/smdcntl8 + + + + DATA5_CNTL + DATA40_CNTL + + + + LINUX_QMI_TRANSPORT_SMD + LINUX_QMI_TRANSPORT_SMD + + + + 1 + 1 + + + + 1 + 0 + + + + + + + + 1 + 1 + 1 + 2 + + + QMI_PORT_RMNET_0 + QMI_PORT_RMNET_8 + + + + QMI_CONN_ID_RMNET_0 + QMI_CONN_ID_RMNET_8 + + + + /dev/smdcntl0 + /dev/smdcntl8 + + + + /tmp/data/smdcntl0 + /tmp/data/smdcntl8 + + + + DATA5_CNTL + DATA40_CNTL + + + + LINUX_QMI_TRANSPORT_SMD + LINUX_QMI_TRANSPORT_SMD + + + + 1 + 1 + + + + 1 + 0 + + + + + + + + 1 + 1 + 0 + 2 + + + QMI_PORT_RMNET_0 + QMI_PORT_RMNET_8 + + + + QMI_CONN_ID_RMNET_0 + QMI_CONN_ID_RMNET_8 + + + + /dev/smdcntl0 + /dev/smdcntl8 + + + + /tmp/data/smdcntl0 + /tmp/data/smdcntl8 + + + + DATA5_CNTL + DATA40_CNTL + + + + LINUX_QMI_TRANSPORT_SMD + LINUX_QMI_TRANSPORT_SMD + + + + 1 + 1 + + + + 1 + 0 + + + + + + + + 1 + 1 + 0 + 2 + + + QMI_PORT_RMNET_0 + QMI_PORT_RMNET_8 + + + + QMI_CONN_ID_RMNET_0 + QMI_CONN_ID_RMNET_8 + + + + /dev/smdcntl0 + /dev/smdcntl8 + + + + DATA5_CNTL + DATA40_CNTL + + + + LINUX_QMI_TRANSPORT_BAM + LINUX_QMI_TRANSPORT_BAM + + + + 1 + 1 + + + + 1 + 0 + + + + + + 1 + 2 + + + QMI_PORT_RMNET_MHI_0 + QMI_PORT_RMNET_MHI_1 + + + + QMI_CONN_ID_RMNET_MHI_0 + QMI_CONN_ID_RMNET_MHI_1 + + + + /dev/mhi_pipe_14 + /dev/mhi_pipe_16 + + + + MHICTL0 + MHICTL1 + + + + LINUX_QMI_TRANSPORT_MHI + LINUX_QMI_TRANSPORT_MHI + + + + 1 + 1 + + + + 1 + 0 + + + + + + + 1 + 2 + 1 + 0 + + + QMI_PORT_RMNET_0 + QMI_PORT_RMNET_8 + + + + QMI_CONN_ID_RMNET_0 + QMI_CONN_ID_RMNET_8 + + + + /dev/smdcntl0 + /dev/smdcntl8 + + + + /tmp/data/smdcntl0 + /tmp/data/smdcntl8 + + + + DATA5_CNTL + DATA40_CNTL + + + + LINUX_QMI_TRANSPORT_SMD + LINUX_QMI_TRANSPORT_SMD + + + + 1 + 1 + + + + 1 + 0 + + + + + diff --git a/configs/media_codecs_performance.xml b/configs/media_codecs_performance.xml new file mode 100644 index 0000000..105b16b --- /dev/null +++ b/configs/media_codecs_performance.xml @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/configs/media_profiles.xml b/configs/media_profiles.xml new file mode 100644 index 0000000..e48043e --- /dev/null +++ b/configs/media_profiles.xml @@ -0,0 +1,698 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/configs/sec_config b/configs/sec_config new file mode 100644 index 0000000..2a401f7 --- /dev/null +++ b/configs/sec_config @@ -0,0 +1,311 @@ +/* IPC Security Config */ +/* :: */ +16:4294967295:1000:3004 +/* :: */ +56:4294967295:1021:3004 +/* Allow SS CTL service to be used by system and net_raw processes */ +43:4294967295:1000:3004 +/* :: */ +50:4294967295:1001 +/* QMI-SLIM service permitted to gps and net_raw */ +55:4294967295:1021:3004 +/* Allow Sensor services to be used by sensor process */ +256:4294967295:3011 +257:4294967295:3011 +258:4294967295:3011 +259:4294967295:3011 +260:4294967295:3011 +261:4294967295:3011 +262:4294967295:3011 +263:4294967295:3011 +264:4294967295:3011 +265:4294967295:3011 +266:4294967295:3011 +267:4294967295:3011 +268:4294967295:3011 +269:4294967295:3011 +270:4294967295:3011 +271:4294967295:3011 +272:4294967295:3011 +273:4294967295:3011 +274:4294967295:3011 +275:4294967295:3011 +276:4294967295:3011 +277:4294967295:3011 +278:4294967295:3011 +279:4294967295:3011 +280:4294967295:3011 +281:4294967295:3011 +282:4294967295:3011 +283:4294967295:3011 +284:4294967295:3011 +285:4294967295:3011 +286:4294967295:3011 +287:4294967295:3011 +288:4294967295:3011 +289:4294967295:3011 +290:4294967295:3011 +291:4294967295:3011 +292:4294967295:3011 +293:4294967295:3011 +294:4294967295:3011 +295:4294967295:3011 +296:4294967295:3011 +297:4294967295:3011 +298:4294967295:3011 +299:4294967295:3011 +300:4294967295:3011 +301:4294967295:3011 +302:4294967295:3011 +303:4294967295:3011 +304:4294967295:3011 +305:4294967295:3011 +306:4294967295:3011 +307:4294967295:3011 +308:4294967295:3011 +309:4294967295:3011 +310:4294967295:3011 +311:4294967295:3011 +312:4294967295:3011 +313:4294967295:3011 +314:4294967295:3011 +315:4294967295:3011 +316:4294967295:3011 +317:4294967295:3011 +318:4294967295:3011 +319:4294967295:3011 +320:4294967295:3011 +321:4294967295:3011 +322:4294967295:3011 +323:4294967295:3011 +324:4294967295:3011 +325:4294967295:3011 +326:4294967295:3011 +327:4294967295:3011 +328:4294967295:3011 +329:4294967295:3011 +330:4294967295:3011 +331:4294967295:3011 +332:4294967295:3011 +333:4294967295:3011 +334:4294967295:3011 +335:4294967295:3011 +336:4294967295:3011 +337:4294967295:3011 +338:4294967295:3011 +339:4294967295:3011 +340:4294967295:3011 +341:4294967295:3011 +342:4294967295:3011 +343:4294967295:3011 +344:4294967295:3011 +345:4294967295:3011 +346:4294967295:3011 +347:4294967295:3011 +348:4294967295:3011 +349:4294967295:3011 +350:4294967295:3011 +351:4294967295:3011 +352:4294967295:3011 +353:4294967295:3011 +354:4294967295:3011 +355:4294967295:3011 +356:4294967295:3011 +357:4294967295:3011 +358:4294967295:3011 +359:4294967295:3011 +360:4294967295:3011 +361:4294967295:3011 +362:4294967295:3011 +363:4294967295:3011 +364:4294967295:3011 +365:4294967295:3011 +366:4294967295:3011 +367:4294967295:3011 +368:4294967295:3011 +369:4294967295:3011 +370:4294967295:3011 +371:4294967295:3011 +372:4294967295:3011 +373:4294967295:3011 +374:4294967295:3011 +375:4294967295:3011 +376:4294967295:3011 +377:4294967295:3011 +378:4294967295:3011 +379:4294967295:3011 +380:4294967295:3011 +381:4294967295:3011 +382:4294967295:3011 +383:4294967295:3011 +384:4294967295:3011 +385:4294967295:3011 +386:4294967295:3011 +387:4294967295:3011 +388:4294967295:3011 +389:4294967295:3011 +390:4294967295:3011 +391:4294967295:3011 +392:4294967295:3011 +393:4294967295:3011 +394:4294967295:3011 +395:4294967295:3011 +396:4294967295:3011 +397:4294967295:3011 +398:4294967295:3011 +399:4294967295:3011 +400:4294967295:3011 +401:4294967295:3011 +402:4294967295:3011 +403:4294967295:3011 +404:4294967295:3011 +405:4294967295:3011 +406:4294967295:3011 +407:4294967295:3011 +408:4294967295:3011 +409:4294967295:3011 +410:4294967295:3011 +411:4294967295:3011 +412:4294967295:3011 +413:4294967295:3011 +414:4294967295:3011 +415:4294967295:3011 +416:4294967295:3011 +417:4294967295:3011 +418:4294967295:3011 +419:4294967295:3011 +420:4294967295:3011 +421:4294967295:3011 +422:4294967295:3011 +423:4294967295:3011 +424:4294967295:3011 +425:4294967295:3011 +426:4294967295:3011 +427:4294967295:3011 +428:4294967295:3011 +429:4294967295:3011 +430:4294967295:3011 +431:4294967295:3011 +432:4294967295:3011 +433:4294967295:3011 +434:4294967295:3011 +435:4294967295:3011 +436:4294967295:3011 +437:4294967295:3011 +438:4294967295:3011 +439:4294967295:3011 +440:4294967295:3011 +441:4294967295:3011 +442:4294967295:3011 +443:4294967295:3011 +444:4294967295:3011 +445:4294967295:3011 +446:4294967295:3011 +447:4294967295:3011 +448:4294967295:3011 +449:4294967295:3011 +450:4294967295:3011 +451:4294967295:3011 +452:4294967295:3011 +453:4294967295:3011 +454:4294967295:3011 +455:4294967295:3011 +456:4294967295:3011 +457:4294967295:3011 +458:4294967295:3011 +459:4294967295:3011 +460:4294967295:3011 +461:4294967295:3011 +462:4294967295:3011 +463:4294967295:3011 +464:4294967295:3011 +465:4294967295:3011 +466:4294967295:3011 +467:4294967295:3011 +468:4294967295:3011 +469:4294967295:3011 +470:4294967295:3011 +471:4294967295:3011 +472:4294967295:3011 +473:4294967295:3011 +474:4294967295:3011 +475:4294967295:3011 +476:4294967295:3011 +477:4294967295:3011 +478:4294967295:3011 +479:4294967295:3011 +480:4294967295:3011 +481:4294967295:3011 +482:4294967295:3011 +483:4294967295:3011 +484:4294967295:3011 +485:4294967295:3011 +486:4294967295:3011 +487:4294967295:3011 +488:4294967295:3011 +489:4294967295:3011 +490:4294967295:3011 +491:4294967295:3011 +492:4294967295:3011 +493:4294967295:3011 +494:4294967295:3011 +495:4294967295:3011 +496:4294967295:3011 +497:4294967295:3011 +498:4294967295:3011 +499:4294967295:3011 +500:4294967295:3011 +501:4294967295:3011 +502:4294967295:3011 +503:4294967295:3011 +504:4294967295:3011 +505:4294967295:3011 +506:4294967295:3011 +507:4294967295:3011 +508:4294967295:3011 +509:4294967295:3011 +510:4294967295:3011 +511:4294967295:3011 +/* Allow RCS service to aquire net_raw permission */ +18:4294967295:1001:3004 +/* Allow QMID service to aquire net_raw permission */ +3:4294967295:1001:3004 +2:4294967295:1001:3004 +42:4294967295:1001:3004 +18:4294967295:1001:3004 +9:4294967295:1001:3004 +1:4294967295:1001:3004:1000 +4:4294967295:1001:3004 +7:4294967295:1001:3004 +8:4294967295:1001:3004:1000 +68:4294967295:1001:3004 +/* DPM */ +47:4294967295:1001:3004 +/* Allow communication to some QMI services with radio privilages */ +/* Format is :: */ +/* PBM */ +12:4294967295:1001 +/* WMS */ +5:4294967295:1001 +/* IMS VT */ +32:4294967295:1001 +/* IMSP */ +31:4294967295:1001 +/* PDC */ +36:4294967295:1001 +/* SAR */ +17:4294967295:1001 +/* RFRPE */ +41:4294967295:1001 +/*UIM*/ +11:4294967295:1001 +/*CAT*/ +10:4294967295:1001 +/*IMSA*/ +33:4294967295:1001 +/* CSVT */ +29:4294967295:1001 +/* Allow Data dpmd to access QMI DFS */ +48:4294967295:1000:3004 +/* DIAG */ +4097:4294967295:3009 diff --git a/configs/sensors/hals.conf b/configs/sensors/hals.conf new file mode 100644 index 0000000..5f3a14b --- /dev/null +++ b/configs/sensors/hals.conf @@ -0,0 +1 @@ +sensors.ssc.so diff --git a/configs/sensors/sensor_def_qcomdev.conf b/configs/sensors/sensor_def_qcomdev.conf new file mode 100644 index 0000000..a839d68 --- /dev/null +++ b/configs/sensors/sensor_def_qcomdev.conf @@ -0,0 +1,4153 @@ +# +# File: sensor_def_qcomdev.conf +# +# Tihs file contains default sensor registry values for Qualcomm development +# test platforms. +# +# Copyright (c) 2013-2016 Qualcomm Technologies, Inc. +# All Rights Reserved. +# Confidential and Proprietary - Qualcomm Technologies, Inc. + + +# File format: +# +# Lines starting with "#" are comments and ignored. +# +# File metadata uses this format: +# :key value1 value2 +# +# The following keys are defined: +# - "version" : value1 is non-zero positive version number of the file. This +# number will be stored in the sensors registry. It should be equal to the +# largest version of any item. It will be saved in the sensors registry for +# later use when initializing values. See the item format below. +# This value should only be specified once in the file. +# +# - "hardware" : The value1 will be compared to the "Hardware" string from +# the property of ro.board.platform. +# Items will only be used as default values in the registry if the hardware +# string value is a substring of the ro.board.platform string. +# This metadata key can be used more than once, so that one file can support +# more than one type of hardware. +# The value may be NULL, indicating common item values for all hardware. +# Common conf entries for multiple hardware can be mentioned as below. +# configuration below this string is common for 8952,8956 and 8974 +# :hardware 8952 8956 8974 +# hardware list gets overwritten with the new one every time when "hardware" +# tag appears while parsing conf file. +# +# - "platform" : Similar to the "hardware" key, but this string will need to +# match the text of either /sys/devices/soc0/hw_platform or +# /sys/devices/soc0/platform_subtype. +# Common conf entries for multiple platform can be mentioned as below. +# configuration below this string is common for MTP and QRD +# :platfrom MTP QRD +# platform list gets overwritten with the new one every time when "platfrom" +# tag appears while parsing conf file. +# +# +# - "soc_id" : Similar to the "hardware" key, but this string will need to +# match the text of /sys/devices/soc0/soc_id. +# Common conf entries for multiple soc_id can be mentioned as below. +# configuration below this string is common for soc_id 264 and 278 +# :soc_id 264 278 +# soc_id list gets overwritten with the new one every time when "soc_id" +# tag appears while parsing conf file. +# +# - "subtype" : Similar to the "hardware" key, but this string will need to +# match the text of /sys/devices/soc0/platform_subtype. +# Common conf entries for multiple subtype can be mentioned as below. +# configuration below this string is common for subtype X and Y +# :subtype X Y +# subtype list gets overwritten with the new one every time when "subtype" +# 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. +# configuration below this string is common for soc_rev 1.0,2.0 and 3.0 +# :soc_rev 1.0 2.0 3.0 +# soc_rev list gets overwritten with the new one every time when "soc_rev" +# tag appears while parsing conf file. +# +# - "plat_ver" : Similar to the "hardware" key, but this string will need to +# match the text of /sys/devices/soc0/platform_version. +# Common conf entries for multiple plat_ver can be mentioned as below. +# configuration below this string is common for plat_ver 131072 and 1179648 +# :plat_ver 131072 1179648 +# plat_ver list gets overwritten with the new one every time when "plat_ver" +# tag appears while parsing conf file. +# +# - "property" : value1 is the Android system property key, and value2 is +# the desired property value. If the system property value matches the +# desired property value, then the following items will be applied. +# This metadata key can be used more than once, in which case the new +# property value overrides the old. +# value1 and 2 may be NULL, indicating common item values for all properties. +# +# Registry items are in lines with the following format: +# +# Where: +# itemID is the numeric item ID defined in sns_reg_api_v02.h +# +# "value" is the numeric value of the item. +# +# "version" is a non-zero version of the item value. +# The version field will be compared against the previous saved +# value in the sensors registry. If this value is greater than the +# saved value, the default will be applied. Otherwise, the default +# will be skipped. +# +# Registry item values will only be applied if the hardware, platform, and +# property values match for the current hardware configuration. +# +# The numeric fields are parsed with the strtoull function, base 0. +# + +:version 0x00010001 + +####################################################################### +### 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 +####################################################################### +:hardware 8937 +: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 #mag-x-axis +901 -2 0x00010001 #mag-y-axis +902 -3 0x00010001 #mag-z-axis +# SSI SMGR Version +1900 0 0x00010001 #Maj Ver +1901 1 0x00010001 #Min Ver + +2000 1 0x00010001 # set to 1 to enable +2001 2 0x00010001 # number of accel sensors + +2100 1 0x00010001 # set to 1 to enable +2101 2 0x00010001 # number of gyro sensors + +2200 1 0x00010001 # set to 1 to enable +2201 2 0x00010001 # number of mag sensors + +2300 1 0x00010001 # set to 1 to enable +2301 2 0x00010001 # 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 +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 + +# 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 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 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 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 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 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 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 Version +3600 1 0x00010001 #Maj Ver +3601 2 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 59 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 32768 0x00010001 #luxCorrection +120 20 0x00010001 #als_thresh_high +121 20 0x00010001 #als_thresh_low + +: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 +####################################################################### +:soc_id 303 +# 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 + +: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 + +: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 + diff --git a/product/media.mk b/product/media.mk index e254f0d..ace6a34 100644 --- a/product/media.mk +++ b/product/media.mk @@ -1,6 +1,8 @@ # Media PRODUCT_COPY_FILES += \ - $(DEVICE_PATH)/configs/media_codecs.xml:system/etc/media_codecs.xml + $(DEVICE_PATH)/configs/media_codecs.xml:system/etc/media_codecs.xml \ + $(DEVICE_PATH)/configs/media_codecs_performance.xml:system/etc/media_codecs_performance.xml \ + $(DEVICE_PATH)/configs/media_profiles.xml:system/etc/media_profiles.xml PRODUCT_COPY_FILES += \ frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:system/etc/media_codecs_google_audio.xml \ diff --git a/product/qcom-audio.mk b/product/qcom-audio.mk index 41b53dc..638508f 100644 --- a/product/qcom-audio.mk +++ b/product/qcom-audio.mk @@ -1,6 +1,30 @@ -# Audio +# Audio configuration PRODUCT_COPY_FILES += \ - $(LOCAL_PATH)/audio/audio_platform_info.xml:system/etc/audio_platform_info.xml + $(DEVICE_PATH)/audio/aanc_tuning_mixer.txt:system/etc/aanc_tuning_mixer.txt \ + $(DEVICE_PATH)/audio/audio_effects.conf:system/vendor/etc/audio_effects.conf \ + $(DEVICE_PATH)/audio/audio_output_policy.conf:system/vendor/etc/audio_output_policy.conf \ + $(DEVICE_PATH)/audio/audio_platform_info_extcodec.xml:system/etc/audio_platform_info_extcodec.xml \ + $(DEVICE_PATH)/audio/audio_platform_info.xml:system/etc/audio_platform_info.xml \ + $(DEVICE_PATH)/audio/audio_policy.conf:system/etc/audio_policy.conf \ + $(DEVICE_PATH)/audio/mixer_paths_mtp.xml:system/etc/mixer_paths_mtp.xml \ + $(DEVICE_PATH)/audio/mixer_paths_qrd_sku1.xml:system/etc/mixer_paths_qrd_sku1.xml \ + $(DEVICE_PATH)/audio/mixer_paths_qrd_sku2.xml:system/etc/mixer_paths_qrd_sku2.xml \ + $(DEVICE_PATH)/audio/mixer_paths_qrd_skuhf.xml:system/etc/mixer_paths_qrd_skuhf.xml \ + $(DEVICE_PATH)/audio/mixer_paths_qrd_skuh.xml:system/etc/mixer_paths_qrd_skuh.xml \ + $(DEVICE_PATH)/audio/mixer_paths_qrd_skui.xml:system/etc/mixer_paths_qrd_skui.xml \ + $(DEVICE_PATH)/audio/mixer_paths_qrd_skum.xml:system/etc/mixer_paths_qrd_skum.xml \ + $(DEVICE_PATH)/audio/mixer_paths_qrd_skun.xml:system/etc/mixer_paths_qrd_skun.xml \ + $(DEVICE_PATH)/audio/mixer_paths_skuk.xml:system/etc/mixer_paths_skuk.xml \ + $(DEVICE_PATH)/audio/mixer_paths_wcd9306.xml:system/etc/mixer_paths_wcd9306.xml \ + $(DEVICE_PATH)/audio/mixer_paths_wcd9326.xml:system/etc/mixer_paths_wcd9326.xml \ + $(DEVICE_PATH)/audio/mixer_paths_wcd9330.xml:system/etc/mixer_paths_wcd9330.xml \ + $(DEVICE_PATH)/audio/mixer_paths_wcd9335.xml:system/etc/mixer_paths_wcd9335.xml \ + $(DEVICE_PATH)/audio/mixer_paths.xml:system/etc/mixer_paths.xml \ + $(DEVICE_PATH)/audio/sound_trigger_mixer_paths_wcd9306.xml:system/etc/sound_trigger_mixer_paths_wcd9306.xml \ + $(DEVICE_PATH)/audio/sound_trigger_mixer_paths_wcd9330.xml:system/etc/sound_trigger_mixer_paths_wcd9330.xml \ + $(DEVICE_PATH)/audio/sound_trigger_mixer_paths_wcd9335.xml:system/etc/sound_trigger_mixer_paths_wcd9335.xml \ + $(DEVICE_PATH)/audio/sound_trigger_mixer_paths.xml:system/etc/sound_trigger_mixer_paths.xml \ + $(DEVICE_PATH)/audio/sound_trigger_platform_info.xml:system/etc/sound_trigger_platform_info.xml PRODUCT_PACKAGES += \ audiod \ diff --git a/product/qcom-radio.mk b/product/qcom-radio.mk index 21d668a..d6333fd 100644 --- a/product/qcom-radio.mk +++ b/product/qcom-radio.mk @@ -1,9 +1,22 @@ +# IRSC +PRODUCT_COPY_FILES += \ + $(DEVICE_PATH)/configs/sec_config:system/etc/sec_config + # Permissions PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml \ frameworks/native/data/etc/android.hardware.telephony.cdma.xml:system/etc/permissions/android.hardware.telephony.cdma.xml \ frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml +# QMI +PRODUCT_PACKAGES += \ + dsi_config.xml \ + netmgr_config.xml \ + qmi_config.xml + +PRODUCT_PACKAGES += \ + libjson + # Properties PRODUCT_PROPERTY_OVERRIDES += \ DEVICE_PROVISIONED=1 \ diff --git a/product/qcom-thermal.mk b/product/qcom-thermal.mk index df78f04..0b32e1a 100644 --- a/product/qcom-thermal.mk +++ b/product/qcom-thermal.mk @@ -1,3 +1,3 @@ # Thermal PRODUCT_COPY_FILES += \ - $(LOCAL_PATH)/configs/thermal-engine.conf:system/etc/thermal-engine.conf + $(DEVICE_PATH)/configs/thermal-engine.conf:system/etc/thermal-engine.conf diff --git a/product/sensors.mk b/product/sensors.mk index 30e414b..d6cd2a2 100644 --- a/product/sensors.mk +++ b/product/sensors.mk @@ -12,3 +12,7 @@ PRODUCT_COPY_FILES += \ # Sensors PRODUCT_PACKAGES += \ sensors.msm8937 + +PRODUCT_COPY_FILES += \ + $(DEVICE_PATH)/configs/sensors/hals.conf:system/etc/sensors/hals.conf \ + $(DEVICE_PATH)/configs/sensors/sensor_def_qcomdev.conf:system/etc/sensors/sensor_def_qcomdev.conf