platform: Add platform configuration for ROG Ally and ROG Ally X

Both the ROG Ally and ROG Ally X share the same performance profiles
and platform controls, so we can use a single toml file for both devices.
This commit is contained in:
Matthew Schwartz 2025-05-27 21:06:37 -07:00
parent 2f7c83d663
commit 65ee50f841
2 changed files with 14 additions and 0 deletions

View file

@ -0,0 +1,12 @@
[performance_profile]
platform_profile_name = "asus-wmi"
# until custom mode is added
suggested_default = "performance"
[tdp_limit]
method = "firmware_attribute"
[tdp_limit.firmware_attribute]
attribute = "asus-armoury"
# until custom mode is added
performance_profile = "performance"

View file

@ -167,6 +167,8 @@ impl PlatformConfig {
DeviceType::SteamDeck => "jupiter",
DeviceType::LegionGo => "legion-go-series",
DeviceType::LegionGoS => "legion-go-series",
DeviceType::RogAlly => "rog-ally-series",
DeviceType::RogAllyX => "rog-ally-series",
_ => return Ok(None),
};
let config = read_to_string(format!(