Files
ack-tegra/include/linux
Luke D. Jones f99eb09809 platform/x86: asus-armoury: move existing tunings to asus-armoury module
The fw_attributes_class provides a much cleaner interface to all of the
attributes introduced to asus-wmi. This patch moves all of these extra
attributes over to fw_attributes_class, and shifts the bulk of these
definitions to a new kernel module to reduce the clutter of asus-wmi
with the intention of deprecating the asus-wmi attributes in future.

The work applies only to WMI methods which don't have a clearly defined
place within the sysfs and as a result ended up lumped together in
/sys/devices/platform/asus-nb-wmi/ with no standard API.

Where possible the fw attrs now implement defaults, min, max, scalar,
choices, etc. As en example dgpu_disable becomes:

/sys/class/firmware-attributes/asus-armoury/attributes/dgpu_disable/
├── current_value
├── display_name
├── possible_values
└── type

as do other attributes.

Co-developed-by: Denis Benato <denis.benato@linux.dev>
Signed-off-by: Denis Benato <denis.benato@linux.dev>
Signed-off-by: Luke D. Jones <luke@ljones.dev>
Link: https://patch.msgid.link/20251102215319.3126879-3-denis.benato@linux.dev
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
2025-11-12 14:21:08 +02:00
..
…
…
…
…
2025-09-24 17:09:47 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2025-09-05 15:06:03 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2025-09-10 05:23:45 -06:00
…
…
…
…
…
…
…
…
…
2025-09-24 02:48:05 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2025-08-14 10:37:33 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2025-09-23 11:13:22 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2025-08-21 13:58:07 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2025-09-13 17:32:44 -07:00
…
…
…
…
…
2025-08-29 13:39:53 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2025-08-02 12:06:10 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2025-09-18 10:17:09 +02:00
…
…
…
…
…
…
…
2025-09-23 11:13:22 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2025-09-13 16:54:50 -07:00
…
…
…
…
…
…
…
2025-09-17 15:58:29 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2025-09-23 13:28:20 -04:00
…
…
…
…
…
…
2025-09-19 14:26:16 +02:00
2025-09-25 09:23:47 +02:00
…
…
…
…
…
…
…
…
…
2025-08-18 14:23:09 +02:00
2025-08-18 14:23:09 +02:00
…
…
…
…
…
…
…
…
2025-10-01 07:55:42 -05:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2025-10-03 12:13:12 -05:00
…
…
…
…
2025-09-13 16:55:07 -07:00
…
2025-10-03 10:24:14 -07:00
…
…
…
…
…
…
…
…
…
…
…
2025-08-24 11:41:11 -06:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2025-08-28 13:14:50 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2025-09-19 17:19:45 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2025-08-17 12:46:25 +02:00
…
…
…
…
…
…
2025-09-09 10:27:01 -06:00
…
…
…
…
…
…
…
2025-10-01 07:24:55 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2025-08-02 12:01:37 -07:00
…
…
…
…
…
…
…
…