Re: [PATCH 2/3] platform: arm64: Add driver for Lenovo Yoga Slim 7x's EC

From: György Kurucz
Date: Sat Sep 28 2024 - 06:35:17 EST


Dear Maya,

For now it supports only reporting that the AP is going to suspend and
the microphone mute button, however the EC seems to also support reading
fan information, other key combinations and thermal data.

I tested the following:
- When I suspend the laptop, the keyboard backlight turns off, and the power button LED starts blinking.
- When I press the Fn+F4 key combo, the KEY_MICMUTE event is correctly reported to userspace.

+// These are the registers that i know about available from SMBUS

+// These are the values in EC_IRQ_REASON_REG that i could find in DSDT

Nitpick: capitalize "I" if you create a v2

Tested-by: György Kurucz <me@xxxxxxxxxxxx>

Best regards,
György