Add Adaptive Battery CPU hints for crosshatch

Add hints allowing Adaptive Battery to limit the frequencies of the
big and little cores to 50%, 60%, 70%, 80%, or 90%. This is to make
them consistent with the hints on redbull devices (see ag/12036507).

In particular:
 - Add hints for the big and little cores.
 - Make the 50% and 60% hints override the min frequency of the
   INTERACTION hint.
 - Make the AUDIO_LAUNCH also set a maximum cpu frequency to prevent
   situations where the max frequency is smaller than the min
   frequency.

See go/powerbrain-cpu-crosshatch

Bug: 151080800
Bug: 166599374
Test: Make and flash, use a dev version of Turbo to set a hint

Change-Id: I7ba89d9af8836b6997dd5edfb571a18853489043
(cherry picked from commit 2d470c895bfa4229621ce53e8f41edc5892e8834)
diff --git a/powerhint.json b/powerhint.json
index 81b8ef5..ea60c03 100644
--- a/powerhint.json
+++ b/powerhint.json
@@ -7,7 +7,12 @@
         "9999999",
         "1420800",
         "1324800",
-        "1228800"
+        "1228800",
+        "902400",
+        "1056000",
+        "1228801",
+        "1420801",
+        "1612800"
       ],
       "DefaultIndex": 0,
       "ResetOnInit": true
@@ -19,9 +24,10 @@
         "9999999",
         "1420800",
         "1324800",
-        "1132800",
-        "576000"
+        "576000",
+        "1132800"
       ],
+      "DefaultIndex": 3,
       "ResetOnInit": true
     },
     {
@@ -32,7 +38,12 @@
         "1996800",
         "1459200",
         "1363200",
-        "1286400"
+        "1286400",
+        "1363201",
+        "1612800",
+        "1843200",
+        "2092800",
+        "2400000"
       ],
       "DefaultIndex": 0,
       "ResetOnInit": true
@@ -44,9 +55,10 @@
         "9999999",
         "1459200",
         "1286400",
-        "1209600",
-        "0"
+        "0",
+        "1209600"
       ],
+      "DefaultIndex": 3,
       "ResetOnInit": true
     },
     {
@@ -644,6 +656,12 @@
     },
     {
       "PowerHint": "AUDIO_LAUNCH",
+      "Node": "CPUBigClusterMaxFreq",
+      "Duration": 2000,
+      "Value": "9999999"
+    },
+    {
+      "PowerHint": "AUDIO_LAUNCH",
       "Node": "PMQoSCpuDmaLatency",
       "Duration": 2000,
       "Value": "44"
@@ -683,6 +701,90 @@
       "Node": "DisplayWakeup",
       "Duration": 60,
       "Value": "1"
+    },
+    {
+      "PowerHint": "LOW_POWER_LITTLE_CLUSTER_50",
+      "Node": "CPULittleClusterMaxFreq",
+      "Duration": 3600000,
+      "Value": "902400"
+    },
+    {
+      "PowerHint": "LOW_POWER_LITTLE_CLUSTER_50",
+      "Node": "CPULittleClusterMinFreq",
+      "Duration": 3600000,
+      "Value": "576000"
+    },
+    {
+      "PowerHint": "LOW_POWER_LITTLE_CLUSTER_60",
+      "Node": "CPULittleClusterMaxFreq",
+      "Duration": 3600000,
+      "Value": "1056000"
+    },
+    {
+      "PowerHint": "LOW_POWER_LITTLE_CLUSTER_60",
+      "Node": "CPULittleClusterMinFreq",
+      "Duration": 3600000,
+      "Value": "576000"
+    },
+    {
+      "PowerHint": "LOW_POWER_LITTLE_CLUSTER_70",
+      "Node": "CPULittleClusterMaxFreq",
+      "Duration": 3600000,
+      "Value": "1228801"
+    },
+    {
+      "PowerHint": "LOW_POWER_LITTLE_CLUSTER_80",
+      "Node": "CPULittleClusterMaxFreq",
+      "Duration": 3600000,
+      "Value": "1420801"
+    },
+    {
+      "PowerHint": "LOW_POWER_LITTLE_CLUSTER_90",
+      "Node": "CPULittleClusterMaxFreq",
+      "Duration": 3600000,
+      "Value": "1612800"
+    },
+    {
+      "PowerHint": "LOW_POWER_CPU_50",
+      "Node": "CPUBigClusterMaxFreq",
+      "Duration": 3600000,
+      "Value": "1363201"
+    },
+    {
+      "PowerHint": "LOW_POWER_CPU_50",
+      "Node": "CPUBigClusterMinFreq",
+      "Duration": 3600000,
+      "Value": "0"
+    },
+    {
+      "PowerHint": "LOW_POWER_CPU_60",
+      "Node": "CPUBigClusterMaxFreq",
+      "Duration": 3600000,
+      "Value": "1612800"
+    },
+    {
+      "PowerHint": "LOW_POWER_CPU_60",
+      "Node": "CPUBigClusterMinFreq",
+      "Duration": 3600000,
+      "Value": "0"
+    },
+    {
+      "PowerHint": "LOW_POWER_CPU_70",
+      "Node": "CPUBigClusterMaxFreq",
+      "Duration": 3600000,
+      "Value": "1843200"
+    },
+    {
+      "PowerHint": "LOW_POWER_CPU_80",
+      "Node": "CPUBigClusterMaxFreq",
+      "Duration": 3600000,
+      "Value": "2092800"
+    },
+    {
+      "PowerHint": "LOW_POWER_CPU_90",
+      "Node": "CPUBigClusterMaxFreq",
+      "Duration": 3600000,
+      "Value": "2400000"
     }
   ]
 }