thermal_info_config_charge_lynx.json 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  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-SKIN1-SKIN2-USB-USB2-GNSS-1",
  66. "Type":"UNKNOWN",
  67. "Hidden":true,
  68. "VirtualSensor":true,
  69. "Formula":"WEIGHTED_AVG",
  70. "Combination":["neutral_therm", "quiet_therm", "skin_therm1", "skin_therm2", "usb_pwr_therm", "usb_pwr_therm2", "gnss_tcxo_therm"],
  71. "Coefficient":[0.05, 0.05, 0.7, 0.05, 0.05, 0.05, 0.05],
  72. "Offset":-1500,
  73. "Multiplier":0.001
  74. },
  75. {
  76. "Name":"VIRTUAL-QUT-SKIN2-USB-USB2-2",
  77. "Type":"UNKNOWN",
  78. "Hidden":true,
  79. "VirtualSensor":true,
  80. "Formula":"WEIGHTED_AVG",
  81. "Combination":["quiet_therm", "skin_therm2", "usb_pwr_therm", "usb_pwr_therm2"],
  82. "Coefficient":[0.15, 0.15, 0.15, 0.55],
  83. "Offset":-1000,
  84. "Multiplier":0.001
  85. },
  86. {
  87. "Name":"VIRTUAL-QUT-SKIN2-USB-GNSS-3",
  88. "Type":"UNKNOWN",
  89. "Hidden":true,
  90. "VirtualSensor":true,
  91. "Formula":"WEIGHTED_AVG",
  92. "Combination":["quiet_therm", "skin_therm2", "usb_pwr_therm", "gnss_tcxo_therm"],
  93. "Coefficient":[0.166, 0.45, 0.217, 0.167],
  94. "Offset":-1950,
  95. "Multiplier":0.001
  96. },
  97. {
  98. "Name":"VIRTUAL-NEU-QUT-SKIN1-SKIN2-USB-USB2-GNSS-4",
  99. "Type":"UNKNOWN",
  100. "Hidden":true,
  101. "VirtualSensor":true,
  102. "Formula":"WEIGHTED_AVG",
  103. "Combination":["neutral_therm", "quiet_therm", "skin_therm1", "skin_therm2", "usb_pwr_therm", "usb_pwr_therm2", "gnss_tcxo_therm"],
  104. "Coefficient":[-0.05, -0.05, 1.3, -0.05, -0.05, -0.05, -0.05],
  105. "Offset":-1950,
  106. "Multiplier":0.001
  107. },
  108. {
  109. "Name":"VIRTUAL-SKIN-CHARGE",
  110. "Type":"UNKNOWN",
  111. "Hidden":true,
  112. "VirtualSensor":true,
  113. "TriggerSensor":"skin_therm1",
  114. "Formula":"MAXIMUM",
  115. "Combination":["VIRTUAL-NEU-QUT-SKIN1-SKIN2-USB-USB2-GNSS-1", "VIRTUAL-QUT-SKIN2-USB-USB2-2", "VIRTUAL-QUT-SKIN2-USB-GNSS-3", "VIRTUAL-NEU-QUT-SKIN1-SKIN2-USB-USB2-GNSS-4"],
  116. "Coefficient":[1.0, 1.0, 1.0, 1.0],
  117. "HotThreshold":["NAN", 35.0, 39.0, 43.0, 45.0, 47.0, 55.0],
  118. "HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.9, 1.9, 1.9],
  119. "Multiplier":0.001,
  120. "PollingDelay":300000,
  121. "PassiveDelay":7000,
  122. "PIDInfo": {
  123. "K_Po":["NAN", "NAN", 700, "NAN", "NAN", "NAN", "NAN"],
  124. "K_Pu":["NAN", "NAN", 700, "NAN", "NAN", "NAN", "NAN"],
  125. "K_I":["NAN", "NAN", 5, "NAN", "NAN", "NAN", "NAN"],
  126. "K_D":["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"],
  127. "I_Max":["NAN", "NAN", 800, "NAN", "NAN", "NAN", "NAN"],
  128. "S_Power":["NAN", "NAN", 1200, "NAN", "NAN", "NAN", "NAN"],
  129. "MinAllocPower":["NAN", "NAN", 300, "NAN", "NAN", "NAN", "NAN"],
  130. "MaxAllocPower":["NAN", "NAN", 6000, "NAN", "NAN", "NAN", "NAN"],
  131. "I_Cutoff":["NAN", "NAN", 2, "NAN", "NAN", "NAN", "NAN"]
  132. },
  133. "ExcludedPowerInfo": [
  134. {
  135. "PowerRail": "PARTIAL_SYSTEM_POWER",
  136. "PowerWeight": [0.5, 0.5, 0.8, 1.0, 1.0, 1.0, 1.0]
  137. }
  138. ],
  139. "BindedCdevInfo": [
  140. {
  141. "CdevRequest": "fcc",
  142. "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
  143. "MaxReleaseStep": 1,
  144. "MaxThrottleStep": 1,
  145. "CdevCeiling": [0, 11, 11, 11, 12, 12, 12],
  146. "LimitInfo": [0, 0, 0, 0, 0, 12, 12]
  147. }
  148. ]
  149. },
  150. {
  151. "Name":"VIRTUAL-SKIN-CHARGE-WLC",
  152. "Type":"UNKNOWN",
  153. "Hidden":true,
  154. "VirtualSensor":true,
  155. "TriggerSensor":"skin_therm1",
  156. "Formula":"WEIGHTED_AVG",
  157. "Combination":["skin_therm2", "usb_pwr_therm2", "disp_therm"],
  158. "Coefficient":[0.51, 0.25, 0.24],
  159. "HotThreshold":["NAN", 35.0, 39.0, 43.0, 45.0, 47.0, 55.0],
  160. "HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.9, 1.9, 1.9],
  161. "Multiplier":0.001,
  162. "PollingDelay":300000,
  163. "PassiveDelay":7000,
  164. "PIDInfo": {
  165. "K_Po":["NAN", "NAN", 800, "NAN", "NAN", "NAN", "NAN"],
  166. "K_Pu":["NAN", "NAN", 800, "NAN", "NAN", "NAN", "NAN"],
  167. "K_I":["NAN", "NAN", 5, "NAN", "NAN", "NAN", "NAN"],
  168. "K_D":["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"],
  169. "I_Max":["NAN", "NAN", 800, "NAN", "NAN", "NAN", "NAN"],
  170. "S_Power":["NAN", "NAN", 2000, "NAN", "NAN", "NAN", "NAN"],
  171. "MinAllocPower":["NAN", "NAN", 300, "NAN", "NAN", "NAN", "NAN"],
  172. "MaxAllocPower":["NAN", "NAN", 6000, "NAN", "NAN", "NAN", "NAN"],
  173. "I_Cutoff":["NAN", "NAN", 2, "NAN", "NAN", "NAN", "NAN"]
  174. },
  175. "ExcludedPowerInfo": [
  176. {
  177. "PowerRail": "PARTIAL_SYSTEM_POWER",
  178. "PowerWeight": [0.5, 0.5, 0.8, 1.0, 1.0, 1.0, 1.0]
  179. }
  180. ],
  181. "BindedCdevInfo": [
  182. {
  183. "CdevRequest": "dc_icl",
  184. "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
  185. "MaxReleaseStep": 1,
  186. "MaxThrottleStep": 1,
  187. "CdevCeiling": [0, 5, 8, 11, 12, 12, 12],
  188. "LimitInfo": [0, 0, 0, 0, 0, 12, 12]
  189. }
  190. ]
  191. },
  192. {
  193. "Name":"USB-MINUS-SKIN2",
  194. "Type":"UNKNOWN",
  195. "VirtualSensor":true,
  196. "TriggerSensor": "usb_pwr_therm",
  197. "Formula":"WEIGHTED_AVG",
  198. "Combination":["usb_pwr_therm", "skin_therm2"],
  199. "Coefficient":[1.0, -1.0],
  200. "HotThreshold":["NAN", "7.0", "NAN", "NAN", "NAN", "NAN", "NAN"],
  201. "BindedCdevInfo": [
  202. {
  203. "CdevRequest": "usbc-port",
  204. "LimitInfo": [0, 0, 0, 0, 0, 0, 0]
  205. }
  206. ],
  207. "Multiplier":0.001,
  208. "PollingDelay":0,
  209. "PassiveDelay":7000
  210. },
  211. {
  212. "Name":"VIRTUAL-USB-THROTTLING",
  213. "Type":"USB_PORT",
  214. "Version":"0.1",
  215. "VirtualSensor":true,
  216. "Formula":"COUNT_THRESHOLD",
  217. "TriggerSensor": "usb_pwr_therm",
  218. "Combination":["usb_pwr_therm", "USB-MINUS-SKIN2"],
  219. "Coefficient":[40000, 10000],
  220. "HotThreshold":["NAN", "NAN", "NAN", "NAN", "2.0", "NAN", "NAN"],
  221. "BindedCdevInfo": [
  222. {
  223. "CdevRequest": "usbc-port",
  224. "LimitInfo": [0, 0, 0, 0, 1, 1, 1]
  225. }
  226. ],
  227. "VrThreshold":"NAN",
  228. "Multiplier":1,
  229. "PollingDelay":60000,
  230. "PassiveDelay":7000
  231. }
  232. ],
  233. "CoolingDevices":[
  234. {
  235. "Name":"fcc",
  236. "Type":"BATTERY"
  237. },
  238. {
  239. "Name":"dc_icl",
  240. "Type":"BATTERY"
  241. },
  242. {
  243. "Name":"usbc-port",
  244. "Type":"BATTERY"
  245. }
  246. ],
  247. "PowerRails":[
  248. {
  249. "Name":"VSYS_PWR_WLAN_BT"
  250. },
  251. {
  252. "Name":"VSYS_PWR_DISPLAY"
  253. },
  254. {
  255. "Name":"VSYS_PWR_MODEM"
  256. },
  257. {
  258. "Name":"S2M_VDD_CPUCL2",
  259. "PowerSampleDelay":7000,
  260. "PowerSampleCount":1
  261. },
  262. {
  263. "Name":"S3M_VDD_CPUCL1",
  264. "PowerSampleDelay":7000,
  265. "PowerSampleCount":1
  266. },
  267. {
  268. "Name":"S4M_VDD_CPUCL0",
  269. "PowerSampleDelay":7000,
  270. "PowerSampleCount":1
  271. },
  272. {
  273. "Name":"S5M_VDD_INT"
  274. },
  275. {
  276. "Name":"S1M_VDD_MIF"
  277. },
  278. {
  279. "Name":"S2S_VDD_G3D",
  280. "PowerSampleDelay":7000,
  281. "PowerSampleCount":1
  282. },
  283. {
  284. "Name":"PARTIAL_SYSTEM_POWER",
  285. "VirtualRails":true,
  286. "Formula":"WEIGHTED_AVG",
  287. "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"],
  288. "Coefficient":[1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0],
  289. "PowerSampleDelay":14000,
  290. "PowerSampleCount":5
  291. }
  292. ]
  293. }