Unverified Commit df1e0b20 authored by Denis Benato's avatar Denis Benato Committed by Ilpo Järvinen
Browse files

platform/x86: asus-armoury: add support for FA401EA

parent 239c7acb
Loading
Loading
Loading
Loading
+23 −0
Original line number Diff line number Diff line
@@ -346,6 +346,29 @@ struct power_data {
 * _def is not required and will be assumed to be default == max if missing.
 */
static const struct dmi_system_id power_limits[] = {
	{
		.matches = {
			DMI_MATCH(DMI_BOARD_NAME, "FA401EA"),
		},
		.driver_data = &(struct power_data) {
			.ac_data = &(struct power_limits) {
				.ppt_pl1_spl_min = 15,
				.ppt_pl1_spl_max = 95,
				.ppt_pl2_sppt_min = 35,
				.ppt_pl2_sppt_max = 100,
				.ppt_pl3_fppt_min = 35,
				.ppt_pl3_fppt_max = 115,
			},
			.dc_data = &(struct power_limits) {
				.ppt_pl1_spl_min = 15,
				.ppt_pl1_spl_max = 71,
				.ppt_pl2_sppt_min = 35,
				.ppt_pl2_sppt_max = 71,
				.ppt_pl3_fppt_min = 35,
				.ppt_pl3_fppt_max = 71,
			},
		},
	},
	{
		.matches = {
			DMI_MATCH(DMI_BOARD_NAME, "FA401UM"),