thermal_info_config_lynx.json 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784
  1. {
  2. "Sensors":[
  3. {
  4. "Name":"battery",
  5. "Type":"BATTERY",
  6. "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 60.0],
  7. "Multiplier":0.001
  8. },
  9. {
  10. "Name":"neutral_therm",
  11. "Type":"UNKNOWN",
  12. "TempPath":"/dev/thermal/tz-by-name/neutral_therm/tz_temp",
  13. "Multiplier":0.001
  14. },
  15. {
  16. "Name":"gnss_tcxo_therm",
  17. "Type":"UNKNOWN",
  18. "TempPath":"/dev/thermal/tz-by-name/gnss_tcxo_therm/tz_temp",
  19. "Multiplier":0.001
  20. },
  21. {
  22. "Name":"usb_pwr_therm",
  23. "Type":"UNKNOWN",
  24. "HotThreshold":["NAN", 40.0, "NAN", "NAN", "NAN", "NAN", "NAN"],
  25. "TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm/tz_temp",
  26. "Multiplier":0.001,
  27. "PollingDelay":60000,
  28. "PassiveDelay":7000
  29. },
  30. {
  31. "Name":"usb_pwr_therm2",
  32. "Type":"UNKNOWN",
  33. "TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm2/tz_temp",
  34. "Multiplier":0.001
  35. },
  36. {
  37. "Name":"skin_therm1",
  38. "Type":"UNKNOWN",
  39. "HotThreshold":["NAN", 29.9, "NAN", "NAN", "NAN", "NAN", "NAN"],
  40. "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
  41. "TempPath":"/dev/thermal/tz-by-name/skin_therm1/tz_temp",
  42. "Multiplier":0.001,
  43. "PollingDelay":60000,
  44. "PassiveDelay":7000
  45. },
  46. {
  47. "Name":"skin_therm2",
  48. "Type":"UNKNOWN",
  49. "TempPath":"/dev/thermal/tz-by-name/skin_therm2/tz_temp",
  50. "Multiplier":0.001
  51. },
  52. {
  53. "Name":"disp_therm",
  54. "Type":"UNKNOWN",
  55. "TempPath":"/dev/thermal/tz-by-name/disp_therm/tz_temp",
  56. "Multiplier":0.001
  57. },
  58. {
  59. "Name":"quiet_therm",
  60. "Type":"UNKNOWN",
  61. "TempPath":"/dev/thermal/tz-by-name/quiet_therm/tz_temp",
  62. "Multiplier":0.001
  63. },
  64. {
  65. "Name":"VIRTUAL-NEU-QUT-DISP-SKIN1-GNSS-BATT",
  66. "Type":"UNKNOWN",
  67. "Hidden":true,
  68. "VirtualSensor":true,
  69. "Formula":"WEIGHTED_AVG",
  70. "Combination":["neutral_therm", "quiet_therm", "disp_therm", "skin_therm1", "gnss_tcxo_therm", "battery"],
  71. "Coefficient":[0.1, 0.4, 0.15, 0.1, 0.1, 0.15],
  72. "Multiplier":0.001
  73. },
  74. {
  75. "Name":"VIRTUAL-NEU-DISP-SKIN1-GNSS-BATT",
  76. "Type":"UNKNOWN",
  77. "Hidden":true,
  78. "VirtualSensor":true,
  79. "Formula":"WEIGHTED_AVG",
  80. "Combination":["neutral_therm", "disp_therm", "skin_therm1", "gnss_tcxo_therm", "battery"],
  81. "Coefficient":[0.2, 0.26, 0.1, 0.19, 0.25],
  82. "Multiplier":0.001
  83. },
  84. {
  85. "Name":"VIRTUAL-SKIN2-USB2-DISP-BATT",
  86. "Type":"UNKNOWN",
  87. "Hidden":true,
  88. "VirtualSensor":true,
  89. "Formula":"WEIGHTED_AVG",
  90. "Combination":["skin_therm2", "usb_pwr_therm2", "disp_therm", "battery"],
  91. "Coefficient":[0.28, 0.21, 0.3, 0.21],
  92. "Multiplier":0.001
  93. },
  94. {
  95. "Name":"VIRTUAL-QUT-SKIN2-USB2-DISP",
  96. "Type":"UNKNOWN",
  97. "Hidden":true,
  98. "VirtualSensor":true,
  99. "Formula":"WEIGHTED_AVG",
  100. "Combination":["quiet_therm", "skin_therm2", "usb_pwr_therm2", "disp_therm"],
  101. "Coefficient":[0.35, 0.25, 0.2, 0.2],
  102. "Multiplier":0.001
  103. },
  104. {
  105. "Name":"VIRTUAL-SKIN",
  106. "Type":"SKIN",
  107. "Version":"0.4",
  108. "VirtualSensor":true,
  109. "TriggerSensor":"skin_therm1",
  110. "Formula":"MAXIMUM",
  111. "Combination":["VIRTUAL-NEU-QUT-DISP-SKIN1-GNSS-BATT", "VIRTUAL-NEU-DISP-SKIN1-GNSS-BATT", "VIRTUAL-SKIN2-USB2-DISP-BATT", "VIRTUAL-QUT-SKIN2-USB2-DISP"],
  112. "Coefficient":[1.0, 1.0, 1.0, 1.0],
  113. "HotThreshold":["NAN", 39.0, 43.0, 45.0, 47.0, 52.0, 55.0],
  114. "HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.9, 1.9, 1.9],
  115. "Multiplier":0.001,
  116. "SendPowerHint":true,
  117. "Monitor":true,
  118. "PollingDelay":300000,
  119. "PassiveDelay":7000,
  120. "BindedCdevInfo": [
  121. {
  122. "CdevRequest": "tpu_cooling",
  123. "LimitInfo": [0, 2, 3, 4, 5, 5, 5]
  124. }
  125. ]
  126. },
  127. {
  128. "Name":"VIRTUAL-SKIN-CPU-GPU",
  129. "Type":"UNKNOWN",
  130. "Hidden":true,
  131. "VirtualSensor":true,
  132. "TriggerSensor":"skin_therm1",
  133. "Formula":"MAXIMUM",
  134. "Combination":["VIRTUAL-NEU-QUT-DISP-SKIN1-GNSS-BATT", "VIRTUAL-NEU-DISP-SKIN1-GNSS-BATT", "VIRTUAL-SKIN2-USB2-DISP-BATT", "VIRTUAL-QUT-SKIN2-USB2-DISP"],
  135. "Coefficient":[1.0, 1.0, 1.0, 1.0],
  136. "HotThreshold":["NAN", 39.0, 40.0, 41.0, 47.0, 52.0, 55.0],
  137. "HotHysteresis":[0.0, 0.9, 0.9, 0.9, 1.9, 1.9, 1.9],
  138. "Multiplier":0.001,
  139. "PollingDelay":300000,
  140. "PassiveDelay":7000,
  141. "PIDInfo": {
  142. "K_Po":["NAN", "NAN", 1800, 500, "NAN", "NAN", "NAN"],
  143. "K_Pu":["NAN", "NAN", 1800, 500, "NAN", "NAN", "NAN"],
  144. "K_I":["NAN", "NAN", 20, 5, "NAN", "NAN", "NAN"],
  145. "K_D":["NAN", "NAN", 0, 0, "NAN", "NAN", "NAN"],
  146. "I_Max":["NAN", "NAN", 1500, 100, "NAN", "NAN", "NAN"],
  147. "S_Power":["NAN", "NAN", 1500, 800, "NAN", "NAN", "NAN"],
  148. "MinAllocPower":["NAN", "NAN", 2000, 800, "NAN", "NAN", "NAN"],
  149. "MaxAllocPower":["NAN", "NAN", 10000, 4000, "NAN", "NAN", "NAN"],
  150. "I_Cutoff":["NAN", "NAN", 2, 2, "NAN", "NAN", "NAN"],
  151. "I_Default": 1000,
  152. "TranCycle": 5
  153. },
  154. "BindedCdevInfo": [
  155. {
  156. "CdevRequest": "thermal-cpufreq-0",
  157. "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
  158. "MaxReleaseStep": 1,
  159. "MaxThrottleStep": 1,
  160. "BindedPowerRail": "S4M_VDD_CPUCL0",
  161. "CdevCeiling": [0, 8, 8, 8, 8, 10, 10],
  162. "LimitInfo": [0, 0, 0, 0, 8, 10, 10]
  163. },
  164. {
  165. "CdevRequest": "thermal-cpufreq-1",
  166. "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
  167. "MaxReleaseStep": 1,
  168. "MaxThrottleStep": 1,
  169. "BindedPowerRail": "S3M_VDD_CPUCL1",
  170. "CdevCeiling": [0, 12, 12, 12, 12, 14, 14],
  171. "LimitInfo": [0, 0, 0, 0, 12, 14, 14]
  172. },
  173. {
  174. "CdevRequest": "thermal-cpufreq-2",
  175. "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
  176. "MaxReleaseStep": 1,
  177. "MaxThrottleStep": 1,
  178. "BindedPowerRail": "S2M_VDD_CPUCL2",
  179. "CdevCeiling": [0, 15, 15, 15, 15, 17, 17],
  180. "LimitInfo": [0, 0, 0, 0, 15, 17, 17]
  181. },
  182. {
  183. "CdevRequest": "thermal-gpufreq-0",
  184. "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
  185. "MaxReleaseStep": 1,
  186. "MaxThrottleStep": 1,
  187. "BindedPowerRail": "S2S_VDD_G3D",
  188. "CdevCeiling": [0, 8, 8, 8, 8, 11, 11],
  189. "LimitInfo": [0, 0, 0, 0, 8, 11, 11]
  190. }
  191. ]
  192. },
  193. {
  194. "Name":"VIRTUAL-SKIN-CHARGE",
  195. "Type":"UNKNOWN",
  196. "Hidden":true,
  197. "VirtualSensor":true,
  198. "TriggerSensor":"skin_therm1",
  199. "Formula":"MAXIMUM",
  200. "Combination":["VIRTUAL-NEU-QUT-DISP-SKIN1-GNSS-BATT", "VIRTUAL-NEU-DISP-SKIN1-GNSS-BATT", "VIRTUAL-SKIN2-USB2-DISP-BATT", "VIRTUAL-QUT-SKIN2-USB2-DISP"],
  201. "Coefficient":[1.0, 1.0, 1.0, 1.0],
  202. "HotThreshold":["NAN", 35.0, 39.0, 43.0, 45.0, 47.0, 55.0],
  203. "HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.9, 1.9, 1.9],
  204. "Multiplier":0.001,
  205. "PollingDelay":300000,
  206. "PassiveDelay":7000,
  207. "PIDInfo": {
  208. "K_Po":["NAN", "NAN", 700, "NAN", "NAN", "NAN", "NAN"],
  209. "K_Pu":["NAN", "NAN", 700, "NAN", "NAN", "NAN", "NAN"],
  210. "K_I":["NAN", "NAN", 5, "NAN", "NAN", "NAN", "NAN"],
  211. "K_D":["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"],
  212. "I_Max":["NAN", "NAN", 800, "NAN", "NAN", "NAN", "NAN"],
  213. "S_Power":["NAN", "NAN", 1500, "NAN", "NAN", "NAN", "NAN"],
  214. "MinAllocPower":["NAN", "NAN", 300, "NAN", "NAN", "NAN", "NAN"],
  215. "MaxAllocPower":["NAN", "NAN", 6000, "NAN", "NAN", "NAN", "NAN"],
  216. "I_Cutoff":["NAN", "NAN", 2, "NAN", "NAN", "NAN", "NAN"]
  217. },
  218. "ExcludedPowerInfo": [
  219. {
  220. "PowerRail": "PARTIAL_SYSTEM_POWER",
  221. "PowerWeight": [0.5, 0.5, 0.8, 1.0, 1.0, 1.0, 1.0]
  222. }
  223. ],
  224. "BindedCdevInfo": [
  225. {
  226. "CdevRequest": "fcc",
  227. "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
  228. "MaxReleaseStep": 1,
  229. "MaxThrottleStep": 1,
  230. "CdevCeiling": [0, 9, 10, 11, 12, 12, 12],
  231. "LimitInfo": [0, 0, 0, 0, 0, 12, 12]
  232. }
  233. ]
  234. },
  235. {
  236. "Name":"VIRTUAL-SKIN-CHARGE-WLC",
  237. "Type":"UNKNOWN",
  238. "Hidden":true,
  239. "VirtualSensor":true,
  240. "TriggerSensor":"skin_therm1",
  241. "Formula":"WEIGHTED_AVG",
  242. "Combination":["skin_therm2", "usb_pwr_therm2", "disp_therm"],
  243. "Coefficient":[0.51, 0.25, 0.24],
  244. "HotThreshold":["NAN", 39.0, 41.0, 43.0, 45.0, 47.0, 55.0],
  245. "HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.9, 1.9, 1.9],
  246. "Multiplier":0.001,
  247. "PollingDelay":300000,
  248. "PassiveDelay":7000,
  249. "PIDInfo": {
  250. "K_Po":["NAN", "NAN", 800, "NAN", "NAN", "NAN", "NAN"],
  251. "K_Pu":["NAN", "NAN", 800, "NAN", "NAN", "NAN", "NAN"],
  252. "K_I":["NAN", "NAN", 5, "NAN", "NAN", "NAN", "NAN"],
  253. "K_D":["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"],
  254. "I_Max":["NAN", "NAN", 800, "NAN", "NAN", "NAN", "NAN"],
  255. "S_Power":["NAN", "NAN", 3600, "NAN", "NAN", "NAN", "NAN"],
  256. "MinAllocPower":["NAN", "NAN", 300, "NAN", "NAN", "NAN", "NAN"],
  257. "MaxAllocPower":["NAN", "NAN", 6000, "NAN", "NAN", "NAN", "NAN"],
  258. "I_Cutoff":["NAN", "NAN", 2, "NAN", "NAN", "NAN", "NAN"]
  259. },
  260. "ExcludedPowerInfo": [
  261. {
  262. "PowerRail": "PARTIAL_SYSTEM_POWER",
  263. "PowerWeight": [0.5, 0.5, 0.8, 1.0, 1.0, 1.0, 1.0]
  264. }
  265. ],
  266. "BindedCdevInfo": [
  267. {
  268. "CdevRequest": "dc_icl",
  269. "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
  270. "MaxReleaseStep": 1,
  271. "MaxThrottleStep": 1,
  272. "CdevCeiling": [0, 5, 10, 11, 12, 12, 12],
  273. "LimitInfo": [0, 0, 0, 0, 0, 12, 12]
  274. }
  275. ]
  276. },
  277. {
  278. "Name":"cellular-emergency",
  279. "Type":"POWER_AMPLIFIER",
  280. "VirtualSensor":true,
  281. "TriggerSensor":"skin_therm1",
  282. "Formula":"MAXIMUM",
  283. "Combination":["VIRTUAL-NEU-QUT-DISP-SKIN1-GNSS-BATT", "VIRTUAL-NEU-DISP-SKIN1-GNSS-BATT", "VIRTUAL-SKIN2-USB2-DISP-BATT", "VIRTUAL-QUT-SKIN2-USB2-DISP"],
  284. "Coefficient":[1.0, 1.0, 1.0, 1.0],
  285. "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", 54.0, "NAN"],
  286. "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 0.0, 1.9, 0.0],
  287. "Multiplier":0.001,
  288. "SendCallback":true,
  289. "PollingDelay":300000,
  290. "PassiveDelay":7000
  291. },
  292. {
  293. "Name":"USB-MINUS-SKIN2",
  294. "Type":"UNKNOWN",
  295. "VirtualSensor":true,
  296. "TriggerSensor": "usb_pwr_therm",
  297. "Formula":"WEIGHTED_AVG",
  298. "Combination":["usb_pwr_therm", "skin_therm2"],
  299. "Coefficient":[1.0, -1.0],
  300. "HotThreshold":["NAN", "7.0", "NAN", "NAN", "NAN", "NAN", "NAN"],
  301. "BindedCdevInfo": [
  302. {
  303. "CdevRequest": "usbc-port",
  304. "LimitInfo": [0, 0, 0, 0, 0, 0, 0]
  305. }
  306. ],
  307. "Multiplier":0.001,
  308. "PollingDelay":0,
  309. "PassiveDelay":7000
  310. },
  311. {
  312. "Name":"VIRTUAL-USB-THROTTLING",
  313. "Type":"USB_PORT",
  314. "Version":"0.1",
  315. "VirtualSensor":true,
  316. "Formula":"COUNT_THRESHOLD",
  317. "TriggerSensor": "usb_pwr_therm",
  318. "Combination":["usb_pwr_therm", "USB-MINUS-SKIN2"],
  319. "Coefficient":[40000, 10000],
  320. "HotThreshold":["NAN", "NAN", "NAN", "NAN", "2.0", "NAN", "NAN"],
  321. "BindedCdevInfo": [
  322. {
  323. "CdevRequest": "usbc-port",
  324. "LimitInfo": [0, 0, 0, 0, 1, 1, 1]
  325. }
  326. ],
  327. "VrThreshold":"NAN",
  328. "Multiplier":1,
  329. "PollingDelay":60000,
  330. "PassiveDelay":7000
  331. },
  332. {
  333. "Name":"VIRTUAL-USB-UI",
  334. "Type":"USB_PORT",
  335. "Version":"0.1",
  336. "VirtualSensor":true,
  337. "Formula":"COUNT_THRESHOLD",
  338. "TriggerSensor": "usb_pwr_therm",
  339. "Combination":["usb_pwr_therm", "USB-MINUS-SKIN2"],
  340. "Coefficient":[40000, 13000],
  341. "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "2.0", "NAN"],
  342. "VrThreshold":"NAN",
  343. "Multiplier":1,
  344. "Monitor":true,
  345. "PollingDelay":60000,
  346. "PassiveDelay":7000
  347. },
  348. {
  349. "Name":"LITTLE",
  350. "Type":"CPU",
  351. "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 115.0],
  352. "Multiplier":0.001
  353. },
  354. {
  355. "Name":"MID",
  356. "Type":"CPU",
  357. "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 115.0],
  358. "Multiplier":0.001
  359. },
  360. {
  361. "Name":"BIG",
  362. "Type":"CPU",
  363. "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 115.0],
  364. "Multiplier":0.001
  365. },
  366. {
  367. "Name":"G3D",
  368. "Type":"GPU",
  369. "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 115.0],
  370. "Multiplier":0.001
  371. },
  372. {
  373. "Name":"TPU",
  374. "Type":"NPU",
  375. "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 115.0],
  376. "Multiplier":0.001
  377. },
  378. {
  379. "Name":"battery_cycle",
  380. "Type":"BCL_VOLTAGE",
  381. "Multiplier":1,
  382. "Monitor":false
  383. },
  384. {
  385. "Name":"critical-battery-cell",
  386. "Type":"BCL_VOLTAGE",
  387. "VirtualSensor":true,
  388. "Formula":"COUNT_THRESHOLD",
  389. "TriggerSensor": "vdroop1",
  390. "Combination":["battery", "battery_cycle", "vdroop1"],
  391. "Coefficient":[-10000, 400, 1000],
  392. "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", 3.00, "NAN"],
  393. "Multiplier":1,
  394. "Monitor":true
  395. },
  396. {
  397. "Name":"FLASH_LED_REDUCE",
  398. "Type":"UNKNOWN",
  399. "VirtualSensor":true,
  400. "Formula":"COUNT_THRESHOLD",
  401. "TriggerSensor": "vdroop1",
  402. "Combination":["battery", "battery_cycle", "vdroop1"],
  403. "Coefficient":[-10000, 400, 1000],
  404. "HotThreshold":["NAN", "NAN", "NAN", "NAN", 3.00, "NAN", "NAN"],
  405. "Multiplier":1,
  406. "Monitor":true,
  407. "SendPowerHint":true
  408. },
  409. {
  410. "Name":"soc",
  411. "Type":"BCL_PERCENTAGE",
  412. "HotThreshold":["NAN", "NAN", 80, "NAN", "NAN", "NAN", "NAN"],
  413. "Multiplier":1,
  414. "Monitor":true
  415. },
  416. {
  417. "Name":"BCL_TPU_LOW_TEMP",
  418. "Type":"BCL_CURRENT",
  419. "VirtualSensor":true,
  420. "Formula":"WEIGHTED_AVG",
  421. "TriggerSensor": "ocp_tpu",
  422. "Combination":["ocp_tpu", "battery"],
  423. "Coefficient":[1, -10],
  424. "HotThreshold":["NAN", "NAN", "NAN", "NAN", 13000, "NAN", "NAN"],
  425. "Multiplier":1,
  426. "Monitor":true,
  427. "PassiveDelay":500,
  428. "BindedCdevInfo": [
  429. {
  430. "CdevRequest": "tpu_cooling",
  431. "LimitInfo": [0, 0, 0, 0, 7, 7, 7]
  432. }
  433. ]
  434. },
  435. {
  436. "Name":"BCL_GPU_LOW_TEMP",
  437. "Type":"BCL_CURRENT",
  438. "VirtualSensor":true,
  439. "Formula":"WEIGHTED_AVG",
  440. "TriggerSensor": "ocp_gpu",
  441. "Combination":["ocp_gpu", "battery"],
  442. "Coefficient":[1, -10],
  443. "HotThreshold":["NAN", "NAN", "NAN", "NAN", 13000, "NAN", "NAN"],
  444. "Multiplier":1,
  445. "Monitor":true,
  446. "PassiveDelay":500,
  447. "BindedCdevInfo": [
  448. {
  449. "CdevRequest": "thermal-gpufreq-0",
  450. "LimitInfo": [0, 0, 0, 0, 9, 9, 9]
  451. }
  452. ]
  453. },
  454. {
  455. "Name":"BCL_BATOILO_GPU_LOW_TEMP",
  456. "Type":"BCL_CURRENT",
  457. "VirtualSensor":true,
  458. "Formula":"COUNT_THRESHOLD",
  459. "TriggerSensor": "batoilo",
  460. "Combination":["batoilo", "ocp_gpu", "battery"],
  461. "Coefficient":[5000, 12000, -1000],
  462. "HotThreshold":["NAN", "NAN", "NAN", "NAN", 3.0, "NAN", "NAN"],
  463. "Multiplier":1,
  464. "Monitor":true,
  465. "PassiveDelay":500,
  466. "BindedCdevInfo": [
  467. {
  468. "CdevRequest": "thermal-gpufreq-0",
  469. "LimitInfo": [0, 0, 0, 0, 9, 9, 9]
  470. }
  471. ]
  472. },
  473. {
  474. "Name":"BCL_BATOILO_TPU_LOW_TEMP",
  475. "Type":"BCL_CURRENT",
  476. "VirtualSensor":true,
  477. "Formula":"COUNT_THRESHOLD",
  478. "TriggerSensor": "batoilo",
  479. "Combination":["batoilo", "ocp_tpu", "battery"],
  480. "Coefficient":[5000, 12000, -1000],
  481. "HotThreshold":["NAN", "NAN", "NAN", "NAN", 3.0, "NAN", "NAN"],
  482. "Multiplier":1,
  483. "Monitor":true,
  484. "PassiveDelay":500,
  485. "BindedCdevInfo": [
  486. {
  487. "CdevRequest": "tpu_cooling",
  488. "LimitInfo": [0, 0, 0, 0, 7, 7, 7]
  489. }
  490. ]
  491. },
  492. {
  493. "Name":"BCL_BATOILO_GPU",
  494. "Type":"BCL_CURRENT",
  495. "VirtualSensor":true,
  496. "Formula":"COUNT_THRESHOLD",
  497. "TriggerSensor": "batoilo",
  498. "Combination":["batoilo", "ocp_gpu"],
  499. "Coefficient":[5000, 12000],
  500. "HotThreshold":["NAN", "NAN", "NAN", "NAN", 2.0, "NAN", "NAN"],
  501. "Multiplier":1,
  502. "Monitor":true,
  503. "PassiveDelay":500,
  504. "BindedCdevInfo": [
  505. {
  506. "CdevRequest": "thermal-gpufreq-0",
  507. "LimitInfo": [0, 0, 0, 0, 4, 4, 4]
  508. }
  509. ]
  510. },
  511. {
  512. "Name":"BCL_BATOILO_TPU",
  513. "Type":"BCL_CURRENT",
  514. "VirtualSensor":true,
  515. "Formula":"COUNT_THRESHOLD",
  516. "TriggerSensor": "batoilo",
  517. "Combination":[
  518. "batoilo",
  519. "ocp_tpu"
  520. ],
  521. "Coefficient":[5000, 12000],
  522. "HotThreshold":["NAN", "NAN", "NAN", "NAN", 2.0, "NAN", "NAN"],
  523. "Multiplier":1,
  524. "Monitor":true,
  525. "PassiveDelay":500,
  526. "BindedCdevInfo": [
  527. {
  528. "CdevRequest": "tpu_cooling",
  529. "LimitInfo": [0, 0, 0, 0, 6, 6, 6]
  530. }
  531. ]
  532. },
  533. {
  534. "Name":"batoilo",
  535. "Type":"BCL_CURRENT",
  536. "HotThreshold":["NAN", "NAN", "NAN", "NAN", 5000, "NAN", "NAN"],
  537. "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
  538. "Multiplier":1,
  539. "BindedCdevInfo": [
  540. {
  541. "CdevRequest": "thermal-cpufreq-2",
  542. "LimitInfo": [0, 0, 0, 0, 7, 7, 7]
  543. },
  544. {
  545. "CdevRequest": "thermal-gpufreq-0",
  546. "LimitInfo": [0, 0, 0, 0, 3, 3, 3]
  547. },
  548. {
  549. "CdevRequest": "tpu_cooling",
  550. "LimitInfo": [0, 0, 0, 0, 5, 5, 5]
  551. }
  552. ]
  553. },
  554. {
  555. "Name":"BCL_AUDIO_BAACL",
  556. "Type":"BCL_VOLTAGE",
  557. "VirtualSensor":true,
  558. "Formula":"COUNT_THRESHOLD",
  559. "TriggerSensor": "soc",
  560. "Combination":["battery", "soc"],
  561. "Coefficient":[-25000, 80],
  562. "HotThreshold":["NAN", "NAN", "NAN", "NAN", 2.0, "NAN", "NAN"],
  563. "Multiplier":1,
  564. "Monitor":true
  565. },
  566. {
  567. "Name":"vdroop1",
  568. "Type":"BCL_VOLTAGE",
  569. "HotThreshold":["NAN", "NAN", "NAN", "NAN", 1000, "NAN", "NAN"],
  570. "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
  571. "Multiplier":1,
  572. "BindedCdevInfo": [
  573. {
  574. "CdevRequest": "thermal-cpufreq-2",
  575. "LimitInfo": [0, 0, 0, 0, 7, 7, 7]
  576. },
  577. {
  578. "CdevRequest": "thermal-gpufreq-0",
  579. "LimitInfo": [0, 0, 0, 0, 2, 2, 2]
  580. },
  581. {
  582. "CdevRequest": "tpu_cooling",
  583. "LimitInfo": [0, 0, 0, 0, 3, 3, 3]
  584. }
  585. ]
  586. },
  587. {
  588. "Name":"vdroop2",
  589. "Type":"BCL_VOLTAGE",
  590. "HotThreshold":["NAN", "NAN", "NAN", "NAN", 1200, "NAN", "NAN"],
  591. "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
  592. "Multiplier":1,
  593. "BindedCdevInfo": [
  594. {
  595. "CdevRequest": "thermal-cpufreq-2",
  596. "LimitInfo": [0, 0, 0, 0, 7, 7, 7]
  597. },
  598. {
  599. "CdevRequest": "thermal-gpufreq-0",
  600. "LimitInfo": [0, 0, 0, 0, 4, 4, 4]
  601. },
  602. {
  603. "CdevRequest": "tpu_cooling",
  604. "LimitInfo": [0, 0, 0, 0, 3, 3, 3]
  605. }
  606. ]
  607. },
  608. {
  609. "Name":"smpl_gm",
  610. "Type":"BCL_VOLTAGE",
  611. "HotThreshold":["NAN", "NAN", "NAN", "NAN", 1100, "NAN", "NAN"],
  612. "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
  613. "Multiplier":1,
  614. "BindedCdevInfo": [
  615. {
  616. "CdevRequest": "thermal-cpufreq-2",
  617. "LimitInfo": [0, 0, 0, 0, 7, 7, 7]
  618. },
  619. {
  620. "CdevRequest": "thermal-gpufreq-0",
  621. "LimitInfo": [0, 0, 0, 0, 3, 3, 3]
  622. },
  623. {
  624. "CdevRequest": "tpu_cooling",
  625. "LimitInfo": [0, 0, 0, 0, 3, 3, 3]
  626. }
  627. ]
  628. },
  629. {
  630. "Name":"ocp_cpu1",
  631. "Type":"BCL_CURRENT",
  632. "HotThreshold":["NAN", "NAN", "NAN", "NAN", 8000, "NAN", "NAN"],
  633. "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
  634. "Multiplier":1,
  635. "Hidden":true
  636. },
  637. {
  638. "Name":"ocp_cpu2",
  639. "Type":"BCL_CURRENT",
  640. "HotThreshold":["NAN", "NAN", "NAN", "NAN", 12000, "NAN", "NAN"],
  641. "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
  642. "Multiplier":1,
  643. "Hidden":true
  644. },
  645. {
  646. "Name":"ocp_tpu",
  647. "Type":"BCL_CURRENT",
  648. "HotThreshold":["NAN", "NAN", "NAN", "NAN", 12000, "NAN", "NAN"],
  649. "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
  650. "Multiplier":1,
  651. "Monitor":true
  652. },
  653. {
  654. "Name":"ocp_gpu",
  655. "Type":"BCL_CURRENT",
  656. "HotThreshold":["NAN", "NAN", "NAN", "NAN", 12000, "NAN", "NAN"],
  657. "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
  658. "Multiplier":1,
  659. "Monitor":true
  660. },
  661. {
  662. "Name":"soft_ocp_cpu2",
  663. "Type":"BCL_CURRENT",
  664. "HotThreshold":["NAN", "NAN", "NAN", "NAN", 12000, "NAN", "NAN"],
  665. "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
  666. "Multiplier":1,
  667. "Monitor":true
  668. },
  669. {
  670. "Name":"soft_ocp_cpu1",
  671. "Type":"BCL_CURRENT",
  672. "HotThreshold":["NAN", "NAN", "NAN", "NAN", 8000, "NAN", "NAN"],
  673. "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
  674. "Multiplier":1,
  675. "Monitor":true
  676. },
  677. {
  678. "Name":"soft_ocp_tpu",
  679. "Type":"BCL_CURRENT",
  680. "HotThreshold":["NAN", "NAN", "NAN", "NAN", 8500, "NAN", "NAN"],
  681. "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
  682. "Multiplier":1,
  683. "Hidden":true
  684. },
  685. {
  686. "Name":"soft_ocp_gpu",
  687. "Type":"BCL_CURRENT",
  688. "HotThreshold":["NAN", "NAN", "NAN", "NAN", 9000, "NAN", "NAN"],
  689. "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
  690. "Multiplier":1,
  691. "Hidden":true
  692. }
  693. ],
  694. "CoolingDevices":[
  695. {
  696. "Name":"thermal-cpufreq-0",
  697. "Type":"CPU",
  698. "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote",
  699. "State2Power":[1100, 1050, 1000, 950, 900, 850, 800, 750, 700, 650, 600]
  700. },
  701. {
  702. "Name":"thermal-cpufreq-1",
  703. "Type":"CPU",
  704. "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote",
  705. "State2Power":[1400, 1350, 1300, 1250, 1200, 1150, 1100, 1050, 1000, 950, 900, 850, 800, 750]
  706. },
  707. {
  708. "Name":"thermal-cpufreq-2",
  709. "Type":"CPU",
  710. "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote",
  711. "State2Power":[1450, 1400, 1350, 1300, 1250, 1200, 1150, 1100, 1050, 1000, 950, 900, 850, 800, 750]
  712. },
  713. {
  714. "Name":"thermal-gpufreq-0",
  715. "Type":"GPU",
  716. "WritePath":"/dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote",
  717. "State2Power":[4599, 3727, 3259, 2378, 2044, 1813, 1449, 1223, 1007, 804, 633, 452]
  718. },
  719. {
  720. "Name":"fcc",
  721. "Type":"BATTERY"
  722. },
  723. {
  724. "Name":"dc_icl",
  725. "Type":"BATTERY"
  726. },
  727. {
  728. "Name":"usbc-port",
  729. "Type":"BATTERY"
  730. },
  731. {
  732. "Name":"tpu_cooling",
  733. "Type":"NPU",
  734. "WritePath":"/dev/thermal/cdev-by-name/tpu_cooling/user_vote"
  735. }
  736. ],
  737. "PowerRails":[
  738. {
  739. "Name":"VSYS_PWR_WLAN_BT"
  740. },
  741. {
  742. "Name":"VSYS_PWR_DISPLAY"
  743. },
  744. {
  745. "Name":"VSYS_PWR_MODEM"
  746. },
  747. {
  748. "Name":"S2M_VDD_CPUCL2",
  749. "PowerSampleDelay":7000,
  750. "PowerSampleCount":1
  751. },
  752. {
  753. "Name":"S3M_VDD_CPUCL1",
  754. "PowerSampleDelay":7000,
  755. "PowerSampleCount":1
  756. },
  757. {
  758. "Name":"S4M_VDD_CPUCL0",
  759. "PowerSampleDelay":7000,
  760. "PowerSampleCount":1
  761. },
  762. {
  763. "Name":"S5M_VDD_INT"
  764. },
  765. {
  766. "Name":"S1M_VDD_MIF"
  767. },
  768. {
  769. "Name":"S2S_VDD_G3D",
  770. "PowerSampleDelay":7000,
  771. "PowerSampleCount":1
  772. },
  773. {
  774. "Name":"PARTIAL_SYSTEM_POWER",
  775. "VirtualRails":true,
  776. "Formula":"WEIGHTED_AVG",
  777. "Combination":["VSYS_PWR_MODEM", "S2M_VDD_CPUCL2", "S3M_VDD_CPUCL1", "S4M_VDD_CPUCL0", "S5M_VDD_INT", "S1M_VDD_MIF", "S2S_VDD_G3D", "VSYS_PWR_WLAN_BT", "VSYS_PWR_DISPLAY"],
  778. "Coefficient":[1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0],
  779. "PowerSampleDelay":14000,
  780. "PowerSampleCount":5
  781. }
  782. ]
  783. }