Snap for 8414339 from 3dba9fa3f1
to tm-qpr1-release
Change-Id: I1fff257cf9af83286c2252d18ab68709935e8850
This commit is contained in:
commit
f58e8b94b0
62 changed files with 23051 additions and 18148 deletions
|
@ -20,6 +20,7 @@ AUDIO_TABLE_FOLDER := cheetah
|
|||
PRODUCT_COPY_FILES += \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration_bluetooth_legacy_hal.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_bluetooth_legacy_hal.xml \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration_le_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_le_offload_disabled.xml \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration_a2dp_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_a2dp_offload_disabled.xml \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/config/audio_platform_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_configuration.xml \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/config/sound_trigger_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_configuration.xml \
|
||||
|
@ -58,6 +59,11 @@ PRODUCT_COPY_FILES += \
|
|||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HANDSET.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSET.mods \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HEADSET.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HEADSET.mods
|
||||
|
||||
#Bluenote files
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/bluenote/template.xml:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/template.xml \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/bluenote/tuning_constraints_combination.xml:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/tuning_constraints_combination.xml
|
||||
|
||||
# Mixer Path Configuration for Audio Speaker Calibration Tool crus_sp_cal
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/cs35l41/crus_sp_cal_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/crus_sp_cal_mixer_paths.xml
|
||||
|
|
|
@ -172,6 +172,18 @@
|
|||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="44100 48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</devicePort>
|
||||
<devicePort tagName="BT BLE Headset" type="AUDIO_DEVICE_OUT_BLE_HEADSET" role="sink"
|
||||
encodedFormats="AUDIO_FORMAT_LC3">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</devicePort>
|
||||
<devicePort tagName="BT BLE Speaker" type="AUDIO_DEVICE_OUT_BLE_SPEAKER" role="sink"
|
||||
encodedFormats="AUDIO_FORMAT_LC3">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</devicePort>
|
||||
<devicePort tagName="BLE Headset Mic" type="AUDIO_DEVICE_IN_BLE_HEADSET" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="USB Device In" type="AUDIO_DEVICE_IN_USB_DEVICE" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="USB Headset In" type="AUDIO_DEVICE_IN_USB_HEADSET" role="source">
|
||||
|
@ -196,6 +208,10 @@
|
|||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="BT A2DP Speaker"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="BT BLE Headset"
|
||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||
<route type="mix" sink="BT BLE Speaker"
|
||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||
<route type="mix" sink="USB Device Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload"/>
|
||||
<route type="mix" sink="USB Headset Out"
|
||||
|
@ -208,13 +224,13 @@
|
|||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
||||
<route type="mix" sink="primary input"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic,BLE Headset Mic"/>
|
||||
<route type="mix" sink="hotword input"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic,BLE Headset Mic"/>
|
||||
<route type="mix" sink="incall capture" sources="Voice Call And Telephony Rx" />
|
||||
<route type="mix" sink="voice call rx" sources="Voice Call And Telephony Rx" />
|
||||
<route type="mix" sink="voip_tx"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic,BLE Headset Mic"/>
|
||||
<route type="mix" sink="fast input"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In"/>
|
||||
<route type="mix" sink="mmap_no_irq_in"
|
||||
|
|
|
@ -0,0 +1,255 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<!-- Copyright (C) 2020 The Android Open Source Project
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<audioPolicyConfiguration version="7.0" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
<globalConfiguration speaker_drc_enabled="false" call_screen_mode_supported="true" />
|
||||
<modules>
|
||||
<!-- Primary Audio HAL -->
|
||||
<module name="primary" halVersion="2.0">
|
||||
<attachedDevices>
|
||||
<item>Speaker</item>
|
||||
<item>Speaker Safe</item>
|
||||
<item>Earpiece</item>
|
||||
<item>Built-In Mic</item>
|
||||
<item>Built-In Back Mic</item>
|
||||
<item>Telephony Tx</item>
|
||||
<item>Voice Call And Telephony Rx</item>
|
||||
<item>Echo Ref In</item>
|
||||
</attachedDevices>
|
||||
<defaultOutputDevice>Speaker</defaultOutputDevice>
|
||||
<mixPorts>
|
||||
<mixPort name="primary output" role="source" flags="AUDIO_OUTPUT_FLAG_PRIMARY AUDIO_OUTPUT_FLAG_FAST">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||
samplingRates="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_FLOAT"
|
||||
samplingRates="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 16000 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
|
||||
<profile name="" format="AUDIO_FORMAT_AAC_LC"
|
||||
samplingRates="8000 16000 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
|
||||
<profile name="" format="AUDIO_FORMAT_AAC_HE_V1"
|
||||
samplingRates="8000 16000 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
|
||||
<profile name="" format="AUDIO_FORMAT_AAC_HE_V2"
|
||||
samplingRates="8000 16000 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
|
||||
</mixPort>
|
||||
<mixPort name="haptic" role="source">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO_HAPTIC_A" />
|
||||
</mixPort>
|
||||
<mixPort name="raw" role="source" flags="AUDIO_OUTPUT_FLAG_RAW AUDIO_OUTPUT_FLAG_FAST">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="mmap_no_irq_out" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_MMAP_NOIRQ">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="incall playback" role="source"
|
||||
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
|
||||
</mixPort>
|
||||
<mixPort name="voice call tx" role="source">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
|
||||
</mixPort>
|
||||
<mixPort name="voip_rx" role="source"
|
||||
flags="AUDIO_OUTPUT_FLAG_VOIP_RX">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="primary input" role="sink">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO AUDIO_CHANNEL_INDEX_MASK_3"/>
|
||||
</mixPort>
|
||||
<mixPort name="hotword input" role="sink" flags="AUDIO_INPUT_FLAG_HW_HOTWORD" maxActiveCount="0" >
|
||||
<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"/>
|
||||
</mixPort>
|
||||
<mixPort name="incall capture" role="sink">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||
</mixPort>
|
||||
<mixPort name="voice call rx" role="sink">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||
</mixPort>
|
||||
<mixPort name="voip_tx" role="sink"
|
||||
flags="AUDIO_INPUT_FLAG_VOIP_TX">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||
</mixPort>
|
||||
<mixPort name="fast input" role="sink" flags="AUDIO_INPUT_FLAG_RAW AUDIO_INPUT_FLAG_FAST">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="mmap_no_irq_in" role="sink" flags="AUDIO_INPUT_FLAG_MMAP_NOIRQ">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="hifi_playback" role="source" />
|
||||
<mixPort name="hifi_input" role="sink" />
|
||||
<mixPort name="echo_ref_input" role="sink">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="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="Speaker Safe" type="AUDIO_DEVICE_OUT_SPEAKER_SAFE" 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="BT SCO" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="BT SCO Headset" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_HEADSET" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="BT SCO Car Kit" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_CARKIT" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="USB Device Out" type="AUDIO_DEVICE_OUT_USB_DEVICE" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
|
||||
</devicePort>
|
||||
<!-- Input devices declaration, i.e. Source DEVICE PORT -->
|
||||
<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="BT A2DP Out" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP" role="sink"
|
||||
encodedFormats="AUDIO_FORMAT_AAC AUDIO_FORMAT_SBC">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="44100 48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</devicePort>
|
||||
<devicePort tagName="BT A2DP Headphones" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES" role="sink"
|
||||
encodedFormats="AUDIO_FORMAT_AAC AUDIO_FORMAT_SBC">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="44100 48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</devicePort>
|
||||
<devicePort tagName="BT A2DP Speaker" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_SPEAKER" role="sink"
|
||||
encodedFormats="AUDIO_FORMAT_AAC AUDIO_FORMAT_SBC">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="44100 48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</devicePort>
|
||||
<devicePort tagName="USB Device In" type="AUDIO_DEVICE_IN_USB_DEVICE" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="USB Headset In" type="AUDIO_DEVICE_IN_USB_HEADSET" role="source">
|
||||
</devicePort>
|
||||
<!-- AUDIO_DEVICE_IN_VOICE_CALL and AUDIO_DEVICE_IN_TELEPHONY_RX are in the same value -->
|
||||
<devicePort tagName="Voice Call And Telephony Rx" type="AUDIO_DEVICE_IN_VOICE_CALL" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="Echo Ref In" type="AUDIO_DEVICE_IN_ECHO_REFERENCE" role="source">
|
||||
</devicePort>
|
||||
</devicePorts>
|
||||
<!-- route declaration, i.e. list all available sources for a given sink -->
|
||||
<routes>
|
||||
<route type="mix" sink="Speaker"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="Speaker Safe"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="Earpiece"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="BT A2DP Out"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="BT A2DP Headphones"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="BT A2DP Speaker"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="USB Device Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload"/>
|
||||
<route type="mix" sink="USB Headset Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload"/>
|
||||
<route type="mix" sink="BT SCO"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="BT SCO Headset"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="BT SCO Car Kit"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
||||
<route type="mix" sink="primary input"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||
<route type="mix" sink="hotword input"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||
<route type="mix" sink="incall capture" sources="Voice Call And Telephony Rx" />
|
||||
<route type="mix" sink="voice call rx" sources="Voice Call And Telephony Rx" />
|
||||
<route type="mix" sink="voip_tx"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||
<route type="mix" sink="fast input"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In"/>
|
||||
<route type="mix" sink="mmap_no_irq_in"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In"/>
|
||||
<route type="mix" sink="hifi_input" sources="USB Device In,USB Headset In" />
|
||||
<route type="mix" sink="echo_ref_input" sources="Echo Ref In"/>
|
||||
</routes>
|
||||
</module>
|
||||
<!-- Bluetooth Audio HAL -->
|
||||
<xi:include href="bluetooth_audio_policy_configuration_7_0.xml"/>
|
||||
<!-- Usb Audio HAL -->
|
||||
<module name="usbv2" halVersion="2.0">
|
||||
<mixPorts>
|
||||
<mixPort name="usb_accessory output" role="source">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="44100" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
</mixPorts>
|
||||
<devicePorts>
|
||||
<devicePort tagName="USB Host Out" type="AUDIO_DEVICE_OUT_USB_ACCESSORY" role="sink">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="44100" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</devicePort>
|
||||
</devicePorts>
|
||||
<routes>
|
||||
<route type="mix" sink="USB Host Out"
|
||||
sources="usb_accessory output"/>
|
||||
</routes>
|
||||
</module>
|
||||
<!-- 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>
|
Binary file not shown.
|
@ -275,7 +275,7 @@
|
|||
<block id="137">
|
||||
<moduleRef id="14"/>
|
||||
<moduleRef id="7"/>
|
||||
<moduleRef id="32"/>
|
||||
<moduleRef id="8"/>
|
||||
</block>
|
||||
</signalflow>
|
||||
<signalflow id="1000" name="Smart Feature">
|
||||
|
|
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
|
@ -19,7 +19,7 @@ SR_COMMON = 48000
|
|||
# This can be configured by Waves or platform vendor.
|
||||
########################################################################################################
|
||||
[HAL_ORIENTATION_SUBTYPES]
|
||||
OST_SPEAKER = 0:12,90:13,180:12,270:14
|
||||
OST_SPEAKER = 0:12,90:13,180:12,270:0|13
|
||||
|
||||
########################################################################################################
|
||||
# This defines available preset configurations.
|
||||
|
|
|
@ -57,6 +57,11 @@ PRODUCT_COPY_FILES += \
|
|||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HANDSET.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSET.mods \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HEADSET.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HEADSET.mods
|
||||
|
||||
#Bluenote files
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/bluenote/template.xml:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/template.xml \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/bluenote/tuning_constraints_combination.xml:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/tuning_constraints_combination.xml
|
||||
|
||||
# Mixer Path Configuration for Audio Speaker Calibration Tool crus_sp_cal
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/cs35l41/crus_sp_cal_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/crus_sp_cal_mixer_paths.xml
|
||||
|
|
|
@ -20,6 +20,7 @@ AUDIO_TABLE_FOLDER := panther
|
|||
PRODUCT_COPY_FILES += \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration_bluetooth_legacy_hal.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_bluetooth_legacy_hal.xml \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration_le_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_le_offload_disabled.xml \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration_a2dp_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_a2dp_offload_disabled.xml \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/config/audio_platform_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_configuration.xml \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/config/sound_trigger_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_configuration.xml \
|
||||
|
@ -58,6 +59,11 @@ PRODUCT_COPY_FILES += \
|
|||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HANDSET.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSET.mods \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HEADSET.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HEADSET.mods
|
||||
|
||||
#Bluenote files
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/bluenote/template.xml:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/template.xml \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/bluenote/tuning_constraints_combination.xml:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/tuning_constraints_combination.xml
|
||||
|
||||
# Mixer Path Configuration for Audio Speaker Calibration Tool crus_sp_cal
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/cs35l41/crus_sp_cal_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/crus_sp_cal_mixer_paths.xml
|
||||
|
|
|
@ -172,6 +172,18 @@
|
|||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="44100 48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</devicePort>
|
||||
<devicePort tagName="BT BLE Headset" type="AUDIO_DEVICE_OUT_BLE_HEADSET" role="sink"
|
||||
encodedFormats="AUDIO_FORMAT_LC3">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</devicePort>
|
||||
<devicePort tagName="BT BLE Speaker" type="AUDIO_DEVICE_OUT_BLE_SPEAKER" role="sink"
|
||||
encodedFormats="AUDIO_FORMAT_LC3">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</devicePort>
|
||||
<devicePort tagName="BLE Headset Mic" type="AUDIO_DEVICE_IN_BLE_HEADSET" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="USB Device In" type="AUDIO_DEVICE_IN_USB_DEVICE" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="USB Headset In" type="AUDIO_DEVICE_IN_USB_HEADSET" role="source">
|
||||
|
@ -196,6 +208,10 @@
|
|||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="BT A2DP Speaker"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="BT BLE Headset"
|
||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||
<route type="mix" sink="BT BLE Speaker"
|
||||
sources="primary output,deep buffer,haptic,compressed_offload,voip_rx"/>
|
||||
<route type="mix" sink="USB Device Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload"/>
|
||||
<route type="mix" sink="USB Headset Out"
|
||||
|
@ -208,13 +224,13 @@
|
|||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
||||
<route type="mix" sink="primary input"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic,BLE Headset Mic"/>
|
||||
<route type="mix" sink="hotword input"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic,BLE Headset Mic"/>
|
||||
<route type="mix" sink="incall capture" sources="Voice Call And Telephony Rx" />
|
||||
<route type="mix" sink="voice call rx" sources="Voice Call And Telephony Rx" />
|
||||
<route type="mix" sink="voip_tx"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic,BLE Headset Mic"/>
|
||||
<route type="mix" sink="fast input"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In"/>
|
||||
<route type="mix" sink="mmap_no_irq_in"
|
||||
|
|
|
@ -0,0 +1,255 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<!-- Copyright (C) 2020 The Android Open Source Project
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<audioPolicyConfiguration version="7.0" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
<globalConfiguration speaker_drc_enabled="false" call_screen_mode_supported="true" />
|
||||
<modules>
|
||||
<!-- Primary Audio HAL -->
|
||||
<module name="primary" halVersion="2.0">
|
||||
<attachedDevices>
|
||||
<item>Speaker</item>
|
||||
<item>Speaker Safe</item>
|
||||
<item>Earpiece</item>
|
||||
<item>Built-In Mic</item>
|
||||
<item>Built-In Back Mic</item>
|
||||
<item>Telephony Tx</item>
|
||||
<item>Voice Call And Telephony Rx</item>
|
||||
<item>Echo Ref In</item>
|
||||
</attachedDevices>
|
||||
<defaultOutputDevice>Speaker</defaultOutputDevice>
|
||||
<mixPorts>
|
||||
<mixPort name="primary output" role="source" flags="AUDIO_OUTPUT_FLAG_PRIMARY AUDIO_OUTPUT_FLAG_FAST">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||
samplingRates="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_FLOAT"
|
||||
samplingRates="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 16000 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
|
||||
<profile name="" format="AUDIO_FORMAT_AAC_LC"
|
||||
samplingRates="8000 16000 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
|
||||
<profile name="" format="AUDIO_FORMAT_AAC_HE_V1"
|
||||
samplingRates="8000 16000 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
|
||||
<profile name="" format="AUDIO_FORMAT_AAC_HE_V2"
|
||||
samplingRates="8000 16000 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
|
||||
</mixPort>
|
||||
<mixPort name="haptic" role="source">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO_HAPTIC_A" />
|
||||
</mixPort>
|
||||
<mixPort name="raw" role="source" flags="AUDIO_OUTPUT_FLAG_RAW AUDIO_OUTPUT_FLAG_FAST">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="mmap_no_irq_out" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_MMAP_NOIRQ">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="incall playback" role="source"
|
||||
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
|
||||
</mixPort>
|
||||
<mixPort name="voice call tx" role="source">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
|
||||
</mixPort>
|
||||
<mixPort name="voip_rx" role="source"
|
||||
flags="AUDIO_OUTPUT_FLAG_VOIP_RX">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="primary input" role="sink">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO AUDIO_CHANNEL_INDEX_MASK_3"/>
|
||||
</mixPort>
|
||||
<mixPort name="hotword input" role="sink" flags="AUDIO_INPUT_FLAG_HW_HOTWORD" maxActiveCount="0" >
|
||||
<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"/>
|
||||
</mixPort>
|
||||
<mixPort name="incall capture" role="sink">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||
</mixPort>
|
||||
<mixPort name="voice call rx" role="sink">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||
</mixPort>
|
||||
<mixPort name="voip_tx" role="sink"
|
||||
flags="AUDIO_INPUT_FLAG_VOIP_TX">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||
</mixPort>
|
||||
<mixPort name="fast input" role="sink" flags="AUDIO_INPUT_FLAG_RAW AUDIO_INPUT_FLAG_FAST">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="mmap_no_irq_in" role="sink" flags="AUDIO_INPUT_FLAG_MMAP_NOIRQ">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="hifi_playback" role="source" />
|
||||
<mixPort name="hifi_input" role="sink" />
|
||||
<mixPort name="echo_ref_input" role="sink">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="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="Speaker Safe" type="AUDIO_DEVICE_OUT_SPEAKER_SAFE" 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="BT SCO" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="BT SCO Headset" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_HEADSET" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="BT SCO Car Kit" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_CARKIT" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="USB Device Out" type="AUDIO_DEVICE_OUT_USB_DEVICE" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
|
||||
</devicePort>
|
||||
<!-- Input devices declaration, i.e. Source DEVICE PORT -->
|
||||
<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="BT A2DP Out" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP" role="sink"
|
||||
encodedFormats="AUDIO_FORMAT_AAC AUDIO_FORMAT_SBC">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="44100 48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</devicePort>
|
||||
<devicePort tagName="BT A2DP Headphones" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES" role="sink"
|
||||
encodedFormats="AUDIO_FORMAT_AAC AUDIO_FORMAT_SBC">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="44100 48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</devicePort>
|
||||
<devicePort tagName="BT A2DP Speaker" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_SPEAKER" role="sink"
|
||||
encodedFormats="AUDIO_FORMAT_AAC AUDIO_FORMAT_SBC">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="44100 48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</devicePort>
|
||||
<devicePort tagName="USB Device In" type="AUDIO_DEVICE_IN_USB_DEVICE" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="USB Headset In" type="AUDIO_DEVICE_IN_USB_HEADSET" role="source">
|
||||
</devicePort>
|
||||
<!-- AUDIO_DEVICE_IN_VOICE_CALL and AUDIO_DEVICE_IN_TELEPHONY_RX are in the same value -->
|
||||
<devicePort tagName="Voice Call And Telephony Rx" type="AUDIO_DEVICE_IN_VOICE_CALL" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="Echo Ref In" type="AUDIO_DEVICE_IN_ECHO_REFERENCE" role="source">
|
||||
</devicePort>
|
||||
</devicePorts>
|
||||
<!-- route declaration, i.e. list all available sources for a given sink -->
|
||||
<routes>
|
||||
<route type="mix" sink="Speaker"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="Speaker Safe"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="Earpiece"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="BT A2DP Out"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="BT A2DP Headphones"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="BT A2DP Speaker"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="USB Device Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload"/>
|
||||
<route type="mix" sink="USB Headset Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload"/>
|
||||
<route type="mix" sink="BT SCO"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="BT SCO Headset"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="BT SCO Car Kit"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
||||
<route type="mix" sink="primary input"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||
<route type="mix" sink="hotword input"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||
<route type="mix" sink="incall capture" sources="Voice Call And Telephony Rx" />
|
||||
<route type="mix" sink="voice call rx" sources="Voice Call And Telephony Rx" />
|
||||
<route type="mix" sink="voip_tx"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||
<route type="mix" sink="fast input"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In"/>
|
||||
<route type="mix" sink="mmap_no_irq_in"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In"/>
|
||||
<route type="mix" sink="hifi_input" sources="USB Device In,USB Headset In" />
|
||||
<route type="mix" sink="echo_ref_input" sources="Echo Ref In"/>
|
||||
</routes>
|
||||
</module>
|
||||
<!-- Bluetooth Audio HAL -->
|
||||
<xi:include href="bluetooth_audio_policy_configuration_7_0.xml"/>
|
||||
<!-- Usb Audio HAL -->
|
||||
<module name="usbv2" halVersion="2.0">
|
||||
<mixPorts>
|
||||
<mixPort name="usb_accessory output" role="source">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="44100" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
</mixPorts>
|
||||
<devicePorts>
|
||||
<devicePort tagName="USB Host Out" type="AUDIO_DEVICE_OUT_USB_ACCESSORY" role="sink">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="44100" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</devicePort>
|
||||
</devicePorts>
|
||||
<routes>
|
||||
<route type="mix" sink="USB Host Out"
|
||||
sources="usb_accessory output"/>
|
||||
</routes>
|
||||
</module>
|
||||
<!-- 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>
|
Binary file not shown.
|
@ -275,7 +275,7 @@
|
|||
<block id="137">
|
||||
<moduleRef id="14"/>
|
||||
<moduleRef id="7"/>
|
||||
<moduleRef id="32"/>
|
||||
<moduleRef id="8"/>
|
||||
</block>
|
||||
</signalflow>
|
||||
<signalflow id="1000" name="Smart Feature">
|
||||
|
|
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
|
@ -19,7 +19,7 @@ SR_COMMON = 48000
|
|||
# This can be configured by Waves or platform vendor.
|
||||
########################################################################################################
|
||||
[HAL_ORIENTATION_SUBTYPES]
|
||||
OST_SPEAKER = 0:12,90:13,180:12,270:14
|
||||
OST_SPEAKER = 0:12,90:13,180:12,270:0|13
|
||||
|
||||
########################################################################################################
|
||||
# This defines available preset configurations.
|
||||
|
|
Binary file not shown.
|
@ -57,6 +57,11 @@ PRODUCT_COPY_FILES += \
|
|||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HANDSET.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSET.mods \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HEADSET.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HEADSET.mods
|
||||
|
||||
#Bluenote files
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/bluenote/template.xml:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/template.xml \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/bluenote/tuning_constraints_combination.xml:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/tuning_constraints_combination.xml
|
||||
|
||||
# Mixer Path Configuration for Audio Speaker Calibration Tool crus_sp_cal
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/cs35l41/crus_sp_cal_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/crus_sp_cal_mixer_paths.xml
|
||||
|
|
|
@ -2,3 +2,6 @@
|
|||
|
||||
# Uart port name
|
||||
UartPort = /dev/ttySAC18
|
||||
|
||||
# Sar backOff high resolution support
|
||||
SarBackOffHighResolution = true
|
||||
|
|
|
@ -18,6 +18,7 @@ TARGET_BOOTLOADER_BOARD_NAME := cheetah
|
|||
TARGET_SCREEN_DENSITY := 560
|
||||
BOARD_USES_GENERIC_AUDIO := true
|
||||
USES_DEVICE_GOOGLE_CLOUDRIPPER := true
|
||||
BOARD_KERNEL_CMDLINE += swiotlb=noforce
|
||||
|
||||
include device/google/gs201/BoardConfig-common.mk
|
||||
-include vendor/google_devices/gs201/prebuilts/BoardConfigVendor.mk
|
||||
|
|
|
@ -67,6 +67,19 @@
|
|||
@left
|
||||
</string>
|
||||
|
||||
<!-- Not allow to switch to higher refresh rate when display brightness setting is
|
||||
equal or less than this value -->
|
||||
<integer-array name="config_brightnessThresholdsOfPeakRefreshRate">
|
||||
<!-- System brightness for 5 nits: round((5-2)/(1000-2)*(255-1)+1) = 2 -->
|
||||
<item>2</item> <!-- 15% UI brightness -->
|
||||
</integer-array>
|
||||
<integer-array name="config_ambientThresholdsOfPeakRefreshRate">
|
||||
<item>5</item>
|
||||
</integer-array>
|
||||
|
||||
<!-- default refresh rate in the zone defined by birghtness and ambient thresholds -->
|
||||
<integer name="config_defaultRefreshRateInZone">120</integer>
|
||||
|
||||
<!-- Array of light sensor LUX values to define our levels for auto backlight brightness support.
|
||||
The N entries of this array define N 1 zones as follows:
|
||||
Zone 0: 0 <= LUX < array[0]
|
||||
|
@ -92,9 +105,11 @@
|
|||
<item>665</item>
|
||||
<item>1097</item>
|
||||
<item>1808</item>
|
||||
<item>2981</item>
|
||||
<item>5000</item>
|
||||
<item>3000</item>
|
||||
<item>6000</item>
|
||||
<item>9000</item>
|
||||
<item>10000</item>
|
||||
<item>14000</item>
|
||||
<item>20000</item>
|
||||
</integer-array>
|
||||
|
||||
|
@ -128,11 +143,13 @@
|
|||
<item>125.1221991</item> <!-- 403 - 665 -->
|
||||
<item>161.6875093</item> <!-- 665 - 1097 -->
|
||||
<item>208.4885553</item> <!-- 1097 - 1808 -->
|
||||
<item>264.8221315</item> <!-- 1808 - 2981 -->
|
||||
<item>327.8974352</item> <!-- 2981 - 5000 -->
|
||||
<item>401.1676739</item> <!-- 5000 - 10000 -->
|
||||
<item>750.0</item> <!-- 10000 -20000 -->
|
||||
<item>1100.0</item> <!-- 20000+ -->
|
||||
<item>264.8221315</item> <!-- 1808 - 3000 -->
|
||||
<item>328.5869521</item> <!-- 3000 - 6000 -->
|
||||
<item>627.4315413</item> <!-- 6000 - 9000 -->
|
||||
<item>826.8584866</item> <!-- 9000 - 10000 -->
|
||||
<item>867.0494638</item> <!-- 10000 -14000 -->
|
||||
<item>901.4496943</item> <!-- 14000 -20000 -->
|
||||
<item>1100.0</item> <!-- 20000+ -->
|
||||
</array>
|
||||
|
||||
<!-- Stability requirements in milliseconds for accepting a new brightness level. This is used
|
||||
|
@ -233,4 +250,20 @@
|
|||
<item>200</item>
|
||||
<item>200</item>
|
||||
</integer-array>
|
||||
|
||||
<!-- The stable device width and height in pixels. If these aren't set to a positive number
|
||||
then the device will use the width and height of the default display the first time it's
|
||||
booted. -->
|
||||
<integer name="config_stableDeviceDisplayWidth">1440</integer>
|
||||
<integer name="config_stableDeviceDisplayHeight">3120</integer>
|
||||
|
||||
<!-- UDFPS does not support gestures -->
|
||||
<bool name="config_fingerprintSupportsGestures">false</bool>
|
||||
|
||||
<!-- Boolean indicating if restoring network selection should be skipped -->
|
||||
<!-- The restoring is handled by modem if it is true -->
|
||||
<bool translatable="false" name="skip_restoring_network_selection">true</bool>
|
||||
|
||||
<!-- If face auth sends the user directly to home/last open app, or stays on keyguard by default-->
|
||||
<bool name="config_faceAuthDismissesKeyguard">false</bool>
|
||||
</resources>
|
||||
|
|
|
@ -20,6 +20,33 @@
|
|||
<!-- These resources are around just to allow their values to be customized
|
||||
for different hardware and product builds. -->
|
||||
<resources>
|
||||
<!-- Type of a sensor that provides a low-power estimate of the desired display
|
||||
brightness, suitable to listen to while the device is asleep (e.g. during
|
||||
always-on display) -->
|
||||
<string name="doze_brightness_sensor_type" translatable="false">com.google.sensor.binned_brightness</string>
|
||||
|
||||
<!-- Doze: Table that translates sensor values from the doze_brightness_sensor_type sensor
|
||||
to brightness values; -1 means keeping the current brightness. -->
|
||||
<integer-array name="config_doze_brightness_sensor_to_brightness">
|
||||
<item>-1</item> <!-- 0: OFF -->
|
||||
<item>3</item> <!-- 1: NIGHT -->
|
||||
<item>3</item> <!-- 2: LOW -->
|
||||
<item>13</item> <!-- 3: HIGH -->
|
||||
<item>13</item> <!-- 4: SUN -->
|
||||
</integer-array>
|
||||
|
||||
<!-- Doze: Table that translates sensor values from the doze_brightness_sensor_type sensor
|
||||
to an opacity value for a black scrim that is overlaid in AOD1.
|
||||
Valid range is from 0 (transparent) to 255 (opaque).
|
||||
-1 means keeping the current opacity. -->
|
||||
<integer-array name="config_doze_brightness_sensor_to_scrim_opacity">
|
||||
<item>-1</item> <!-- 0: OFF -->
|
||||
<item>133</item> <!-- 1: NIGHT -->
|
||||
<item>0</item> <!-- 2: LOW -->
|
||||
<item>0</item> <!-- 3: HIGH -->
|
||||
<item>0</item> <!-- 4: SUN -->
|
||||
</integer-array>
|
||||
|
||||
<bool name="config_roundedCornerMultipleRadius">true</bool>
|
||||
|
||||
<!-- Configure 13px of extra protection around the front-facing camera -->
|
||||
|
|
8
cheetah/overlay_packages/SettingsOverlayGFE4J/Android.bp
Normal file
8
cheetah/overlay_packages/SettingsOverlayGFE4J/Android.bp
Normal file
|
@ -0,0 +1,8 @@
|
|||
package {
|
||||
default_applicable_licenses: ["Android-Apache-2.0"],
|
||||
}
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "SettingsOverlayGFE4J",
|
||||
product_specific: true,
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.android.settings.overlay.gfe4j">
|
||||
<application android:hasCode="false" />
|
||||
<overlay android:targetPackage="com.android.settings"
|
||||
android:requiredSystemPropertyName="ro.boot.hardware.sku"
|
||||
android:requiredSystemPropertyValue="GFE4J"
|
||||
android:isStatic="true" />
|
||||
</manifest>
|
Binary file not shown.
After Width: | Height: | Size: 68 KiB |
|
@ -2,7 +2,7 @@
|
|||
import /vendor/etc/init/hw/init.gs201.rc
|
||||
import /vendor/etc/init/hw/init.pantah.rc
|
||||
|
||||
on property:vendor.device.modules.ready=1
|
||||
on late-init && property:vendor.device.modules.ready=1
|
||||
# Start the twoshay touch service
|
||||
start twoshay
|
||||
|
||||
|
|
|
@ -70,3 +70,27 @@ on property:ro.boot.hardware.revision=PROTO1.1
|
|||
# SecureElement eSE2 cts mode
|
||||
on property:persist.vendor.se.ese2.mode=ctsmode
|
||||
write /sys/class/st33spi/st33spi/st33spi_state 33
|
||||
|
||||
on init && property:ro.boot.hw.soc.rev=0
|
||||
setprop vendor.powerhal.config powerhint-a0.json
|
||||
|
||||
# Touch
|
||||
on property:vendor.device.modules.ready=1
|
||||
chown system system /proc/focaltech_touch/Channel_Num
|
||||
chown system system /proc/focaltech_touch/FW_Version
|
||||
chown system system /proc/focaltech_touch/INT_PIN
|
||||
chown system system /proc/focaltech_touch/force_active
|
||||
chown system system /proc/focaltech_touch/Reset_Pin
|
||||
chown system system /proc/focaltech_touch/fw_grip
|
||||
chown system system /proc/focaltech_touch/fw_palm
|
||||
chown system system /proc/focaltech_touch/heatmap_onoff
|
||||
chown system system /proc/focaltech_touch/mf_mode
|
||||
chown system system /proc/focaltech_touch/selftest/Baseline
|
||||
chown system system /proc/focaltech_touch/selftest/Noise
|
||||
chown system system /proc/focaltech_touch/selftest/Panel_Differ
|
||||
chown system system /proc/focaltech_touch/selftest/Rawdata
|
||||
chown system system /proc/focaltech_touch/selftest/Rawdata_Uniformity
|
||||
chown system system /proc/focaltech_touch/selftest/Scap_CB
|
||||
chown system system /proc/focaltech_touch/selftest/Scap_Rawdata
|
||||
chown system system /proc/focaltech_touch/selftest/Short
|
||||
chown system system /proc/focaltech_touch/selftest/Strength
|
|
@ -2,7 +2,7 @@
|
|||
import /vendor/etc/init/hw/init.gs201.rc
|
||||
import /vendor/etc/init/hw/init.pantah.rc
|
||||
|
||||
on property:vendor.device.modules.ready=1
|
||||
on late-init && property:vendor.device.modules.ready=1
|
||||
# Start the twoshay touch service
|
||||
start twoshay
|
||||
|
||||
|
|
|
@ -113,6 +113,8 @@ PRODUCT_COPY_FILES += \
|
|||
# Power HAL config
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/pantah/powerhint-cheetah.json:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.json
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/pantah/powerhint-cheetah-a0.json:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint-a0.json
|
||||
|
||||
# Bluetooth HAL
|
||||
DEVICE_MANIFEST_FILE += \
|
||||
|
@ -129,6 +131,11 @@ PRODUCT_PROPERTY_OVERRIDES += \
|
|||
persist.bluetooth.a2dp_offload.disabled=false \
|
||||
persist.bluetooth.a2dp_offload.cap=sbc-aac-aptx-aptxhd-ldac
|
||||
|
||||
# Spatial Audio
|
||||
PRODUCT_PACKAGES += \
|
||||
libspatialaudio \
|
||||
librondo
|
||||
|
||||
# Keymaster HAL
|
||||
#LOCAL_KEYMASTER_PRODUCT_PACKAGE ?= android.hardware.keymaster@4.1-service
|
||||
|
||||
|
@ -165,8 +172,8 @@ PRODUCT_PROPERTY_OVERRIDES += \
|
|||
|
||||
# PowerStats HAL
|
||||
PRODUCT_SOONG_NAMESPACES += \
|
||||
device/google/pantah/powerstats/cheetah
|
||||
|
||||
device/google/pantah/powerstats/cheetah \
|
||||
device/google/pantah
|
||||
|
||||
# Fingerprint HAL
|
||||
GOODIX_CONFIG_BUILD_VERSION := g7_trusty
|
||||
|
@ -212,3 +219,26 @@ PRODUCT_PRODUCT_PROPERTIES += \
|
|||
PRODUCT_PACKAGES += \
|
||||
NoCutoutOverlay \
|
||||
AvoidAppsInCutoutOverlay
|
||||
|
||||
# SKU specific RROs
|
||||
PRODUCT_PACKAGES += \
|
||||
SettingsOverlayGFE4J
|
||||
|
||||
# Bluetooth LE Audio Hardware offload
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
ro.bluetooth.leaudio_offload.supported=true \
|
||||
persist.bluetooth.leaudio_offload.disabled=false
|
||||
|
||||
# userdebug specific
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/gs201/init.hardware.wlc.rc.userdebug:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.wlc.rc
|
||||
endif
|
||||
|
||||
# Fingerprint als feed forward
|
||||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
persist.vendor.udfps.als_feed_forward_supported=true
|
||||
|
||||
# Vibrator HAL
|
||||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
ro.vendor.vibrator.hal.chirp.enabled=1
|
||||
|
|
|
@ -100,6 +100,11 @@ PRODUCT_PROPERTY_OVERRIDES += \
|
|||
persist.bluetooth.a2dp_offload.disabled=false \
|
||||
persist.bluetooth.a2dp_offload.cap=sbc-aac-aptx-aptxhd-ldac
|
||||
|
||||
# Spatial Audio
|
||||
PRODUCT_PACKAGES += \
|
||||
libspatialaudio \
|
||||
librondo
|
||||
|
||||
# Keymaster HAL
|
||||
#LOCAL_KEYMASTER_PRODUCT_PACKAGE ?= android.hardware.keymaster@4.1-service
|
||||
|
||||
|
|
|
@ -102,6 +102,8 @@ PRODUCT_COPY_FILES += \
|
|||
# Power HAL config
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/pantah/powerhint-panther.json:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.json
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/pantah/powerhint-panther-a0.json:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint-a0.json
|
||||
|
||||
# Bluetooth HAL
|
||||
DEVICE_MANIFEST_FILE += \
|
||||
|
@ -118,6 +120,11 @@ PRODUCT_PROPERTY_OVERRIDES += \
|
|||
persist.bluetooth.a2dp_offload.disabled=false \
|
||||
persist.bluetooth.a2dp_offload.cap=sbc-aac-aptx-aptxhd-ldac
|
||||
|
||||
# Spatial Audio
|
||||
PRODUCT_PACKAGES += \
|
||||
libspatialaudio \
|
||||
librondo
|
||||
|
||||
# Keymaster HAL
|
||||
#LOCAL_KEYMASTER_PRODUCT_PACKAGE ?= android.hardware.keymaster@4.1-service
|
||||
|
||||
|
@ -154,7 +161,8 @@ PRODUCT_PROPERTY_OVERRIDES += \
|
|||
|
||||
# PowerStats HAL
|
||||
PRODUCT_SOONG_NAMESPACES += \
|
||||
device/google/pantah/powerstats/panther
|
||||
device/google/pantah/powerstats/panther \
|
||||
device/google/pantah
|
||||
|
||||
# Fingerprint HAL
|
||||
GOODIX_CONFIG_BUILD_VERSION := g7_trusty
|
||||
|
@ -203,3 +211,26 @@ PRODUCT_PRODUCT_PROPERTIES += \
|
|||
PRODUCT_PACKAGES += \
|
||||
NoCutoutOverlay \
|
||||
AvoidAppsInCutoutOverlay
|
||||
|
||||
# SKU specific RROs
|
||||
PRODUCT_PACKAGES += \
|
||||
SettingsOverlayG03Z5
|
||||
|
||||
# Bluetooth LE Audio Hardware offload
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
ro.bluetooth.leaudio_offload.supported=true \
|
||||
persist.bluetooth.leaudio_offload.disabled=false
|
||||
|
||||
# userdebug specific
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/gs201/init.hardware.wlc.rc.userdebug:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.wlc.rc
|
||||
endif
|
||||
|
||||
# Fingerprint als feed forward
|
||||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
persist.vendor.udfps.als_feed_forward_supported=true
|
||||
|
||||
# Vibrator HAL
|
||||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
ro.vendor.vibrator.hal.chirp.enabled=1
|
||||
|
|
|
@ -8,8 +8,7 @@
|
|||
# Modules here will be loaded *after* all common modules
|
||||
modprobe|bcmdhd4389.ko
|
||||
modprobe|snd-soc-cs35l41-spi.ko
|
||||
modprobe|ftm5.ko
|
||||
modprobe|sec_touch.ko
|
||||
modprobe|syna_touch.ko
|
||||
modprobe|cl_dsp.ko
|
||||
modprobe|input-cs40l26-i2c.ko
|
||||
modprobe|snd-soc-cs40l26.ko
|
||||
|
|
|
@ -8,8 +8,7 @@
|
|||
# Modules here will be loaded *after* all common modules
|
||||
modprobe|bcmdhd4389.ko
|
||||
modprobe|snd-soc-cs35l41-spi.ko
|
||||
modprobe|ftm5.ko
|
||||
modprobe|sec_touch.ko
|
||||
modprobe|focal_touch.ko
|
||||
modprobe|cl_dsp.ko
|
||||
modprobe|input-cs40l26-i2c.ko
|
||||
modprobe|snd-soc-cs40l26.ko
|
||||
|
|
|
@ -18,6 +18,7 @@ TARGET_BOOTLOADER_BOARD_NAME := panther
|
|||
TARGET_SCREEN_DENSITY := 420
|
||||
BOARD_USES_GENERIC_AUDIO := true
|
||||
USES_DEVICE_GOOGLE_CLOUDRIPPER := true
|
||||
BOARD_KERNEL_CMDLINE += swiotlb=noforce
|
||||
|
||||
include device/google/gs201/BoardConfig-common.mk
|
||||
-include vendor/google_devices/gs201/prebuilts/BoardConfigVendor.mk
|
||||
|
|
|
@ -66,6 +66,21 @@
|
|||
@left
|
||||
</string>
|
||||
|
||||
<!-- Not allow to switch to higher refresh rate when display brightness setting is
|
||||
equal or less than this value -->
|
||||
<integer-array name="config_brightnessThresholdsOfPeakRefreshRate">
|
||||
<!-- System brightness for 20 nits: round((20-2)/(1000-2)*(255-1)+1) = 6 -->
|
||||
<item>6</item> <!-- 34% UI brightness -->
|
||||
<!-- System brightness for 25 nits: round((25-2)/(1000-2)*(255-1)+1) = 7 -->
|
||||
<item>7</item> <!-- 38% UI brightness -->
|
||||
</integer-array>
|
||||
<integer-array name="config_ambientThresholdsOfPeakRefreshRate">
|
||||
<item>-1</item>
|
||||
<item>20</item>
|
||||
</integer-array>
|
||||
<!-- default refresh rate in the zone defined by birghtness and ambient thresholds -->
|
||||
<integer name="config_defaultRefreshRateInZone">90</integer>
|
||||
|
||||
<!-- Array of light sensor LUX values to define our levels for auto backlight brightness support.
|
||||
The N entries of this array define N 1 zones as follows:
|
||||
Zone 0: 0 <= LUX < array[0]
|
||||
|
@ -91,9 +106,11 @@
|
|||
<item>665</item>
|
||||
<item>1097</item>
|
||||
<item>1808</item>
|
||||
<item>2981</item>
|
||||
<item>5000</item>
|
||||
<item>3000</item>
|
||||
<item>6000</item>
|
||||
<item>9000</item>
|
||||
<item>10000</item>
|
||||
<item>14000</item>
|
||||
<item>20000</item>
|
||||
</integer-array>
|
||||
|
||||
|
@ -127,11 +144,13 @@
|
|||
<item>125.1221991</item> <!-- 403 - 665 -->
|
||||
<item>161.6875093</item> <!-- 665 - 1097 -->
|
||||
<item>208.4885553</item> <!-- 1097 - 1808 -->
|
||||
<item>264.8221315</item> <!-- 1808 - 2981 -->
|
||||
<item>327.8974352</item> <!-- 2981 - 5000 -->
|
||||
<item>401.1676739</item> <!-- 5000 - 10000 -->
|
||||
<item>750.0</item> <!-- 10000 -20000 -->
|
||||
<item>1100.0</item> <!-- 20000+ -->
|
||||
<item>264.8221315</item> <!-- 1808 - 3000 -->
|
||||
<item>328.5869521</item> <!-- 3000 - 6000 -->
|
||||
<item>627.4315413</item> <!-- 6000 - 9000 -->
|
||||
<item>826.8584866</item> <!-- 9000 - 10000 -->
|
||||
<item>867.0494638</item> <!-- 10000 -14000 -->
|
||||
<item>901.4496943</item> <!-- 14000 -20000 -->
|
||||
<item>1100.0</item> <!-- 20000+ -->
|
||||
</array>
|
||||
|
||||
<!-- Stability requirements in milliseconds for accepting a new brightness level. This is used
|
||||
|
@ -232,4 +251,14 @@
|
|||
<item>200</item>
|
||||
<item>200</item>
|
||||
</integer-array>
|
||||
|
||||
<!-- UDFPS does not support gestures -->
|
||||
<bool name="config_fingerprintSupportsGestures">false</bool>
|
||||
|
||||
<!-- Boolean indicating if restoring network selection should be skipped -->
|
||||
<!-- The restoring is handled by modem if it is true -->
|
||||
<bool translatable="false" name="skip_restoring_network_selection">true</bool>
|
||||
|
||||
<!-- If face auth sends the user directly to home/last open app, or stays on keyguard by default-->
|
||||
<bool name="config_faceAuthDismissesKeyguard">false</bool>
|
||||
</resources>
|
||||
|
|
|
@ -20,6 +20,33 @@
|
|||
<!-- These resources are around just to allow their values to be customized
|
||||
for different hardware and product builds. -->
|
||||
<resources>
|
||||
<!-- Type of a sensor that provides a low-power estimate of the desired display
|
||||
brightness, suitable to listen to while the device is asleep (e.g. during
|
||||
always-on display) -->
|
||||
<string name="doze_brightness_sensor_type" translatable="false">com.google.sensor.binned_brightness</string>
|
||||
|
||||
<!-- Doze: Table that translates sensor values from the doze_brightness_sensor_type sensor
|
||||
to brightness values; -1 means keeping the current brightness. -->
|
||||
<integer-array name="config_doze_brightness_sensor_to_brightness">
|
||||
<item>-1</item> <!-- 0: OFF -->
|
||||
<item>3</item> <!-- 1: NIGHT -->
|
||||
<item>3</item> <!-- 2: LOW -->
|
||||
<item>13</item> <!-- 3: HIGH -->
|
||||
<item>13</item> <!-- 4: SUN -->
|
||||
</integer-array>
|
||||
|
||||
<!-- Doze: Table that translates sensor values from the doze_brightness_sensor_type sensor
|
||||
to an opacity value for a black scrim that is overlaid in AOD1.
|
||||
Valid range is from 0 (transparent) to 255 (opaque).
|
||||
-1 means keeping the current opacity. -->
|
||||
<integer-array name="config_doze_brightness_sensor_to_scrim_opacity">
|
||||
<item>-1</item> <!-- 0: OFF -->
|
||||
<item>133</item> <!-- 1: NIGHT -->
|
||||
<item>0</item> <!-- 2: LOW -->
|
||||
<item>0</item> <!-- 3: HIGH -->
|
||||
<item>0</item> <!-- 4: SUN -->
|
||||
</integer-array>
|
||||
|
||||
<!-- Default rounded corner curve (a Bezier). Must match (the curved path in) rounded.xml.
|
||||
Note that while rounded.xml includes the entire path (including the horizontal and vertical
|
||||
corner edges), this pulls out just the curve.
|
||||
|
|
8
panther/overlay_packages/SettingsOverlayG03Z5/Android.bp
Normal file
8
panther/overlay_packages/SettingsOverlayG03Z5/Android.bp
Normal file
|
@ -0,0 +1,8 @@
|
|||
package {
|
||||
default_applicable_licenses: ["Android-Apache-2.0"],
|
||||
}
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "SettingsOverlayG03Z5",
|
||||
product_specific: true,
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.android.settings.overlay.g03z5">
|
||||
<application android:hasCode="false" />
|
||||
<overlay android:targetPackage="com.android.settings"
|
||||
android:requiredSystemPropertyName="ro.boot.hardware.sku"
|
||||
android:requiredSystemPropertyValue="G03Z5"
|
||||
android:isStatic="true" />
|
||||
</manifest>
|
Binary file not shown.
After Width: | Height: | Size: 69 KiB |
1540
powerhint-cheetah-a0.json
Normal file
1540
powerhint-cheetah-a0.json
Normal file
File diff suppressed because it is too large
Load diff
|
@ -5,6 +5,7 @@
|
|||
"Path": "/sys/devices/platform/17000010.devfreq_mif/devfreq/17000010.devfreq_mif/min_freq",
|
||||
"Values": [
|
||||
"3172000",
|
||||
"2028000",
|
||||
"1014000",
|
||||
"421000"
|
||||
],
|
||||
|
@ -113,7 +114,7 @@
|
|||
},
|
||||
{
|
||||
"Name": "CPUUtilThreshold",
|
||||
"Path": "/sys/kernel/vendor_sched/util_threshold",
|
||||
"Path": "/proc/vendor_sched/util_threshold",
|
||||
"Values": [
|
||||
"1280",
|
||||
"1100"
|
||||
|
@ -126,37 +127,37 @@
|
|||
"Path": "/sys/class/devfreq/17000010.devfreq_mif/interactive/target_load",
|
||||
"Values": [
|
||||
"20 5 80",
|
||||
"20 10 80"
|
||||
"20 10 80",
|
||||
"80 10 80"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "TAUClampBoost",
|
||||
"Path": "/sys/kernel/vendor_sched/ta_uclamp_min",
|
||||
"Path": "/proc/vendor_sched/ta_uclamp_min",
|
||||
"Values": [
|
||||
"553",
|
||||
"158",
|
||||
"108",
|
||||
"43",
|
||||
"1",
|
||||
"157",
|
||||
"42"
|
||||
"53"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "SFUClampBoost",
|
||||
"Path": "/sys/kernel/vendor_sched/sf_uclamp_min",
|
||||
"Path": "/proc/vendor_sched/sf_uclamp_min",
|
||||
"Values": [
|
||||
"125",
|
||||
"65",
|
||||
"78",
|
||||
"30"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "MLUclampBoost",
|
||||
"Path": "/sys/kernel/vendor_sched/nnapi_uclamp_min",
|
||||
"Path": "/proc/vendor_sched/nnapi_uclamp_min",
|
||||
"Values": [
|
||||
"154",
|
||||
"512"
|
||||
|
@ -166,7 +167,7 @@
|
|||
},
|
||||
{
|
||||
"Name": "CDPreferIdle",
|
||||
"Path": "/sys/kernel/vendor_sched/cam_prefer_idle",
|
||||
"Path": "/proc/vendor_sched/cam_prefer_idle",
|
||||
"Values": [
|
||||
"0",
|
||||
"1"
|
||||
|
@ -218,18 +219,9 @@
|
|||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "F2fsRecessModeEnable",
|
||||
"Path": "/dev/sys/fs/by-name/userdata/gc_urgent",
|
||||
"Values": [
|
||||
"2",
|
||||
"0"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "TAPreferHighCap",
|
||||
"Path": "/sys/kernel/vendor_sched/ta_prefer_high_cap",
|
||||
"Path": "/proc/vendor_sched/ta_prefer_high_cap",
|
||||
"Values": [
|
||||
"1",
|
||||
"0"
|
||||
|
@ -238,7 +230,7 @@
|
|||
},
|
||||
{
|
||||
"Name": "TAPreferIdle",
|
||||
"Path": "/sys/kernel/vendor_sched/ta_prefer_idle",
|
||||
"Path": "/proc/vendor_sched/ta_prefer_idle",
|
||||
"Values": [
|
||||
"0",
|
||||
"1"
|
||||
|
@ -247,7 +239,7 @@
|
|||
},
|
||||
{
|
||||
"Name": "CDPreferHighCap",
|
||||
"Path": "/sys/kernel/vendor_sched/cam_prefer_high_cap",
|
||||
"Path": "/proc/vendor_sched/cam_prefer_high_cap",
|
||||
"Values": [
|
||||
"1",
|
||||
"0"
|
||||
|
@ -299,20 +291,11 @@
|
|||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "GPUPowerPolicy",
|
||||
"Path": "/sys/devices/platform/28000000.mali/power_policy",
|
||||
"Values": [
|
||||
"always_on",
|
||||
"adaptive"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "BigControlTempSet",
|
||||
"Path": "/dev/thermal/tz-by-name/BIG/trip_point_2_temp",
|
||||
"Values": [
|
||||
"90000",
|
||||
"100000",
|
||||
"80000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
|
@ -322,7 +305,7 @@
|
|||
"Name": "MidControlTempSet",
|
||||
"Path": "/dev/thermal/tz-by-name/MID/trip_point_2_temp",
|
||||
"Values": [
|
||||
"90000",
|
||||
"100000",
|
||||
"80000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
|
@ -332,7 +315,7 @@
|
|||
"Name": "LittleControlTempSet",
|
||||
"Path": "/dev/thermal/tz-by-name/LITTLE/trip_point_2_temp",
|
||||
"Values": [
|
||||
"95000",
|
||||
"100000",
|
||||
"80000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
|
@ -342,7 +325,37 @@
|
|||
"Name": "G3dControlTempSet",
|
||||
"Path": "/dev/thermal/tz-by-name/G3D/trip_point_2_temp",
|
||||
"Values": [
|
||||
"90000",
|
||||
"100000",
|
||||
"80000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": false
|
||||
},
|
||||
{
|
||||
"Name": "TpuControlTempSet",
|
||||
"Path": "/dev/thermal/tz-by-name/TPU/trip_point_2_temp",
|
||||
"Values": [
|
||||
"100000",
|
||||
"80000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": false
|
||||
},
|
||||
{
|
||||
"Name": "IspControlTempSet",
|
||||
"Path": "/dev/thermal/tz-by-name/ISP/trip_point_2_temp",
|
||||
"Values": [
|
||||
"100000",
|
||||
"80000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": false
|
||||
},
|
||||
{
|
||||
"Name": "AurControlTempSet",
|
||||
"Path": "/dev/thermal/tz-by-name/AUR/trip_point_2_temp",
|
||||
"Values": [
|
||||
"100000",
|
||||
"80000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
|
@ -352,7 +365,7 @@
|
|||
"Name": "BigSwitchOnTempSet",
|
||||
"Path": "/dev/thermal/tz-by-name/BIG/trip_point_1_temp",
|
||||
"Values": [
|
||||
"70000",
|
||||
"80000",
|
||||
"60000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
|
@ -362,7 +375,7 @@
|
|||
"Name": "MidSwitchOnTempSet",
|
||||
"Path": "/dev/thermal/tz-by-name/MID/trip_point_1_temp",
|
||||
"Values": [
|
||||
"70000",
|
||||
"80000",
|
||||
"60000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
|
@ -372,7 +385,7 @@
|
|||
"Name": "LittleSwitchOnTempSet",
|
||||
"Path": "/dev/thermal/tz-by-name/LITTLE/trip_point_1_temp",
|
||||
"Values": [
|
||||
"70000",
|
||||
"80000",
|
||||
"60000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
|
@ -382,11 +395,68 @@
|
|||
"Name": "G3dSwitchOnTempSet",
|
||||
"Path": "/dev/thermal/tz-by-name/G3D/trip_point_1_temp",
|
||||
"Values": [
|
||||
"70000",
|
||||
"80000",
|
||||
"60000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": false
|
||||
},
|
||||
{
|
||||
"Name": "TpuSwitchOnTempSet",
|
||||
"Path": "/dev/thermal/tz-by-name/TPU/trip_point_1_temp",
|
||||
"Values": [
|
||||
"80000",
|
||||
"60000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": false
|
||||
},
|
||||
{
|
||||
"Name": "IspSwitchOnTempSet",
|
||||
"Path": "/dev/thermal/tz-by-name/ISP/trip_point_1_temp",
|
||||
"Values": [
|
||||
"80000",
|
||||
"60000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": false
|
||||
},
|
||||
{
|
||||
"Name": "AurSwitchOnTempSet",
|
||||
"Path": "/dev/thermal/tz-by-name/AUR/trip_point_1_temp",
|
||||
"Values": [
|
||||
"80000",
|
||||
"60000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": false
|
||||
},
|
||||
{
|
||||
"Name": "CPU_LITTLE_TSKIN_BYPASS",
|
||||
"Path": "/dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote_bypass",
|
||||
"Values": [
|
||||
"0",
|
||||
"1"
|
||||
],
|
||||
"DefaultIndex": 0
|
||||
},
|
||||
{
|
||||
"Name": "CPU_MID_TSKIN_BYPASS",
|
||||
"Path": "/dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote_bypass",
|
||||
"Values": [
|
||||
"0",
|
||||
"1"
|
||||
],
|
||||
"DefaultIndex": 0
|
||||
},
|
||||
{
|
||||
"Name": "CPU_BIG_TSKIN_BYPASS",
|
||||
"Path": "/dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote_bypass",
|
||||
"Values": [
|
||||
"0",
|
||||
"1"
|
||||
],
|
||||
"DefaultIndex": 0
|
||||
}
|
||||
],
|
||||
"Actions": [
|
||||
|
@ -394,13 +464,7 @@
|
|||
"PowerHint": "INTERACTION",
|
||||
"Node": "SFUClampBoost",
|
||||
"Duration": 5000,
|
||||
"Value": "65"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DEVICE_IDLE",
|
||||
"Node": "F2fsRecessModeEnable",
|
||||
"Duration": 0,
|
||||
"Value": "2"
|
||||
"Value": "78"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH_120FPS",
|
||||
|
@ -417,7 +481,7 @@
|
|||
"PowerHint": "LAUNCH",
|
||||
"Node": "SFUClampBoost",
|
||||
"Duration": 5000,
|
||||
"Value": "65"
|
||||
"Value": "78"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH",
|
||||
|
@ -449,18 +513,6 @@
|
|||
"Duration": 5000,
|
||||
"Value": "3172000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH",
|
||||
"Node": "GPUPowerPolicy",
|
||||
"Duration": 5000,
|
||||
"Value": "always_on"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_INACTIVE",
|
||||
"Node": "F2fsRecessModeEnable",
|
||||
"Duration": 0,
|
||||
"Value": "2"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_LAUNCH",
|
||||
"Node": "MemFreq",
|
||||
|
@ -563,6 +615,12 @@
|
|||
"Duration": 1000,
|
||||
"Value": "1401000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE",
|
||||
"Node": "MemFreq",
|
||||
"Duration": 1000,
|
||||
"Value": "2028000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_SHOT",
|
||||
"Node": "MemFreq",
|
||||
|
@ -747,7 +805,7 @@
|
|||
"PowerHint": "CAMERA_STREAMING_EXTREME",
|
||||
"Node": "MIFTargetLoad",
|
||||
"Duration": 0,
|
||||
"Value": "20 10 80"
|
||||
"Value": "80 10 80"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_EXTREME",
|
||||
|
@ -825,7 +883,7 @@
|
|||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
"Node": "MIFTargetLoad",
|
||||
"Duration": 0,
|
||||
"Value": "20 10 80"
|
||||
"Value": "80 10 80"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
|
@ -1131,7 +1189,7 @@
|
|||
"PowerHint": "REFRESH_60FPS",
|
||||
"Node": "TAUClampBoost",
|
||||
"Duration": 0,
|
||||
"Value": "42"
|
||||
"Value": "53"
|
||||
},
|
||||
{
|
||||
"PowerHint": "REFRESH_60FPS",
|
||||
|
@ -1258,53 +1316,89 @@
|
|||
"Value": "400000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
|
||||
"Node": "BigControlTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "80000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
|
||||
"Node": "MidControlTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "80000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
|
||||
"Node": "LittleControlTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "80000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
|
||||
"Node": "G3dControlTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "80000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
|
||||
"Node": "TpuControlTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "80000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
|
||||
"Node": "IspControlTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "80000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
|
||||
"Node": "AurControlTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "80000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
|
||||
"Node": "BigSwitchOnTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "60000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
|
||||
"Node": "MidSwitchOnTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "60000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
|
||||
"Node": "LittleSwitchOnTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "60000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
|
||||
"Node": "G3dSwitchOnTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "60000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
|
||||
"Node": "TpuSwitchOnTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "60000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
|
||||
"Node": "IspSwitchOnTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "60000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
|
||||
"Node": "AurSwitchOnTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "60000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "FACE_UNLOCK_BOOST",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
|
@ -1317,6 +1411,24 @@
|
|||
"Duration": 1000,
|
||||
"Value": "9999999"
|
||||
},
|
||||
{
|
||||
"PowerHint": "FACE_UNLOCK_BOOST",
|
||||
"Node": "CPU_LITTLE_TSKIN_BYPASS",
|
||||
"Duration": 1000,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "FACE_UNLOCK_BOOST",
|
||||
"Node": "CPU_MID_TSKIN_BYPASS",
|
||||
"Duration": 1000,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "FACE_UNLOCK_BOOST",
|
||||
"Node": "CPU_BIG_TSKIN_BYPASS",
|
||||
"Duration": 1000,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "FP_BOOST",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
|
@ -1329,6 +1441,90 @@
|
|||
"Duration": 1000,
|
||||
"Value": "9999999"
|
||||
},
|
||||
{
|
||||
"PowerHint": "FP_BOOST",
|
||||
"Node": "CPU_LITTLE_TSKIN_BYPASS",
|
||||
"Duration": 1000,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "FP_BOOST",
|
||||
"Node": "CPU_MID_TSKIN_BYPASS",
|
||||
"Duration": 1000,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "FP_BOOST",
|
||||
"Node": "CPU_BIG_TSKIN_BYPASS",
|
||||
"Duration": 1000,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
|
||||
"Node": "CPU_LITTLE_TSKIN_BYPASS",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
|
||||
"Node": "CPU_MID_TSKIN_BYPASS",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
|
||||
"Node": "CPU_BIG_TSKIN_BYPASS",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
|
||||
"Node": "BigControlTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "80000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
|
||||
"Node": "MidControlTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "80000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
|
||||
"Node": "LittleControlTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "80000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
|
||||
"Node": "G3dControlTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "80000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
|
||||
"Node": "BigSwitchOnTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "60000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
|
||||
"Node": "MidSwitchOnTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "60000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
|
||||
"Node": "LittleSwitchOnTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "60000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
|
||||
"Node": "G3dSwitchOnTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "60000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "ML_ACC",
|
||||
"Node": "MLUclampBoost",
|
||||
|
|
|
@ -100,7 +100,7 @@
|
|||
},
|
||||
{
|
||||
"Name": "CPUUtilThreshold",
|
||||
"Path": "/sys/kernel/vendor_sched/util_threshold",
|
||||
"Path": "/proc/vendor_sched/util_threshold",
|
||||
"Values": [
|
||||
"1280",
|
||||
"1100"
|
||||
|
@ -119,7 +119,7 @@
|
|||
},
|
||||
{
|
||||
"Name": "TAUClampBoost",
|
||||
"Path": "/sys/kernel/vendor_sched/ta_uclamp_min",
|
||||
"Path": "/proc/vendor_sched/ta_uclamp_min",
|
||||
"Values": [
|
||||
"0",
|
||||
"553",
|
||||
|
@ -133,7 +133,7 @@
|
|||
},
|
||||
{
|
||||
"Name": "CDPreferIdle",
|
||||
"Path": "/sys/kernel/vendor_sched/cam_prefer_idle",
|
||||
"Path": "/proc/vendor_sched/cam_prefer_idle",
|
||||
"Values": [
|
||||
"0",
|
||||
"1"
|
||||
|
@ -176,18 +176,9 @@
|
|||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "F2fsRecessModeEnable",
|
||||
"Path": "/dev/sys/fs/by-name/userdata/gc_urgent",
|
||||
"Values": [
|
||||
"2",
|
||||
"0"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "TAPreferHighCap",
|
||||
"Path": "/sys/kernel/vendor_sched/ta_prefer_high_cap",
|
||||
"Path": "/proc/vendor_sched/ta_prefer_high_cap",
|
||||
"Values": [
|
||||
"1",
|
||||
"0"
|
||||
|
@ -196,7 +187,7 @@
|
|||
},
|
||||
{
|
||||
"Name": "TAPreferIdle",
|
||||
"Path": "/sys/kernel/vendor_sched/ta_prefer_idle",
|
||||
"Path": "/proc/vendor_sched/ta_prefer_idle",
|
||||
"Values": [
|
||||
"0",
|
||||
"1"
|
||||
|
@ -205,7 +196,7 @@
|
|||
},
|
||||
{
|
||||
"Name": "CDPreferHighCap",
|
||||
"Path": "/sys/kernel/vendor_sched/cam_prefer_high_cap",
|
||||
"Path": "/proc/vendor_sched/cam_prefer_high_cap",
|
||||
"Values": [
|
||||
"1",
|
||||
"0"
|
||||
|
@ -360,12 +351,6 @@
|
|||
"Type": "EndHint",
|
||||
"Value": "INTERACTION_60"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DEVICE_IDLE",
|
||||
"Node": "F2fsRecessModeEnable",
|
||||
"Duration": 0,
|
||||
"Value": "2"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH",
|
||||
"Node": "CPUMidClusterMaxFreq",
|
||||
|
@ -395,12 +380,6 @@
|
|||
"Duration": 5000,
|
||||
"Value": "3172000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_INACTIVE",
|
||||
"Node": "F2fsRecessModeEnable",
|
||||
"Duration": 0,
|
||||
"Value": "2"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_LAUNCH",
|
||||
"Node": "MemFreq",
|
||||
|
|
1523
powerhint-panther-a0.json
Normal file
1523
powerhint-panther-a0.json
Normal file
File diff suppressed because it is too large
Load diff
|
@ -5,6 +5,7 @@
|
|||
"Path": "/sys/devices/platform/17000010.devfreq_mif/devfreq/17000010.devfreq_mif/min_freq",
|
||||
"Values": [
|
||||
"3172000",
|
||||
"2028000",
|
||||
"1014000",
|
||||
"421000"
|
||||
],
|
||||
|
@ -113,7 +114,7 @@
|
|||
},
|
||||
{
|
||||
"Name": "CPUUtilThreshold",
|
||||
"Path": "/sys/kernel/vendor_sched/util_threshold",
|
||||
"Path": "/proc/vendor_sched/util_threshold",
|
||||
"Values": [
|
||||
"1280",
|
||||
"1100"
|
||||
|
@ -126,36 +127,36 @@
|
|||
"Path": "/sys/class/devfreq/17000010.devfreq_mif/interactive/target_load",
|
||||
"Values": [
|
||||
"20 5 80",
|
||||
"20 10 80"
|
||||
"20 10 80",
|
||||
"80 10 80"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "TAUClampBoost",
|
||||
"Path": "/sys/kernel/vendor_sched/ta_uclamp_min",
|
||||
"Path": "/proc/vendor_sched/ta_uclamp_min",
|
||||
"Values": [
|
||||
"553",
|
||||
"108",
|
||||
"43",
|
||||
"1",
|
||||
"107",
|
||||
"42"
|
||||
"53"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "SFUClampBoost",
|
||||
"Path": "/sys/kernel/vendor_sched/sf_uclamp_min",
|
||||
"Path": "/proc/vendor_sched/sf_uclamp_min",
|
||||
"Values": [
|
||||
"125",
|
||||
"65",
|
||||
"78",
|
||||
"30"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "MLUclampBoost",
|
||||
"Path": "/sys/kernel/vendor_sched/nnapi_uclamp_min",
|
||||
"Path": "/proc/vendor_sched/nnapi_uclamp_min",
|
||||
"Values": [
|
||||
"154",
|
||||
"512"
|
||||
|
@ -165,7 +166,7 @@
|
|||
},
|
||||
{
|
||||
"Name": "CDPreferIdle",
|
||||
"Path": "/sys/kernel/vendor_sched/cam_prefer_idle",
|
||||
"Path": "/proc/vendor_sched/cam_prefer_idle",
|
||||
"Values": [
|
||||
"0",
|
||||
"1"
|
||||
|
@ -217,18 +218,9 @@
|
|||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "F2fsRecessModeEnable",
|
||||
"Path": "/dev/sys/fs/by-name/userdata/gc_urgent",
|
||||
"Values": [
|
||||
"2",
|
||||
"0"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "TAPreferHighCap",
|
||||
"Path": "/sys/kernel/vendor_sched/ta_prefer_high_cap",
|
||||
"Path": "/proc/vendor_sched/ta_prefer_high_cap",
|
||||
"Values": [
|
||||
"1",
|
||||
"0"
|
||||
|
@ -237,7 +229,7 @@
|
|||
},
|
||||
{
|
||||
"Name": "TAPreferIdle",
|
||||
"Path": "/sys/kernel/vendor_sched/ta_prefer_idle",
|
||||
"Path": "/proc/vendor_sched/ta_prefer_idle",
|
||||
"Values": [
|
||||
"0",
|
||||
"1"
|
||||
|
@ -246,7 +238,7 @@
|
|||
},
|
||||
{
|
||||
"Name": "CDPreferHighCap",
|
||||
"Path": "/sys/kernel/vendor_sched/cam_prefer_high_cap",
|
||||
"Path": "/proc/vendor_sched/cam_prefer_high_cap",
|
||||
"Values": [
|
||||
"1",
|
||||
"0"
|
||||
|
@ -298,20 +290,11 @@
|
|||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "GPUPowerPolicy",
|
||||
"Path": "/sys/devices/platform/28000000.mali/power_policy",
|
||||
"Values": [
|
||||
"always_on",
|
||||
"adaptive"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "BigControlTempSet",
|
||||
"Path": "/dev/thermal/tz-by-name/BIG/trip_point_2_temp",
|
||||
"Values": [
|
||||
"90000",
|
||||
"100000",
|
||||
"80000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
|
@ -321,7 +304,7 @@
|
|||
"Name": "MidControlTempSet",
|
||||
"Path": "/dev/thermal/tz-by-name/MID/trip_point_2_temp",
|
||||
"Values": [
|
||||
"90000",
|
||||
"100000",
|
||||
"80000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
|
@ -331,7 +314,7 @@
|
|||
"Name": "LittleControlTempSet",
|
||||
"Path": "/dev/thermal/tz-by-name/LITTLE/trip_point_2_temp",
|
||||
"Values": [
|
||||
"95000",
|
||||
"100000",
|
||||
"80000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
|
@ -341,7 +324,37 @@
|
|||
"Name": "G3dControlTempSet",
|
||||
"Path": "/dev/thermal/tz-by-name/G3D/trip_point_2_temp",
|
||||
"Values": [
|
||||
"90000",
|
||||
"100000",
|
||||
"80000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": false
|
||||
},
|
||||
{
|
||||
"Name": "TpuControlTempSet",
|
||||
"Path": "/dev/thermal/tz-by-name/TPU/trip_point_2_temp",
|
||||
"Values": [
|
||||
"100000",
|
||||
"80000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": false
|
||||
},
|
||||
{
|
||||
"Name": "IspControlTempSet",
|
||||
"Path": "/dev/thermal/tz-by-name/ISP/trip_point_2_temp",
|
||||
"Values": [
|
||||
"100000",
|
||||
"80000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": false
|
||||
},
|
||||
{
|
||||
"Name": "AurControlTempSet",
|
||||
"Path": "/dev/thermal/tz-by-name/AUR/trip_point_2_temp",
|
||||
"Values": [
|
||||
"100000",
|
||||
"80000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
|
@ -351,7 +364,7 @@
|
|||
"Name": "BigSwitchOnTempSet",
|
||||
"Path": "/dev/thermal/tz-by-name/BIG/trip_point_1_temp",
|
||||
"Values": [
|
||||
"70000",
|
||||
"80000",
|
||||
"60000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
|
@ -361,7 +374,7 @@
|
|||
"Name": "MidSwitchOnTempSet",
|
||||
"Path": "/dev/thermal/tz-by-name/MID/trip_point_1_temp",
|
||||
"Values": [
|
||||
"70000",
|
||||
"80000",
|
||||
"60000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
|
@ -371,7 +384,7 @@
|
|||
"Name": "LittleSwitchOnTempSet",
|
||||
"Path": "/dev/thermal/tz-by-name/LITTLE/trip_point_1_temp",
|
||||
"Values": [
|
||||
"70000",
|
||||
"80000",
|
||||
"60000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
|
@ -381,11 +394,68 @@
|
|||
"Name": "G3dSwitchOnTempSet",
|
||||
"Path": "/dev/thermal/tz-by-name/G3D/trip_point_1_temp",
|
||||
"Values": [
|
||||
"70000",
|
||||
"80000",
|
||||
"60000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": false
|
||||
},
|
||||
{
|
||||
"Name": "TpuSwitchOnTempSet",
|
||||
"Path": "/dev/thermal/tz-by-name/TPU/trip_point_1_temp",
|
||||
"Values": [
|
||||
"80000",
|
||||
"60000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": false
|
||||
},
|
||||
{
|
||||
"Name": "IspSwitchOnTempSet",
|
||||
"Path": "/dev/thermal/tz-by-name/ISP/trip_point_1_temp",
|
||||
"Values": [
|
||||
"80000",
|
||||
"60000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": false
|
||||
},
|
||||
{
|
||||
"Name": "AurSwitchOnTempSet",
|
||||
"Path": "/dev/thermal/tz-by-name/AUR/trip_point_1_temp",
|
||||
"Values": [
|
||||
"80000",
|
||||
"60000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": false
|
||||
},
|
||||
{
|
||||
"Name": "CPU_LITTLE_TSKIN_BYPASS",
|
||||
"Path": "/dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote_bypass",
|
||||
"Values": [
|
||||
"0",
|
||||
"1"
|
||||
],
|
||||
"DefaultIndex": 0
|
||||
},
|
||||
{
|
||||
"Name": "CPU_MID_TSKIN_BYPASS",
|
||||
"Path": "/dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote_bypass",
|
||||
"Values": [
|
||||
"0",
|
||||
"1"
|
||||
],
|
||||
"DefaultIndex": 0
|
||||
},
|
||||
{
|
||||
"Name": "CPU_BIG_TSKIN_BYPASS",
|
||||
"Path": "/dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote_bypass",
|
||||
"Values": [
|
||||
"0",
|
||||
"1"
|
||||
],
|
||||
"DefaultIndex": 0
|
||||
}
|
||||
],
|
||||
"Actions": [
|
||||
|
@ -393,19 +463,13 @@
|
|||
"PowerHint": "INTERACTION",
|
||||
"Node": "SFUClampBoost",
|
||||
"Duration": 5000,
|
||||
"Value": "65"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DEVICE_IDLE",
|
||||
"Node": "F2fsRecessModeEnable",
|
||||
"Duration": 0,
|
||||
"Value": "2"
|
||||
"Value": "78"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH",
|
||||
"Node": "SFUClampBoost",
|
||||
"Duration": 5000,
|
||||
"Value": "65"
|
||||
"Value": "78"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH",
|
||||
|
@ -437,18 +501,6 @@
|
|||
"Duration": 5000,
|
||||
"Value": "3172000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH",
|
||||
"Node": "GPUPowerPolicy",
|
||||
"Duration": 5000,
|
||||
"Value": "always_on"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_INACTIVE",
|
||||
"Node": "F2fsRecessModeEnable",
|
||||
"Duration": 0,
|
||||
"Value": "2"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_LAUNCH",
|
||||
"Node": "MemFreq",
|
||||
|
@ -551,6 +603,12 @@
|
|||
"Duration": 1000,
|
||||
"Value": "1401000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE",
|
||||
"Node": "MemFreq",
|
||||
"Duration": 1000,
|
||||
"Value": "2028000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_SHOT",
|
||||
"Node": "MemFreq",
|
||||
|
@ -735,7 +793,7 @@
|
|||
"PowerHint": "CAMERA_STREAMING_EXTREME",
|
||||
"Node": "MIFTargetLoad",
|
||||
"Duration": 0,
|
||||
"Value": "20 10 80"
|
||||
"Value": "80 10 80"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_EXTREME",
|
||||
|
@ -813,7 +871,7 @@
|
|||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
"Node": "MIFTargetLoad",
|
||||
"Duration": 0,
|
||||
"Value": "20 10 80"
|
||||
"Value": "80 10 80"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
|
@ -1119,7 +1177,7 @@
|
|||
"PowerHint": "REFRESH_60FPS",
|
||||
"Node": "TAUClampBoost",
|
||||
"Duration": 0,
|
||||
"Value": "42"
|
||||
"Value": "53"
|
||||
},
|
||||
{
|
||||
"PowerHint": "ADPF_DISABLE_TA_BOOST",
|
||||
|
@ -1241,53 +1299,89 @@
|
|||
"Value": "400000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
|
||||
"Node": "BigControlTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "80000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
|
||||
"Node": "MidControlTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "80000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
|
||||
"Node": "LittleControlTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "80000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
|
||||
"Node": "G3dControlTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "80000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
|
||||
"Node": "TpuControlTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "80000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
|
||||
"Node": "IspControlTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "80000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
|
||||
"Node": "AurControlTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "80000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
|
||||
"Node": "BigSwitchOnTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "60000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
|
||||
"Node": "MidSwitchOnTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "60000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
|
||||
"Node": "LittleSwitchOnTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "60000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
|
||||
"Node": "G3dSwitchOnTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "60000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
|
||||
"Node": "TpuSwitchOnTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "60000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
|
||||
"Node": "IspSwitchOnTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "60000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
|
||||
"Node": "AurSwitchOnTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "60000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "FACE_UNLOCK_BOOST",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
|
@ -1300,6 +1394,24 @@
|
|||
"Duration": 1000,
|
||||
"Value": "9999999"
|
||||
},
|
||||
{
|
||||
"PowerHint": "FACE_UNLOCK_BOOST",
|
||||
"Node": "CPU_LITTLE_TSKIN_BYPASS",
|
||||
"Duration": 1000,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "FACE_UNLOCK_BOOST",
|
||||
"Node": "CPU_MID_TSKIN_BYPASS",
|
||||
"Duration": 1000,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "FACE_UNLOCK_BOOST",
|
||||
"Node": "CPU_BIG_TSKIN_BYPASS",
|
||||
"Duration": 1000,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "FP_BOOST",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
|
@ -1312,6 +1424,90 @@
|
|||
"Duration": 1000,
|
||||
"Value": "9999999"
|
||||
},
|
||||
{
|
||||
"PowerHint": "FP_BOOST",
|
||||
"Node": "CPU_LITTLE_TSKIN_BYPASS",
|
||||
"Duration": 1000,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "FP_BOOST",
|
||||
"Node": "CPU_MID_TSKIN_BYPASS",
|
||||
"Duration": 1000,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "FP_BOOST",
|
||||
"Node": "CPU_BIG_TSKIN_BYPASS",
|
||||
"Duration": 1000,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
|
||||
"Node": "CPU_LITTLE_TSKIN_BYPASS",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
|
||||
"Node": "CPU_MID_TSKIN_BYPASS",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
|
||||
"Node": "CPU_BIG_TSKIN_BYPASS",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
|
||||
"Node": "BigControlTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "80000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
|
||||
"Node": "MidControlTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "80000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
|
||||
"Node": "LittleControlTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "80000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
|
||||
"Node": "G3dControlTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "80000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
|
||||
"Node": "BigSwitchOnTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "60000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
|
||||
"Node": "MidSwitchOnTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "60000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
|
||||
"Node": "LittleSwitchOnTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "60000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
|
||||
"Node": "G3dSwitchOnTempSet",
|
||||
"Duration": 0,
|
||||
"Value": "60000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "ML_ACC",
|
||||
"Node": "MLUclampBoost",
|
||||
|
|
|
@ -100,7 +100,7 @@
|
|||
},
|
||||
{
|
||||
"Name": "CPUUtilThreshold",
|
||||
"Path": "/sys/kernel/vendor_sched/util_threshold",
|
||||
"Path": "/proc/vendor_sched/util_threshold",
|
||||
"Values": [
|
||||
"1280",
|
||||
"1100"
|
||||
|
@ -119,7 +119,7 @@
|
|||
},
|
||||
{
|
||||
"Name": "TAUClampBoost",
|
||||
"Path": "/sys/kernel/vendor_sched/ta_uclamp_min",
|
||||
"Path": "/proc/vendor_sched/ta_uclamp_min",
|
||||
"Values": [
|
||||
"0",
|
||||
"553",
|
||||
|
@ -133,7 +133,7 @@
|
|||
},
|
||||
{
|
||||
"Name": "CDPreferIdle",
|
||||
"Path": "/sys/kernel/vendor_sched/cam_prefer_idle",
|
||||
"Path": "/proc/vendor_sched/cam_prefer_idle",
|
||||
"Values": [
|
||||
"0",
|
||||
"1"
|
||||
|
@ -176,18 +176,9 @@
|
|||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "F2fsRecessModeEnable",
|
||||
"Path": "/dev/sys/fs/by-name/userdata/gc_urgent",
|
||||
"Values": [
|
||||
"2",
|
||||
"0"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "TAPreferHighCap",
|
||||
"Path": "/sys/kernel/vendor_sched/ta_prefer_high_cap",
|
||||
"Path": "/proc/vendor_sched/ta_prefer_high_cap",
|
||||
"Values": [
|
||||
"1",
|
||||
"0"
|
||||
|
@ -196,7 +187,7 @@
|
|||
},
|
||||
{
|
||||
"Name": "TAPreferIdle",
|
||||
"Path": "/sys/kernel/vendor_sched/ta_prefer_idle",
|
||||
"Path": "/proc/vendor_sched/ta_prefer_idle",
|
||||
"Values": [
|
||||
"0",
|
||||
"1"
|
||||
|
@ -205,7 +196,7 @@
|
|||
},
|
||||
{
|
||||
"Name": "CDPreferHighCap",
|
||||
"Path": "/sys/kernel/vendor_sched/cam_prefer_high_cap",
|
||||
"Path": "/proc/vendor_sched/cam_prefer_high_cap",
|
||||
"Values": [
|
||||
"1",
|
||||
"0"
|
||||
|
@ -360,12 +351,6 @@
|
|||
"Type": "EndHint",
|
||||
"Value": "INTERACTION_60"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DEVICE_IDLE",
|
||||
"Node": "F2fsRecessModeEnable",
|
||||
"Duration": 0,
|
||||
"Value": "2"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH",
|
||||
"Node": "CPUMidClusterMaxFreq",
|
||||
|
@ -395,12 +380,6 @@
|
|||
"Duration": 5000,
|
||||
"Value": "3172000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_INACTIVE",
|
||||
"Node": "F2fsRecessModeEnable",
|
||||
"Duration": 0,
|
||||
"Value": "2"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_LAUNCH",
|
||||
"Node": "MemFreq",
|
||||
|
|
|
@ -150,19 +150,20 @@
|
|||
"Multiplier":0.001
|
||||
},
|
||||
{
|
||||
"Name":"VIRTUAL-QI-USB",
|
||||
"Name":"VIRTUAL-GNSS-DISP",
|
||||
"Type":"UNKNOWN",
|
||||
"Hidden":true,
|
||||
"VirtualSensor":true,
|
||||
"Formula":"WEIGHTED_AVG",
|
||||
"Combination":[
|
||||
"qi_therm",
|
||||
"usb_pwr_therm"
|
||||
"gnss_tcxo_therm",
|
||||
"disp_therm"
|
||||
],
|
||||
"Coefficient":[
|
||||
"0.650",
|
||||
"0.350"
|
||||
"0.6",
|
||||
"0.4"
|
||||
],
|
||||
"Offset":-1300,
|
||||
"Offset":-200,
|
||||
"HotThreshold":[
|
||||
"NAN",
|
||||
"NAN",
|
||||
|
@ -178,6 +179,7 @@
|
|||
{
|
||||
"Name":"VIRTUAL-USB2-QUIET",
|
||||
"Type":"UNKNOWN",
|
||||
"Hidden":true,
|
||||
"VirtualSensor":true,
|
||||
"Formula":"WEIGHTED_AVG",
|
||||
"Combination":[
|
||||
|
@ -185,10 +187,10 @@
|
|||
"quiet_therm"
|
||||
],
|
||||
"Coefficient":[
|
||||
"0.465",
|
||||
"0.535"
|
||||
"0.559",
|
||||
"0.441"
|
||||
],
|
||||
"Offset":-1824,
|
||||
"Offset":-1771,
|
||||
"HotThreshold":[
|
||||
"NAN",
|
||||
"NAN",
|
||||
|
@ -204,6 +206,7 @@
|
|||
{
|
||||
"Name":"VIRTUAL-QUIET-USB2",
|
||||
"Type":"UNKNOWN",
|
||||
"Hidden":true,
|
||||
"VirtualSensor":true,
|
||||
"Formula":"WEIGHTED_AVG",
|
||||
"Combination":[
|
||||
|
@ -230,6 +233,7 @@
|
|||
{
|
||||
"Name":"VIRTUAL-NEUTRAL-QUIET",
|
||||
"Type":"UNKNOWN",
|
||||
"Hidden":true,
|
||||
"VirtualSensor":true,
|
||||
"Formula":"WEIGHTED_AVG",
|
||||
"Combination":[
|
||||
|
@ -237,10 +241,37 @@
|
|||
"quiet_therm"
|
||||
],
|
||||
"Coefficient":[
|
||||
"0.760",
|
||||
"0.240"
|
||||
"0.6",
|
||||
"0.4"
|
||||
],
|
||||
"Offset":-2100,
|
||||
"Offset":-500,
|
||||
"HotThreshold":[
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN"
|
||||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":0.001
|
||||
},
|
||||
{
|
||||
"Name":"VIRTUAL-NEUTRAL-USB",
|
||||
"Type":"UNKNOWN",
|
||||
"Hidden":true,
|
||||
"VirtualSensor":true,
|
||||
"Formula":"WEIGHTED_AVG",
|
||||
"Combination":[
|
||||
"neutral_therm",
|
||||
"usb_pwr_therm"
|
||||
],
|
||||
"Coefficient":[
|
||||
"0.460",
|
||||
"0.540"
|
||||
],
|
||||
"Offset":-3200,
|
||||
"HotThreshold":[
|
||||
"NAN",
|
||||
"NAN",
|
||||
|
@ -260,7 +291,7 @@
|
|||
"TriggerSensor":"quiet_therm",
|
||||
"Formula":"MAXIMUM",
|
||||
"Combination":[
|
||||
"VIRTUAL-QI-USB",
|
||||
"VIRTUAL-GNSS-DISP",
|
||||
"VIRTUAL-USB2-QUIET",
|
||||
"VIRTUAL-QUIET-USB2"
|
||||
],
|
||||
|
@ -327,9 +358,11 @@
|
|||
"TriggerSensor":"quiet_therm",
|
||||
"Formula":"MAXIMUM",
|
||||
"Combination":[
|
||||
"VIRTUAL-NEUTRAL-QUIET"
|
||||
"VIRTUAL-NEUTRAL-QUIET",
|
||||
"VIRTUAL-NEUTRAL-USB"
|
||||
],
|
||||
"Coefficient":[
|
||||
"1.0",
|
||||
"1.0"
|
||||
],
|
||||
"HotThreshold":[
|
||||
|
@ -392,7 +425,7 @@
|
|||
"TriggerSensor":"quiet_therm",
|
||||
"Formula":"MAXIMUM",
|
||||
"Combination":[
|
||||
"VIRTUAL-QI-USB",
|
||||
"VIRTUAL-GNSS-DISP",
|
||||
"VIRTUAL-USB2-QUIET",
|
||||
"VIRTUAL-QUIET-USB2"
|
||||
],
|
||||
|
@ -565,22 +598,224 @@
|
|||
"Type":"BCL_PERCENTAGE",
|
||||
"HotThreshold":[
|
||||
"NAN",
|
||||
20,
|
||||
80,
|
||||
"NAN",
|
||||
90,
|
||||
93,
|
||||
96,
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN"
|
||||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"PollingDelay":60000,
|
||||
"PassiveDelay":7000,
|
||||
"Monitor":true
|
||||
},
|
||||
{
|
||||
"Name":"BCL_TPU_LOW_TEMP",
|
||||
"Type":"BCL_CURRENT",
|
||||
"VirtualSensor":true,
|
||||
"Formula":"WEIGHTED_AVG",
|
||||
"TriggerSensor": "ocp_tpu",
|
||||
"Combination":[
|
||||
"ocp_tpu",
|
||||
"battery"
|
||||
],
|
||||
"Coefficient":[
|
||||
"1",
|
||||
"-10"
|
||||
],
|
||||
"HotThreshold":[
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
13000,
|
||||
"NAN",
|
||||
"NAN"
|
||||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true,
|
||||
"PollingDelay":300000,
|
||||
"PassiveDelay":5000,
|
||||
"PassiveDelay":500,
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "thermal-cpufreq-2",
|
||||
"LimitInfo": [0, 0, 0, 7, 7, 10, 10]
|
||||
"CdevRequest": "tpu_cooling",
|
||||
"LimitInfo": [0, 0, 0, 0, 7, 7, 7]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name":"BCL_GPU_LOW_TEMP",
|
||||
"Type":"BCL_CURRENT",
|
||||
"VirtualSensor":true,
|
||||
"Formula":"WEIGHTED_AVG",
|
||||
"TriggerSensor": "ocp_gpu",
|
||||
"Combination":[
|
||||
"ocp_gpu",
|
||||
"battery"
|
||||
],
|
||||
"Coefficient":[
|
||||
"1",
|
||||
"-10"
|
||||
],
|
||||
"HotThreshold":[
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
13000,
|
||||
"NAN",
|
||||
"NAN"
|
||||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true,
|
||||
"PassiveDelay":500,
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "thermal-gpufreq-0",
|
||||
"LimitInfo": [0, 0, 0, 0, 9, 9, 9]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name":"BCL_BATOILO_GPU_LOW_TEMP",
|
||||
"Type":"BCL_CURRENT",
|
||||
"VirtualSensor":true,
|
||||
"Formula":"COUNT_THRESHOLD",
|
||||
"TriggerSensor": "batoilo",
|
||||
"Combination":[
|
||||
"batoilo",
|
||||
"ocp_gpu",
|
||||
"battery"
|
||||
],
|
||||
"Coefficient":[
|
||||
"5000",
|
||||
"12000",
|
||||
"-1000"
|
||||
],
|
||||
"HotThreshold":[
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
3.0,
|
||||
"NAN",
|
||||
"NAN"
|
||||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true,
|
||||
"PassiveDelay":500,
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "thermal-gpufreq-0",
|
||||
"LimitInfo": [0, 0, 0, 0, 9, 9, 9]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name":"BCL_BATOILO_TPU_LOW_TEMP",
|
||||
"Type":"BCL_CURRENT",
|
||||
"VirtualSensor":true,
|
||||
"Formula":"COUNT_THRESHOLD",
|
||||
"TriggerSensor": "batoilo",
|
||||
"Combination":[
|
||||
"batoilo",
|
||||
"ocp_tpu",
|
||||
"battery"
|
||||
],
|
||||
"Coefficient":[
|
||||
"5000",
|
||||
"12000",
|
||||
"-1000"
|
||||
],
|
||||
"HotThreshold":[
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
3.0,
|
||||
"NAN",
|
||||
"NAN"
|
||||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true,
|
||||
"PassiveDelay":500,
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "tpu_cooling",
|
||||
"LimitInfo": [0, 0, 0, 0, 7, 7, 7]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name":"BCL_BATOILO_GPU",
|
||||
"Type":"BCL_CURRENT",
|
||||
"VirtualSensor":true,
|
||||
"Formula":"COUNT_THRESHOLD",
|
||||
"TriggerSensor": "batoilo",
|
||||
"Combination":[
|
||||
"batoilo",
|
||||
"ocp_gpu"
|
||||
],
|
||||
"Coefficient":[
|
||||
"5000",
|
||||
"12000"
|
||||
],
|
||||
"HotThreshold":[
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
2.0,
|
||||
"NAN",
|
||||
"NAN"
|
||||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true,
|
||||
"PassiveDelay":500,
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "thermal-gpufreq-0",
|
||||
"LimitInfo": [0, 0, 0, 0, 4, 4, 4]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name":"BCL_BATOILO_TPU",
|
||||
"Type":"BCL_CURRENT",
|
||||
"VirtualSensor":true,
|
||||
"Formula":"COUNT_THRESHOLD",
|
||||
"TriggerSensor": "batoilo",
|
||||
"Combination":[
|
||||
"batoilo",
|
||||
"ocp_tpu"
|
||||
],
|
||||
"Coefficient":[
|
||||
"5000",
|
||||
"12000"
|
||||
],
|
||||
"HotThreshold":[
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
2.0,
|
||||
"NAN",
|
||||
"NAN"
|
||||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true,
|
||||
"PassiveDelay":500,
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "tpu_cooling",
|
||||
"LimitInfo": [0, 0, 0, 0, 3, 3, 3]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -608,18 +843,11 @@
|
|||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true,
|
||||
"PassiveDelay":500,
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "thermal-cpufreq-2",
|
||||
"LimitInfo": [0, 0, 0, 0, 7, 10, 10]
|
||||
},
|
||||
{
|
||||
"CdevRequest": "thermal-gpufreq-0",
|
||||
"LimitInfo": [0, 0, 0, 0, 10, 11, 11]
|
||||
},
|
||||
{
|
||||
"CdevRequest": "tpu_cooling",
|
||||
"LimitInfo": [0, 0, 0, 0, 4, 4, 4]
|
||||
"LimitInfo": [0, 0, 0, 0, 7, 7, 7]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -674,18 +902,19 @@
|
|||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true,
|
||||
"PassiveDelay":500,
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "thermal-cpufreq-2",
|
||||
"LimitInfo": [0, 0, 0, 0, 7, 10, 10]
|
||||
},
|
||||
{
|
||||
"CdevRequest": "thermal-gpufreq-0",
|
||||
"LimitInfo": [0, 0, 0, 0, 7, 7, 7]
|
||||
},
|
||||
{
|
||||
"CdevRequest": "thermal-gpufreq-0",
|
||||
"LimitInfo": [0, 0, 0, 0, 2, 2, 2]
|
||||
},
|
||||
{
|
||||
"CdevRequest": "tpu_cooling",
|
||||
"LimitInfo": [0, 0, 0, 0, 4, 4, 4]
|
||||
"LimitInfo": [0, 0, 0, 0, 3, 3, 3]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -713,18 +942,19 @@
|
|||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true,
|
||||
"PassiveDelay":500,
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "thermal-cpufreq-2",
|
||||
"LimitInfo": [0, 0, 0, 0, 7, 10, 10]
|
||||
"LimitInfo": [0, 0, 0, 0, 7, 7, 7]
|
||||
},
|
||||
{
|
||||
"CdevRequest": "thermal-gpufreq-0",
|
||||
"LimitInfo": [0, 0, 0, 0, 15, 15, 15]
|
||||
"LimitInfo": [0, 0, 0, 0, 4, 4, 4]
|
||||
},
|
||||
{
|
||||
"CdevRequest": "tpu_cooling",
|
||||
"LimitInfo": [0, 0, 0, 0, 4, 4, 4]
|
||||
"LimitInfo": [0, 0, 0, 0, 3, 3, 3]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -752,18 +982,19 @@
|
|||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true,
|
||||
"PassiveDelay":500,
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "thermal-cpufreq-2",
|
||||
"LimitInfo": [0, 0, 0, 0, 7, 10, 10]
|
||||
"LimitInfo": [0, 0, 0, 0, 7, 7, 7]
|
||||
},
|
||||
{
|
||||
"CdevRequest": "thermal-gpufreq-0",
|
||||
"LimitInfo": [0, 0, 0, 0, 13, 13, 13]
|
||||
"LimitInfo": [0, 0, 0, 0, 3, 3, 3]
|
||||
},
|
||||
{
|
||||
"CdevRequest": "tpu_cooling",
|
||||
"LimitInfo": [0, 0, 0, 0, 4, 4, 4]
|
||||
"LimitInfo": [0, 0, 0, 0, 3, 3, 3]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -775,7 +1006,7 @@
|
|||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
7000,
|
||||
8000,
|
||||
"NAN",
|
||||
"NAN"
|
||||
],
|
||||
|
@ -790,7 +1021,7 @@
|
|||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true
|
||||
"Hidden":true
|
||||
},
|
||||
{
|
||||
"Name":"ocp_cpu2",
|
||||
|
@ -815,7 +1046,7 @@
|
|||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true
|
||||
"Hidden":true
|
||||
},
|
||||
{
|
||||
"Name":"ocp_tpu",
|
||||
|
@ -825,7 +1056,7 @@
|
|||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
10500,
|
||||
12000,
|
||||
"NAN",
|
||||
"NAN"
|
||||
],
|
||||
|
@ -875,7 +1106,7 @@
|
|||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
9000,
|
||||
12000,
|
||||
"NAN",
|
||||
"NAN"
|
||||
],
|
||||
|
@ -900,7 +1131,7 @@
|
|||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
7000,
|
||||
8000,
|
||||
"NAN",
|
||||
"NAN"
|
||||
],
|
||||
|
@ -915,7 +1146,7 @@
|
|||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true
|
||||
"Hidden":true
|
||||
},
|
||||
{
|
||||
"Name":"soft_ocp_tpu",
|
||||
|
@ -940,7 +1171,7 @@
|
|||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true
|
||||
"Hidden":true
|
||||
},
|
||||
{
|
||||
"Name":"soft_ocp_gpu",
|
||||
|
@ -965,7 +1196,7 @@
|
|||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true
|
||||
"Hidden":true
|
||||
},
|
||||
{
|
||||
"Name":"TPU",
|
||||
|
|
|
@ -150,17 +150,18 @@
|
|||
"PassiveDelay":7000
|
||||
},
|
||||
{
|
||||
"Name":"VIRTUAL-QI-USB",
|
||||
"Name":"VIRTUAL-QUIET-USB",
|
||||
"Type":"UNKNOWN",
|
||||
"Hidden":true,
|
||||
"VirtualSensor":true,
|
||||
"Formula":"WEIGHTED_AVG",
|
||||
"Combination":[
|
||||
"qi_therm",
|
||||
"quiet_therm",
|
||||
"usb_pwr_therm"
|
||||
],
|
||||
"Coefficient":[
|
||||
"0.680",
|
||||
"0.320"
|
||||
"0.973",
|
||||
"0.027"
|
||||
],
|
||||
"Offset":-2200,
|
||||
"HotThreshold":[
|
||||
|
@ -178,6 +179,7 @@
|
|||
{
|
||||
"Name":"VIRTUAL-USB-QUIET",
|
||||
"Type":"UNKNOWN",
|
||||
"Hidden":true,
|
||||
"VirtualSensor":true,
|
||||
"Formula":"WEIGHTED_AVG",
|
||||
"Combination":[
|
||||
|
@ -185,10 +187,10 @@
|
|||
"quiet_therm"
|
||||
],
|
||||
"Coefficient":[
|
||||
"0.6",
|
||||
"0.4"
|
||||
"0.580",
|
||||
"0.420"
|
||||
],
|
||||
"Offset":-2900,
|
||||
"Offset":-500,
|
||||
"HotThreshold":[
|
||||
"NAN",
|
||||
"NAN",
|
||||
|
@ -202,19 +204,20 @@
|
|||
"Multiplier":0.001
|
||||
},
|
||||
{
|
||||
"Name":"VIRTUAL-GNSS-USB2",
|
||||
"Name":"VIRTUAL-GNSS-DISP",
|
||||
"Type":"UNKNOWN",
|
||||
"Hidden":true,
|
||||
"VirtualSensor":true,
|
||||
"Formula":"WEIGHTED_AVG",
|
||||
"Combination":[
|
||||
"gnss_tcxo_therm",
|
||||
"usb_pwr_therm2"
|
||||
"disp_therm"
|
||||
],
|
||||
"Coefficient":[
|
||||
"0.668",
|
||||
"0.332"
|
||||
"0.550",
|
||||
"0.450"
|
||||
],
|
||||
"Offset":-1557,
|
||||
"Offset":3000,
|
||||
"HotThreshold":[
|
||||
"NAN",
|
||||
"NAN",
|
||||
|
@ -230,6 +233,7 @@
|
|||
{
|
||||
"Name":"VIRTUAL-NEUTRAL-QUIET",
|
||||
"Type":"UNKNOWN",
|
||||
"Hidden":true,
|
||||
"VirtualSensor":true,
|
||||
"Formula":"WEIGHTED_AVG",
|
||||
"Combination":[
|
||||
|
@ -237,10 +241,10 @@
|
|||
"quiet_therm"
|
||||
],
|
||||
"Coefficient":[
|
||||
"0.675",
|
||||
"0.325"
|
||||
"0.6",
|
||||
"0.4"
|
||||
],
|
||||
"Offset":-1900,
|
||||
"Offset":-400,
|
||||
"HotThreshold":[
|
||||
"NAN",
|
||||
"NAN",
|
||||
|
@ -256,6 +260,7 @@
|
|||
{
|
||||
"Name":"VIRTUAL-NEUTRAL-USB",
|
||||
"Type":"UNKNOWN",
|
||||
"Hidden":true,
|
||||
"VirtualSensor":true,
|
||||
"Formula":"WEIGHTED_AVG",
|
||||
"Combination":[
|
||||
|
@ -263,10 +268,10 @@
|
|||
"usb_pwr_therm"
|
||||
],
|
||||
"Coefficient":[
|
||||
"0.734",
|
||||
"0.266"
|
||||
"0.6",
|
||||
"0.4"
|
||||
],
|
||||
"Offset":-2271,
|
||||
"Offset":-4000,
|
||||
"HotThreshold":[
|
||||
"NAN",
|
||||
"NAN",
|
||||
|
@ -286,9 +291,9 @@
|
|||
"TriggerSensor":"quiet_therm",
|
||||
"Formula":"MAXIMUM",
|
||||
"Combination":[
|
||||
"VIRTUAL-QI-USB",
|
||||
"VIRTUAL-QUIET-USB",
|
||||
"VIRTUAL-USB-QUIET",
|
||||
"VIRTUAL-GNSS-USB2"
|
||||
"VIRTUAL-GNSS-DISP"
|
||||
],
|
||||
"Coefficient":[
|
||||
"1.0",
|
||||
|
@ -420,9 +425,9 @@
|
|||
"TriggerSensor":"quiet_therm",
|
||||
"Formula":"MAXIMUM",
|
||||
"Combination":[
|
||||
"VIRTUAL-QI-USB",
|
||||
"VIRTUAL-QUIET-USB",
|
||||
"VIRTUAL-USB-QUIET",
|
||||
"VIRTUAL-GNSS-USB2"
|
||||
"VIRTUAL-GNSS-DISP"
|
||||
],
|
||||
"Coefficient":[
|
||||
"1.0",
|
||||
|
@ -593,22 +598,224 @@
|
|||
"Type":"BCL_PERCENTAGE",
|
||||
"HotThreshold":[
|
||||
"NAN",
|
||||
20,
|
||||
80,
|
||||
"NAN",
|
||||
90,
|
||||
93,
|
||||
96,
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN"
|
||||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"PollingDelay":60000,
|
||||
"PassiveDelay":7000,
|
||||
"Monitor":true
|
||||
},
|
||||
{
|
||||
"Name":"BCL_TPU_LOW_TEMP",
|
||||
"Type":"BCL_CURRENT",
|
||||
"VirtualSensor":true,
|
||||
"Formula":"WEIGHTED_AVG",
|
||||
"TriggerSensor": "ocp_tpu",
|
||||
"Combination":[
|
||||
"ocp_tpu",
|
||||
"battery"
|
||||
],
|
||||
"Coefficient":[
|
||||
"1",
|
||||
"-10"
|
||||
],
|
||||
"HotThreshold":[
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
13000,
|
||||
"NAN",
|
||||
"NAN"
|
||||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true,
|
||||
"PollingDelay":300000,
|
||||
"PassiveDelay":5000,
|
||||
"PassiveDelay":500,
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "thermal-cpufreq-2",
|
||||
"LimitInfo": [0, 0, 0, 7, 7, 10, 10]
|
||||
"CdevRequest": "tpu_cooling",
|
||||
"LimitInfo": [0, 0, 0, 0, 7, 7, 7]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name":"BCL_GPU_LOW_TEMP",
|
||||
"Type":"BCL_CURRENT",
|
||||
"VirtualSensor":true,
|
||||
"Formula":"WEIGHTED_AVG",
|
||||
"TriggerSensor": "ocp_gpu",
|
||||
"Combination":[
|
||||
"ocp_gpu",
|
||||
"battery"
|
||||
],
|
||||
"Coefficient":[
|
||||
"1",
|
||||
"-10"
|
||||
],
|
||||
"HotThreshold":[
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
13000,
|
||||
"NAN",
|
||||
"NAN"
|
||||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true,
|
||||
"PassiveDelay":500,
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "thermal-gpufreq-0",
|
||||
"LimitInfo": [0, 0, 0, 0, 9, 9, 9]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name":"BCL_BATOILO_GPU_LOW_TEMP",
|
||||
"Type":"BCL_CURRENT",
|
||||
"VirtualSensor":true,
|
||||
"Formula":"COUNT_THRESHOLD",
|
||||
"TriggerSensor": "batoilo",
|
||||
"Combination":[
|
||||
"batoilo",
|
||||
"ocp_gpu",
|
||||
"battery"
|
||||
],
|
||||
"Coefficient":[
|
||||
"5000",
|
||||
"12000",
|
||||
"-1000"
|
||||
],
|
||||
"HotThreshold":[
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
3.0,
|
||||
"NAN",
|
||||
"NAN"
|
||||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true,
|
||||
"PassiveDelay":500,
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "thermal-gpufreq-0",
|
||||
"LimitInfo": [0, 0, 0, 0, 9, 9, 9]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name":"BCL_BATOILO_TPU_LOW_TEMP",
|
||||
"Type":"BCL_CURRENT",
|
||||
"VirtualSensor":true,
|
||||
"Formula":"COUNT_THRESHOLD",
|
||||
"TriggerSensor": "batoilo",
|
||||
"Combination":[
|
||||
"batoilo",
|
||||
"ocp_tpu",
|
||||
"battery"
|
||||
],
|
||||
"Coefficient":[
|
||||
"5000",
|
||||
"12000",
|
||||
"-1000"
|
||||
],
|
||||
"HotThreshold":[
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
3.0,
|
||||
"NAN",
|
||||
"NAN"
|
||||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true,
|
||||
"PassiveDelay":500,
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "tpu_cooling",
|
||||
"LimitInfo": [0, 0, 0, 0, 7, 7, 7]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name":"BCL_BATOILO_GPU",
|
||||
"Type":"BCL_CURRENT",
|
||||
"VirtualSensor":true,
|
||||
"Formula":"COUNT_THRESHOLD",
|
||||
"TriggerSensor": "batoilo",
|
||||
"Combination":[
|
||||
"batoilo",
|
||||
"ocp_gpu"
|
||||
],
|
||||
"Coefficient":[
|
||||
"5000",
|
||||
"12000"
|
||||
],
|
||||
"HotThreshold":[
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
2.0,
|
||||
"NAN",
|
||||
"NAN"
|
||||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true,
|
||||
"PassiveDelay":500,
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "thermal-gpufreq-0",
|
||||
"LimitInfo": [0, 0, 0, 0, 4, 4, 4]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name":"BCL_BATOILO_TPU",
|
||||
"Type":"BCL_CURRENT",
|
||||
"VirtualSensor":true,
|
||||
"Formula":"COUNT_THRESHOLD",
|
||||
"TriggerSensor": "batoilo",
|
||||
"Combination":[
|
||||
"batoilo",
|
||||
"ocp_tpu"
|
||||
],
|
||||
"Coefficient":[
|
||||
"5000",
|
||||
"12000"
|
||||
],
|
||||
"HotThreshold":[
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
2.0,
|
||||
"NAN",
|
||||
"NAN"
|
||||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true,
|
||||
"PassiveDelay":500,
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "tpu_cooling",
|
||||
"LimitInfo": [0, 0, 0, 0, 3, 3, 3]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -636,18 +843,11 @@
|
|||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true,
|
||||
"PassiveDelay":500,
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "thermal-cpufreq-2",
|
||||
"LimitInfo": [0, 0, 0, 0, 7, 10, 10]
|
||||
},
|
||||
{
|
||||
"CdevRequest": "thermal-gpufreq-0",
|
||||
"LimitInfo": [0, 0, 0, 0, 10, 11, 11]
|
||||
},
|
||||
{
|
||||
"CdevRequest": "tpu_cooling",
|
||||
"LimitInfo": [0, 0, 0, 0, 4, 4, 4]
|
||||
"LimitInfo": [0, 0, 0, 0, 7, 7, 7]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -702,18 +902,19 @@
|
|||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true,
|
||||
"PassiveDelay":500,
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "thermal-cpufreq-2",
|
||||
"LimitInfo": [0, 0, 0, 0, 7, 10, 10]
|
||||
},
|
||||
{
|
||||
"CdevRequest": "thermal-gpufreq-0",
|
||||
"LimitInfo": [0, 0, 0, 0, 7, 7, 7]
|
||||
},
|
||||
{
|
||||
"CdevRequest": "thermal-gpufreq-0",
|
||||
"LimitInfo": [0, 0, 0, 0, 2, 2, 2]
|
||||
},
|
||||
{
|
||||
"CdevRequest": "tpu_cooling",
|
||||
"LimitInfo": [0, 0, 0, 0, 4, 4, 4]
|
||||
"LimitInfo": [0, 0, 0, 0, 3, 3, 3]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -741,18 +942,19 @@
|
|||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true,
|
||||
"PassiveDelay":500,
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "thermal-cpufreq-2",
|
||||
"LimitInfo": [0, 0, 0, 0, 7, 10, 10]
|
||||
"LimitInfo": [0, 0, 0, 0, 7, 7, 7]
|
||||
},
|
||||
{
|
||||
"CdevRequest": "thermal-gpufreq-0",
|
||||
"LimitInfo": [0, 0, 0, 0, 15, 15, 15]
|
||||
"LimitInfo": [0, 0, 0, 0, 4, 4, 4]
|
||||
},
|
||||
{
|
||||
"CdevRequest": "tpu_cooling",
|
||||
"LimitInfo": [0, 0, 0, 0, 4, 4, 4]
|
||||
"LimitInfo": [0, 0, 0, 0, 3, 3, 3]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -780,18 +982,19 @@
|
|||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true,
|
||||
"PassiveDelay":500,
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "thermal-cpufreq-2",
|
||||
"LimitInfo": [0, 0, 0, 0, 7, 10, 10]
|
||||
"LimitInfo": [0, 0, 0, 0, 7, 7, 7]
|
||||
},
|
||||
{
|
||||
"CdevRequest": "thermal-gpufreq-0",
|
||||
"LimitInfo": [0, 0, 0, 0, 13, 13, 13]
|
||||
"LimitInfo": [0, 0, 0, 0, 3, 3, 3]
|
||||
},
|
||||
{
|
||||
"CdevRequest": "tpu_cooling",
|
||||
"LimitInfo": [0, 0, 0, 0, 4, 4, 4]
|
||||
"LimitInfo": [0, 0, 0, 0, 3, 3, 3]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -803,7 +1006,7 @@
|
|||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
7000,
|
||||
8000,
|
||||
"NAN",
|
||||
"NAN"
|
||||
],
|
||||
|
@ -818,7 +1021,7 @@
|
|||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true
|
||||
"Hidden":true
|
||||
},
|
||||
{
|
||||
"Name":"ocp_cpu2",
|
||||
|
@ -843,7 +1046,7 @@
|
|||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true
|
||||
"Hidden":true
|
||||
},
|
||||
{
|
||||
"Name":"ocp_tpu",
|
||||
|
@ -853,7 +1056,7 @@
|
|||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
10500,
|
||||
12000,
|
||||
"NAN",
|
||||
"NAN"
|
||||
],
|
||||
|
@ -903,7 +1106,7 @@
|
|||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
9000,
|
||||
12000,
|
||||
"NAN",
|
||||
"NAN"
|
||||
],
|
||||
|
@ -928,7 +1131,7 @@
|
|||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
7000,
|
||||
8000,
|
||||
"NAN",
|
||||
"NAN"
|
||||
],
|
||||
|
@ -968,7 +1171,7 @@
|
|||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true
|
||||
"Hidden":true
|
||||
},
|
||||
{
|
||||
"Name":"soft_ocp_gpu",
|
||||
|
@ -993,7 +1196,7 @@
|
|||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true
|
||||
"Hidden":true
|
||||
},
|
||||
{
|
||||
"Name":"TPU",
|
||||
|
|
|
@ -140,22 +140,224 @@
|
|||
"Type":"BCL_PERCENTAGE",
|
||||
"HotThreshold":[
|
||||
"NAN",
|
||||
20,
|
||||
80,
|
||||
"NAN",
|
||||
"NAN",
|
||||
90,
|
||||
93,
|
||||
96,
|
||||
"NAN",
|
||||
"NAN"
|
||||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"PollingDelay":60000,
|
||||
"PassiveDelay":7000,
|
||||
"Monitor":true
|
||||
},
|
||||
{
|
||||
"Name":"BCL_TPU_LOW_TEMP",
|
||||
"Type":"BCL_CURRENT",
|
||||
"VirtualSensor":true,
|
||||
"Formula":"WEIGHTED_AVG",
|
||||
"TriggerSensor": "ocp_tpu",
|
||||
"Combination":[
|
||||
"ocp_tpu",
|
||||
"battery"
|
||||
],
|
||||
"Coefficient":[
|
||||
"1",
|
||||
"-10"
|
||||
],
|
||||
"HotThreshold":[
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
11500,
|
||||
"NAN",
|
||||
"NAN"
|
||||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true,
|
||||
"PollingDelay":300000,
|
||||
"PassiveDelay":5000,
|
||||
"PassiveDelay":500,
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "thermal-cpufreq-2",
|
||||
"LimitInfo": [0, 0, 0, 7, 7, 10, 10]
|
||||
"CdevRequest": "tpu_cooling",
|
||||
"LimitInfo": [0, 0, 0, 0, 7, 7, 7]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name":"BCL_GPU_LOW_TEMP",
|
||||
"Type":"BCL_CURRENT",
|
||||
"VirtualSensor":true,
|
||||
"Formula":"WEIGHTED_AVG",
|
||||
"TriggerSensor": "ocp_gpu",
|
||||
"Combination":[
|
||||
"ocp_gpu",
|
||||
"battery"
|
||||
],
|
||||
"Coefficient":[
|
||||
"1",
|
||||
"-10"
|
||||
],
|
||||
"HotThreshold":[
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
13000,
|
||||
"NAN",
|
||||
"NAN"
|
||||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true,
|
||||
"PassiveDelay":500,
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "thermal-gpufreq-0",
|
||||
"LimitInfo": [0, 0, 0, 0, 9, 9, 9]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name":"BCL_BATOILO_GPU_LOW_TEMP",
|
||||
"Type":"BCL_CURRENT",
|
||||
"VirtualSensor":true,
|
||||
"Formula":"COUNT_THRESHOLD",
|
||||
"TriggerSensor": "batoilo",
|
||||
"Combination":[
|
||||
"batoilo",
|
||||
"ocp_gpu",
|
||||
"battery"
|
||||
],
|
||||
"Coefficient":[
|
||||
"5000",
|
||||
"12000",
|
||||
"-1000"
|
||||
],
|
||||
"HotThreshold":[
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
3.0,
|
||||
"NAN",
|
||||
"NAN"
|
||||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true,
|
||||
"PassiveDelay":500,
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "thermal-gpufreq-0",
|
||||
"LimitInfo": [0, 0, 0, 0, 9, 9, 9]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name":"BCL_BATOILO_TPU_LOW_TEMP",
|
||||
"Type":"BCL_CURRENT",
|
||||
"VirtualSensor":true,
|
||||
"Formula":"COUNT_THRESHOLD",
|
||||
"TriggerSensor": "batoilo",
|
||||
"Combination":[
|
||||
"batoilo",
|
||||
"ocp_tpu",
|
||||
"battery"
|
||||
],
|
||||
"Coefficient":[
|
||||
"5000",
|
||||
"10500",
|
||||
"-1000"
|
||||
],
|
||||
"HotThreshold":[
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
3.0,
|
||||
"NAN",
|
||||
"NAN"
|
||||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true,
|
||||
"PassiveDelay":500,
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "tpu_cooling",
|
||||
"LimitInfo": [0, 0, 0, 0, 7, 7, 7]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name":"BCL_BATOILO_GPU",
|
||||
"Type":"BCL_CURRENT",
|
||||
"VirtualSensor":true,
|
||||
"Formula":"COUNT_THRESHOLD",
|
||||
"TriggerSensor": "batoilo",
|
||||
"Combination":[
|
||||
"batoilo",
|
||||
"ocp_gpu"
|
||||
],
|
||||
"Coefficient":[
|
||||
"5000",
|
||||
"12000"
|
||||
],
|
||||
"HotThreshold":[
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
2.0,
|
||||
"NAN",
|
||||
"NAN"
|
||||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true,
|
||||
"PassiveDelay":500,
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "thermal-gpufreq-0",
|
||||
"LimitInfo": [0, 0, 0, 0, 4, 4, 4]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name":"BCL_BATOILO_TPU",
|
||||
"Type":"BCL_CURRENT",
|
||||
"VirtualSensor":true,
|
||||
"Formula":"COUNT_THRESHOLD",
|
||||
"TriggerSensor": "batoilo",
|
||||
"Combination":[
|
||||
"batoilo",
|
||||
"ocp_tpu"
|
||||
],
|
||||
"Coefficient":[
|
||||
"5000",
|
||||
"10500"
|
||||
],
|
||||
"HotThreshold":[
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
2.0,
|
||||
"NAN",
|
||||
"NAN"
|
||||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true,
|
||||
"PassiveDelay":500,
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "tpu_cooling",
|
||||
"LimitInfo": [0, 0, 0, 0, 3, 3, 3]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -183,20 +385,40 @@
|
|||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true,
|
||||
"PassiveDelay":500,
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "thermal-cpufreq-2",
|
||||
"LimitInfo": [0, 0, 0, 0, 7, 10, 10]
|
||||
},
|
||||
{
|
||||
"CdevRequest": "thermal-gpufreq-0",
|
||||
"LimitInfo": [0, 0, 0, 0, 10, 11, 11]
|
||||
},
|
||||
{
|
||||
"CdevRequest": "tpu_cooling",
|
||||
"LimitInfo": [0, 0, 0, 0, 4, 4, 4]
|
||||
"LimitInfo": [0, 0, 0, 0, 7, 7, 7]
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name":"BCL_AUDIO_BAACL",
|
||||
"Type":"BCL_VOLTAGE",
|
||||
"VirtualSensor":true,
|
||||
"Formula":"COUNT_THRESHOLD",
|
||||
"TriggerSensor": "soc",
|
||||
"Combination":[
|
||||
"battery",
|
||||
"soc"
|
||||
],
|
||||
"Coefficient":[
|
||||
"-25000",
|
||||
"80"
|
||||
],
|
||||
"HotThreshold":[
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
2.0,
|
||||
"NAN",
|
||||
"NAN"
|
||||
],
|
||||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true
|
||||
},
|
||||
{
|
||||
"Name":"vdroop1",
|
||||
|
@ -222,20 +444,21 @@
|
|||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true,
|
||||
"PassiveDelay":500,
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "thermal-cpufreq-2",
|
||||
"LimitInfo": [0, 0, 0, 0, 7, 10, 10]
|
||||
},
|
||||
{
|
||||
"CdevRequest": "thermal-gpufreq-0",
|
||||
"LimitInfo": [0, 0, 0, 0, 7, 7, 7]
|
||||
},
|
||||
{
|
||||
"CdevRequest": "thermal-gpufreq-0",
|
||||
"LimitInfo": [0, 0, 0, 0, 2, 2, 2]
|
||||
},
|
||||
{
|
||||
"CdevRequest": "tpu_cooling",
|
||||
"LimitInfo": [0, 0, 0, 0, 4, 4, 4]
|
||||
"LimitInfo": [0, 0, 0, 0, 3, 3, 3]
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name":"vdroop2",
|
||||
|
@ -261,20 +484,21 @@
|
|||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true,
|
||||
"PassiveDelay":500,
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "thermal-cpufreq-2",
|
||||
"LimitInfo": [0, 0, 0, 0, 7, 10, 10]
|
||||
"LimitInfo": [0, 0, 0, 0, 7, 7, 7]
|
||||
},
|
||||
{
|
||||
"CdevRequest": "thermal-gpufreq-0",
|
||||
"LimitInfo": [0, 0, 0, 0, 15, 15, 15]
|
||||
"LimitInfo": [0, 0, 0, 0, 4, 4, 4]
|
||||
},
|
||||
{
|
||||
"CdevRequest": "tpu_cooling",
|
||||
"LimitInfo": [0, 0, 0, 0, 4, 4, 4]
|
||||
"LimitInfo": [0, 0, 0, 0, 3, 3, 3]
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name":"smpl_gm",
|
||||
|
@ -300,20 +524,21 @@
|
|||
"VrThreshold":"NAN",
|
||||
"Multiplier":1,
|
||||
"Monitor":true,
|
||||
"PassiveDelay":500,
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "thermal-cpufreq-2",
|
||||
"LimitInfo": [0, 0, 0, 0, 7, 10, 10]
|
||||
"LimitInfo": [0, 0, 0, 0, 7, 7, 7]
|
||||
},
|
||||
{
|
||||
"CdevRequest": "thermal-gpufreq-0",
|
||||
"LimitInfo": [0, 0, 0, 0, 13, 13, 13]
|
||||
"LimitInfo": [0, 0, 0, 0, 3, 3, 3]
|
||||
},
|
||||
{
|
||||
"CdevRequest": "tpu_cooling",
|
||||
"LimitInfo": [0, 0, 0, 0, 4, 4, 4]
|
||||
"LimitInfo": [0, 0, 0, 0, 3, 3, 3]
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name":"ocp_cpu1",
|
||||
|
@ -423,7 +648,7 @@
|
|||
"NAN",
|
||||
"NAN",
|
||||
"NAN",
|
||||
9000,
|
||||
12000,
|
||||
"NAN",
|
||||
"NAN"
|
||||
],
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
[CCC]format=1
|
||||
[CCC]kind=0
|
||||
[CCC]settings=1
|
||||
[CCC]version=2
|
||||
[CCC]ant0.ch5.prf64.pdoa_iso_rf2_rf1=0
|
||||
[CCC]ant0.ch5.prf64.pdoa_iso_rf1_rf2=0
|
||||
[CCC]ant0.ch9.prf64.pdoa_iso_rf2_rf1=0
|
||||
|
@ -111,8 +109,34 @@ xtal_trim=23
|
|||
temperature_reference=85
|
||||
smart_tx_power=1
|
||||
auto_sleep_margin=20000
|
||||
[HAL]antenna_pair_azimuth=3
|
||||
[HAL]antenna_pair_elevation=4
|
||||
[HAL]tx_antenna=0
|
||||
[HAL]minimum_system_offset_uwbtime0=200
|
||||
restricted_channels=0
|
||||
[HAL]aoa_capability=1
|
||||
[HAL]ant_sets.ch5.range.rx_ant_set_nonranging = 6
|
||||
[HAL]ant_sets.ch5.range.rx_ant_set_ranging = 3
|
||||
[HAL]ant_sets.ch5.range.tx_ant_set_nonranging = 0
|
||||
[HAL]ant_sets.ch5.range.tx_ant_set_ranging = 0
|
||||
[HAL]ant_sets.ch5.azimuth.rx_ant_set_nonranging = 6
|
||||
[HAL]ant_sets.ch5.azimuth.rx_ant_set_ranging = 3
|
||||
[HAL]ant_sets.ch5.azimuth.tx_ant_set_nonranging = 0
|
||||
[HAL]ant_sets.ch5.azimuth.tx_ant_set_ranging = 0
|
||||
[HAL]ant_sets.ch9.range.rx_ant_set_nonranging = 6
|
||||
[HAL]ant_sets.ch9.range.rx_ant_set_ranging = 3
|
||||
[HAL]ant_sets.ch9.range.tx_ant_set_nonranging = 0
|
||||
[HAL]ant_sets.ch9.range.tx_ant_set_ranging = 0
|
||||
[HAL]ant_sets.ch5.elevation.rx_ant_set_nonranging = 6
|
||||
[HAL]ant_sets.ch5.elevation.rx_ant_set_ranging = 1
|
||||
[HAL]ant_sets.ch5.elevation.tx_ant_set_nonranging = 0
|
||||
[HAL]ant_sets.ch5.elevation.tx_ant_set_ranging = 0
|
||||
[HAL]ant_sets.ch9.elevation.rx_ant_set_nonranging = 6
|
||||
[HAL]ant_sets.ch9.elevation.rx_ant_set_ranging = 1
|
||||
[HAL]ant_sets.ch9.elevation.tx_ant_set_nonranging = 0
|
||||
[HAL]ant_sets.ch9.elevation.tx_ant_set_ranging = 0
|
||||
[HAL]ant_sets.ch9.azimuth.rx_ant_set_nonranging = 6
|
||||
[HAL]ant_sets.ch9.azimuth.rx_ant_set_ranging = 3
|
||||
[HAL]ant_sets.ch9.azimuth.tx_ant_set_nonranging = 0
|
||||
[HAL]ant_sets.ch9.azimuth.tx_ant_set_ranging = 0
|
||||
[HAL]minimum_system_offset_uwbtime0=500
|
||||
coex_gpio=4
|
||||
coex_delay_us=1000
|
||||
coex_margin_us=500
|
||||
coex_interval_us=2000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue