thermal_info_config_lynx.json 27 KB

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