Skip to content

Commit 8a243d9

Browse files
matte-schwartzij-intel
authored andcommitted
platform/x86: asus-armoury: add support for GZ302EA and GZ302EAC
Add TDP data for tablet models GZ302EA and GZ302EAC. Signed-off-by: Matthew Schwartz <[email protected]> Reviewed-by: Denis Benato <[email protected]> Link: https://patch.msgid.link/[email protected] Reviewed-by: Ilpo Järvinen <[email protected]> Signed-off-by: Ilpo Järvinen <[email protected]>
1 parent 0198d27 commit 8a243d9

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

drivers/platform/x86/asus-armoury.h

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1532,6 +1532,35 @@ static const struct dmi_system_id power_limits[] = {
15321532
},
15331533
},
15341534
},
1535+
{
1536+
.matches = {
1537+
DMI_MATCH(DMI_BOARD_NAME, "GZ302EA"),
1538+
},
1539+
.driver_data = &(struct power_data) {
1540+
.ac_data = &(struct power_limits) {
1541+
.ppt_pl1_spl_min = 28,
1542+
.ppt_pl1_spl_def = 60,
1543+
.ppt_pl1_spl_max = 80,
1544+
.ppt_pl2_sppt_min = 32,
1545+
.ppt_pl2_sppt_def = 75,
1546+
.ppt_pl2_sppt_max = 92,
1547+
.ppt_pl3_fppt_min = 45,
1548+
.ppt_pl3_fppt_def = 86,
1549+
.ppt_pl3_fppt_max = 93,
1550+
},
1551+
.dc_data = &(struct power_limits) {
1552+
.ppt_pl1_spl_min = 28,
1553+
.ppt_pl1_spl_def = 45,
1554+
.ppt_pl1_spl_max = 80,
1555+
.ppt_pl2_sppt_min = 32,
1556+
.ppt_pl2_sppt_def = 52,
1557+
.ppt_pl2_sppt_max = 92,
1558+
.ppt_pl3_fppt_min = 45,
1559+
.ppt_pl3_fppt_def = 71,
1560+
.ppt_pl3_fppt_max = 93,
1561+
},
1562+
},
1563+
},
15351564
{
15361565
.matches = {
15371566
DMI_MATCH(DMI_BOARD_NAME, "G513I"),

0 commit comments

Comments
 (0)