sanders: Initial device tree
Signed-off-by: Jorge Lucas <jorgelucas@pixelexperience.org>
This commit is contained in:
61
configs/audio/audio_effects.xml
Normal file
61
configs/audio/audio_effects.xml
Normal file
@@ -0,0 +1,61 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<audio_effects_conf version="2.0" xmlns="http://schemas.android.com/audio/audio_effects_conf/v2_0">
|
||||
<libraries>
|
||||
<library name="bundle" path="libbundlewrapper.so"/>
|
||||
<library name="reverb" path="libreverbwrapper.so"/>
|
||||
<library name="visualizer_sw" path="libvisualizer.so"/>
|
||||
<library name="visualizer_hw" path="libqcomvisualizer.so"/>
|
||||
<library name="downmix" path="libdownmix.so"/>
|
||||
<library name="dynamics_processing" path="libdynproc.so"/>
|
||||
<library name="loudness_enhancer" path="libldnhncr.so"/>
|
||||
<library name="proxy" path="libeffectproxy.so"/>
|
||||
<library name="offload_bundle" path="libqcompostprocbundle.so"/>
|
||||
<library name="audio_pre_processing" path="libqcomvoiceprocessing.so"/>
|
||||
</libraries>
|
||||
<effects>
|
||||
<effectProxy name="bassboost" library="proxy" uuid="14804144-a5ee-4d24-aa88-0002a5d5c51b">
|
||||
<libsw library="bundle" uuid="8631f300-72e2-11df-b57e-0002a5d5c51b"/>
|
||||
<libhw library="offload_bundle" uuid="2c4a8c24-1581-487f-94f6-0002a5d5c51b"/>
|
||||
</effectProxy>
|
||||
<effectProxy name="virtualizer" library="proxy" uuid="d3467faa-acc7-4d34-acaf-0002a5d5c51b">
|
||||
<libsw library="bundle" uuid="1d4033c0-8557-11df-9f2d-0002a5d5c51b"/>
|
||||
<libhw library="offload_bundle" uuid="509a4498-561a-4bea-b3b1-0002a5d5c51b"/>
|
||||
</effectProxy>
|
||||
<effectProxy name="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"/>
|
||||
</effectProxy>
|
||||
<effect name="volume" library="bundle" uuid="119341a0-8469-11df-81f9-0002a5d5c51b"/>
|
||||
<effectProxy name="reverb_env_aux" library="proxy" uuid="48404ac9-d202-4ccc-bf84-0002a5d5c51b">
|
||||
<libsw library="reverb" uuid="4a387fc0-8ab3-11df-8bad-0002a5d5c51b"/>
|
||||
<libhw library="offload_bundle" uuid="79a18026-18fd-4185-8233-0002a5d5c51b"/>
|
||||
</effectProxy>
|
||||
<effectProxy name="reverb_env_ins" library="proxy" uuid="b707403a-a1c1-4291-9573-0002a5d5c51b">
|
||||
<libsw library="reverb" uuid="c7a511a0-a3bb-11df-860e-0002a5d5c51b"/>
|
||||
<libhw library="offload_bundle" uuid="eb64ea04-973b-43d2-8f5e-0002a5d5c51b"/>
|
||||
</effectProxy>
|
||||
<effectProxy name="reverb_pre_aux" library="proxy" uuid="1b78f587-6d1c-422e-8b84-0002a5d5c51b">
|
||||
<libsw library="reverb" uuid="f29a1400-a3bb-11df-8ddc-0002a5d5c51b"/>
|
||||
<libhw library="offload_bundle" uuid="6987be09-b142-4b41-9056-0002a5d5c51b"/>
|
||||
</effectProxy>
|
||||
<effectProxy name="reverb_pre_ins" library="proxy" uuid="f3e178d2-ebcb-408e-8357-0002a5d5c51b">
|
||||
<libsw library="reverb" uuid="172cdf00-a3bc-11df-a72f-0002a5d5c51b"/>
|
||||
<libhw library="offload_bundle" uuid="aa2bebf6-47cf-4613-9bca-0002a5d5c51b"/>
|
||||
</effectProxy>
|
||||
<effectProxy name="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"/>
|
||||
</effectProxy>
|
||||
<effect name="downmix" library="downmix" uuid="93f04452-e4fe-41cc-91f9-e475b6d1d69f"/>
|
||||
<effect name="loudness_enhancer" library="loudness_enhancer" uuid="fa415329-2034-4bea-b5dc-5b381c8d1e2c"/>
|
||||
<effect name="aec" library="audio_pre_processing" uuid="0f8d0d2a-59e5-45fe-b6e4-248c8a799109"/>
|
||||
<effect name="ns" library="audio_pre_processing" uuid="1d97bb0b-9e2f-4403-9ae3-58c2554306f8"/>
|
||||
<effect name="dynamics_processing" library="dynamics_processing" uuid="e0e6539b-1781-7261-676f-6d7573696340"/>
|
||||
</effects>
|
||||
<preprocess>
|
||||
<stream type="voice_communication">
|
||||
<apply effect="aec"/>
|
||||
<apply effect="ns"/>
|
||||
</stream>
|
||||
</preprocess>
|
||||
</audio_effects_conf>
|
||||
25
configs/audio/audio_ext_spkr.conf
Normal file
25
configs/audio/audio_ext_spkr.conf
Normal file
@@ -0,0 +1,25 @@
|
||||
global_config {
|
||||
name Sanders
|
||||
sonification_pad 20
|
||||
}
|
||||
|
||||
ring {
|
||||
#dB to attenuate playback to meet safety level at each volume step
|
||||
#16 steps total, 15...0. In case of truncated list, last attenuation
|
||||
#given will be applied to all lower volume steps
|
||||
#attenuation 28,28,25,25,22,22,20,20,20,20,20,20,20,20,20,20
|
||||
}
|
||||
|
||||
voice {
|
||||
#dB to attenuate playback to meet safety level at each volume step
|
||||
#16 steps total, 15...0. In case of truncated list, last attenuation
|
||||
#given will be applied to all lower volume steps
|
||||
#attenuation 35,35,32,32,29,29,26,26,23,23,20,20,17,17,14,14
|
||||
}
|
||||
|
||||
media {
|
||||
#dB to attenuate playback to meet safety level at each volume step
|
||||
#16 steps total, 15...0. In case of truncated list, last attenuation
|
||||
#given will be applied to all lower volume steps
|
||||
#attenuation 38,36,34,32,30,28,26,24,22,20,18,16,14,12,10,8
|
||||
}
|
||||
78
configs/audio/audio_platform_info.xml
Normal file
78
configs/audio/audio_platform_info.xml
Normal file
@@ -0,0 +1,78 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
|
||||
<audio_platform_info>
|
||||
|
||||
<acdb_ids>
|
||||
<!-- Output devices -->
|
||||
<device name="SND_DEVICE_OUT_VOICE_HANDSET" acdb_id="7"/>
|
||||
<device name="SND_DEVICE_OUT_VOICE_HANDSET_TMUS" acdb_id="7"/>
|
||||
<device name="SND_DEVICE_OUT_VOICE_TTY_HCO_HANDSET" acdb_id="7"/>
|
||||
<device name="SND_DEVICE_OUT_HEADPHONES" acdb_id="9"/>
|
||||
<device name="SND_DEVICE_OUT_SPEAKER_AND_HEADPHONES" acdb_id="9"/>
|
||||
<device name="SND_DEVICE_OUT_SPEAKER_SAFE_AND_HEADPHONES" acdb_id="9"/>
|
||||
<device name="SND_DEVICE_OUT_VOICE_HEADPHONES" acdb_id="10"/>
|
||||
<device name="SND_DEVICE_OUT_SPEAKER" acdb_id="14"/>
|
||||
<device name="SND_DEVICE_OUT_VOICE_SPEAKER" acdb_id="15"/>
|
||||
<device name="SND_DEVICE_OUT_SPEAKER_PROTECTED" acdb_id="14"/>
|
||||
<device name="SND_DEVICE_OUT_SPEAKER_REVERSE" acdb_id="14"/>
|
||||
<device name="SND_DEVICE_OUT_SPEAKER_SAFE" acdb_id="14"/>
|
||||
<device name="SND_DEVICE_OUT_VOICE_SPEAKER_PROTECTED" acdb_id="15"/>
|
||||
<device name="SND_DEVICE_OUT_VOICE_LINE" acdb_id="78"/>
|
||||
<device name="SND_DEVICE_OUT_VOLTE_NB_ANC_HANDSET" acdb_id="200"/>
|
||||
<device name="SND_DEVICE_OUT_VOLTE_NB_HANDSET_TMUS" acdb_id="200"/>
|
||||
<device name="SND_DEVICE_OUT_VOLTE_NB_TX" acdb_id="245" />
|
||||
|
||||
<!-- Input devices -->
|
||||
<device name="SND_DEVICE_IN_CAPTURE_VI_FEEDBACK" acdb_id="0"/>
|
||||
<device name="SND_DEVICE_IN_HANDSET_MIC_AEC" acdb_id="4"/>
|
||||
<device name="SND_DEVICE_IN_HANDSET_MIC_AEC_NS" acdb_id="4"/>
|
||||
<device name="SND_DEVICE_IN_HANDSET_MIC_NS" acdb_id="4"/>
|
||||
<device name="SND_DEVICE_IN_VOICE_TTY_VCO_HANDSET_MIC" acdb_id="4"/>
|
||||
<device name="SND_DEVICE_IN_SPEAKER_MIC_AEC" acdb_id="114" />
|
||||
<device name="SND_DEVICE_IN_SPEAKER_MIC_AEC_NS" acdb_id="114" />
|
||||
<device name="SND_DEVICE_IN_SPEAKER_MIC_NS" acdb_id="114" />
|
||||
<device name="SND_DEVICE_IN_VOICE_REC_DMIC_FLUENCE" acdb_id="35"/>
|
||||
<device name="SND_DEVICE_IN_VOICE_DMIC_TMUS" acdb_id="89"/>
|
||||
<device name="SND_DEVICE_IN_VOICE_SPEAKER_MIC" acdb_id="42" />
|
||||
<device name="SND_DEVICE_IN_HEADSET_MIC_AEC" acdb_id="47"/>
|
||||
<device name="SND_DEVICE_IN_VOICE_REC_MIC_NS" acdb_id="62"/>
|
||||
<device name="SND_DEVICE_IN_HANDSET_DMIC_AEC" acdb_id="111"/>
|
||||
<device name="SND_DEVICE_IN_HANDSET_DMIC_NS" acdb_id="111"/>
|
||||
<device name="SND_DEVICE_IN_VOICE_REC_HEADSET_MIC" acdb_id="131"/>
|
||||
<device name="SND_DEVICE_IN_CAMCORDER_BF" acdb_id="34"/>
|
||||
<device name="SND_DEVICE_IN_CAPTURE_FM" acdb_id="90"/>
|
||||
</acdb_ids>
|
||||
|
||||
<backend_names>
|
||||
<device name="SND_DEVICE_OUT_SPEAKER" backend="speaker" />
|
||||
<device name="SND_DEVICE_OUT_VOICE_SPEAKER" backend="speaker" />
|
||||
<device name="SND_DEVICE_OUT_VOLTE_NB_SPEAKER" backend="speaker" />
|
||||
<device name="SND_DEVICE_OUT_SPEAKER_SAFE" backend="speaker" />
|
||||
<device name="SND_DEVICE_OUT_SPEAKER_REVERSE" backend="speaker" />
|
||||
<device name="SND_DEVICE_OUT_SPEAKER_AND_HEADPHONES" backend="speaker-and-headphones" />
|
||||
<device name="SND_DEVICE_OUT_SPEAKER_AND_LINE" backend="speaker-and-headphones" />
|
||||
<device name="SND_DEVICE_OUT_SPEAKER_SAFE_AND_HEADPHONES" backend="speaker-and-headphones" />
|
||||
<device name="SND_DEVICE_OUT_SPEAKER_SAFE_AND_LINE" backend="speaker-and-headphones" />
|
||||
<device name="SND_DEVICE_OUT_SPEAKER_AND_BT_SCO" backend="speaker-and-bt-sco"/>
|
||||
<device name="SND_DEVICE_OUT_SPEAKER_AND_BT_SCO_WB" backend="speaker-and-bt-sco-wb"/>
|
||||
</backend_names>
|
||||
|
||||
<pcm_ids>
|
||||
<usecase name="USECASE_AUDIO_PLAYBACK_LOW_LATENCY" type="out" id="12"/>
|
||||
<usecase name="USECASE_AUDIO_RECORD_LOW_LATENCY" type="in" id="12"/>
|
||||
<usecase name="USECASE_VOICEMMODE1_CALL" type="in" id="34"/>
|
||||
<usecase name="USECASE_VOICEMMODE1_CALL" type="out" id="34"/>
|
||||
<usecase name="USECASE_VOICEMMODE2_CALL" type="in" id="35"/>
|
||||
<usecase name="USECASE_VOICEMMODE2_CALL" type="out" id="35"/>
|
||||
<usecase name="USECASE_VOLTE_CALL" type="in" id="15"/>
|
||||
<usecase name="USECASE_VOLTE_CALL" type="out" id="15"/>
|
||||
<usecase name="USECASE_VOWLAN_CALL" type="in" id="16"/>
|
||||
<usecase name="USECASE_VOWLAN_CALL" type="out" id="16"/>
|
||||
<usecase name="USECASE_AUDIO_DSM_FEEDBACK" type="in" id="60" />
|
||||
</pcm_ids>
|
||||
|
||||
<config_params>
|
||||
<param key="input_mic_max_count" value="2" />
|
||||
</config_params>
|
||||
|
||||
</audio_platform_info>
|
||||
163
configs/audio/audio_policy_configuration.xml
Normal file
163
configs/audio/audio_policy_configuration.xml
Normal file
@@ -0,0 +1,163 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<audioPolicyConfiguration version="1.0" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
<!-- version section contains a “version” tag in the form “major.minor” e.g version=”1.0” -->
|
||||
<!-- Modules section:
|
||||
There is one section per audio HW module present on the platform.
|
||||
Each module section will contains two mandatory tags for audio HAL “halVersion” and “name”.
|
||||
The module names are the same as in current .conf file:
|
||||
“primary”, “A2DP”, “remote_submix”, “USB”
|
||||
Each module will contain the following sections:
|
||||
“devicePorts”: a list of device descriptors for all input and output devices accessible via this
|
||||
module.
|
||||
This contains both permanently attached devices and removable devices.
|
||||
“mixPorts”: listing all output and input streams exposed by the audio HAL
|
||||
“routes”: list of possible connections between input and output devices or between stream and
|
||||
devices.
|
||||
"route": is defined by an attribute:
|
||||
-"type": <mux|mix> means all sources are mutual exclusive (mux) or can be mixed (mix)
|
||||
-"sink": the sink involved in this route
|
||||
-"sources": all the sources than can be connected to the sink via vis route
|
||||
“attachedDevices”: permanently attached devices.
|
||||
The attachedDevices section is a list of devices names. The names correspond to device names
|
||||
defined in <devicePorts> section.
|
||||
“defaultOutputDevice”: device to be used by default when no policy rule applies
|
||||
-->
|
||||
<modules>
|
||||
<!-- Primary Audio HAL -->
|
||||
<module name="primary" halVersion="3.0">
|
||||
<attachedDevices>
|
||||
<item>Earpiece</item>
|
||||
<item>Speaker</item>
|
||||
<item>Telephony Tx</item>
|
||||
<item>Built-In Mic</item>
|
||||
<item>Built-In Back Mic</item>
|
||||
<item>Telephony Rx</item>
|
||||
<item>FM tuner</item>
|
||||
</attachedDevices>
|
||||
<defaultOutputDevice>Speaker</defaultOutputDevice>
|
||||
<mixPorts>
|
||||
<mixPort name="primary output" role="source" flags="AUDIO_OUTPUT_FLAG_FAST|AUDIO_OUTPUT_FLAG_PRIMARY">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="41000,48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="deep_buffer" role="source"
|
||||
flags="AUDIO_OUTPUT_FLAG_DEEP_BUFFER">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="compressed_offload" role="source"
|
||||
flags="AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING">
|
||||
<profile name="" format="AUDIO_FORMAT_MP3"
|
||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/>
|
||||
<profile name="" format="AUDIO_FORMAT_AAC_LC"
|
||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/>
|
||||
<profile name="" format="AUDIO_FORMAT_AAC_HE_V1"
|
||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/>
|
||||
<profile name="" format="AUDIO_FORMAT_AAC_HE_V2"
|
||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/>
|
||||
<profile name="" format="AUDIO_FORMAT_FLAC"
|
||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,88200,96000,176400,192000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/>
|
||||
</mixPort>
|
||||
<mixPort name="voice_tx" role="source">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="8000,16000,48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/>
|
||||
</mixPort>
|
||||
<mixPort name="primary input" role="sink">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO,AUDIO_CHANNEL_IN_FRONT_BACK,AUDIO_CHANNEL_INDEX_MASK_3"/>
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_8_24_BIT"
|
||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO,AUDIO_CHANNEL_IN_FRONT_BACK,AUDIO_CHANNEL_INDEX_MASK_3"/>
|
||||
</mixPort>
|
||||
<mixPort name="voice_rx" role="sink">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="8000,16000,48000" channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
</mixPorts>
|
||||
<devicePorts>
|
||||
<!-- Output devices declaration, i.e. Sink DEVICE PORT -->
|
||||
<devicePort tagName="Earpiece" type="AUDIO_DEVICE_OUT_EARPIECE" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Speaker" type="AUDIO_DEVICE_OUT_SPEAKER" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Wired Headset" type="AUDIO_DEVICE_OUT_WIRED_HEADSET" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Wired Headphones" type="AUDIO_DEVICE_OUT_WIRED_HEADPHONE" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Line Out" type="AUDIO_DEVICE_OUT_LINE" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Dock Headset" type="AUDIO_DEVICE_OUT_ANLG_DOCK_HEADSET" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="BT SCO" type="AUDIO_DEVICE_OUT_ALL_SCO" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="HDMI Out" type="AUDIO_DEVICE_OUT_HDMI" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
|
||||
</devicePort>
|
||||
|
||||
<devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="Wired Headset Mic" type="AUDIO_DEVICE_IN_WIRED_HEADSET" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="BT SCO Headset Mic" type="AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="Telephony Rx" type="AUDIO_DEVICE_IN_TELEPHONY_RX" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="FM tuner" type="AUDIO_DEVICE_IN_FM_TUNER" role="source">
|
||||
</devicePort>
|
||||
</devicePorts>
|
||||
<!-- route declaration, i.e. list all available sources for a given sink -->
|
||||
<routes>
|
||||
<route type="mix" sink="Earpiece"
|
||||
sources="primary output,deep_buffer,compressed_offload"/>
|
||||
<route type="mix" sink="Speaker"
|
||||
sources="primary output,deep_buffer,compressed_offload"/>
|
||||
<route type="mix" sink="Wired Headset"
|
||||
sources="primary output,deep_buffer,compressed_offload"/>
|
||||
<route type="mix" sink="Wired Headphones"
|
||||
sources="primary output,deep_buffer,compressed_offload"/>
|
||||
<route type="mix" sink="Line Out"
|
||||
sources="primary output,deep_buffer,compressed_offload"/>
|
||||
<route type="mix" sink="Dock Headset"
|
||||
sources="primary output,deep_buffer"/>
|
||||
<route type="mix" sink="BT SCO"
|
||||
sources="primary output,deep_buffer,compressed_offload"/>
|
||||
<route type="mix" sink="HDMI Out"
|
||||
sources="primary output,deep_buffer,compressed_offload"/>
|
||||
<route type="mix" sink="Telephony Tx"
|
||||
sources="voice_tx"/>
|
||||
<route type="mix" sink="primary input"
|
||||
sources="Built-In Mic,Built-In Back Mic,Wired Headset Mic,BT SCO Headset Mic,FM tuner"/>
|
||||
<route type="mix" sink="voice_rx"
|
||||
sources="Telephony Rx"/>
|
||||
</routes>
|
||||
</module>
|
||||
|
||||
<!-- A2dp Audio HAL -->
|
||||
<xi:include href="a2dp_audio_policy_configuration.xml"/>
|
||||
|
||||
<!-- Usb Audio HAL -->
|
||||
<xi:include href="usb_audio_policy_configuration.xml"/>
|
||||
|
||||
<!-- Remote Submix Audio HAL -->
|
||||
<xi:include href="r_submix_audio_policy_configuration.xml"/>
|
||||
|
||||
</modules>
|
||||
<!-- End of Modules section -->
|
||||
|
||||
<!-- Volume section -->
|
||||
|
||||
<xi:include href="audio_policy_volumes.xml"/>
|
||||
<xi:include href="default_volume_tables.xml"/>
|
||||
|
||||
<!-- End of Volume section -->
|
||||
|
||||
</audioPolicyConfiguration>
|
||||
1093
configs/audio/mixer_paths.xml
Normal file
1093
configs/audio/mixer_paths.xml
Normal file
File diff suppressed because it is too large
Load Diff
108
configs/camera/imx219_chromatix.xml
Normal file
108
configs/camera/imx219_chromatix.xml
Normal file
@@ -0,0 +1,108 @@
|
||||
<!--
|
||||
Copyright (c) 2015 Qualcomm Technologies, Inc.
|
||||
All Rights Reserved.
|
||||
Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
-->
|
||||
|
||||
<!--
|
||||
CommonChromatixInfo:
|
||||
CommonChromatixInfo is the information about chromatix needed for
|
||||
various use cases.
|
||||
Ex:- Preview, Snapshot, ZSL, HFR, HDR, Video, Liveshot for ISP, CPP,
|
||||
3A and SW PostProc.
|
||||
Entries in this node are common for all sensor modes.
|
||||
|
||||
ResolutionChromatixInfo:
|
||||
ResolutionChromatixInfo is the information about chromatix needed for
|
||||
various use cases.
|
||||
Ex:- Preview, Snapshot, ZSL, HFR, HDR, Video, Liveshot for ISP, CPP,
|
||||
3A and SW PostProc.
|
||||
Entries in this node are specific to sensor resolution.
|
||||
|
||||
ChromatixName:
|
||||
Contains the list of chromatix names for all modules.
|
||||
special_mode_mask:
|
||||
It is the bit mask for special modes, which is used for
|
||||
chromatix selection.
|
||||
Special modes can be any mode that needs a special chromatix.
|
||||
Ex:- scene mode, DZOOM mode, OIS capture mode, flash mode
|
||||
This is applicable for CommonChromatixInfo and
|
||||
ResolutionChromatixInfo.
|
||||
special_mode_mask="0" means none of the special modes are
|
||||
selected.
|
||||
sensor_resolution_index:
|
||||
It is the sensor resolution index for which chromatix libraries
|
||||
will be choosen.
|
||||
It is applicable only in ResolutionChromatixInfo.
|
||||
|
||||
ISPCommon :
|
||||
Common tuning library name for ISP
|
||||
ISPPreview :
|
||||
Preview tuning library name for ISP
|
||||
ISPSnapshot :
|
||||
Snapshot tuning library name for ISP
|
||||
CPPCommon :
|
||||
Common tuning library name for CPP
|
||||
CPPPreview :
|
||||
Preview tuning library name for CPP
|
||||
CPPSnapshot :
|
||||
Snapshot tuning library name for CPP
|
||||
CPPLiveshot :
|
||||
Liveshot tuning library name for CPP
|
||||
PostProc :
|
||||
Tuning library name for postproc module
|
||||
A3Preview :
|
||||
Preview tuning library for 3A
|
||||
A3Video :
|
||||
Video tuning library for 3A
|
||||
|
||||
Order of Resolution Pick:
|
||||
Assume the current sensor mode is "r" and special mode mask is "s".
|
||||
Chromatix for a module and type is choosen in this order till we find a
|
||||
valid chroamtix file name or else NULL is returned.
|
||||
1) From ResolutionChromatixInfo node for which sensor_resolution_index
|
||||
is "r" and special_mode_mask is "s".
|
||||
2) From CommonChromatixInfo node for which special_mode_mask is "s".
|
||||
3) From ResolutionChromatixInfo node for which sensor_resolution_index
|
||||
is "r" and special_mode_mask is "0".
|
||||
4) From CommonChromatixInfo node for which special_mode_mask is "0".
|
||||
5) NULL is returned if we dont find in any of the above cases.
|
||||
|
||||
special_mode_mask values:
|
||||
SENSOR_SPECIAL_MODE_NONE = 0,
|
||||
SENSOR_SPECIAL_MODE_FLASH = 1,
|
||||
SENSOR_SPECIAL_MODE_ZOOM_UPSCALE = 2,
|
||||
SENSOR_SPECIAL_MODE_ZOOM_DOWNSCALE = 4,
|
||||
SENSOR_SPECIAL_MODE_OIS_CAPTURE = 8,
|
||||
-->
|
||||
|
||||
<ChromatixConfigurationRoot>
|
||||
<CommonChromatixInfo>
|
||||
<ChromatixName>
|
||||
<ISPCommon>imx219_common</ISPCommon>
|
||||
<PostProc>imx219_postproc</PostProc>
|
||||
<CPPPreview>imx219_cpp_preview</CPPPreview>
|
||||
<CPPSnapshot>imx219_cpp_snapshot</CPPSnapshot>
|
||||
<CPPLiveshot>imx219_cpp_liveshot</CPPLiveshot>
|
||||
</ChromatixName>
|
||||
</CommonChromatixInfo>
|
||||
<ResolutionChromatixInfo>
|
||||
<ChromatixName sensor_resolution_index="0">
|
||||
<ISPPreview>imx219_snapshot</ISPPreview>
|
||||
<ISPSnapshot>imx219_snapshot</ISPSnapshot>
|
||||
<ISPVideo>imx219_video_full</ISPVideo>
|
||||
<CPPVideo>imx219_cpp_video_full</CPPVideo>
|
||||
<A3Preview>imx219_zsl_preview_3a</A3Preview>
|
||||
<A3Video>imx219_zsl_video_3a</A3Video>
|
||||
</ChromatixName>
|
||||
<ChromatixName sensor_resolution_index="1">
|
||||
<ISPPreview>imx219_hfr_120</ISPPreview>
|
||||
<ISPSnapshot>imx219_hfr_120</ISPSnapshot>
|
||||
<ISPVideo>imx219_hfr_120</ISPVideo>
|
||||
<CPPVideo>imx219_cpp_hfr_120</CPPVideo>
|
||||
<A3Preview>imx219_hfr_120_3a</A3Preview>
|
||||
<A3Video>imx219_hfr_120_3a</A3Video>
|
||||
</ChromatixName>
|
||||
</ResolutionChromatixInfo>
|
||||
</ChromatixConfigurationRoot>
|
||||
|
||||
123
configs/camera/mot_imx258_bear_chromatix.xml
Normal file
123
configs/camera/mot_imx258_bear_chromatix.xml
Normal file
@@ -0,0 +1,123 @@
|
||||
<!--
|
||||
Copyright (c) 2016 Qualcomm Technologies, Inc.
|
||||
All Rights Reserved.
|
||||
Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
-->
|
||||
|
||||
<!--
|
||||
CommonChromatixInfo:
|
||||
CommonChromatixInfo is the information about chromatix needed for
|
||||
various use cases.
|
||||
Ex:- Preview, Snapshot, ZSL, HFR, HDR, Video, Liveshot for ISP, CPP,
|
||||
3A and SW PostProc.
|
||||
Entries in this node are common for all sensor modes.
|
||||
|
||||
ResolutionChromatixInfo:
|
||||
ResolutionChromatixInfo is the information about chromatix needed for
|
||||
various use cases.
|
||||
Ex:- Preview, Snapshot, ZSL, HFR, HDR, Video, Liveshot for ISP, CPP,
|
||||
3A and SW PostProc.
|
||||
Entries in this node are specific to sensor resolution.
|
||||
|
||||
ChromatixName:
|
||||
Contains the list of chromatix names for all modules.
|
||||
special_mode_mask:
|
||||
It is the bit mask for special modes, which is used for
|
||||
chromatix selection.
|
||||
Special modes can be any mode that needs a special chromatix.
|
||||
Ex:- scene mode, DZOOM mode, OIS capture mode, flash mode
|
||||
This is applicable for CommonChromatixInfo and
|
||||
ResolutionChromatixInfo.
|
||||
special_mode_mask="0" means none of the special modes are
|
||||
selected.
|
||||
sensor_resolution_index:
|
||||
It is the sensor resolution index for which chromatix libraries
|
||||
will be choosen.
|
||||
It is applicable only in ResolutionChromatixInfo.
|
||||
|
||||
ISPCommon :
|
||||
Common tuning library name for ISP
|
||||
ISPPreview :
|
||||
Preview tuning library name for ISP
|
||||
ISPSnapshot :
|
||||
Snapshot tuning library name for ISP
|
||||
CPPCommon :
|
||||
Common tuning library name for CPP
|
||||
CPPPreview :
|
||||
Preview tuning library name for CPP
|
||||
CPPSnapshot :
|
||||
Snapshot tuning library name for CPP
|
||||
CPPLiveshot :
|
||||
Liveshot tuning library name for CPP
|
||||
PostProc :
|
||||
Tuning library name for postproc module
|
||||
A3Preview :
|
||||
Preview tuning library for 3A
|
||||
A3Video :
|
||||
Video tuning library for 3A
|
||||
|
||||
Order of Resolution Pick:
|
||||
Assume the current sensor mode is "r" and special mode mask is "s".
|
||||
Chromatix for a module and type is choosen in this order till we find a
|
||||
valid chroamtix file name or else NULL is returned.
|
||||
1) From ResolutionChromatixInfo node for which sensor_resolution_index
|
||||
is "r" and special_mode_mask is "s".
|
||||
2) From CommonChromatixInfo node for which special_mode_mask is "s".
|
||||
3) From ResolutionChromatixInfo node for which sensor_resolution_index
|
||||
is "r" and special_mode_mask is "0".
|
||||
4) From CommonChromatixInfo node for which special_mode_mask is "0".
|
||||
5) NULL is returned if we dont find in any of the above cases.
|
||||
|
||||
special_mode_mask values:
|
||||
SENSOR_SPECIAL_MODE_NONE = 0,
|
||||
SENSOR_SPECIAL_MODE_FLASH = 1,
|
||||
SENSOR_SPECIAL_MODE_ZOOM_UPSCALE = 2,
|
||||
SENSOR_SPECIAL_MODE_ZOOM_DOWNSCALE = 4,
|
||||
SENSOR_SPECIAL_MODE_OIS_CAPTURE = 8,
|
||||
-->
|
||||
|
||||
<ChromatixConfigurationRoot>
|
||||
<CommonChromatixInfo>
|
||||
<ChromatixName>
|
||||
<ISPCommon>mot_imx258_bear_common</ISPCommon>
|
||||
<PostProc>mot_imx258_bear_postproc</PostProc>
|
||||
<CPPPreview>mot_imx258_bear_cpp_preview</CPPPreview>
|
||||
<CPPSnapshot>mot_imx258_bear_cpp_snapshot</CPPSnapshot>
|
||||
<CPPLiveshot>mot_imx258_bear_cpp_liveshot</CPPLiveshot>
|
||||
</ChromatixName>
|
||||
</CommonChromatixInfo>
|
||||
<ResolutionChromatixInfo>
|
||||
<ChromatixName sensor_resolution_index="0">
|
||||
<ISPPreview>mot_imx258_bear_snapshot</ISPPreview>
|
||||
<ISPSnapshot>mot_imx258_bear_snapshot</ISPSnapshot>
|
||||
<ISPVideo>mot_imx258_bear_default_video</ISPVideo>
|
||||
<CPPVideo>mot_imx258_bear_cpp_video</CPPVideo>
|
||||
<A3Preview>mot_imx258_bear_zsl_preview_3a</A3Preview>
|
||||
<A3Video>mot_imx258_bear_zsl_video_3a</A3Video>
|
||||
</ChromatixName>
|
||||
<ChromatixName sensor_resolution_index="1">
|
||||
<ISPPreview>mot_imx258_bear_preview</ISPPreview>
|
||||
<ISPSnapshot>mot_imx258_bear_preview</ISPSnapshot>
|
||||
<ISPVideo>mot_imx258_bear_preview</ISPVideo>
|
||||
<CPPVideo>mot_imx258_bear_cpp_video</CPPVideo>
|
||||
<A3Preview>mot_imx258_bear_4k_preview_3a</A3Preview>
|
||||
<A3Video>mot_imx258_bear_4k_video_3a</A3Video>
|
||||
</ChromatixName>
|
||||
<ChromatixName sensor_resolution_index="2">
|
||||
<ISPPreview>mot_imx258_bear_hfr_60</ISPPreview>
|
||||
<ISPSnapshot>mot_imx258_bear_hfr_60</ISPSnapshot>
|
||||
<ISPVideo>mot_imx258_bear_hfr_60</ISPVideo>
|
||||
<CPPVideo>mot_imx258_bear_cpp_hfr_60</CPPVideo>
|
||||
<A3Preview>mot_imx258_bear_hfr_60_3a</A3Preview>
|
||||
<A3Video>mot_imx258_bear_hfr_60_3a</A3Video>
|
||||
</ChromatixName>
|
||||
<ChromatixName sensor_resolution_index="3">
|
||||
<ISPPreview>mot_imx258_bear_hfr_120</ISPPreview>
|
||||
<ISPSnapshot>mot_imx258_bear_hfr_120</ISPSnapshot>
|
||||
<ISPVideo>mot_imx258_bear_hfr_120</ISPVideo>
|
||||
<CPPVideo>mot_imx258_bear_cpp_hfr_120</CPPVideo>
|
||||
<A3Preview>mot_imx258_bear_hfr_120_3a</A3Preview>
|
||||
<A3Video>mot_imx258_bear_hfr_120_3a</A3Video>
|
||||
</ChromatixName>
|
||||
</ResolutionChromatixInfo>
|
||||
</ChromatixConfigurationRoot>
|
||||
123
configs/camera/mot_imx258_mono_chromatix.xml
Normal file
123
configs/camera/mot_imx258_mono_chromatix.xml
Normal file
@@ -0,0 +1,123 @@
|
||||
<!--
|
||||
Copyright (c) 2016 Qualcomm Technologies, Inc.
|
||||
All Rights Reserved.
|
||||
Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
-->
|
||||
|
||||
<!--
|
||||
CommonChromatixInfo:
|
||||
CommonChromatixInfo is the information about chromatix needed for
|
||||
various use cases.
|
||||
Ex:- Preview, Snapshot, ZSL, HFR, HDR, Video, Liveshot for ISP, CPP,
|
||||
3A and SW PostProc.
|
||||
Entries in this node are common for all sensor modes.
|
||||
|
||||
ResolutionChromatixInfo:
|
||||
ResolutionChromatixInfo is the information about chromatix needed for
|
||||
various use cases.
|
||||
Ex:- Preview, Snapshot, ZSL, HFR, HDR, Video, Liveshot for ISP, CPP,
|
||||
3A and SW PostProc.
|
||||
Entries in this node are specific to sensor resolution.
|
||||
|
||||
ChromatixName:
|
||||
Contains the list of chromatix names for all modules.
|
||||
special_mode_mask:
|
||||
It is the bit mask for special modes, which is used for
|
||||
chromatix selection.
|
||||
Special modes can be any mode that needs a special chromatix.
|
||||
Ex:- scene mode, DZOOM mode, OIS capture mode, flash mode
|
||||
This is applicable for CommonChromatixInfo and
|
||||
ResolutionChromatixInfo.
|
||||
special_mode_mask="0" means none of the special modes are
|
||||
selected.
|
||||
sensor_resolution_index:
|
||||
It is the sensor resolution index for which chromatix libraries
|
||||
will be choosen.
|
||||
It is applicable only in ResolutionChromatixInfo.
|
||||
|
||||
ISPCommon :
|
||||
Common tuning library name for ISP
|
||||
ISPPreview :
|
||||
Preview tuning library name for ISP
|
||||
ISPSnapshot :
|
||||
Snapshot tuning library name for ISP
|
||||
CPPCommon :
|
||||
Common tuning library name for CPP
|
||||
CPPPreview :
|
||||
Preview tuning library name for CPP
|
||||
CPPSnapshot :
|
||||
Snapshot tuning library name for CPP
|
||||
CPPLiveshot :
|
||||
Liveshot tuning library name for CPP
|
||||
PostProc :
|
||||
Tuning library name for postproc module
|
||||
A3Preview :
|
||||
Preview tuning library for 3A
|
||||
A3Video :
|
||||
Video tuning library for 3A
|
||||
|
||||
Order of Resolution Pick:
|
||||
Assume the current sensor mode is "r" and special mode mask is "s".
|
||||
Chromatix for a module and type is choosen in this order till we find a
|
||||
valid chroamtix file name or else NULL is returned.
|
||||
1) From ResolutionChromatixInfo node for which sensor_resolution_index
|
||||
is "r" and special_mode_mask is "s".
|
||||
2) From CommonChromatixInfo node for which special_mode_mask is "s".
|
||||
3) From ResolutionChromatixInfo node for which sensor_resolution_index
|
||||
is "r" and special_mode_mask is "0".
|
||||
4) From CommonChromatixInfo node for which special_mode_mask is "0".
|
||||
5) NULL is returned if we dont find in any of the above cases.
|
||||
|
||||
special_mode_mask values:
|
||||
SENSOR_SPECIAL_MODE_NONE = 0,
|
||||
SENSOR_SPECIAL_MODE_FLASH = 1,
|
||||
SENSOR_SPECIAL_MODE_ZOOM_UPSCALE = 2,
|
||||
SENSOR_SPECIAL_MODE_ZOOM_DOWNSCALE = 4,
|
||||
SENSOR_SPECIAL_MODE_OIS_CAPTURE = 8,
|
||||
-->
|
||||
|
||||
<ChromatixConfigurationRoot>
|
||||
<CommonChromatixInfo>
|
||||
<ChromatixName>
|
||||
<ISPCommon>mot_imx258_mono_common</ISPCommon>
|
||||
<PostProc>mot_imx258_mono_postproc</PostProc>
|
||||
<CPPPreview>mot_imx258_mono_cpp_preview</CPPPreview>
|
||||
<CPPSnapshot>mot_imx258_mono_cpp_snapshot</CPPSnapshot>
|
||||
<CPPLiveshot>mot_imx258_mono_cpp_liveshot</CPPLiveshot>
|
||||
</ChromatixName>
|
||||
</CommonChromatixInfo>
|
||||
<ResolutionChromatixInfo>
|
||||
<ChromatixName sensor_resolution_index="0">
|
||||
<ISPPreview>mot_imx258_mono_snapshot</ISPPreview>
|
||||
<ISPSnapshot>mot_imx258_mono_snapshot</ISPSnapshot>
|
||||
<ISPVideo>mot_imx258_mono_default_video</ISPVideo>
|
||||
<CPPVideo>mot_imx258_mono_cpp_video</CPPVideo>
|
||||
<A3Preview>mot_imx258_mono_zsl_preview_3a</A3Preview>
|
||||
<A3Video>mot_imx258_mono_zsl_video_3a</A3Video>
|
||||
</ChromatixName>
|
||||
<ChromatixName sensor_resolution_index="1">
|
||||
<ISPPreview>mot_imx258_mono_preview</ISPPreview>
|
||||
<ISPSnapshot>mot_imx258_mono_preview</ISPSnapshot>
|
||||
<ISPVideo>mot_imx258_mono_preview</ISPVideo>
|
||||
<CPPVideo>mot_imx258_mono_cpp_video</CPPVideo>
|
||||
<A3Preview>mot_imx258_mono_4k_preview_3a</A3Preview>
|
||||
<A3Video>mot_imx258_mono_4k_video_3a</A3Video>
|
||||
</ChromatixName>
|
||||
<ChromatixName sensor_resolution_index="2">
|
||||
<ISPPreview>mot_imx258_mono_hfr_60</ISPPreview>
|
||||
<ISPSnapshot>mot_imx258_mono_hfr_60</ISPSnapshot>
|
||||
<ISPVideo>mot_imx258_mono_hfr_60</ISPVideo>
|
||||
<CPPVideo>mot_imx258_mono_cpp_hfr_60</CPPVideo>
|
||||
<A3Preview>mot_imx258_mono_hfr_60_3a</A3Preview>
|
||||
<A3Video>mot_imx258_mono_hfr_60_3a</A3Video>
|
||||
</ChromatixName>
|
||||
<ChromatixName sensor_resolution_index="3">
|
||||
<ISPPreview>mot_imx258_mono_hfr_120</ISPPreview>
|
||||
<ISPSnapshot>mot_imx258_mono_hfr_120</ISPSnapshot>
|
||||
<ISPVideo>mot_imx258_mono_hfr_120</ISPVideo>
|
||||
<CPPVideo>mot_imx258_mono_cpp_hfr_120</CPPVideo>
|
||||
<A3Preview>mot_imx258_mono_hfr_120_3a</A3Preview>
|
||||
<A3Video>mot_imx258_mono_hfr_120_3a</A3Video>
|
||||
</ChromatixName>
|
||||
</ResolutionChromatixInfo>
|
||||
</ChromatixConfigurationRoot>
|
||||
138
configs/camera/mot_s5k3l8_bear_chromatix.xml
Normal file
138
configs/camera/mot_s5k3l8_bear_chromatix.xml
Normal file
@@ -0,0 +1,138 @@
|
||||
<!--
|
||||
Copyright (c) 2016 Qualcomm Technologies, Inc.
|
||||
All Rights Reserved.
|
||||
Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
-->
|
||||
|
||||
<!--
|
||||
CommonChromatixInfo:
|
||||
CommonChromatixInfo is the information about chromatix needed for
|
||||
various use cases.
|
||||
Ex:- Preview, Snapshot, ZSL, HFR, HDR, Video, Liveshot for ISP, CPP,
|
||||
3A and SW PostProc.
|
||||
Entries in this node are common for all sensor modes.
|
||||
|
||||
ResolutionChromatixInfo:
|
||||
ResolutionChromatixInfo is the information about chromatix needed for
|
||||
various use cases.
|
||||
Ex:- Preview, Snapshot, ZSL, HFR, HDR, Video, Liveshot for ISP, CPP,
|
||||
3A and SW PostProc.
|
||||
Entries in this node are specific to sensor resolution.
|
||||
|
||||
ChromatixName:
|
||||
Contains the list of chromatix names for all modules.
|
||||
special_mode_mask:
|
||||
It is the bit mask for special modes, which is used for
|
||||
chromatix selection.
|
||||
Special modes can be any mode that needs a special chromatix.
|
||||
Ex:- scene mode, DZOOM mode, OIS capture mode, flash mode
|
||||
This is applicable for CommonChromatixInfo and
|
||||
ResolutionChromatixInfo.
|
||||
special_mode_mask="0" means none of the special modes are
|
||||
selected.
|
||||
sensor_resolution_index:
|
||||
It is the sensor resolution index for which chromatix libraries
|
||||
will be choosen.
|
||||
It is applicable only in ResolutionChromatixInfo.
|
||||
|
||||
ISPCommon :
|
||||
Common tuning library name for ISP
|
||||
ISPPreview :
|
||||
Preview tuning library name for ISP
|
||||
ISPSnapshot :
|
||||
Snapshot tuning library name for ISP
|
||||
CPPCommon :
|
||||
Common tuning library name for CPP
|
||||
CPPPreview :
|
||||
Preview tuning library name for CPP
|
||||
CPPSnapshot :
|
||||
Snapshot tuning library name for CPP
|
||||
CPPLiveshot :
|
||||
Liveshot tuning library name for CPP
|
||||
PostProc :
|
||||
Tuning library name for postproc module
|
||||
A3Preview :
|
||||
Preview tuning library for 3A
|
||||
A3Video :
|
||||
Video tuning library for 3A
|
||||
|
||||
Order of Resolution Pick:
|
||||
Assume the current sensor mode is "r" and special mode mask is "s".
|
||||
Chromatix for a module and type is choosen in this order till we find a
|
||||
valid chroamtix file name or else NULL is returned.
|
||||
1) From ResolutionChromatixInfo node for which sensor_resolution_index
|
||||
is "r" and special_mode_mask is "s".
|
||||
2) From CommonChromatixInfo node for which special_mode_mask is "s".
|
||||
3) From ResolutionChromatixInfo node for which sensor_resolution_index
|
||||
is "r" and special_mode_mask is "0".
|
||||
4) From CommonChromatixInfo node for which special_mode_mask is "0".
|
||||
5) NULL is returned if we dont find in any of the above cases.
|
||||
|
||||
special_mode_mask values:
|
||||
SENSOR_SPECIAL_MODE_NONE = 0,
|
||||
SENSOR_SPECIAL_MODE_FLASH = 1,
|
||||
SENSOR_SPECIAL_MODE_ZOOM_UPSCALE = 2,
|
||||
SENSOR_SPECIAL_MODE_ZOOM_DOWNSCALE = 4,
|
||||
SENSOR_SPECIAL_MODE_OIS_CAPTURE = 8,
|
||||
-->
|
||||
|
||||
<ChromatixConfigurationRoot>
|
||||
<CommonChromatixInfo>
|
||||
<ChromatixName special_mode_mask="0">
|
||||
<ISPCommon>mot_s5k3l8_bear_common</ISPCommon>
|
||||
<PostProc>mot_s5k3l8_bear_postproc</PostProc>
|
||||
</ChromatixName>
|
||||
<ChromatixName special_mode_mask="MOT_CPP_CUSTOM">
|
||||
<CPPSnapshot>mot_s5k3l8_bear_cpp_snapshot_custom</CPPSnapshot>
|
||||
</ChromatixName>
|
||||
</CommonChromatixInfo>
|
||||
<ResolutionChromatixInfo>
|
||||
<ChromatixName sensor_resolution_index="0" special_mode_mask="0">
|
||||
<ISPPreview>mot_s5k3l8_bear_snapshot</ISPPreview>
|
||||
<ISPSnapshot>mot_s5k3l8_bear_snapshot</ISPSnapshot>
|
||||
<ISPVideo>mot_s5k3l8_bear_snapshot</ISPVideo>
|
||||
<CPPPreview>mot_s5k3l8_bear_cpp_preview</CPPPreview>
|
||||
<CPPSnapshot>mot_s5k3l8_bear_cpp_snapshot</CPPSnapshot>
|
||||
<CPPVideo>mot_s5k3l8_bear_cpp_video</CPPVideo>
|
||||
<CPPLiveshot>mot_s5k3l8_bear_cpp_liveshot</CPPLiveshot>
|
||||
<A3Preview>mot_s5k3l8_bear_zsl_preview_3a</A3Preview>
|
||||
<A3Video>mot_s5k3l8_bear_zsl_video_3a</A3Video>
|
||||
</ChromatixName>
|
||||
<ChromatixName sensor_resolution_index="0" special_mode_mask="ZOOM_DOWNSCALE">
|
||||
<CPPSnapshot>mot_s5k3l8_bear_cpp_snapshot_downscale</CPPSnapshot>
|
||||
</ChromatixName>
|
||||
<ChromatixName sensor_resolution_index="1" special_mode_mask="0">
|
||||
<ISPPreview>mot_s5k3l8_bear_preview</ISPPreview>
|
||||
<ISPSnapshot>mot_s5k3l8_bear_preview</ISPSnapshot>
|
||||
<ISPVideo>mot_s5k3l8_bear_preview</ISPVideo>
|
||||
<CPPPreview>mot_s5k3l8_bear_cpp_preview</CPPPreview>
|
||||
<CPPSnapshot>mot_s5k3l8_bear_cpp_snapshot</CPPSnapshot>
|
||||
<CPPVideo>mot_s5k3l8_bear_cpp_video</CPPVideo>
|
||||
<CPPLiveshot>mot_s5k3l8_bear_cpp_liveshot</CPPLiveshot>
|
||||
<A3Preview>mot_s5k3l8_bear_default_preview_3a</A3Preview>
|
||||
<A3Video>mot_s5k3l8_bear_default_video_3a</A3Video>
|
||||
</ChromatixName>
|
||||
<ChromatixName sensor_resolution_index="2" special_mode_mask="0">
|
||||
<ISPPreview>mot_s5k3l8_bear_hfr_60</ISPPreview>
|
||||
<ISPSnapshot>mot_s5k3l8_bear_hfr_60</ISPSnapshot>
|
||||
<ISPVideo>mot_s5k3l8_bear_hfr_60</ISPVideo>
|
||||
<CPPPreview>mot_s5k3l8_bear_cpp_hfr_60</CPPPreview>
|
||||
<CPPSnapshot>mot_s5k3l8_bear_cpp_hfr_60</CPPSnapshot>
|
||||
<CPPVideo>mot_s5k3l8_bear_cpp_hfr_60</CPPVideo>
|
||||
<CPPLiveshot>mot_s5k3l8_bear_cpp_hfr_60</CPPLiveshot>
|
||||
<A3Preview>mot_s5k3l8_bear_hfr_60_3a</A3Preview>
|
||||
<A3Video>mot_s5k3l8_bear_hfr_60_3a</A3Video>
|
||||
</ChromatixName>
|
||||
<ChromatixName sensor_resolution_index="3" special_mode_mask="0">
|
||||
<ISPPreview>mot_s5k3l8_bear_hfr_120</ISPPreview>
|
||||
<ISPSnapshot>mot_s5k3l8_bear_hfr_120</ISPSnapshot>
|
||||
<ISPVideo>mot_s5k3l8_bear_hfr_120</ISPVideo>
|
||||
<CPPPreview>mot_s5k3l8_bear_cpp_hfr_120</CPPPreview>
|
||||
<CPPSnapshot>mot_s5k3l8_bear_cpp_hfr_120</CPPSnapshot>
|
||||
<CPPVideo>mot_s5k3l8_bear_cpp_hfr_120</CPPVideo>
|
||||
<CPPLiveshot>mot_s5k3l8_bear_cpp_hfr_120</CPPLiveshot>
|
||||
<A3Preview>mot_s5k3l8_bear_hfr_120_3a</A3Preview>
|
||||
<A3Video>mot_s5k3l8_bear_hfr_120_3a</A3Video>
|
||||
</ChromatixName>
|
||||
</ResolutionChromatixInfo>
|
||||
</ChromatixConfigurationRoot>
|
||||
127
configs/camera/mot_s5k3l8_mono_chromatix.xml
Normal file
127
configs/camera/mot_s5k3l8_mono_chromatix.xml
Normal file
@@ -0,0 +1,127 @@
|
||||
<!--
|
||||
Copyright (c) 2016 Qualcomm Technologies, Inc.
|
||||
All Rights Reserved.
|
||||
Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
-->
|
||||
|
||||
<!--
|
||||
CommonChromatixInfo:
|
||||
CommonChromatixInfo is the information about chromatix needed for
|
||||
various use cases.
|
||||
Ex:- Preview, Snapshot, ZSL, HFR, HDR, Video, Liveshot for ISP, CPP,
|
||||
3A and SW PostProc.
|
||||
Entries in this node are common for all sensor modes.
|
||||
|
||||
ResolutionChromatixInfo:
|
||||
ResolutionChromatixInfo is the information about chromatix needed for
|
||||
various use cases.
|
||||
Ex:- Preview, Snapshot, ZSL, HFR, HDR, Video, Liveshot for ISP, CPP,
|
||||
3A and SW PostProc.
|
||||
Entries in this node are specific to sensor resolution.
|
||||
|
||||
ChromatixName:
|
||||
Contains the list of chromatix names for all modules.
|
||||
special_mode_mask:
|
||||
It is the bit mask for special modes, which is used for
|
||||
chromatix selection.
|
||||
Special modes can be any mode that needs a special chromatix.
|
||||
Ex:- scene mode, DZOOM mode, OIS capture mode, flash mode
|
||||
This is applicable for CommonChromatixInfo and
|
||||
ResolutionChromatixInfo.
|
||||
special_mode_mask="0" means none of the special modes are
|
||||
selected.
|
||||
sensor_resolution_index:
|
||||
It is the sensor resolution index for which chromatix libraries
|
||||
will be choosen.
|
||||
It is applicable only in ResolutionChromatixInfo.
|
||||
|
||||
ISPCommon :
|
||||
Common tuning library name for ISP
|
||||
ISPPreview :
|
||||
Preview tuning library name for ISP
|
||||
ISPSnapshot :
|
||||
Snapshot tuning library name for ISP
|
||||
CPPCommon :
|
||||
Common tuning library name for CPP
|
||||
CPPPreview :
|
||||
Preview tuning library name for CPP
|
||||
CPPSnapshot :
|
||||
Snapshot tuning library name for CPP
|
||||
CPPLiveshot :
|
||||
Liveshot tuning library name for CPP
|
||||
PostProc :
|
||||
Tuning library name for postproc module
|
||||
A3Preview :
|
||||
Preview tuning library for 3A
|
||||
A3Video :
|
||||
Video tuning library for 3A
|
||||
|
||||
Order of Resolution Pick:
|
||||
Assume the current sensor mode is "r" and special mode mask is "s".
|
||||
Chromatix for a module and type is choosen in this order till we find a
|
||||
valid chroamtix file name or else NULL is returned.
|
||||
1) From ResolutionChromatixInfo node for which sensor_resolution_index
|
||||
is "r" and special_mode_mask is "s".
|
||||
2) From CommonChromatixInfo node for which special_mode_mask is "s".
|
||||
3) From ResolutionChromatixInfo node for which sensor_resolution_index
|
||||
is "r" and special_mode_mask is "0".
|
||||
4) From CommonChromatixInfo node for which special_mode_mask is "0".
|
||||
5) NULL is returned if we dont find in any of the above cases.
|
||||
|
||||
special_mode_mask values:
|
||||
SENSOR_SPECIAL_MODE_NONE = 0,
|
||||
SENSOR_SPECIAL_MODE_FLASH = 1,
|
||||
SENSOR_SPECIAL_MODE_ZOOM_UPSCALE = 2,
|
||||
SENSOR_SPECIAL_MODE_ZOOM_DOWNSCALE = 4,
|
||||
SENSOR_SPECIAL_MODE_OIS_CAPTURE = 8,
|
||||
-->
|
||||
|
||||
<ChromatixConfigurationRoot>
|
||||
<CommonChromatixInfo>
|
||||
<ChromatixName special_mode_mask="0">
|
||||
<ISPCommon>mot_s5k3l8_mono_common</ISPCommon>
|
||||
<PostProc>mot_s5k3l8_mono_postproc</PostProc>
|
||||
</ChromatixName>
|
||||
</CommonChromatixInfo>
|
||||
<ChromatixName special_mode_mask="MOT_CPP_CUSTOM">
|
||||
<CPPSnapshot>mot_s5k3l8_mono_cpp_snapshot_custom</CPPSnapshot>
|
||||
</ChromatixName>
|
||||
<ResolutionChromatixInfo>
|
||||
<ChromatixName sensor_resolution_index="0" special_mode_mask="0">
|
||||
<ISPPreview>mot_s5k3l8_mono_snapshot</ISPPreview>
|
||||
<ISPSnapshot>mot_s5k3l8_mono_snapshot</ISPSnapshot>
|
||||
<ISPVideo>mot_s5k3l8_mono_snapshot</ISPVideo>
|
||||
<CPPPreview>mot_s5k3l8_mono_cpp_preview</CPPPreview>
|
||||
<CPPSnapshot>mot_s5k3l8_mono_cpp_snapshot</CPPSnapshot>
|
||||
<CPPVideo>mot_s5k3l8_mono_cpp_video</CPPVideo>
|
||||
<CPPLiveshot>mot_s5k3l8_mono_cpp_liveshot</CPPLiveshot>
|
||||
<A3Preview>mot_s5k3l8_mono_zsl_preview_3a</A3Preview>
|
||||
<A3Video>mot_s5k3l8_mono_zsl_video_3a</A3Video>
|
||||
</ChromatixName>
|
||||
<ChromatixName sensor_resolution_index="0" special_mode_mask="ZOOM_DOWNSCALE">
|
||||
<CPPSnapshot>mot_s5k3l8_mono_cpp_snapshot_downscale</CPPSnapshot>
|
||||
</ChromatixName>
|
||||
<ChromatixName sensor_resolution_index="1" special_mode_mask="0">
|
||||
<ISPPreview>mot_s5k3l8_mono_preview</ISPPreview>
|
||||
<ISPSnapshot>mot_s5k3l8_mono_preview</ISPSnapshot>
|
||||
<ISPVideo>mot_s5k3l8_mono_preview</ISPVideo>
|
||||
<CPPPreview>mot_s5k3l8_mono_cpp_preview</CPPPreview>
|
||||
<CPPSnapshot>mot_s5k3l8_mono_cpp_snapshot</CPPSnapshot>
|
||||
<CPPVideo>mot_s5k3l8_mono_cpp_video</CPPVideo>
|
||||
<CPPLiveshot>mot_s5k3l8_mono_cpp_liveshot</CPPLiveshot>
|
||||
<A3Preview>mot_s5k3l8_mono_default_preview_3a</A3Preview>
|
||||
<A3Video>mot_s5k3l8_mono_default_video_3a</A3Video>
|
||||
</ChromatixName>
|
||||
<ChromatixName sensor_resolution_index="2" special_mode_mask="0">
|
||||
<ISPPreview>mot_s5k3l8_mono_hfr_120</ISPPreview>
|
||||
<ISPSnapshot>mot_s5k3l8_mono_hfr_120</ISPSnapshot>
|
||||
<ISPVideo>mot_s5k3l8_mono_hfr_120</ISPVideo>
|
||||
<CPPPreview>mot_s5k3l8_mono_cpp_hfr_120</CPPPreview>
|
||||
<CPPSnapshot>mot_s5k3l8_mono_cpp_hfr_120</CPPSnapshot>
|
||||
<CPPVideo>mot_s5k3l8_mono_cpp_hfr_120</CPPVideo>
|
||||
<CPPLiveshot>mot_s5k3l8_mono_cpp_hfr_120</CPPLiveshot>
|
||||
<A3Preview>mot_s5k3l8_mono_hfr_120_3a</A3Preview>
|
||||
<A3Video>mot_s5k3l8_mono_hfr_120_3a</A3Video>
|
||||
</ChromatixName>
|
||||
</ResolutionChromatixInfo>
|
||||
</ChromatixConfigurationRoot>
|
||||
160
configs/camera/msm8953_mot_sanders_camera.xml
Normal file
160
configs/camera/msm8953_mot_sanders_camera.xml
Normal file
@@ -0,0 +1,160 @@
|
||||
<!--
|
||||
Copyright (c) 2015-2016 Qualcomm Technologies, Inc.
|
||||
All Rights Reserved.
|
||||
Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
-->
|
||||
<!--
|
||||
CameraModuleConfig :
|
||||
This node must be added for each module prosent in the device.
|
||||
It contain all information about the module present.
|
||||
The number of nodes of CameraModuleConfig indicate number of modules
|
||||
to be probed on the device.
|
||||
Maximum number of CameraModuleConfig nodes is 10
|
||||
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
*CameraId :
|
||||
Camera Id is the Slot number in which the mode is plugged.
|
||||
Valid values are 0, 1, 2 and 3.
|
||||
*SensorName :
|
||||
Name of the sensor present on the module.
|
||||
The sensor library name should be of the form libmmcamera_<SensorName>.so
|
||||
ActuatorName :
|
||||
Name of the actuator on this module.
|
||||
The actuator library name should be of the form libactuator_<ActuatorName>.so.
|
||||
If there is no actuator remove the <ActuatorName> node.
|
||||
EepromName :
|
||||
Name of the eeprom on this module.
|
||||
Eeprom lib name should be of the form libmmcamera_<EepromName>_eeprom.so
|
||||
If there is no eeprom remove the <EepromName> node.
|
||||
FlashName :
|
||||
Name of the flash on this module.
|
||||
The flash library name should be of the form libflash_<FlashName>.so.
|
||||
If there is no flash remove the <FlashName> node.
|
||||
ChromatixName :
|
||||
Name of the tuning xml file.
|
||||
Tuning file contains the list of chromatix library names.
|
||||
If there is no tuning xml file remove the <ChromatixName> node.
|
||||
Position :
|
||||
Position of the sensor module. Valid values are:
|
||||
BACK, FRONT and BACK_AUX
|
||||
MountAngle :
|
||||
Angle at which the sensor is mounted. Valid values are 0, 90, 180, 270 and 360.
|
||||
To use default mountangle mentioned in kernel use 360.
|
||||
|
||||
CsiInfo : This node contains information about the receiver configuration.
|
||||
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
*CSIDCore :
|
||||
CSID core to receive the data. Valid values are 0, 1, 2 and 3.
|
||||
*LaneMask :
|
||||
Mask to mention which lane is enabled.
|
||||
LaneMask[0] for DL0.
|
||||
LaneMask[1] for CLK.
|
||||
LaneMask[2] for DL1.
|
||||
LaneMask[3] for DL2.
|
||||
LaneMask[4] for DL3
|
||||
*LaneAssign :
|
||||
Number which describes the lane mapping between sensor and PHY.
|
||||
LaneAssign[0:3] is sensor lane number connected to data lane 0 of PHY on MSM
|
||||
LaneAssign[4:7] is sensor lane number connected to data lane 2 of PHY on MSM
|
||||
LaneAssign[8:11] is sensor lane number connected to data lane 3 of PHY on MSM
|
||||
LaneAssign[12:15] is sensor lane number connected to data lane 4 of PHY on MSM
|
||||
|
||||
NOTE : Lane 1 is reserved for the clock lane.
|
||||
Wiring and setting it to a data lane is prohibited.
|
||||
ComboMode :
|
||||
Flag to enable combo mode.
|
||||
This flag is enabled if multiple sensors are using same CSI-PHY receiver
|
||||
|
||||
LensInfo : Information of the lens present in the module.
|
||||
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
*FocalLength :
|
||||
FocalLength of the lens in micometers.
|
||||
Distance between the center of curvature to the focal point.
|
||||
*FNumber :
|
||||
FNumber of the lens.
|
||||
*TotalFocusDistance : The total distance in meters the lens could focus.
|
||||
*HorizontalViewAngle : HorizontalViewAngle in degrees
|
||||
*VerticalViewAngle : VerticalViewAngle in degrees
|
||||
*MinFocusDistance : Minimum distance in meters the lens could focus.
|
||||
|
||||
*VARIABLES MARKED WITH ASTRICK (*) ARE MANDATORY.
|
||||
|
||||
-->
|
||||
|
||||
<CameraConfigurationRoot>
|
||||
<CameraModuleConfig>
|
||||
<CameraId>0</CameraId>
|
||||
<SensorName>mot_s5k3l8_bear</SensorName>
|
||||
<EepromName>gt24c64_bear</EepromName>
|
||||
<ActuatorName>mot_ak7371_bear</ActuatorName>
|
||||
<FlashName>pmic</FlashName>
|
||||
<ChromatixName>mot_s5k3l8_bear_chromatix</ChromatixName>
|
||||
<ModesSupported>1</ModesSupported>
|
||||
<Position>BACK</Position>
|
||||
<MountAngle>90</MountAngle>
|
||||
<CSIInfo>
|
||||
<CSIDCore>0</CSIDCore>
|
||||
<LaneMask>0x1F</LaneMask>
|
||||
<LaneAssign>0x4320</LaneAssign>
|
||||
<ComboMode>0</ComboMode>
|
||||
</CSIInfo>
|
||||
<LensInfo>
|
||||
<FocalLength>3.59</FocalLength>
|
||||
<FNumber>2.0</FNumber>
|
||||
<TotalFocusDistance>1.9</TotalFocusDistance>
|
||||
<HorizontalViewAngle>65.90</HorizontalViewAngle>
|
||||
<VerticalViewAngle>51.50</VerticalViewAngle>
|
||||
<MinFocusDistance>0.1</MinFocusDistance>
|
||||
</LensInfo>
|
||||
</CameraModuleConfig>
|
||||
<CameraModuleConfig>
|
||||
<CameraId>1</CameraId>
|
||||
<SensorName>mot_s5k3l8_mono</SensorName>
|
||||
<EepromName>gt24c64_mono</EepromName>
|
||||
<ActuatorName>mot_ak7371_mono</ActuatorName>
|
||||
<ChromatixName>mot_s5k3l8_mono_chromatix</ChromatixName>
|
||||
<ModesSupported>1</ModesSupported>
|
||||
<Position>BACK_AUX</Position>
|
||||
<MountAngle>90</MountAngle>
|
||||
<CSIInfo>
|
||||
<CSIDCore>1</CSIDCore>
|
||||
<LaneMask>0x1F</LaneMask>
|
||||
<LaneAssign>0x4320</LaneAssign>
|
||||
<ComboMode>0</ComboMode>
|
||||
</CSIInfo>
|
||||
<LensInfo>
|
||||
<FocalLength>3.59</FocalLength>
|
||||
<FNumber>2.0</FNumber>
|
||||
<TotalFocusDistance>1.9</TotalFocusDistance>
|
||||
<HorizontalViewAngle>65.90</HorizontalViewAngle>
|
||||
<VerticalViewAngle>51.50</VerticalViewAngle>
|
||||
<MinFocusDistance>0.1</MinFocusDistance>
|
||||
</LensInfo>
|
||||
</CameraModuleConfig>
|
||||
<CameraModuleConfig>
|
||||
<CameraId>2</CameraId>
|
||||
<SensorName>s5k4h8</SensorName>
|
||||
<EepromName>l4h8f20</EepromName>
|
||||
<FlashName>aw3641</FlashName>
|
||||
<ChromatixName>s5k4h8_chromatix</ChromatixName>
|
||||
<ModesSupported>1</ModesSupported>
|
||||
<Position>FRONT</Position>
|
||||
<MountAngle>270</MountAngle>
|
||||
<CSIInfo>
|
||||
<CSIDCore>2</CSIDCore>
|
||||
<LaneMask>0x1F</LaneMask>
|
||||
<LaneAssign>0x4320</LaneAssign>
|
||||
<ComboMode>0</ComboMode>
|
||||
</CSIInfo>
|
||||
<LensInfo>
|
||||
<FocalLength>2.51</FocalLength>
|
||||
<FNumber>2.0</FNumber>
|
||||
<TotalFocusDistance>1.2</TotalFocusDistance>
|
||||
<HorizontalViewAngle>71.69</HorizontalViewAngle>
|
||||
<VerticalViewAngle>56.62</VerticalViewAngle>
|
||||
<MinFocusDistance>0.1</MinFocusDistance>
|
||||
</LensInfo>
|
||||
</CameraModuleConfig>
|
||||
</CameraConfigurationRoot>
|
||||
110
configs/camera/s5k4h8_chromatix.xml
Normal file
110
configs/camera/s5k4h8_chromatix.xml
Normal file
@@ -0,0 +1,110 @@
|
||||
<!--
|
||||
Copyright (c) 2015 Qualcomm Technologies, Inc.
|
||||
All Rights Reserved.
|
||||
Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
-->
|
||||
|
||||
<!--
|
||||
CommonChromatixInfo:
|
||||
CommonChromatixInfo is the information about chromatix needed for
|
||||
various use cases.
|
||||
Ex:- Preview, Snapshot, ZSL, HFR, HDR, Video, Liveshot for ISP, CPP,
|
||||
3A and SW PostProc.
|
||||
Entries in this node are common for all sensor modes.
|
||||
|
||||
ResolutionChromatixInfo:
|
||||
ResolutionChromatixInfo is the information about chromatix needed for
|
||||
various use cases.
|
||||
Ex:- Preview, Snapshot, ZSL, HFR, HDR, Video, Liveshot for ISP, CPP,
|
||||
3A and SW PostProc.
|
||||
Entries in this node are specific to sensor resolution.
|
||||
|
||||
ChromatixName:
|
||||
Contains the list of chromatix names for all modules.
|
||||
special_mode_mask:
|
||||
It is the bit mask for special modes, which is used for
|
||||
chromatix selection.
|
||||
Special modes can be any mode that needs a special chromatix.
|
||||
Ex:- scene mode, DZOOM mode, OIS capture mode, flash mode
|
||||
This is applicable for CommonChromatixInfo and
|
||||
ResolutionChromatixInfo.
|
||||
special_mode_mask="0" means none of the special modes are
|
||||
selected.
|
||||
sensor_resolution_index:
|
||||
It is the sensor resolution index for which chromatix libraries
|
||||
will be choosen.
|
||||
It is applicable only in ResolutionChromatixInfo.
|
||||
|
||||
ISPCommon :
|
||||
Common tuning library name for ISP
|
||||
ISPPreview :
|
||||
Preview tuning library name for ISP
|
||||
ISPSnapshot :
|
||||
Snapshot tuning library name for ISP
|
||||
CPPCommon :
|
||||
Common tuning library name for CPP
|
||||
CPPPreview :
|
||||
Preview tuning library name for CPP
|
||||
CPPSnapshot :
|
||||
Snapshot tuning library name for CPP
|
||||
CPPLiveshot :
|
||||
Liveshot tuning library name for CPP
|
||||
PostProc :
|
||||
Tuning library name for postproc module
|
||||
A3Preview :
|
||||
Preview tuning library for 3A
|
||||
A3Video :
|
||||
Video tuning library for 3A
|
||||
|
||||
Order of Resolution Pick:
|
||||
Assume the current sensor mode is "r" and special mode mask is "s".
|
||||
Chromatix for a module and type is choosen in this order till we find a
|
||||
valid chroamtix file name or else NULL is returned.
|
||||
1) From ResolutionChromatixInfo node for which sensor_resolution_index
|
||||
is "r" and special_mode_mask is "s".
|
||||
2) From CommonChromatixInfo node for which special_mode_mask is "s".
|
||||
3) From ResolutionChromatixInfo node for which sensor_resolution_index
|
||||
is "r" and special_mode_mask is "0".
|
||||
4) From CommonChromatixInfo node for which special_mode_mask is "0".
|
||||
5) NULL is returned if we dont find in any of the above cases.
|
||||
|
||||
special_mode_mask values:
|
||||
SENSOR_SPECIAL_MODE_NONE = 0,
|
||||
SENSOR_SPECIAL_MODE_FLASH = 1,
|
||||
SENSOR_SPECIAL_MODE_ZOOM_UPSCALE = 2,
|
||||
SENSOR_SPECIAL_MODE_ZOOM_DOWNSCALE = 4,
|
||||
SENSOR_SPECIAL_MODE_OIS_CAPTURE = 8,
|
||||
-->
|
||||
|
||||
<ChromatixConfigurationRoot>
|
||||
<CommonChromatixInfo>
|
||||
<ChromatixName>
|
||||
<ISPCommon>s5k4h8_common</ISPCommon>
|
||||
<PostProc>s5k4h8_postproc</PostProc>
|
||||
<CPPPreview>s5k4h8_cpp_preview</CPPPreview>
|
||||
<CPPSnapshot>s5k4h8_cpp_snapshot</CPPSnapshot>
|
||||
<CPPLiveshot>s5k4h8_cpp_liveshot</CPPLiveshot>
|
||||
</ChromatixName>
|
||||
<ChromatixName special_mode_mask="MOT_CPP_CUSTOM">
|
||||
<CPPSnapshot>s5k4h8_cpp_snapshot_custom</CPPSnapshot>
|
||||
</ChromatixName>
|
||||
</CommonChromatixInfo>
|
||||
<ResolutionChromatixInfo>
|
||||
<ChromatixName sensor_resolution_index="0">
|
||||
<ISPPreview>s5k4h8_snapshot</ISPPreview>
|
||||
<ISPSnapshot>s5k4h8_snapshot</ISPSnapshot>
|
||||
<ISPVideo>s5k4h8_video_full</ISPVideo>
|
||||
<CPPVideo>s5k4h8_cpp_video_full</CPPVideo>
|
||||
<A3Preview>s5k4h8_zsl_preview_3a</A3Preview>
|
||||
<A3Video>s5k4h8_zsl_video_3a</A3Video>
|
||||
</ChromatixName>
|
||||
<ChromatixName sensor_resolution_index="1">
|
||||
<ISPPreview>s5k4h8_hfr_120</ISPPreview>
|
||||
<ISPSnapshot>s5k4h8_hfr_120</ISPSnapshot>
|
||||
<ISPVideo>s5k4h8_hfr_120</ISPVideo>
|
||||
<CPPVideo>s5k4h8_cpp_hfr_120</CPPVideo>
|
||||
<A3Preview>s5k4h8_hfr_120_3a</A3Preview>
|
||||
<A3Video>s5k4h8_hfr_120_3a</A3Video>
|
||||
</ChromatixName>
|
||||
</ResolutionChromatixInfo>
|
||||
</ChromatixConfigurationRoot>
|
||||
68
configs/nfc/libnfc-nci.conf
Normal file
68
configs/nfc/libnfc-nci.conf
Normal file
@@ -0,0 +1,68 @@
|
||||
###############################################################################
|
||||
# Application options
|
||||
NFC_DEBUG_ENABLED=0
|
||||
|
||||
###############################################################################
|
||||
# File used for NFA storage
|
||||
NFA_STORAGE="/data/vendor/nfc"
|
||||
|
||||
###############################################################################
|
||||
# Force UICC to only listen to the following technology(s).
|
||||
# The bits are defined as tNFA_TECHNOLOGY_MASK in nfa_api.h.
|
||||
# Default is NFA_TECHNOLOGY_MASK_A | NFA_TECHNOLOGY_MASK_B | NFA_TECHNOLOGY_MASK_F
|
||||
UICC_LISTEN_TECH_MASK=0x07
|
||||
|
||||
###############################################################################
|
||||
# AID for Empty Select command
|
||||
# If specified, this AID will be substituted when an Empty SELECT command is
|
||||
# detected. The first byte is the length of the AID. Maximum length is 16.
|
||||
AID_FOR_EMPTY_SELECT={08:A0:00:00:01:51:00:00:00}
|
||||
|
||||
###############################################################################
|
||||
# When screen is turned off, specify the desired power state of the controller.
|
||||
# 0: power-off-sleep state; DEFAULT
|
||||
# 1: full-power state
|
||||
# 2: screen-off card-emulation (CE4/CE3/CE1 modes are used)
|
||||
SCREEN_OFF_POWER_STATE=1
|
||||
|
||||
###############################################################################
|
||||
# Force tag polling for the following technology(s).
|
||||
# The bits are defined as tNFA_TECHNOLOGY_MASK in nfa_api.h.
|
||||
# Default is NFA_TECHNOLOGY_MASK_A | NFA_TECHNOLOGY_MASK_B |
|
||||
# NFA_TECHNOLOGY_MASK_F | NFA_TECHNOLOGY_MASK_ISO15693 |
|
||||
# NFA_TECHNOLOGY_MASK_B_PRIME | NFA_TECHNOLOGY_MASK_KOVIO |
|
||||
# NFA_TECHNOLOGY_MASK_A_ACTIVE | NFA_TECHNOLOGY_MASK_F_ACTIVE.
|
||||
#
|
||||
# Notable bits:
|
||||
# NFA_TECHNOLOGY_MASK_A 0x01 /* NFC Technology A */
|
||||
# NFA_TECHNOLOGY_MASK_B 0x02 /* NFC Technology B */
|
||||
# NFA_TECHNOLOGY_MASK_F 0x04 /* NFC Technology F */
|
||||
# NFA_TECHNOLOGY_MASK_ISO15693 0x08 /* Proprietary Technology */
|
||||
# NFA_TECHNOLOGY_MASK_KOVIO 0x20 /* Proprietary Technology */
|
||||
# NFA_TECHNOLOGY_MASK_A_ACTIVE 0x40 /* NFC Technology A active mode */
|
||||
# NFA_TECHNOLOGY_MASK_F_ACTIVE 0x80 /* NFC Technology F active mode */
|
||||
POLLING_TECH_MASK=0xEF
|
||||
|
||||
###############################################################################
|
||||
# Force P2P to only listen for the following technology(s).
|
||||
# The bits are defined as tNFA_TECHNOLOGY_MASK in nfa_api.h.
|
||||
# Default is NFA_TECHNOLOGY_MASK_A | NFA_TECHNOLOGY_MASK_F |
|
||||
# NFA_TECHNOLOGY_MASK_A_ACTIVE | NFA_TECHNOLOGY_MASK_F_ACTIVE
|
||||
#
|
||||
# Notable bits:
|
||||
# NFA_TECHNOLOGY_MASK_A 0x01 /* NFC Technology A */
|
||||
# NFA_TECHNOLOGY_MASK_F 0x04 /* NFC Technology F */
|
||||
# NFA_TECHNOLOGY_MASK_A_ACTIVE 0x40 /* NFC Technology A active mode */
|
||||
# NFA_TECHNOLOGY_MASK_F_ACTIVE 0x80 /* NFC Technology F active mode */
|
||||
P2P_LISTEN_TECH_MASK=0xC4
|
||||
|
||||
PRESERVE_STORAGE=0x01
|
||||
|
||||
###############################################################################
|
||||
# AID_MATCHING constants
|
||||
# AID_MATCHING_EXACT_ONLY 0x00
|
||||
# AID_MATCHING_EXACT_OR_PREFIX 0x01
|
||||
# AID_MATCHING_PREFIX_ONLY 0x02
|
||||
AID_MATCHING_MODE=0x01
|
||||
|
||||
#################################################################################
|
||||
571
configs/nfc/libnfc-nxp.conf
Normal file
571
configs/nfc/libnfc-nxp.conf
Normal file
@@ -0,0 +1,571 @@
|
||||
###############################################################################
|
||||
## Modified by Motorola Mobility LLC
|
||||
## Version : 4.2 (2017/05/23)
|
||||
|
||||
## This file is used by NFC NXP NCI HAL(external/libnfc-nci/halimpl/pn548)
|
||||
## and NFC Service Java Native Interface Extensions (packages/apps/Nfc/nci/jni/extns/pn548)
|
||||
|
||||
###############################################################################
|
||||
# Application options
|
||||
# Logging Levels
|
||||
# NXPLOG_DEFAULT_LOGLEVEL 0x01
|
||||
# ANDROID_LOG_DEBUG 0x03
|
||||
# ANDROID_LOG_WARN 0x02
|
||||
# ANDROID_LOG_ERROR 0x01
|
||||
# ANDROID_LOG_SILENT 0x00
|
||||
#
|
||||
NXPLOG_EXTNS_LOGLEVEL=0x03
|
||||
NXPLOG_NCIHAL_LOGLEVEL=0x03
|
||||
NXPLOG_NCIX_LOGLEVEL=0x03
|
||||
NXPLOG_NCIR_LOGLEVEL=0x03
|
||||
NXPLOG_FWDNLD_LOGLEVEL=0x03
|
||||
NXPLOG_TML_LOGLEVEL=0x03
|
||||
NFC_DEBUG_ENABLED=0x00
|
||||
|
||||
###############################################################################
|
||||
# Nfc Device Node name
|
||||
NXP_NFC_DEV_NODE="/dev/pn544"
|
||||
|
||||
###############################################################################
|
||||
# Extension for Mifare reader enable
|
||||
# Disabled - 0x00
|
||||
# Enabled - 0x01
|
||||
MIFARE_READER_ENABLE=0x01
|
||||
|
||||
###############################################################################
|
||||
# Firmware file type
|
||||
#.so file 0x01
|
||||
#.bin file 0x02
|
||||
NXP_FW_TYPE=0x01
|
||||
|
||||
###############################################################################
|
||||
# System clock source selection configuration
|
||||
#define CLK_SRC_XTAL 1
|
||||
#define CLK_SRC_PLL 2
|
||||
|
||||
NXP_SYS_CLK_SRC_SEL=0x01
|
||||
|
||||
###############################################################################
|
||||
# System clock frequency selection configuration
|
||||
#define CLK_FREQ_13MHZ 1
|
||||
#define CLK_FREQ_19_2MHZ 2
|
||||
#define CLK_FREQ_24MHZ 3
|
||||
#define CLK_FREQ_26MHZ 4
|
||||
#define CLK_FREQ_38_4MHZ 5
|
||||
#define CLK_FREQ_52MHZ 6
|
||||
|
||||
NXP_SYS_CLK_FREQ_SEL=0x00
|
||||
|
||||
###############################################################################
|
||||
# The timeout value to be used for clock request acknowledgment
|
||||
# min value = 0x01 (1.33 ms) to max = 0x06 (2.98 ms)
|
||||
NXP_SYS_CLOCK_TO_CFG=0x06
|
||||
|
||||
###############################################################################
|
||||
# NXP proprietary settings
|
||||
NXP_ACT_PROP_EXTN={2F, 02, 00}
|
||||
|
||||
###############################################################################
|
||||
# NFC forum profile settings
|
||||
NXP_NFC_PROFILE_EXTN={20, 02, 05, 01, A0, 44, 01, 00}
|
||||
|
||||
###############################################################################
|
||||
# NXP TVDD configurations settings
|
||||
# Allow NFCC to configure the external TVDD
|
||||
# Three configurations (0x01, 0x02 and 0x03) are supported
|
||||
# Only one shall be selected (hardware dependancy)
|
||||
# Config 1: VUP connected to VBAT
|
||||
# Config 2: VUP connected to external 5V
|
||||
# Config 3: TVDD connected to external 5V
|
||||
NXP_EXT_TVDD_CFG=0x02
|
||||
|
||||
#config1:SLALM, 3.3V for both RM and CM
|
||||
NXP_EXT_TVDD_CFG_1={20, 02, 0B, 02, A0, 66, 01, 00, A0, 0E, 03, 02, 09, 00}
|
||||
|
||||
#config2: use DCDC in CE, use Tx_Pwr_Req, set CFG2 mode, SLALM,
|
||||
#monitoring 5V from DCDC, 3.3V for both RM and CM, DCDCWaitTime=4.2ms
|
||||
#No dual sim
|
||||
NXP_EXT_TVDD_CFG_2={20, 02, 0B, 02, A0, 66, 01, 00, A0, 0E, 03, 56, 64, 01}
|
||||
#Dual SIM
|
||||
#NXP_EXT_TVDD_CFG_2={20, 02, 0B, 02, A0, 66, 01, 00, A0, 0E, 03, 56, E4, 0A}
|
||||
|
||||
#config3: use DCDC in CE, use Tx_Pwr_Req, SLALM, monitoring 5V from DCDC,
|
||||
#DCDCWaitTime=4.2ms
|
||||
NXP_EXT_TVDD_CFG_3={20, 02, 0B, 02, A0, 66, 01, 01, A0, 0E, 03, 52, 64, 0A}
|
||||
|
||||
|
||||
###############################################################################
|
||||
# NXP RF ALMSL configuration settings for FW VERSION = 10.01.22
|
||||
#
|
||||
# A0, 0D, 03, 00, 40, 01 RF_CLIF_CFG_BOOT CLIF_ANA_NFCLD_REG
|
||||
# A0, 0D, 06, 00, FF, 05, 04, 06, 00 RF_CLIF_CFG_BOOT SMU_PMU_REG (0x40024010)
|
||||
# A0, 0D, 06, 00, 35, FF, 01, FF, 02 RF_CLIF_CFG_BOOT CLIF_AGC_INPUT_REG
|
||||
# A0, 0D, 06, 00, 33, 07, 40, 00, 00 RF_CLIF_CFG_BOOT CLIF_AGC_CONFIG0_REG
|
||||
# A0, 0D, 03, 02, 40, 00 RF_CLIF_CFG_IDLE CLIF_ANA_NFCLD_REG
|
||||
# A0, 0D, 03, 04, 47, 02 RF_CLIF_CFG_INITIATOR CLIF_ANA_AGC_REG
|
||||
# A0, 0D, 06, 04, 35, F4, 01, F4, 01 RF_CLIF_CFG_INITIATOR CLIF_AGC_INPUT_REG
|
||||
# A0, 0D, 06, 05, 45, 80, 40, 00, 00 RF_CLIF_CFG_INITIATOR CLIF_ANA_CM_CONFIG_REG
|
||||
# A0, 0D, 06, 05, 35, FF, 01, FF, 02 RF_CLIF_CFG_INITIATOR CLIF_AGC_INPUT_REG
|
||||
# A0, 0D, 06, 05, 33, 07, 40, 00, 00 RF_CLIF_CFG_INITIATOR CLIF_AGC_CONFIG0_REG
|
||||
# A0, 0D, 06, 06, 44, A3, 90, 03, 00 RF_CLIF_CFG_TARGET CLIF_ANA_RX_REG
|
||||
# A0, 0D, 03, 06, 47, 02 RF_CLIF_CFG_TARGET CLIF_ANA_AGC_REG
|
||||
# A0, 0D, 06, 06, 35, FF, 03, FF, 03 RF_CLIF_CFG_TARGET CLIF_AGC_INPUT_REG
|
||||
# A0, 0D, 06, 06, 34, F7, 7F, 00, 10 RF_CLIF_CFG_TARGET CLIF_AGC_CONFIG1_REG
|
||||
# A0, 0D, 06, 06, 33, 03, 40, 00, 00 RF_CLIF_CFG_TARGET CLIF_AGC_CONFIG0_REG
|
||||
# A0, 0D, 06, 06, 30, C8, 00, 64, 00 RF_CLIF_CFG_TARGET CLIF_SIGPRO_ADCBCM_THRESHOLD_REG
|
||||
# A0, 0D, 06, 06, 2F, AF, 05, 80, 17 RF_CLIF_CFG_TARGET CLIF_SIGPRO_ADCBCM_CONFIG_REG
|
||||
# A0, 0D, 06, 06, 03, 00, 6D, 00, 20 RF_CLIF_CFG_TARGET CLIF_TRANSCEIVE_CONTROL_REG
|
||||
# A0, 0D, 06, 06, 45, 80, 40, 00, 00 RF_CLIF_CFG_TARGET CLIF_ANA_CM_CONFIG_REG
|
||||
# A0, 0D, 03, 06, 43, 20 RF_CLIF_CFG_TARGET CLIF_ANA_PBF_CONTROL_REG
|
||||
# A0, 0D, 06, 06, 42, 00, 02, FF, FF RF_CLIF_CFG_TARGET CLIF_ANA_TX_AMPLITUDE_REG
|
||||
# A0, 0D, 03, 06, 41, 40 RF_CLIF_CFG_TARGET CLIF_ANA_TX_CLK_CONTROL_REG
|
||||
# A0, 0D, 03, 06, 37, 08 RF_CLIF_CFG_TARGET CLIF_TX_CONTROL_REG
|
||||
# A0, 0D, 03, 06, 16, 00 RF_CLIF_CFG_TARGET CLIF_TX_UNDERSHOOT_CONFIG_REG
|
||||
# A0, 0D, 03, 06, 15, 00 RF_CLIF_CFG_TARGET CLIF_TX_OVERSHOOT_CONFIG_REG
|
||||
# A0, 0D, 03, 06, 17, 08 RF_CLIF_CFG_TARGET CLIF_RX_CONFIG_REG
|
||||
# A0, 0D, 03, 06, 3F, 04 RF_CLIF_CFG_TARGET CLIF_TEST_CONTROL_REG
|
||||
# A0, 0D, 03, 06, 80, 03 RF_CLIF_CFG_TARGET CLIF_SPARE_REG
|
||||
# A0, 0D, 03, 07, 3F, 00 RF_CLIF_CFG_TARGET CLIF_TEST_CONTROL_REG
|
||||
# A0, 0D, 06, 07, 35, FF, 01, FF, 02 RF_CLIF_CFG_TARGET CLIF_AGC_INPUT_REG
|
||||
# A0, 0D, 03, 16, 41, 8E RF_CLIF_CFG_TECHNO_I_TXB CLIF_ANA_TX_CLK_CONTROL_REG
|
||||
# A0, 0D, 06, 18, 34, 00, 00, E1, 03 RF_CLIF_CFG_TECHNO_I_RXB CLIF_AGC_CONFIG1_REG
|
||||
# A0, 0D, 06, 18, 33, 0F, 83, 00, 00 RF_CLIF_CFG_TECHNO_I_RXB CLIF_AGC_CONFIG0_REG
|
||||
# A0, 0D, 03, 1A, 41, 8E RF_CLIF_CFG_TECHNO_I_TXF CLIF_ANA_TX_CLK_CONTROL_REG
|
||||
# A0, 0D, 06, 1C, 34, 00, 00, E1, 03 RF_CLIF_CFG_TECHNO_I_RXF_P CLIF_AGC_CONFIG1_REG
|
||||
# A0, 0D, 06, 1C, 33, 0F, 83, 00, 00 RF_CLIF_CFG_TECHNO_I_RXF_P CLIF_AGC_CONFIG0_REG
|
||||
# A0, 0D, 06, 20, 4A, 00, 00, 00, 00 RF_CLIF_CFG_TECHNO_I_TX15693CLIF_ANA_TX_SHAPE_CONTROL_REG
|
||||
# A0, 0D, 06, 20, 42, 88, 10, FF, FF RF_CLIF_CFG_TECHNO_I_TX15693CLIF_ANA_TX_AMPLITUDE_REG
|
||||
# A0, 0D, 03, 20, 41, 82 RF_CLIF_CFG_TECHNO_I_TX15693CLIF_ANA_TX_CLK_CONTROL_REG
|
||||
# A0, 0D, 06, 32, 42, F8, 10, FF, FF RF_CLIF_CFG_BR_106_I_TXA CLIF_ANA_TX_AMPLITUDE_REG
|
||||
# A0, 0D, 06, 32, 41, 82, 07, 00, 00 RF_CLIF_CFG_BR_106_I_TXA CLIF_ANA_TX_CLK_CONTROL_REG
|
||||
# A0, 0D, 03, 32, 16, 00 RF_CLIF_CFG_BR_106_I_TXA CLIF_TX_UNDERSHOOT_CONFIG_REG
|
||||
# A0, 0D, 03, 32, 15, 01 RF_CLIF_CFG_BR_106_I_TXA CLIF_TX_OVERSHOOT_CONFIG_REG
|
||||
# A0, 0D, 06, 32, 4A, 33, 07, 00, 08 RF_CLIF_CFG_BR_106_I_TXA CLIF_ANA_TX_SHAPE_CONTROL_REG
|
||||
# A0, 0D, 06, 34, 2D, 24, 47, 0C, 00 RF_CLIF_CFG_BR_106_I_RXA_P CLIF_SIGPRO_RM_CONFIG1_REG
|
||||
# A0, 0D, 06, 34, 34, 00, 00, EC, 03 RF_CLIF_CFG_BR_106_I_RXA_P CLIF_AGC_CONFIG1_REG
|
||||
# A0, 0D, 06, 34, 33, 0F, 01, 01, 70 RF_CLIF_CFG_BR_106_I_RXA_P CLIF_AGC_CONFIG0_REG
|
||||
# A0, 0D, 04, 34, 44, 21, 00 RF_CLIF_CFG_BR_106_I_RXA_P CLIF_ANA_RX_REG
|
||||
# A0, 0D, 06, 38, 4A, 33, 07, 00, 08 RF_CLIF_CFG_BR_212_I_TXA CLIF_ANA_TX_SHAPE_CONTROL_REG
|
||||
# A0, 0D, 06, 38, 42, 68, 10, FF, FF RF_CLIF_CFG_BR_212_I_TXA CLIF_ANA_TX_AMPLITUDE_REG
|
||||
# A0, 0D, 04, 3A, 44, 26, 00 RF_CLIF_CFG_BR_212_I_RXA CLIF_ANA_RX_REG
|
||||
# A0, 0D, 06, 3A, 2D, 15, 47, 0D, 00 RF_CLIF_CFG_BR_212_I_RXA CLIF_SIGPRO_RM_CONFIG1_REG
|
||||
# A0, 0D, 06, 3A, 34, 00, 00, E1, 03 RF_CLIF_CFG_BR_212_I_RXA CLIF_AGC_CONFIG1_REG
|
||||
# A0, 0D, 06, 3A, 33, 0B, 83, 00, 00 RF_CLIF_CFG_BR_212_I_RXA CLIF_AGC_CONFIG0_REG
|
||||
# A0, 0D, 06, 3C, 4A, 52, 07, 00, 1B RF_CLIF_CFG_BR_424_I_TXA CLIF_ANA_TX_SHAPE_CONTROL_REG
|
||||
# A0, 0D, 06, 3C, 42, 68, 10, FF, FF RF_CLIF_CFG_BR_424_I_TXA CLIF_ANA_TX_AMPLITUDE_REG
|
||||
# A0, 0D, 04, 3E, 44, 26, 00 RF_CLIF_CFG_BR_424_I_RXA CLIF_ANA_RX_REG
|
||||
# A0, 0D, 06, 3E, 2D, 15, 47, 0D, 00 RF_CLIF_CFG_BR_424_I_RXA CLIF_SIGPRO_RM_CONFIG1_REG
|
||||
# A0, 0D, 06, 3E, 34, 00, 00, E1, 03 RF_CLIF_CFG_BR_424_I_RXA CLIF_AGC_CONFIG1_REG
|
||||
# A0, 0D, 06, 3E, 33, 0B, 83, 00, 00 RF_CLIF_CFG_BR_424_I_RXA CLIF_AGC_CONFIG0_REG
|
||||
# A0, 0D, 03, 40, 41, 8E RF_CLIF_CFG_BR_848_I_TXA CLIF_ANA_TX_CLK_CONTROL_REG
|
||||
# A0, 0D, 06, 40, 42, F0, 10, FF, FF RF_CLIF_CFG_BR_848_I_TXA CLIF_ANA_TX_AMPLITUDE_REG
|
||||
# A0, 0D, 06, 40, 4A, 12, 07, 00, 00 RF_CLIF_CFG_BR_848_I_TXA CLIF_ANA_TX_SHAPE_CONTROL_REG
|
||||
# A0, 0D, 04, 42, 44, 26, 00 RF_CLIF_CFG_BR_848_I_RXA CLIF_ANA_RX_REG
|
||||
# A0, 0D, 06, 42, 2D, 15, 47, 0D, 00 RF_CLIF_CFG_BR_848_I_RXA CLIF_SIGPRO_RM_CONFIG1_REG
|
||||
# A0, 0D, 06, 42, 34, 00, 00, E1, 03 RF_CLIF_CFG_BR_848_I_RXA CLIF_AGC_CONFIG1_REG
|
||||
# A0, 0D, 06, 42, 33, 0B, 83, 00, 00 RF_CLIF_CFG_BR_848_I_RXA CLIF_AGC_CONFIG0_REG
|
||||
# A0, 0D, 04, 46, 44, 26, 00 RF_CLIF_CFG_BR_106_I_RXB CLIF_ANA_RX_REG
|
||||
# A0, 0D, 06, 46, 2D, 15, 25, 0D, 00 RF_CLIF_CFG_BR_106_I_RXB CLIF_SIGPRO_RM_CONFIG1_REG
|
||||
# A0, 0D, 06, 44, 4A, 21, 07, 00, 07 RF_CLIF_CFG_BR_106_I_TXB CLIF_ANA_TX_SHAPE_CONTROL_REG
|
||||
# A0, 0D, 06, 44, 42, 88, 10, FF, FF RF_CLIF_CFG_BR_106_I_TXB CLIF_ANA_TX_AMPLITUDE_REG
|
||||
# A0, 0D, 04, 4A, 44, 21, 00 RF_CLIF_CFG_BR_212_I_RXB CLIF_ANA_RX_REG
|
||||
# A0, 0D, 06, 4A, 2D, 15, 9D, 0D, 00 RF_CLIF_CFG_BR_212_I_RXB CLIF_SIGPRO_RM_CONFIG1_REG
|
||||
# A0, 0D, 06, 48, 4A, 21, 07, 00, 07 RF_CLIF_CFG_BR_212_I_TXB CLIF_ANA_TX_SHAPE_CONTROL_REG
|
||||
# A0, 0D, 06, 48, 42, 88, 10, FF, FF RF_CLIF_CFG_BR_212_I_TXB CLIF_ANA_TX_AMPLITUDE_REG
|
||||
# A0, 0D, 04, 4E, 44, 26, 00 RF_CLIF_CFG_BR_424_I_RXB CLIF_ANA_RX_REG
|
||||
# A0, 0D, 06, 4E, 2D, 15, 25, 0D, 00 RF_CLIF_CFG_BR_424_I_RXB CLIF_SIGPRO_RM_CONFIG1_REG
|
||||
# A0, 0D, 06, 4C, 4A, 21, 07, 00, 07 RF_CLIF_CFG_BR_424_I_TXB CLIF_ANA_TX_SHAPE_CONTROL_REG
|
||||
# A0, 0D, 06, 4C, 42, 88, 10, FF, FF RF_CLIF_CFG_BR_424_I_TXB CLIF_ANA_TX_AMPLITUDE_REG
|
||||
# A0, 0D, 04, 52, 44, 26, 00 RF_CLIF_CFG_BR_848_I_RXB CLIF_ANA_RX_REG
|
||||
# A0, 0D, 06, 52, 2D, 15, 25, 0D, 00 RF_CLIF_CFG_BR_848_I_RXB CLIF_SIGPRO_RM_CONFIG1_REG
|
||||
# A0, 0D, 06, 50, 42, 90, 10, FF, FF RF_CLIF_CFG_BR_848_I_TXB CLIF_ANA_TX_AMPLITUDE_REG
|
||||
# A0, 0D, 06, 50, 4A, 21, 07, 00, 07 RF_CLIF_CFG_BR_848_I_TXB CLIF_ANA_TX_SHAPE_CONTROL_REG
|
||||
# A0, 0D, 06, 56, 2D, 05, 9E, 0C, 00 RF_CLIF_CFG_BR_212_I_RXF_P CLIF_SIGPRO_RM_CONFIG1_REG
|
||||
# A0, 0D, 04, 56, 44, 22, 00 RF_CLIF_CFG_BR_212_I_RXF_P CLIF_ANA_RX_REG
|
||||
# A0, 0D, 06, 5C, 2D, 05, 9E, 0C, 00 RF_CLIF_CFG_BR_424_I_RXF_P CLIF_SIGPRO_RM_CONFIG1_REG
|
||||
# A0, 0D, 04, 5C, 44, 26, 00 RF_CLIF_CFG_BR_424_I_RXF_P CLIF_ANA_RX_REG
|
||||
# A0, 0D, 06, 54, 42, 88, 10, FF, FF RF_CLIF_CFG_BR_212_I_TXF CLIF_ANA_TX_AMPLITUDE_REG
|
||||
# A0, 0D, 06, 5A, 42, 90, 10, FF, FF RF_CLIF_CFG_BR_424_I_TXF CLIF_ANA_TX_AMPLITUDE_REG
|
||||
# A0, 0D, 06, 98, 2F, CF, 05, 80, 17 RF_CLIF_CFG_GTM_B CLIF_SIGPRO_ADCBCM_CONFIG_REG
|
||||
# A0, 0D, 06, 98, 42, 00, 02, FF, FF RF_CLIF_CFG_GTM_B CLIF_ANA_TX_AMPLITUDE_REG
|
||||
# A0, 0D, 06, 9A, 42, 00, 02, FF, FF RF_CLIF_CFG_GTM_FELICA CLIF_ANA_TX_AMPLITUDE_REG
|
||||
# A0, 0D, 06, 30, 44, 12, 90, 03, 00 RF_CLIF_CFG_TECHNO_T_RXF CLIF_ANA_RX_REG
|
||||
# A0, 0D, 06, 6C, 44, A3, 90, 03, 00 RF_CLIF_CFG_BR_106_T_RXA CLIF_ANA_RX_REG
|
||||
# A0, 0D, 03, 70, 2E, 40 RF_CLIF_CFG_BR_212_T_RXA CLIF_SIGPRO_CM_CONFIG_REG
|
||||
# A0, 0D, 03, 70, 45, 30 RF_CLIF_CFG_BR_212_T_RXA CLIF_ANA_CM_CONFIG_REG
|
||||
# A0, 0D, 06, 70, 44, A3, 90, 03, 00 RF_CLIF_CFG_BR_212_T_RXA CLIF_ANA_RX_REG
|
||||
# A0, 0D, 06, 74, 2F, 6F, 05, 80, 12 RF_CLIF_CFG_BR_424_T_RXA CLIF_SIGPRO_ADCBCM_CONFIG_REG
|
||||
# A0, 0D, 06, 74, 30, D5, 00, 40, 00 RF_CLIF_CFG_BR_424_T_RXA CLIF_SIGPRO_ADCBCM_THRESHOLD_REG
|
||||
# A0, 0D, 06, 74, 44, A3, 90, 03, 00 RF_CLIF_CFG_BR_424_T_RXA CLIF_ANA_RX_REG
|
||||
# A0, 0D, 06, 78, 2F, 3F, 07, 80, C1 RF_CLIF_CFG_BR_848_T_RXA CLIF_SIGPRO_ADCBCM_CONFIG_REG
|
||||
# A0, 0D, 06, 78, 30, 50, 00, 10, 00 RF_CLIF_CFG_BR_848_T_RXA CLIF_SIGPRO_ADCBCM_THRESHOLD_REG
|
||||
# A0, 0D, 06, 78, 44, A3, 90, 03, 00 RF_CLIF_CFG_BR_848_T_RXA CLIF_ANA_RX_REG
|
||||
# A0, 0D, 06, 7C, 2F, CF, 05, 80, 17 RF_CLIF_CFG_BR_106_T_RXB CLIF_SIGPRO_ADCBCM_CONFIG_REG
|
||||
# A0, 0D, 06, 7C, 30, C8, 00, 64, 00 RF_CLIF_CFG_BR_106_T_RXB CLIF_SIGPRO_ADCBCM_THRESHOLD_REG
|
||||
# A0, 0D, 06, 7C, 44, A3, 90, 03, 00 RF_CLIF_CFG_BR_106_T_RXB CLIF_ANA_RX_REG
|
||||
# A0, 0D, 06, 80, 2F, CF, 05, 80, 17 RF_CLIF_CFG_BR_212_T_RXB CLIF_SIGPRO_ADCBCM_CONFIG_REG
|
||||
# A0, 0D, 06, 80, 30, C8, 00, 64, 00 RF_CLIF_CFG_BR_212_T_RXB CLIF_SIGPRO_ADCBCM_THRESHOLD_REG
|
||||
# A0, 0D, 06, 80, 44, A3, 90, 03, 00 RF_CLIF_CFG_BR_212_T_RXB CLIF_ANA_RX_REG
|
||||
# A0, 0D, 06, 84, 2F, CF, 05, 80, 17 RF_CLIF_CFG_BR_424_T_RXB CLIF_SIGPRO_ADCBCM_CONFIG_REG
|
||||
# A0, 0D, 06, 84, 30, C8, 00, 64, 00 RF_CLIF_CFG_BR_424_T_RXB CLIF_SIGPRO_ADCBCM_THRESHOLD_REG
|
||||
# A0, 0D, 06, 84, 44, A3, 90, 03, 00 RF_CLIF_CFG_BR_424_T_RXB CLIF_ANA_RX_REG
|
||||
# A0, 0D, 06, 88, 2F, B1, 05, 80, 17 RF_CLIF_CFG_BR_848_T_RXB CLIF_SIGPRO_ADCBCM_CONFIG_REG
|
||||
# A0, 0D, 06, 88, 30, A8, 00, 64, 00 RF_CLIF_CFG_BR_848_T_RXB CLIF_SIGPRO_ADCBCM_THRESHOLD_REG
|
||||
# A0, 0D, 06, 88, 44, A3, 90, 03, 00 RF_CLIF_CFG_BR_848_T_RXB CLIF_ANA_RX_REG
|
||||
# A0, 0D, 06, 8E, 44, 12, 90, 03, 00 RF_CLIF_CFG_BR_212_T_RXF CLIF_ANA_RX_REG
|
||||
# A0, 0D, 06, 94, 44, 12, 90, 03, 00 RF_CLIF_CFG_BR_424_T_RXF CLIF_ANA_RX_REG
|
||||
# A0, 0D, 06, 10, 35, FF, 01, FF, 02 RF_CLIF_CFG_T_ACTIVE CLIF_AGC_INPUT_REG
|
||||
# A0, 0D, 06, 10, 34, F7, 7F, 00, 00 RF_CLIF_CFG_T_ACTIVE CLIF_AGC_CONFIG1_REG
|
||||
# A0, 0D, 06, 6A, 42, F8, 10, FF, FF RF_CLIF_CFG_BR_106_T_TXA_A CLIF_ANA_TX_AMPLITUDE_REG
|
||||
# A0, 0D, 06, 8C, 42, 88, 10, FF, FF RF_CLIF_CFG_BR_212_T_TXF_A CLIF_ANA_TX_AMPLITUDE_REG
|
||||
# A0, 0D, 06, 92, 42, 90, 10, FF, FF RF_CLIF_CFG_BR_424_T_TXF_A CLIF_ANA_TX_AMPLITUDE_REG
|
||||
# A0, 0D, 03, 24, 41, 40 RF_CLIF_CFG_TECHNO_T_TXA_P CLIF_ANA_TX_CLK_CONTROL_REG
|
||||
# A0, 0D, 06, 24, 42, 00, 02, FF, FF RF_CLIF_CFG_TECHNO_T_TXA_P CLIF_ANA_TX_AMPLITUDE_REG
|
||||
# A0, 0D, 03, 28, 41, 40 RF_CLIF_CFG_TECHNO_T_TXB CLIF_ANA_TX_CLK_CONTROL_REG
|
||||
# A0, 0D, 03, 8A, 41, 40 RF_CLIF_CFG_BR_212_T_TXF_P CLIF_ANA_TX_CLK_CONTROL_REG
|
||||
# A0, 0D, 03, 90, 41, 40 RF_CLIF_CFG_BR_424_T_TXF_P CLIF_ANA_TX_CLK_CONTROL_REG
|
||||
# A0, 0D, 03, 08, 40, 10 RF_CLIF_CFG_I_PASSIVE CLIF_ANA_NFCLD_REG
|
||||
# A0, 0D, 06, 08, 45, C0, 82, 00, 00 RF_CLIF_CFG_I_PASSIVE CLIF_ANA_CM_CONFIG_REG
|
||||
# A0, 0D, 06, 0A, 45, 80, 40, 00, 00 RF_CLIF_CFG_I_ACTIVE CLIF_ANA_CM_CONFIG_REG
|
||||
# A0, 0D, 06, 0A, 30, C8, 00, 64, 00 RF_CLIF_CFG_I_ACTIVE CLIF_SIGPRO_ADCBCM_THRESHOLD_REG
|
||||
# A0, 0D, 06, 0A, 2F, AF, 05, 80, 17 RF_CLIF_CFG_I_ACTIVE CLIF_SIGPRO_ADCBCM_CONFIG_REG
|
||||
# A0, 0D, 06, 0A, 34, 26, 65, E5, 03 RF_CLIF_CFG_I_ACTIVE CLIF_AGC_CONFIG1_REG
|
||||
# A0, 0D, 06, 0A, 33, 0F, 01, 00, 70 RF_CLIF_CFG_I_ACTIVE CLIF_AGC_CONFIG0_REG
|
||||
# A0, 0D, 03, 0A, 40, 00 RF_CLIF_CFG_I_ACTIVE CLIF_ANA_NFCLD_REG
|
||||
#
|
||||
# *** ALMSL FW VERSION = 10.01.22 ***
|
||||
NXP_RF_CONF_BLK_1={
|
||||
20, 02, F7, 20,
|
||||
A0, 0D, 03, 00, 40, 01,
|
||||
A0, 0D, 06, 00, FF, 05, 04, 06, 00,
|
||||
A0, 0D, 06, 00, 35, FF, 01, FF, 02,
|
||||
A0, 0D, 06, 00, 33, 07, 40, 00, 00,
|
||||
A0, 0D, 03, 02, 40, 00,
|
||||
A0, 0D, 03, 04, 47, 02,
|
||||
A0, 0D, 06, 04, 35, F4, 01, F4, 01,
|
||||
A0, 0D, 06, 05, 45, 80, 40, 00, 00,
|
||||
A0, 0D, 06, 05, 35, FF, 01, FF, 02,
|
||||
A0, 0D, 06, 05, 33, 07, 40, 00, 00,
|
||||
A0, 0D, 06, 06, 44, A3, 90, 03, 00,
|
||||
A0, 0D, 03, 06, 47, 02,
|
||||
A0, 0D, 06, 06, 35, FF, 03, FF, 03,
|
||||
A0, 0D, 06, 06, 34, F7, 7F, 00, 10,
|
||||
A0, 0D, 06, 06, 33, 03, 40, 00, 00,
|
||||
A0, 0D, 06, 06, 30, C8, 00, 64, 00,
|
||||
A0, 0D, 06, 06, 2F, AF, 05, 80, 17,
|
||||
A0, 0D, 06, 06, 03, 00, 73, 00, 20,
|
||||
A0, 0D, 06, 06, 45, 80, 40, 00, 00,
|
||||
A0, 0D, 03, 06, 43, 20,
|
||||
A0, 0D, 06, 06, 42, 00, 02, F2, F2,
|
||||
A0, 0D, 03, 06, 41, 40,
|
||||
A0, 0D, 03, 06, 37, 08,
|
||||
A0, 0D, 03, 06, 16, 00,
|
||||
A0, 0D, 03, 06, 15, 00,
|
||||
A0, 0D, 03, 06, 17, 08,
|
||||
A0, 0D, 03, 06, 3F, 04,
|
||||
A0, 0D, 03, 06, 80, 03,
|
||||
A0, 0D, 03, 07, 3F, 00,
|
||||
A0, 0D, 06, 07, 35, FF, 01, FF, 02,
|
||||
A0, 0D, 03, 16, 41, 8E,
|
||||
A0, 0D, 06, 18, 34, 00, 00, E1, 03
|
||||
}
|
||||
|
||||
NXP_RF_CONF_BLK_2={
|
||||
20, 02, FA, 1E,
|
||||
A0, 0D, 06, 18, 33, 0F, 83, 00, 00,
|
||||
A0, 0D, 03, 1A, 41, 8E,
|
||||
A0, 0D, 06, 1C, 34, 00, 00, E1, 03,
|
||||
A0, 0D, 06, 1C, 33, 0F, 83, 00, 00,
|
||||
A0, 0D, 06, 20, 4A, 00, 00, 00, 00,
|
||||
A0, 0D, 06, 20, 42, 88, 10, FF, FF,
|
||||
A0, 0D, 03, 20, 41, 82,
|
||||
A0, 0D, 06, 32, 42, F8, 10, FF, FF,
|
||||
A0, 0D, 06, 32, 41, 82, 07, 00, 00,
|
||||
A0, 0D, 03, 32, 16, 00,
|
||||
A0, 0D, 03, 32, 15, 01,
|
||||
A0, 0D, 06, 32, 4A, 33, 07, 00, 08,
|
||||
A0, 0D, 06, 34, 2D, 24, 47, 0C, 00,
|
||||
A0, 0D, 06, 34, 34, 00, 00, EC, 03,
|
||||
A0, 0D, 06, 34, 33, 0F, 01, 01, 70,
|
||||
A0, 0D, 04, 34, 44, 22, 00,
|
||||
A0, 0D, 06, 38, 4A, 33, 07, 00, 08,
|
||||
A0, 0D, 06, 38, 42, 68, 10, FF, FF,
|
||||
A0, 0D, 04, 3A, 44, 26, 00,
|
||||
A0, 0D, 06, 3A, 2D, 15, 47, 0D, 00,
|
||||
A0, 0D, 06, 3A, 34, 00, 00, E1, 03,
|
||||
A0, 0D, 06, 3A, 33, 0B, 83, 00, 00,
|
||||
A0, 0D, 06, 3C, 4A, 52, 07, 00, 1B,
|
||||
A0, 0D, 06, 3C, 42, 68, 10, FF, FF,
|
||||
|
||||
A0, 0D, 04, 3E, 44, 26, 00,
|
||||
A0, 0D, 06, 3E, 2D, 15, 47, 0D, 00,
|
||||
A0, 0D, 06, 3E, 34, 00, 00, E1, 03,
|
||||
A0, 0D, 06, 3E, 33, 0B, 83, 00, 00,
|
||||
A0, 0D, 03, 40, 41, 8E,
|
||||
A0, 0D, 06, 40, 42, F0, 10, FF, FF
|
||||
}
|
||||
|
||||
NXP_RF_CONF_BLK_3={
|
||||
20, 02, F8, 1D,
|
||||
A0, 0D, 06, 40, 4A, 12, 07, 00, 00,
|
||||
A0, 0D, 04, 42, 44, 26, 00,
|
||||
A0, 0D, 06, 42, 2D, 15, 47, 0D, 00,
|
||||
A0, 0D, 06, 42, 34, 00, 00, E1, 03,
|
||||
A0, 0D, 06, 42, 33, 0B, 83, 00, 00,
|
||||
A0, 0D, 04, 46, 44, 26, 00,
|
||||
A0, 0D, 06, 46, 2D, 15, 25, 0D, 00,
|
||||
A0, 0D, 06, 44, 4A, 21, 07, 00, 07,
|
||||
A0, 0D, 06, 44, 42, 88, 10, FF, FF,
|
||||
A0, 0D, 04, 4A, 44, 21, 00,
|
||||
A0, 0D, 06, 4A, 2D, 15, 9D, 0D, 00,
|
||||
A0, 0D, 06, 48, 4A, 21, 07, 00, 07,
|
||||
A0, 0D, 06, 48, 42, 88, 10, FF, FF,
|
||||
A0, 0D, 04, 4E, 44, 26, 00,
|
||||
A0, 0D, 06, 4E, 2D, 15, 25, 0D, 00,
|
||||
A0, 0D, 06, 4C, 4A, 21, 07, 00, 07,
|
||||
A0, 0D, 06, 4C, 42, 88, 10, FF, FF,
|
||||
|
||||
A0, 0D, 04, 52, 44, 26, 00,
|
||||
A0, 0D, 06, 52, 2D, 15, 25, 0D, 00,
|
||||
A0, 0D, 06, 50, 42, 90, 10, FF, FF,
|
||||
A0, 0D, 06, 50, 4A, 21, 07, 00, 07,
|
||||
A0, 0D, 06, 56, 2D, 05, 9E, 0C, 00,
|
||||
A0, 0D, 04, 56, 44, 22, 00,
|
||||
A0, 0D, 06, 5C, 2D, 05, 9E, 0C, 00,
|
||||
A0, 0D, 04, 5C, 44, 26, 00,
|
||||
A0, 0D, 06, 54, 42, 88, 10, FF, FF,
|
||||
A0, 0D, 06, 5A, 42, 90, 10, FF, FF,
|
||||
A0, 0D, 06, 98, 2F, CF, 05, 80, 17,
|
||||
A0, 0D, 06, 98, 42, 00, 02, F2, F2
|
||||
}
|
||||
NXP_RF_CONF_BLK_4={
|
||||
20, 02, F7, 1C,
|
||||
A0, 0D, 06, 9A, 42, 00, 02, F2, F2,
|
||||
A0, 0D, 06, 30, 44, 12, 90, 03, 00,
|
||||
A0, 0D, 06, 6C, 44, A3, 90, 03, 00,
|
||||
A0, 0D, 03, 70, 2E, 40,
|
||||
A0, 0D, 03, 70, 45, 30,
|
||||
|
||||
A0, 0D, 06, 70, 44, A3, 90, 03, 00,
|
||||
A0, 0D, 06, 74, 2F, 6F, 05, 80, 12,
|
||||
A0, 0D, 06, 74, 30, D5, 00, 40, 00,
|
||||
A0, 0D, 06, 74, 44, A3, 90, 03, 00,
|
||||
A0, 0D, 06, 78, 2F, 3F, 07, 80, C1,
|
||||
A0, 0D, 06, 78, 30, 50, 00, 10, 00,
|
||||
A0, 0D, 06, 78, 44, A3, 90, 03, 00,
|
||||
A0, 0D, 06, 7C, 2F, CF, 05, 80, 17,
|
||||
A0, 0D, 06, 7C, 30, C8, 00, 64, 00,
|
||||
A0, 0D, 06, 7C, 44, A3, 90, 03, 00,
|
||||
A0, 0D, 06, 80, 2F, CF, 05, 80, 17,
|
||||
A0, 0D, 06, 80, 30, C8, 00, 64, 00,
|
||||
A0, 0D, 06, 80, 44, A3, 90, 03, 00,
|
||||
A0, 0D, 06, 84, 2F, CF, 05, 80, 17,
|
||||
A0, 0D, 06, 84, 30, C8, 00, 64, 00,
|
||||
A0, 0D, 06, 84, 44, A3, 90, 03, 00,
|
||||
A0, 0D, 06, 88, 2F, B1, 05, 80, 17,
|
||||
A0, 0D, 06, 88, 30, A8, 00, 64, 00,
|
||||
A0, 0D, 06, 88, 44, A3, 90, 03, 00,
|
||||
A0, 0D, 06, 8E, 44, 12, 90, 03, 00,
|
||||
A0, 0D, 06, 94, 44, 12, 90, 03, 00,
|
||||
A0, 0D, 06, 10, 35, FF, 01, FF, 02,
|
||||
A0, 0D, 06, 10, 34, F7, 7F, 00, 00
|
||||
}
|
||||
|
||||
NXP_RF_CONF_BLK_5={
|
||||
20, 02, 7F, 10,
|
||||
A0, 0D, 06, 6A, 42, F8, 10, FF, FF,
|
||||
A0, 0D, 06, 8C, 42, 88, 10, FF, FF,
|
||||
A0, 0D, 06, 92, 42, 90, 10, FF, FF,
|
||||
A0, 0D, 03, 24, 41, 40,
|
||||
A0, 0D, 06, 24, 42, 00, 02, F2, F2,
|
||||
A0, 0D, 03, 28, 41, 40,
|
||||
A0, 0D, 03, 8A, 41, 40,
|
||||
A0, 0D, 03, 90, 41, 40,
|
||||
A0, 0D, 03, 08, 40, 10,
|
||||
A0, 0D, 06, 08, 45, C0, 82, 00, 00,
|
||||
A0, 0D, 06, 0A, 45, 80, 40, 00, 00,
|
||||
A0, 0D, 06, 0A, 30, C8, 00, 64, 00,
|
||||
A0, 0D, 06, 0A, 2F, AF, 05, 80, 17,
|
||||
A0, 0D, 06, 0A, 34, 26, 65, E5, 03,
|
||||
A0, 0D, 06, 0A, 33, 0F, 01, 00, 70,
|
||||
A0, 0D, 03, 0A, 40, 00
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
# Core configuration extensions
|
||||
# It includes
|
||||
# A002 - Disable/Enable Clock Request
|
||||
# A009 - Time-out before standby
|
||||
# A012 - NFCEE interface 2 configuration
|
||||
# A040 - Low Power Card Detector Enable
|
||||
# A041 - Low Power Card Detector Threshold
|
||||
# A042 - Low Power Card Detector Sampling
|
||||
# A043 - Low Power Card Detector Hybrid
|
||||
# A05E - Send RID automatically in Jewel Reader mode
|
||||
# A061 - Retry after LPCD
|
||||
# A096 - Notification for all AIDs in Card emulation mode
|
||||
# A0DD - Number of retry for DWP
|
||||
# A0EC - Disable/Enable SWP1 interface
|
||||
# A0ED - Disable/Enable SWP2 interface
|
||||
|
||||
# A0F2 - SWP_SVDD_ON_CFG
|
||||
# CLIF_ANA_CLK_MAN_REG Phone ON A01D
|
||||
# CLIF_ANA_CLK_MAN_REG Phone OFF A01E
|
||||
NXP_CORE_CONF_EXTN={20, 02, 75, 13,
|
||||
A0, 02, 01, 01,
|
||||
A0, 09, 02, 90, 01,
|
||||
A0, 12, 01, 00,
|
||||
A0, 40, 01, 01,
|
||||
A0, 41, 01, 05,
|
||||
A0, 42, 01, 0F,
|
||||
A0, 43, 01, 03,
|
||||
A0, 5E, 01, 01,
|
||||
A0, 61, 01, 53,
|
||||
A0, 68, 01, 01,
|
||||
A0, 96, 01, 01,
|
||||
A0, DD, 01, 2D,
|
||||
A0, EC, 01, 01,
|
||||
A0, ED, 01, 00,
|
||||
A0, F2, 01, 00,
|
||||
A0, CA, 07, 02, 00, 1F, 01, 1F, 0F, 20,
|
||||
A0, 47, 02, 00, 27,
|
||||
A0, 1D, 11, 57, 33, 14, 17, 00, AA, 85, 00, 80, 55, 2A, 04, 00, 63, 00, 00, 00,
|
||||
A0, 1E, 11, 18, 13, 14, 14, 00, 6F, 97, 00, 00, 00, 10, 04, 00, 63, 02, 00, 00
|
||||
}
|
||||
|
||||
|
||||
###############################################################################
|
||||
# Core configuration RF Field notification filter
|
||||
# Disabled - 0x00
|
||||
# Enabled - 0x01
|
||||
NXP_CORE_RF_FIELD={ 20, 02, 05, 01, A0, 62, 01, 00}
|
||||
|
||||
###############################################################################
|
||||
# I2C fragmentation
|
||||
# Disabled - 0x00
|
||||
# Enabled - 0x01
|
||||
NXP_I2C_FRAGMENTATION_ENABLED=0x00
|
||||
|
||||
###############################################################################
|
||||
# Core configuration settings
|
||||
# It includes
|
||||
# 18 - Poll Mode NFC-F: PF_BIT_RATE
|
||||
# 21 - Poll Mode ISO-DEP: PI_BIT_RATE
|
||||
# 28 - Poll Mode NFC-DEP: PN_NFC_DEP_SPEED
|
||||
# 30 - Lis. Mode NFC-A: LA_BIT_FRAME_SDD
|
||||
# 31 - Lis. Mode NFC-A: LA_PLATFORM_CONFIG
|
||||
|
||||
# 50 - Lis. Mode NFC-F: LF_PROTOCOL_TYPE
|
||||
# 54 - Lis. Mode NFC-F: LF_CON_BITR_F
|
||||
# 5B - Lis. Mode ISO-DEP: LI_BIT_RATE
|
||||
# 60 - Lis. Mode NFC-DEP: LN_WT
|
||||
# 80 - Other Param.: RF_FIELD_INFO
|
||||
# 81 - Other Param.: RF_NFCEE_ACTION
|
||||
# 82 - Other Param.: NFCDEP_OP
|
||||
NXP_CORE_CONF={20, 02, 2A, 0E,
|
||||
18, 01, 01,
|
||||
21, 01, 00,
|
||||
28, 01, 00,
|
||||
30, 01, 04,
|
||||
31, 01, 00,
|
||||
33, 00,
|
||||
50, 01, 02,
|
||||
54, 01, 06,
|
||||
5B, 01, 00,
|
||||
60, 01, 0E,
|
||||
80, 01, 01,
|
||||
81, 01, 01,
|
||||
82, 01, 0E,
|
||||
32, 01, 60
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
#Enable SWP full power mode when phone is power off
|
||||
NXP_SWP_FULL_PWR_ON=0x00
|
||||
|
||||
###############################################################################
|
||||
#Set the default Felica T3T System Code OffHost route Location :
|
||||
# host 0x00
|
||||
# UICC 0x02
|
||||
# UICC2 0x03
|
||||
DEFAULT_SYS_CODE_ROUTE=0x02
|
||||
|
||||
###############################################################################
|
||||
#Set the Felica T3T System Code Power state :
|
||||
#This settings will be used when application does not set this parameter
|
||||
# bit pos 0 = Switch On
|
||||
# bit pos 1 = Switch Off
|
||||
# bit pos 2 = Battery Off
|
||||
# bit pos 3 = Screen On lock
|
||||
# bit pos 4 = Screen off unlock
|
||||
# bit pos 5 = Screen Off lock
|
||||
DEFAULT_SYS_CODE_PWR_STATE=0x1B
|
||||
|
||||
###############################################################################
|
||||
# AID Matching platform options
|
||||
# AID_MATCHING_L 0x01
|
||||
# AID_MATCHING_K 0x02
|
||||
AID_MATCHING_PLATFORM=0x01
|
||||
|
||||
###############################################################################
|
||||
#CHINA_TIANJIN_RF_SETTING
|
||||
#Enable 0x01
|
||||
#Disable 0x00
|
||||
NXP_CHINA_TIANJIN_RF_ENABLED=0x01
|
||||
|
||||
###############################################################################
|
||||
#SWP_SWITCH_TIMEOUT_SETTING
|
||||
# Allowed range of swp timeout setting is 0x00 to 0x3C [0 - 60].
|
||||
# Timeout in milliseconds, for example
|
||||
# No Timeout 0x00
|
||||
# 10 millisecond timeout 0x0A
|
||||
NXP_SWP_SWITCH_TIMEOUT=0x0A
|
||||
|
||||
###############################################################################
|
||||
# Vendor Specific Proprietary Protocol & Discovery Configuration
|
||||
# Set to 0xFF if unsupported
|
||||
# byte[0] NCI_PROTOCOL_18092_ACTIVE
|
||||
# byte[1] NCI_PROTOCOL_B_PRIME
|
||||
# byte[2] NCI_PROTOCOL_DUAL
|
||||
# byte[3] NCI_PROTOCOL_15693
|
||||
# byte[4] NCI_PROTOCOL_KOVIO
|
||||
# byte[5] NCI_PROTOCOL_MIFARE
|
||||
# byte[6] NCI_DISCOVERY_TYPE_POLL_KOVIO
|
||||
# byte[7] NCI_DISCOVERY_TYPE_POLL_B_PRIME
|
||||
# byte[8] NCI_DISCOVERY_TYPE_LISTEN_B_PRIME
|
||||
NFA_PROPRIETARY_CFG={05, FF, FF, 06, 81, 80, 70, FF, FF}
|
||||
|
||||
###############################################################################
|
||||
# Choose the presence-check algorithm for type-4 tag. If not defined, the default value is 1.
|
||||
# 0 NFA_RW_PRES_CHK_DEFAULT; Let stack selects an algorithm
|
||||
# 1 NFA_RW_PRES_CHK_I_BLOCK; ISO-DEP protocol's empty I-block
|
||||
# 2 NFA_RW_PRES_CHK_RESET; Deactivate to Sleep, then re-activate
|
||||
# 3 NFA_RW_PRES_CHK_RB_CH0; Type-4 tag protocol's ReadBinary command on channel 0
|
||||
# 4 NFA_RW_PRES_CHK_RB_CH3; Type-4 tag protocol's ReadBinary command on channel 3
|
||||
PRESENCE_CHECK_ALGORITHM=1
|
||||
|
||||
###############################################################################
|
||||
# UICC mode supported
|
||||
# Disable 0x00
|
||||
# Enable 0x01
|
||||
NXP_DUAL_UICC_ENABLE=0x00
|
||||
|
||||
################################################################################
|
||||
# Restriction of Type A UICC baud rate
|
||||
# Default supported - 0x00
|
||||
# 212kbps maximum supported - 0x01
|
||||
# 424kbps maximum supported - 0x02
|
||||
# 848kbps maximum supported - 0x03
|
||||
NXP_TYPEA_UICC_BAUD_RATE=0x00
|
||||
|
||||
################################################################################
|
||||
# Restriction of Type B UICC baud rate
|
||||
# Default supported - 0x00
|
||||
# 212kbps maximum supported - 0x01
|
||||
# 424kbps maximum supported - 0x02
|
||||
# 848kbps maximum supported - 0x03
|
||||
NXP_TYPEB_UICC_BAUD_RATE=0x00
|
||||
|
||||
###############################################################################
|
||||
# Extended APDU length for ISO_DEP
|
||||
ISO_DEP_MAX_TRANSCEIVE=0xFEFF
|
||||
2
configs/sensors/hals.conf
Normal file
2
configs/sensors/hals.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
sensors.ssc.so
|
||||
sensors.rp.so
|
||||
5168
configs/sensors/sensor_def_qcomdev.conf
Normal file
5168
configs/sensors/sensor_def_qcomdev.conf
Normal file
File diff suppressed because it is too large
Load Diff
146
configs/thermal-engine.conf
Normal file
146
configs/thermal-engine.conf
Normal file
@@ -0,0 +1,146 @@
|
||||
[FRONT_TEMP]
|
||||
algo_type virtual
|
||||
trip_sensor msm_therm
|
||||
set_point -18000
|
||||
set_point_clr -20000
|
||||
sensors msm_therm pa_therm0 chg_therm batt_temp
|
||||
weights 110 100 85 110
|
||||
offsets -2000 -2000 -2000 -2000
|
||||
sampling 10000
|
||||
math 0
|
||||
sys_temp
|
||||
|
||||
[REPORT-FRONT-TEMP]
|
||||
algo_type monitor
|
||||
sampling 300000
|
||||
sensor FRONT_TEMP
|
||||
thresholds 45000
|
||||
thresholds_clr 43000
|
||||
actions report
|
||||
action_info 1
|
||||
|
||||
[BACK_TEMP]
|
||||
algo_type virtual
|
||||
trip_sensor msm_therm
|
||||
set_point -18000
|
||||
set_point_clr -20000
|
||||
sensors msm_therm pa_therm0 chg_therm batt_temp
|
||||
weights 110 100 85 110
|
||||
offsets -1000 -1000 -1000 -1000
|
||||
sampling 10000
|
||||
math 0
|
||||
sys_temp
|
||||
|
||||
[REPORT-BACK-TEMP]
|
||||
algo_type monitor
|
||||
sampling 300000
|
||||
sensor BACK_TEMP
|
||||
thresholds 45000
|
||||
thresholds_clr 43000
|
||||
actions report
|
||||
action_info 1
|
||||
|
||||
[SS-BATT-BATT]
|
||||
algo_type ss
|
||||
sampling 5000
|
||||
sensor batt_therm
|
||||
device battery
|
||||
set_point 44000
|
||||
set_point_clr 42000
|
||||
|
||||
[SS-CHG-BATT]
|
||||
algo_type ss
|
||||
sampling 5000
|
||||
sensor chg_therm
|
||||
device battery
|
||||
set_point 50000
|
||||
set_point_clr 44000
|
||||
time_constant 0
|
||||
|
||||
[VIRTUAL-MSM-CPU]
|
||||
algo_type virtual
|
||||
trip_sensor msm_therm
|
||||
set_point 41000
|
||||
set_point_clr 39000
|
||||
sensors tsens_tz_sensor4 tsens_tz_sensor5 tsens_tz_sensor6 tsens_tz_sensor7
|
||||
weights 1 1 1 1
|
||||
sampling 1000
|
||||
math 0
|
||||
|
||||
[SS-MSM-CPU]
|
||||
algo_type ss
|
||||
sampling 1000
|
||||
sensor VIRTUAL-MSM-CPU
|
||||
device battery
|
||||
set_point 43000
|
||||
set_point_clr 40000
|
||||
|
||||
[VIRTUAL-MSM-GPU]
|
||||
algo_type virtual
|
||||
trip_sensor msm_therm
|
||||
set_point 41000
|
||||
set_point_clr 39000
|
||||
sensors tsens_tz_sensor15
|
||||
sampling 1000
|
||||
math 2
|
||||
|
||||
[SS-MSM-GPU]
|
||||
algo_type ss
|
||||
sampling 1000
|
||||
sensor VIRTUAL-MSM-GPU
|
||||
device battery
|
||||
set_point 43000
|
||||
set_point_clr 40000
|
||||
|
||||
[SS-MSM-CLUSTER0]
|
||||
algo_type ss
|
||||
sampling 1000
|
||||
sensor msm_therm
|
||||
device cluster0
|
||||
set_point 43000
|
||||
set_point_clr 41000
|
||||
device_max_limit 1401600
|
||||
|
||||
[VIRTUAL-CPUS]
|
||||
algo_type virtual
|
||||
trip_sensor tsens_tz_sensor9
|
||||
set_point 75000
|
||||
set_point_clr 65000
|
||||
sensors tsens_tz_sensor9 tsens_tz_sensor10 tsens_tz_sensor11 tsens_tz_sensor12 tsens_tz_sensor13 tsens_tz_sensor4 tsens_tz_sensor5 tsens_tz_sensor6 tsens_tz_sensor7 tsens_tz_sensor8
|
||||
sampling 50
|
||||
math 2
|
||||
|
||||
[SS-GPU]
|
||||
algo_type ss
|
||||
sampling 250
|
||||
sensor gpu
|
||||
device gpu
|
||||
set_point 95000
|
||||
set_point_clr 65000
|
||||
|
||||
[SS-POPMEM]
|
||||
algo_type ss
|
||||
disable
|
||||
sampling 250
|
||||
sensor pop_mem
|
||||
device cluster0
|
||||
set_point 70000
|
||||
set_point_clr 55000
|
||||
time_constant 2
|
||||
|
||||
[SS-CPUS-ALL]
|
||||
algo_type ss
|
||||
sampling 50
|
||||
sensor VIRTUAL-CPUS
|
||||
device cluster0
|
||||
set_point 95000
|
||||
set_point_clr 55000
|
||||
|
||||
[MONITOR-CAMERA-MSM]
|
||||
algo_type monitor
|
||||
sampling 1000
|
||||
sensor msm_therm
|
||||
thresholds 52000 56000
|
||||
thresholds_clr 47000 53000
|
||||
actions camera camera
|
||||
action_info 1 2
|
||||
Reference in New Issue
Block a user