platform/x86: msi-ec: Add MSI GL65 Leopard 9SCXK EC firmware
Subsystems (2)
PATCH 1/1 platform/x86: msi-ec: Add MSI GL65 Leopard 9SCXK EC firmware
Add the firmware string '16U8EMS2.100' to the ALLOWED_FW_1 array. This enables Embedded Controller support, including battery charge thresholds, for the MSI GL65 Leopard 9SCXK (MS-16U8) laptop.
The EC memory layout of this firmware matches the existing config:
the CPU and GPU temperatures at 0x68 and 0x80 agree with coretemp and the NVIDIA driver, the fan mode at 0xf4 reads 0x0d (auto), and the charge control register is at 0xef.
Tested on MSI GL65 Leopard 9SCXK with EC firmware 16U8EMS2.100 and BIOS E16U8IMS.504: with AC connected and the battery at 18%, writing 10 to charge_control_end_threshold stops charging ("Not charging", 0 A), and writing 100 resumes it.
--- drivers/platform/x86/msi-ec.c | 1 + 1 file changed, 1 insertion(+)
drivers/platform/x86/msi-ec.c +1 -0
@@ -122,6 +122,7 @@ static const char * const ALLOWED_FW_1[] __initconst = {"17F2EMS1.104" ,"17F2EMS1.106" ,"17F2EMS1.107" , +"16U8EMS2.100" ,// MSI GL65 Leopard 9SCXK NULL };
Signature · 1 line
2.55.0
Ilpo Järvinen
maintainerQuoted 10 lines · Daasaradhi Mannava
Add the firmware string '16U8EMS2.100' to the
ALLOWED_FW_1array. This enables Embedded Controller support, including battery charge thresholds, for the MSI GL65 Leopard 9SCXK (MS-16U8) laptop.The EC memory layout of this firmware matches the existing config:
the CPU and GPU temperatures at0x68and0x80agree with coretemp and the NVIDIA driver, the fan mode at0xf4reads0x0d(auto), and the charge control register is at0xef.[...]
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 GL65 Leopard 9SCXK EC firmware
commit: 54bd3f238b2fcddedcc42d56e6518241021110ee
--
i.