drm/tidss: Fix typos
[drm/drm-misc.git] / drivers / acpi / arm64 / thermal_cpufreq.c
blob582854914c5cdd9727f615ee4d27ec77f64a30c6
1 // SPDX-License-Identifier: GPL-2.0-only
2 #include <linux/acpi.h>
3 #include <linux/export.h>
5 #include "../internal.h"
7 #define SMCCC_SOC_ID_T241 0x036b0241
9 int acpi_arch_thermal_cpufreq_pctg(void)
11 s32 soc_id = arm_smccc_get_soc_id_version();
14 * Check JEP106 code for NVIDIA Tegra241 chip (036b:0241) and
15 * reduce the CPUFREQ Thermal reduction percentage to 5%.
17 if (soc_id == SMCCC_SOC_ID_T241)
18 return 5;
20 return 0;
22 EXPORT_SYMBOL_GPL(acpi_arch_thermal_cpufreq_pctg);