Re: [PATCH] platform/x86: asus-armoury: add power limits quirk for G614FM

From: Ilpo Järvinen

Date: Fri Sep 18 2026 - 13:37:04 EST


On Fri, 28 Aug 2026, Marco Scardovi wrote:

> add power limits quirk entry for ASUS G614FM laptop.
> The limits are extracted from the device's ThrottleGear XML configuration.
>
> Signed-off-by: Marco Scardovi <scardracs@xxxxxxxxxxx>
> ---
> drivers/platform/x86/asus-armoury.h | 31 changes(+/-)
> 1 file changed, 31 insertions(+), 0 deletions(-)
>
> --- a/drivers/platform/x86/asus-armoury.h
> +++ b/drivers/platform/x86/asus-armoury.h
> @@ -1056,6 +1056,37 @@
> .requires_fan_curve = true,
> },
> },
> + {
> + .matches = {
> + DMI_EXACT_MATCH(DMI_BOARD_NAME, "G614FM"),

So far, this file has only used DMI_MATCH() ?

The entry seems to be in wrong place.

And indentation level is inconsistent as well.

> + },
> + .driver_data = &(struct power_data) {
> + .ac_data = &(struct power_limits) {
> + .nv_dynamic_boost_max = 15,
> + .nv_dynamic_boost_min = 5,
> + .nv_temp_target_max = 87,
> + .nv_temp_target_min = 75,
> + .ppt_pl1_spl_max = 120,
> + .ppt_pl1_spl_min = 30,
> + .ppt_pl2_sppt_def = 140,
> + .ppt_pl2_sppt_max = 165,
> + .ppt_pl2_sppt_min = 65,
> + .ppt_pl3_fppt_def = 140,
> + .ppt_pl3_fppt_max = 165,
> + .ppt_pl3_fppt_min = 65,
> + },
> + .dc_data = &(struct power_limits) {
> + .nv_temp_target_max = 87,
> + .nv_temp_target_min = 75,
> + .ppt_pl1_spl_max = 65,
> + .ppt_pl1_spl_min = 25,
> + .ppt_pl2_sppt_max = 65,
> + .ppt_pl2_sppt_min = 25,
> + .ppt_pl3_fppt_max = 75,
> + .ppt_pl3_fppt_min = 35,
> + },
> + },
> + },
> {
> .matches = {
> DMI_MATCH(DMI_BOARD_NAME, "GA401Q"),
>

--
i.