diff options
Diffstat (limited to 'src/mainboard/google/brya/variants/xivu')
-rw-r--r-- | src/mainboard/google/brya/variants/xivu/overridetree.cb | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/variants/xivu/overridetree.cb b/src/mainboard/google/brya/variants/xivu/overridetree.cb index 609f468f73..f919cef49a 100644 --- a/src/mainboard/google/brya/variants/xivu/overridetree.cb +++ b/src/mainboard/google/brya/variants/xivu/overridetree.cb @@ -42,6 +42,57 @@ chip soc/intel/alderlake #| I2C5 | Trackpad | #+-------------------+---------------------------+ device domain 0 on + device ref dtt on + chip drivers/intel/dptf + ## sensor information + register "options.tsr[0].desc" = ""Memory"" + register "options.tsr[1].desc" = ""Ambient"" + register "options.tsr[2].desc" = ""Charger"" + + # TODO: below values are initial reference values only + ## Passive Policy + register "policies.passive" = "{ + [0] = DPTF_PASSIVE(CPU, CPU, 90, 5000), + [1] = DPTF_PASSIVE(CPU, TEMP_SENSOR_0, 77, 5000), + [2] = DPTF_PASSIVE(CPU, TEMP_SENSOR_1, 60, 5000), + [3] = DPTF_PASSIVE(CHARGER, TEMP_SENSOR_2, 78, 5000), + }" + + ## Critical Policy + register "policies.critical" = "{ + [0] = DPTF_CRITICAL(TEMP_SENSOR_0, 87, SHUTDOWN), + [1] = DPTF_CRITICAL(TEMP_SENSOR_1, 78, SHUTDOWN), + [2] = DPTF_CRITICAL(TEMP_SENSOR_2, 88, SHUTDOWN), + }" + + register "controls.power_limits" = "{ + .pl1 = { + .min_power = 6000, + .max_power = 6000, + .time_window_min = 28 * MSECS_PER_SEC, + .time_window_max = 32 * MSECS_PER_SEC, + .granularity = 200 + }, + .pl2 = { + .min_power = 25000, + .max_power = 25000, + .time_window_min = 28 * MSECS_PER_SEC, + .time_window_max = 32 * MSECS_PER_SEC, + .granularity = 1000 + } + }" + + ## Charger Performance Control (Control, mA) + register "controls.charger_perf" = "{ + [0] = { 255, 1700 }, + [1] = { 24, 1500 }, + [2] = { 16, 1000 }, + [3] = { 8, 500 } + }" + + device generic 0 on end + end + end device ref ipu on chip drivers/intel/mipi_camera register "acpi_uid" = "0x50000" |