blob: 7f0c86f76c1684f569d71470f18ad73d5ddf67b2 [file]
[
{
type: "SystemShutdownHandler",
name: "sys_shutdown",
},
{
type: "CrashReportHandler",
name: "crash_handler",
},
{
type: "TemperatureHandler",
name: "temperature_soc_pll",
config: {
sensor_name: "temperature-sensor-ff634800",
cache_duration_ms: 50,
},
},
{
type: "PlatformMetrics",
name: "platform_metrics",
config: {
cpu_temperature_poll_interval_s: 1,
throttle_debounce_timeout_s: 60,
},
dependencies: {
cpu_temperature_handler_node: "temperature_soc_pll",
crash_report_handler_node: "crash_handler",
},
},
{
type: "ThermalStateHandler",
name: "thermal_state_handler",
config: {
enable_cpu_thermal_state_connector: false,
enable_client_state_connector: true,
},
// platform_metrics are disabled for this node.
},
{
// Calculates thermal load used to trigger fan throttling. The reboot threshold
// is much less than that of thermal_policy and is not expected to be reached.
type: "ThermalLoadDriver",
name: "thermal_load_driver",
config: {
temperature_input_configs: [
{
temperature_handler_node_name: "temperature_soc_pll",
onset_temperature_c: 80.0,
reboot_temperature_c: 105.0,
poll_interval_s: 1,
polls_per_history_entry: 30, // Every 30s
num_history_entries: 360, // Three hours of history
filter_time_constant_s: 5,
},
],
},
dependencies: {
system_shutdown_node: "sys_shutdown",
thermal_load_notify_nodes: [
"thermal_state_handler",
],
temperature_handler_node_names: [
"temperature_soc_pll",
],
platform_metrics_node: "platform_metrics",
},
},
]