platform/x86: msi-ec: Add MSI Katana 15 B13VFK EC firmware
Subsystems (2)
PATCH 1/1 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.
--- drivers/platform/x86/msi-ec.c | 1 + 1 file changed, 1 insertion(+)
drivers/platform/x86/msi-ec.c +1 -0
@@ -825,6 +825,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 };
base-commit: f475845eaf3d749114a63270bf2efea459e14dd2
Signature · 1 line
2.55.0
Ilpo Järvinen
maintainerQuoted 10 lines · Patryk Pilichowski
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.[...]
Thank you for your contribution, it has been applied to my local review-ilpo-next branch. Note it will show up in the public platform-drivers-x86/review-ilpo-next branch only once I've pushed my local branch there, which might take a while.
FYI [if applicable to your patch], as per Linus' policy change, also fixes are mostly routed through for-next unless the fix is for a commit introduced in the most recent cycle or is clearly a regression fix.
The list of commits applied:
[1/1] platform/x86: msi-ec: Add MSI Katana 15 B13VFK EC firmware
commit: 25143e0d2be3a1ea74d62e0ec2c7e42967267f0f
--
i.