diff --git a/audio/oriole/config/audio_platform_configuration.xml b/audio/oriole/config/audio_platform_configuration.xml
index f0bec9b..a4232cd 100644
--- a/audio/oriole/config/audio_platform_configuration.xml
+++ b/audio/oriole/config/audio_platform_configuration.xml
@@ -196,7 +196,7 @@
-
+
diff --git a/audio/raven/config/audio_platform_configuration.xml b/audio/raven/config/audio_platform_configuration.xml
index f0bec9b..a4232cd 100644
--- a/audio/raven/config/audio_platform_configuration.xml
+++ b/audio/raven/config/audio_platform_configuration.xml
@@ -196,7 +196,7 @@
-
+
diff --git a/conf/init.raviole.rc b/conf/init.raviole.rc
index 22f0917..31ff159 100644
--- a/conf/init.raviole.rc
+++ b/conf/init.raviole.rc
@@ -50,6 +50,10 @@ on post-fs-data
# Start the twoshay touch service
start twoshay
+ # Allow secure_element group to read / write ST33 SPI state
+ chown secure_element secure_element /sys/class/st33spi/st33spi/st33spi_state
+ chmod 0660 /sys/class/st33spi/st33spi/st33spi_state
+
on property:ro.revision=PROTO1.0
setprop persist.fingerprint.ghbm true
diff --git a/powerhint-oriole.json b/powerhint-oriole.json
index 61c3b63..5f11a93 100644
--- a/powerhint-oriole.json
+++ b/powerhint-oriole.json
@@ -270,6 +270,15 @@
],
"ResetOnInit": true
},
+ {
+ "Name": "NPITaskPacking",
+ "Path": "/proc/vendor_sched/npi_packing",
+ "Values": [
+ "0",
+ "1"
+ ],
+ "ResetOnInit": true
+ },
{
"Name": "LimitFlashCurrent",
"Path": "vendor.camera.max_flash_current",
@@ -504,6 +513,12 @@
"Duration": 5000,
"Value": "always_on"
},
+ {
+ "PowerHint": "LAUNCH",
+ "Node": "NPITaskPacking",
+ "Duration": 5000,
+ "Value": "0"
+ },
{
"PowerHint": "DISPLAY_INACTIVE",
"Node": "F2fsRecessModeEnable",
@@ -558,6 +573,12 @@
"Duration": 1000,
"Value": "4-7"
},
+ {
+ "PowerHint": "CAMERA_LAUNCH",
+ "Node": "NPITaskPacking",
+ "Duration": 1000,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_LAUNCH_EXTENDED",
"Node": "CPUBigClusterMaxFreq",
@@ -576,6 +597,12 @@
"Duration": 2000,
"Value": "9999999"
},
+ {
+ "PowerHint": "CAMERA_LAUNCH_EXTENDED",
+ "Node": "NPITaskPacking",
+ "Duration": 2000,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_THERMAL_CPU_THROTTLE",
"Node": "CPUBigClusterMaxFreq",
diff --git a/powerhint-raven.json b/powerhint-raven.json
index 586e9f7..25d81f7 100644
--- a/powerhint-raven.json
+++ b/powerhint-raven.json
@@ -271,6 +271,15 @@
],
"ResetOnInit": true
},
+ {
+ "Name": "NPITaskPacking",
+ "Path": "/proc/vendor_sched/npi_packing",
+ "Values": [
+ "0",
+ "1"
+ ],
+ "ResetOnInit": true
+ },
{
"Name": "LimitFlashCurrent",
"Path": "vendor.camera.max_flash_current",
@@ -516,6 +525,12 @@
"Duration": 5000,
"Value": "always_on"
},
+ {
+ "PowerHint": "LAUNCH",
+ "Node": "NPITaskPacking",
+ "Duration": 5000,
+ "Value": "0"
+ },
{
"PowerHint": "DISPLAY_INACTIVE",
"Node": "F2fsRecessModeEnable",
@@ -570,6 +585,12 @@
"Duration": 1000,
"Value": "4-7"
},
+ {
+ "PowerHint": "CAMERA_LAUNCH",
+ "Node": "NPITaskPacking",
+ "Duration": 1000,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_LAUNCH_EXTENDED",
"Node": "CPUBigClusterMaxFreq",
@@ -588,6 +609,12 @@
"Duration": 2000,
"Value": "9999999"
},
+ {
+ "PowerHint": "CAMERA_LAUNCH_EXTENDED",
+ "Node": "NPITaskPacking",
+ "Duration": 2000,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_THERMAL_CPU_THROTTLE",
"Node": "CPUBigClusterMaxFreq",
diff --git a/powerhint-slider.json b/powerhint-slider.json
index 9444ccb..7608591 100644
--- a/powerhint-slider.json
+++ b/powerhint-slider.json
@@ -263,6 +263,15 @@
],
"ResetOnInit": true
},
+ {
+ "Name": "NPITaskPacking",
+ "Path": "/proc/vendor_sched/npi_packing",
+ "Values": [
+ "0",
+ "1"
+ ],
+ "ResetOnInit": true
+ },
{
"Name": "LimitFlashCurrent",
"Path": "vendor.camera.max_flash_current",
@@ -465,6 +474,12 @@
"Duration": 5000,
"Value": "always_on"
},
+ {
+ "PowerHint": "LAUNCH",
+ "Node": "NPITaskPacking",
+ "Duration": 5000,
+ "Value": "0"
+ },
{
"PowerHint": "DISPLAY_INACTIVE",
"Node": "F2fsRecessModeEnable",
@@ -519,6 +534,12 @@
"Duration": 1000,
"Value": "4-7"
},
+ {
+ "PowerHint": "CAMERA_LAUNCH",
+ "Node": "NPITaskPacking",
+ "Duration": 1000,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_LAUNCH_EXTENDED",
"Node": "CPUBigClusterMaxFreq",
@@ -537,6 +558,12 @@
"Duration": 2000,
"Value": "9999999"
},
+ {
+ "PowerHint": "CAMERA_LAUNCH_EXTENDED",
+ "Node": "NPITaskPacking",
+ "Duration": 2000,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_THERMAL_CPU_THROTTLE",
"Node": "CPUBigClusterMaxFreq",
diff --git a/powerhint-whitefin.json b/powerhint-whitefin.json
index 450ad3c..27ac510 100644
--- a/powerhint-whitefin.json
+++ b/powerhint-whitefin.json
@@ -263,6 +263,15 @@
],
"ResetOnInit": true
},
+ {
+ "Name": "NPITaskPacking",
+ "Path": "/proc/vendor_sched/npi_packing",
+ "Values": [
+ "0",
+ "1"
+ ],
+ "ResetOnInit": true
+ },
{
"Name": "LimitFlashCurrent",
"Path": "vendor.camera.max_flash_current",
@@ -456,6 +465,12 @@
"Duration": 5000,
"Value": "always_on"
},
+ {
+ "PowerHint": "LAUNCH",
+ "Node": "NPITaskPacking",
+ "Duration": 5000,
+ "Value": "0"
+ },
{
"PowerHint": "DISPLAY_INACTIVE",
"Node": "F2fsRecessModeEnable",
@@ -510,6 +525,12 @@
"Duration": 1000,
"Value": "4-7"
},
+ {
+ "PowerHint": "CAMERA_LAUNCH",
+ "Node": "NPITaskPacking",
+ "Duration": 1000,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_LAUNCH_EXTENDED",
"Node": "CPUBigClusterMaxFreq",
@@ -528,6 +549,12 @@
"Duration": 2000,
"Value": "9999999"
},
+ {
+ "PowerHint": "CAMERA_LAUNCH_EXTENDED",
+ "Node": "NPITaskPacking",
+ "Duration": 2000,
+ "Value": "0"
+ },
{
"PowerHint": "CAMERA_THERMAL_CPU_THROTTLE",
"Node": "CPUBigClusterMaxFreq",