summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorPatryk Pilichowski <pat.pilichowski@gmail.com>2026-09-25 14:56:28 +0200
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2026-10-13 12:03:34 +0300
commitc61adb22fef8a6ba16fa2c040ca45479877ff124 (patch)
treece0df56d200ce5976fce43481f989f98919df05b /drivers
parent4c73df98adedc00963b6a45101a112c9ff5c2e16 (diff)
downloadlinux-c61adb22fef8a6ba16fa2c040ca45479877ff124.tar.gz
linux-c61adb22fef8a6ba16fa2c040ca45479877ff124.zip
platform/x86: msi-ec: Add MSI Katana 15 B13VFK EC firmware
Add the EC firmware string '1585EMS1.115' to ALLOWED_FW_10. This enables battery charge thresholds on the MSI Katana 15 B13VFK (MS-1585). The out-of-tree msi-ec driver groups this firmware with 1582EMS1.107 and 1583EMS1.109, which are already in ALLOWED_FW_10. An independent report for the same model and firmware confirms the same charge control encoding. Tested on MSI Katana 15 B13VFK with EC firmware 1585EMS1.115: writing charge_control_end_threshold updates EC register 0xd7 as expected (80 -> 0xd0, 100 -> 0xe4). With AC connected and the battery at 87%, the battery was charging with the threshold at 100; writing 80 stopped charging ("Not charging"). Charging resumes 10% below the end threshold, which matches charge_control_start_threshold. Keyboard backlight (0xd3) and cooler boost (0x98) also match this configuration. Link: https://github.com/BeardOverflow/msi-ec/issues/185 Signed-off-by: Patryk Pilichowski <pat.pilichowski@gmail.com> Link: https://patch.msgid.link/20260925125628.69826-1-pat.pilichowski@gmail.com Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/platform/x86/msi-ec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/msi-ec.c b/drivers/platform/x86/msi-ec.c
index 268b24c781c9..86d4880474ad 100644
--- a/drivers/platform/x86/msi-ec.c
+++ b/drivers/platform/x86/msi-ec.c
@@ -826,6 +826,7 @@ static struct msi_ec_conf CONF9 __initdata = {
static const char * const ALLOWED_FW_10[] __initconst = {
"1582EMS1.107", // GF66 11UC
"1583EMS1.109", // Pulse GL66 12UEK
+ "1585EMS1.115", // Katana 15 B13VFK
NULL
};