blob: 7b1a782c03b7dc63f75aa154ab7b25fbf58c8238 [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: "TemperatureHandler",
name: "temperature_therm_dsp",
config: {
sensor_name: "therm-dsp",
cache_duration_ms: 50,
},
},
{
type: "TemperatureHandler",
name: "temperature_therm_wifi",
config: {
sensor_name: "therm-wifi",
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: true,
enable_client_state_connector: true,
},
dependencies: {
platform_metrics_node: "platform_metrics",
},
},
{
type: "ThermalPolicy",
name: "thermal_policy",
dependencies: {
temperature_handler_node: "temperature_soc_pll",
system_power_handler_node: "sys_shutdown",
thermal_load_notify_nodes: [
"thermal_state_handler",
],
cpu_thermal_load_notify_node: "thermal_state_handler",
platform_metrics_node: "platform_metrics",
},
config: {
controller_params: {
sample_interval: 1.0,
filter_time_constant: 5.0,
target_temperature: 80.0,
e_integral_min: -12.0,
e_integral_max: 0.0,
},
thermal_shutdown_temperature: 95.0,
},
},
{
type: "ThermalShutdown",
name: "thermal_shutdown_therm_dsp",
dependencies: {
system_shutdown_node: "sys_shutdown",
temperature_handler_node: "temperature_therm_dsp",
platform_metrics_node: "platform_metrics",
},
config: {
thermal_shutdown_temperature_c: 73.0,
poll_interval_s: 1,
filter_time_constant_s: 1,
},
},
{
type: "ThermalShutdown",
name: "thermal_shutdown_therm_wifi",
dependencies: {
system_shutdown_node: "sys_shutdown",
temperature_handler_node: "temperature_therm_wifi",
platform_metrics_node: "platform_metrics",
},
config: {
thermal_shutdown_temperature_c: 73.0,
poll_interval_s: 1,
filter_time_constant_s: 1,
},
},
]