thermal_info_config_lynx.json 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782
  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. "VirtualSensor":true,
  197. "TriggerSensor":"skin_therm1",
  198. "Formula":"MAXIMUM",
  199. "Combination":["VIRTUAL-NEU-QUT-DISP-SKIN1-GNSS-BATT", "VIRTUAL-NEU-DISP-SKIN1-GNSS-BATT", "VIRTUAL-SKIN2-USB2-DISP-BATT", "VIRTUAL-QUT-SKIN2-USB2-DISP"],
  200. "Coefficient":[1.0, 1.0, 1.0, 1.0],
  201. "HotThreshold":["NAN", 35.0, 39.0, 43.0, 45.0, 47.0, 55.0],
  202. "HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.9, 1.9, 1.9],
  203. "Multiplier":0.001,
  204. "PollingDelay":300000,
  205. "PassiveDelay":7000,
  206. "PIDInfo": {
  207. "K_Po":["NAN", "NAN", 700, "NAN", "NAN", "NAN", "NAN"],
  208. "K_Pu":["NAN", "NAN", 700, "NAN", "NAN", "NAN", "NAN"],
  209. "K_I":["NAN", "NAN", 5, "NAN", "NAN", "NAN", "NAN"],
  210. "K_D":["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"],
  211. "I_Max":["NAN", "NAN", 800, "NAN", "NAN", "NAN", "NAN"],
  212. "S_Power":["NAN", "NAN", 1500, "NAN", "NAN", "NAN", "NAN"],
  213. "MinAllocPower":["NAN", "NAN", 300, "NAN", "NAN", "NAN", "NAN"],
  214. "MaxAllocPower":["NAN", "NAN", 6000, "NAN", "NAN", "NAN", "NAN"],
  215. "I_Cutoff":["NAN", "NAN", 2, "NAN", "NAN", "NAN", "NAN"]
  216. },
  217. "ExcludedPowerInfo": [
  218. {
  219. "PowerRail": "PARTIAL_SYSTEM_POWER",
  220. "PowerWeight": [0.5, 0.5, 0.8, 1.0, 1.0, 1.0, 1.0]
  221. }
  222. ],
  223. "BindedCdevInfo": [
  224. {
  225. "CdevRequest": "fcc",
  226. "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
  227. "MaxReleaseStep": 1,
  228. "MaxThrottleStep": 1,
  229. "CdevCeiling": [0, 9, 10, 11, 12, 12, 12],
  230. "LimitInfo": [0, 0, 0, 0, 0, 12, 12]
  231. }
  232. ]
  233. },
  234. {
  235. "Name":"VIRTUAL-SKIN-CHARGE-WLC",
  236. "Type":"UNKNOWN",
  237. "VirtualSensor":true,
  238. "TriggerSensor":"skin_therm1",
  239. "Formula":"WEIGHTED_AVG",
  240. "Combination":["skin_therm2", "usb_pwr_therm2", "disp_therm"],
  241. "Coefficient":[0.51, 0.25, 0.24],
  242. "HotThreshold":["NAN", 39.0, 41.0, 43.0, 45.0, 47.0, 55.0],
  243. "HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.9, 1.9, 1.9],
  244. "Multiplier":0.001,
  245. "PollingDelay":300000,
  246. "PassiveDelay":7000,
  247. "PIDInfo": {
  248. "K_Po":["NAN", "NAN", 800, "NAN", "NAN", "NAN", "NAN"],
  249. "K_Pu":["NAN", "NAN", 800, "NAN", "NAN", "NAN", "NAN"],
  250. "K_I":["NAN", "NAN", 5, "NAN", "NAN", "NAN", "NAN"],
  251. "K_D":["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"],
  252. "I_Max":["NAN", "NAN", 800, "NAN", "NAN", "NAN", "NAN"],
  253. "S_Power":["NAN", "NAN", 3600, "NAN", "NAN", "NAN", "NAN"],
  254. "MinAllocPower":["NAN", "NAN", 300, "NAN", "NAN", "NAN", "NAN"],
  255. "MaxAllocPower":["NAN", "NAN", 6000, "NAN", "NAN", "NAN", "NAN"],
  256. "I_Cutoff":["NAN", "NAN", 2, "NAN", "NAN", "NAN", "NAN"]
  257. },
  258. "ExcludedPowerInfo": [
  259. {
  260. "PowerRail": "PARTIAL_SYSTEM_POWER",
  261. "PowerWeight": [0.5, 0.5, 0.8, 1.0, 1.0, 1.0, 1.0]
  262. }
  263. ],
  264. "BindedCdevInfo": [
  265. {
  266. "CdevRequest": "dc_icl",
  267. "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
  268. "MaxReleaseStep": 1,
  269. "MaxThrottleStep": 1,
  270. "CdevCeiling": [0, 5, 10, 11, 12, 12, 12],
  271. "LimitInfo": [0, 0, 0, 0, 0, 12, 12]
  272. }
  273. ]
  274. },
  275. {
  276. "Name":"cellular-emergency",
  277. "Type":"POWER_AMPLIFIER",
  278. "VirtualSensor":true,
  279. "TriggerSensor":"skin_therm1",
  280. "Formula":"MAXIMUM",
  281. "Combination":["VIRTUAL-NEU-QUT-DISP-SKIN1-GNSS-BATT", "VIRTUAL-NEU-DISP-SKIN1-GNSS-BATT", "VIRTUAL-SKIN2-USB2-DISP-BATT", "VIRTUAL-QUT-SKIN2-USB2-DISP"],
  282. "Coefficient":[1.0, 1.0, 1.0, 1.0],
  283. "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", 54.0, "NAN"],
  284. "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 0.0, 1.9, 0.0],
  285. "Multiplier":0.001,
  286. "SendCallback":true,
  287. "PollingDelay":300000,
  288. "PassiveDelay":7000
  289. },
  290. {
  291. "Name":"USB-MINUS-SKIN2",
  292. "Type":"UNKNOWN",
  293. "VirtualSensor":true,
  294. "TriggerSensor": "usb_pwr_therm",
  295. "Formula":"WEIGHTED_AVG",
  296. "Combination":["usb_pwr_therm", "skin_therm2"],
  297. "Coefficient":[1.0, -1.0],
  298. "HotThreshold":["NAN", "7.0", "NAN", "NAN", "NAN", "NAN", "NAN"],
  299. "BindedCdevInfo": [
  300. {
  301. "CdevRequest": "usbc-port",
  302. "LimitInfo": [0, 0, 0, 0, 0, 0, 0]
  303. }
  304. ],
  305. "Multiplier":0.001,
  306. "PollingDelay":0,
  307. "PassiveDelay":7000
  308. },
  309. {
  310. "Name":"VIRTUAL-USB-THROTTLING",
  311. "Type":"USB_PORT",
  312. "Version":"0.1",
  313. "VirtualSensor":true,
  314. "Formula":"COUNT_THRESHOLD",
  315. "TriggerSensor": "usb_pwr_therm",
  316. "Combination":["usb_pwr_therm", "USB-MINUS-SKIN2"],
  317. "Coefficient":[40000, 10000],
  318. "HotThreshold":["NAN", "NAN", "NAN", "NAN", "2.0", "NAN", "NAN"],
  319. "BindedCdevInfo": [
  320. {
  321. "CdevRequest": "usbc-port",
  322. "LimitInfo": [0, 0, 0, 0, 1, 1, 1]
  323. }
  324. ],
  325. "VrThreshold":"NAN",
  326. "Multiplier":1,
  327. "PollingDelay":60000,
  328. "PassiveDelay":7000
  329. },
  330. {
  331. "Name":"VIRTUAL-USB-UI",
  332. "Type":"USB_PORT",
  333. "Version":"0.1",
  334. "VirtualSensor":true,
  335. "Formula":"COUNT_THRESHOLD",
  336. "TriggerSensor": "usb_pwr_therm",
  337. "Combination":["usb_pwr_therm", "USB-MINUS-SKIN2"],
  338. "Coefficient":[40000, 13000],
  339. "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "2.0", "NAN"],
  340. "VrThreshold":"NAN",
  341. "Multiplier":1,
  342. "Monitor":true,
  343. "PollingDelay":60000,
  344. "PassiveDelay":7000
  345. },
  346. {
  347. "Name":"LITTLE",
  348. "Type":"CPU",
  349. "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 115.0],
  350. "Multiplier":0.001
  351. },
  352. {
  353. "Name":"MID",
  354. "Type":"CPU",
  355. "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 115.0],
  356. "Multiplier":0.001
  357. },
  358. {
  359. "Name":"BIG",
  360. "Type":"CPU",
  361. "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 115.0],
  362. "Multiplier":0.001
  363. },
  364. {
  365. "Name":"G3D",
  366. "Type":"GPU",
  367. "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 115.0],
  368. "Multiplier":0.001
  369. },
  370. {
  371. "Name":"TPU",
  372. "Type":"NPU",
  373. "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 115.0],
  374. "Multiplier":0.001
  375. },
  376. {
  377. "Name":"battery_cycle",
  378. "Type":"BCL_VOLTAGE",
  379. "Multiplier":1,
  380. "Monitor":false
  381. },
  382. {
  383. "Name":"critical-battery-cell",
  384. "Type":"BCL_VOLTAGE",
  385. "VirtualSensor":true,
  386. "Formula":"COUNT_THRESHOLD",
  387. "TriggerSensor": "vdroop1",
  388. "Combination":["battery", "battery_cycle", "vdroop1"],
  389. "Coefficient":[-10000, 400, 1000],
  390. "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", 3.00, "NAN"],
  391. "Multiplier":1,
  392. "Monitor":true
  393. },
  394. {
  395. "Name":"FLASH_LED_REDUCE",
  396. "Type":"UNKNOWN",
  397. "VirtualSensor":true,
  398. "Formula":"COUNT_THRESHOLD",
  399. "TriggerSensor": "vdroop1",
  400. "Combination":["battery", "battery_cycle", "vdroop1"],
  401. "Coefficient":[-10000, 400, 1000],
  402. "HotThreshold":["NAN", "NAN", "NAN", "NAN", 3.00, "NAN", "NAN"],
  403. "Multiplier":1,
  404. "Monitor":true,
  405. "SendPowerHint":true
  406. },
  407. {
  408. "Name":"soc",
  409. "Type":"BCL_PERCENTAGE",
  410. "HotThreshold":["NAN", "NAN", 80, "NAN", "NAN", "NAN", "NAN"],
  411. "Multiplier":1,
  412. "Monitor":true
  413. },
  414. {
  415. "Name":"BCL_TPU_LOW_TEMP",
  416. "Type":"BCL_CURRENT",
  417. "VirtualSensor":true,
  418. "Formula":"WEIGHTED_AVG",
  419. "TriggerSensor": "ocp_tpu",
  420. "Combination":["ocp_tpu", "battery"],
  421. "Coefficient":[1, -10],
  422. "HotThreshold":["NAN", "NAN", "NAN", "NAN", 13000, "NAN", "NAN"],
  423. "Multiplier":1,
  424. "Monitor":true,
  425. "PassiveDelay":500,
  426. "BindedCdevInfo": [
  427. {
  428. "CdevRequest": "tpu_cooling",
  429. "LimitInfo": [0, 0, 0, 0, 7, 7, 7]
  430. }
  431. ]
  432. },
  433. {
  434. "Name":"BCL_GPU_LOW_TEMP",
  435. "Type":"BCL_CURRENT",
  436. "VirtualSensor":true,
  437. "Formula":"WEIGHTED_AVG",
  438. "TriggerSensor": "ocp_gpu",
  439. "Combination":["ocp_gpu", "battery"],
  440. "Coefficient":[1, -10],
  441. "HotThreshold":["NAN", "NAN", "NAN", "NAN", 13000, "NAN", "NAN"],
  442. "Multiplier":1,
  443. "Monitor":true,
  444. "PassiveDelay":500,
  445. "BindedCdevInfo": [
  446. {
  447. "CdevRequest": "thermal-gpufreq-0",
  448. "LimitInfo": [0, 0, 0, 0, 9, 9, 9]
  449. }
  450. ]
  451. },
  452. {
  453. "Name":"BCL_BATOILO_GPU_LOW_TEMP",
  454. "Type":"BCL_CURRENT",
  455. "VirtualSensor":true,
  456. "Formula":"COUNT_THRESHOLD",
  457. "TriggerSensor": "batoilo",
  458. "Combination":["batoilo", "ocp_gpu", "battery"],
  459. "Coefficient":[5000, 12000, -1000],
  460. "HotThreshold":["NAN", "NAN", "NAN", "NAN", 3.0, "NAN", "NAN"],
  461. "Multiplier":1,
  462. "Monitor":true,
  463. "PassiveDelay":500,
  464. "BindedCdevInfo": [
  465. {
  466. "CdevRequest": "thermal-gpufreq-0",
  467. "LimitInfo": [0, 0, 0, 0, 9, 9, 9]
  468. }
  469. ]
  470. },
  471. {
  472. "Name":"BCL_BATOILO_TPU_LOW_TEMP",
  473. "Type":"BCL_CURRENT",
  474. "VirtualSensor":true,
  475. "Formula":"COUNT_THRESHOLD",
  476. "TriggerSensor": "batoilo",
  477. "Combination":["batoilo", "ocp_tpu", "battery"],
  478. "Coefficient":[5000, 12000, -1000],
  479. "HotThreshold":["NAN", "NAN", "NAN", "NAN", 3.0, "NAN", "NAN"],
  480. "Multiplier":1,
  481. "Monitor":true,
  482. "PassiveDelay":500,
  483. "BindedCdevInfo": [
  484. {
  485. "CdevRequest": "tpu_cooling",
  486. "LimitInfo": [0, 0, 0, 0, 7, 7, 7]
  487. }
  488. ]
  489. },
  490. {
  491. "Name":"BCL_BATOILO_GPU",
  492. "Type":"BCL_CURRENT",
  493. "VirtualSensor":true,
  494. "Formula":"COUNT_THRESHOLD",
  495. "TriggerSensor": "batoilo",
  496. "Combination":["batoilo", "ocp_gpu"],
  497. "Coefficient":[5000, 12000],
  498. "HotThreshold":["NAN", "NAN", "NAN", "NAN", 2.0, "NAN", "NAN"],
  499. "Multiplier":1,
  500. "Monitor":true,
  501. "PassiveDelay":500,
  502. "BindedCdevInfo": [
  503. {
  504. "CdevRequest": "thermal-gpufreq-0",
  505. "LimitInfo": [0, 0, 0, 0, 4, 4, 4]
  506. }
  507. ]
  508. },
  509. {
  510. "Name":"BCL_BATOILO_TPU",
  511. "Type":"BCL_CURRENT",
  512. "VirtualSensor":true,
  513. "Formula":"COUNT_THRESHOLD",
  514. "TriggerSensor": "batoilo",
  515. "Combination":[
  516. "batoilo",
  517. "ocp_tpu"
  518. ],
  519. "Coefficient":[5000, 12000],
  520. "HotThreshold":["NAN", "NAN", "NAN", "NAN", 2.0, "NAN", "NAN"],
  521. "Multiplier":1,
  522. "Monitor":true,
  523. "PassiveDelay":500,
  524. "BindedCdevInfo": [
  525. {
  526. "CdevRequest": "tpu_cooling",
  527. "LimitInfo": [0, 0, 0, 0, 6, 6, 6]
  528. }
  529. ]
  530. },
  531. {
  532. "Name":"batoilo",
  533. "Type":"BCL_CURRENT",
  534. "HotThreshold":["NAN", "NAN", "NAN", "NAN", 5000, "NAN", "NAN"],
  535. "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
  536. "Multiplier":1,
  537. "BindedCdevInfo": [
  538. {
  539. "CdevRequest": "thermal-cpufreq-2",
  540. "LimitInfo": [0, 0, 0, 0, 7, 7, 7]
  541. },
  542. {
  543. "CdevRequest": "thermal-gpufreq-0",
  544. "LimitInfo": [0, 0, 0, 0, 3, 3, 3]
  545. },
  546. {
  547. "CdevRequest": "tpu_cooling",
  548. "LimitInfo": [0, 0, 0, 0, 5, 5, 5]
  549. }
  550. ]
  551. },
  552. {
  553. "Name":"BCL_AUDIO_BAACL",
  554. "Type":"BCL_VOLTAGE",
  555. "VirtualSensor":true,
  556. "Formula":"COUNT_THRESHOLD",
  557. "TriggerSensor": "soc",
  558. "Combination":["battery", "soc"],
  559. "Coefficient":[-25000, 80],
  560. "HotThreshold":["NAN", "NAN", "NAN", "NAN", 2.0, "NAN", "NAN"],
  561. "Multiplier":1,
  562. "Monitor":true
  563. },
  564. {
  565. "Name":"vdroop1",
  566. "Type":"BCL_VOLTAGE",
  567. "HotThreshold":["NAN", "NAN", "NAN", "NAN", 1000, "NAN", "NAN"],
  568. "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
  569. "Multiplier":1,
  570. "BindedCdevInfo": [
  571. {
  572. "CdevRequest": "thermal-cpufreq-2",
  573. "LimitInfo": [0, 0, 0, 0, 7, 7, 7]
  574. },
  575. {
  576. "CdevRequest": "thermal-gpufreq-0",
  577. "LimitInfo": [0, 0, 0, 0, 2, 2, 2]
  578. },
  579. {
  580. "CdevRequest": "tpu_cooling",
  581. "LimitInfo": [0, 0, 0, 0, 3, 3, 3]
  582. }
  583. ]
  584. },
  585. {
  586. "Name":"vdroop2",
  587. "Type":"BCL_VOLTAGE",
  588. "HotThreshold":["NAN", "NAN", "NAN", "NAN", 1200, "NAN", "NAN"],
  589. "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
  590. "Multiplier":1,
  591. "BindedCdevInfo": [
  592. {
  593. "CdevRequest": "thermal-cpufreq-2",
  594. "LimitInfo": [0, 0, 0, 0, 7, 7, 7]
  595. },
  596. {
  597. "CdevRequest": "thermal-gpufreq-0",
  598. "LimitInfo": [0, 0, 0, 0, 4, 4, 4]
  599. },
  600. {
  601. "CdevRequest": "tpu_cooling",
  602. "LimitInfo": [0, 0, 0, 0, 3, 3, 3]
  603. }
  604. ]
  605. },
  606. {
  607. "Name":"smpl_gm",
  608. "Type":"BCL_VOLTAGE",
  609. "HotThreshold":["NAN", "NAN", "NAN", "NAN", 1100, "NAN", "NAN"],
  610. "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
  611. "Multiplier":1,
  612. "BindedCdevInfo": [
  613. {
  614. "CdevRequest": "thermal-cpufreq-2",
  615. "LimitInfo": [0, 0, 0, 0, 7, 7, 7]
  616. },
  617. {
  618. "CdevRequest": "thermal-gpufreq-0",
  619. "LimitInfo": [0, 0, 0, 0, 3, 3, 3]
  620. },
  621. {
  622. "CdevRequest": "tpu_cooling",
  623. "LimitInfo": [0, 0, 0, 0, 3, 3, 3]
  624. }
  625. ]
  626. },
  627. {
  628. "Name":"ocp_cpu1",
  629. "Type":"BCL_CURRENT",
  630. "HotThreshold":["NAN", "NAN", "NAN", "NAN", 8000, "NAN", "NAN"],
  631. "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
  632. "Multiplier":1,
  633. "Hidden":true
  634. },
  635. {
  636. "Name":"ocp_cpu2",
  637. "Type":"BCL_CURRENT",
  638. "HotThreshold":["NAN", "NAN", "NAN", "NAN", 12000, "NAN", "NAN"],
  639. "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
  640. "Multiplier":1,
  641. "Hidden":true
  642. },
  643. {
  644. "Name":"ocp_tpu",
  645. "Type":"BCL_CURRENT",
  646. "HotThreshold":["NAN", "NAN", "NAN", "NAN", 12000, "NAN", "NAN"],
  647. "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
  648. "Multiplier":1,
  649. "Monitor":true
  650. },
  651. {
  652. "Name":"ocp_gpu",
  653. "Type":"BCL_CURRENT",
  654. "HotThreshold":["NAN", "NAN", "NAN", "NAN", 12000, "NAN", "NAN"],
  655. "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
  656. "Multiplier":1,
  657. "Monitor":true
  658. },
  659. {
  660. "Name":"soft_ocp_cpu2",
  661. "Type":"BCL_CURRENT",
  662. "HotThreshold":["NAN", "NAN", "NAN", "NAN", 12000, "NAN", "NAN"],
  663. "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
  664. "Multiplier":1,
  665. "Monitor":true
  666. },
  667. {
  668. "Name":"soft_ocp_cpu1",
  669. "Type":"BCL_CURRENT",
  670. "HotThreshold":["NAN", "NAN", "NAN", "NAN", 8000, "NAN", "NAN"],
  671. "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
  672. "Multiplier":1,
  673. "Monitor":true
  674. },
  675. {
  676. "Name":"soft_ocp_tpu",
  677. "Type":"BCL_CURRENT",
  678. "HotThreshold":["NAN", "NAN", "NAN", "NAN", 8500, "NAN", "NAN"],
  679. "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
  680. "Multiplier":1,
  681. "Hidden":true
  682. },
  683. {
  684. "Name":"soft_ocp_gpu",
  685. "Type":"BCL_CURRENT",
  686. "HotThreshold":["NAN", "NAN", "NAN", "NAN", 9000, "NAN", "NAN"],
  687. "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
  688. "Multiplier":1,
  689. "Hidden":true
  690. }
  691. ],
  692. "CoolingDevices":[
  693. {
  694. "Name":"thermal-cpufreq-0",
  695. "Type":"CPU",
  696. "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote",
  697. "State2Power":[1100, 1050, 1000, 950, 900, 850, 800, 750, 700, 650, 600]
  698. },
  699. {
  700. "Name":"thermal-cpufreq-1",
  701. "Type":"CPU",
  702. "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote",
  703. "State2Power":[1400, 1350, 1300, 1250, 1200, 1150, 1100, 1050, 1000, 950, 900, 850, 800, 750]
  704. },
  705. {
  706. "Name":"thermal-cpufreq-2",
  707. "Type":"CPU",
  708. "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote",
  709. "State2Power":[1450, 1400, 1350, 1300, 1250, 1200, 1150, 1100, 1050, 1000, 950, 900, 850, 800, 750]
  710. },
  711. {
  712. "Name":"thermal-gpufreq-0",
  713. "Type":"GPU",
  714. "WritePath":"/dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote",
  715. "State2Power":[4599, 3727, 3259, 2378, 2044, 1813, 1449, 1223, 1007, 804, 633, 452]
  716. },
  717. {
  718. "Name":"fcc",
  719. "Type":"BATTERY"
  720. },
  721. {
  722. "Name":"dc_icl",
  723. "Type":"BATTERY"
  724. },
  725. {
  726. "Name":"usbc-port",
  727. "Type":"BATTERY"
  728. },
  729. {
  730. "Name":"tpu_cooling",
  731. "Type":"NPU",
  732. "WritePath":"/dev/thermal/cdev-by-name/tpu_cooling/user_vote"
  733. }
  734. ],
  735. "PowerRails":[
  736. {
  737. "Name":"VSYS_PWR_WLAN_BT"
  738. },
  739. {
  740. "Name":"VSYS_PWR_DISPLAY"
  741. },
  742. {
  743. "Name":"VSYS_PWR_MODEM"
  744. },
  745. {
  746. "Name":"S2M_VDD_CPUCL2",
  747. "PowerSampleDelay":7000,
  748. "PowerSampleCount":1
  749. },
  750. {
  751. "Name":"S3M_VDD_CPUCL1",
  752. "PowerSampleDelay":7000,
  753. "PowerSampleCount":1
  754. },
  755. {
  756. "Name":"S4M_VDD_CPUCL0",
  757. "PowerSampleDelay":7000,
  758. "PowerSampleCount":1
  759. },
  760. {
  761. "Name":"S5M_VDD_INT"
  762. },
  763. {
  764. "Name":"S1M_VDD_MIF"
  765. },
  766. {
  767. "Name":"S2S_VDD_G3D",
  768. "PowerSampleDelay":7000,
  769. "PowerSampleCount":1
  770. },
  771. {
  772. "Name":"PARTIAL_SYSTEM_POWER",
  773. "VirtualRails":true,
  774. "Formula":"WEIGHTED_AVG",
  775. "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"],
  776. "Coefficient":[1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0],
  777. "PowerSampleDelay":14000,
  778. "PowerSampleCount":5
  779. }
  780. ]
  781. }