This patchset adds the support of the MT6359 PMIC keys (Power and Home) that can be found on the Mediatek Genio 510, 700 and 1200 EVK boards by: - adding the MT6359 SoC support in the mtk-pmic-keys driver - completing the existing definitions (only the Power key support was present) in Genio 510/700 EVK board common devicetree include file (mt8390-genio-common.dtsi) - add the needed definitions in Genio 1200 EVK board devicetree (mt8395-genio-1200-evk.dts) I've tested this patchset on Mediatek Genio 1200-EVK board with a kernel based on linux-next (tag: next-20250703) plus [1] patch. Output of evtest tool: ``` No device specified, trying to scan all of /dev/input/event* Available devices: /dev/input/event0: mtk-pmic-keys /dev/input/event1: gpio-keys /dev/input/event2: Logitech USB Receiver /dev/input/event3: Logitech USB Receiver Mouse /dev/input/event4: Logitech USB Receiver Consumer Control /dev/input/event5: Logitech USB Receiver System Control /dev/input/event6: Goodix Capacitive TouchScreen Select the device event number [0-6]: 0 Input driver version is 1.0.1 Input device ID: bus 0x19 vendor 0x1 product 0x1 version 0x1 Input device name: "mtk-pmic-keys" Supported events: Event type 0 (EV_SYN) Event type 1 (EV_KEY) Event code 102 (KEY_HOME) Event code 116 (KEY_POWER) Properties: Testing ... (interrupt to exit) Event: time 1751548607.957644, type 1 (EV_KEY), code 102 (KEY_HOME), value 1 Event: time 1751548607.957644, -------------- SYN_REPORT ------------ Event: time 1751548620.030611, type 1 (EV_KEY), code 116 (KEY_POWER), value 1 Event: time 1751548620.030611, -------------- SYN_REPORT --- ``` [1] https://lore.kernel.org/linux-mediatek/r4k3pgd3ew3ypne7ernxuzwgniiyvzosbce4cfajbcu7equblt@yato35tjb3lw/ Signed-off-by: Louis-Alexis Eyraud <louisalexis.eyraud@xxxxxxxxxxxxx> --- Louis-Alexis Eyraud (3): Input: mtk-pmic-keys - add support for MT6359 PMIC keys arm64: dts: mediatek: mt8390-genio-common: Add Home MT6359 PMIC key support arm64: dts: mediatek: mt8395-genio-1200-evk: Add MT6359 PMIC key support arch/arm64/boot/dts/mediatek/mt8390-genio-common.dtsi | 4 ++++ arch/arm64/boot/dts/mediatek/mt8395-genio-1200-evk.dts | 15 +++++++++++++++ drivers/input/keyboard/mtk-pmic-keys.c | 17 +++++++++++++++++ 3 files changed, 36 insertions(+) --- base-commit: b803ad80123e6efccfeeffa7cd37f98f642e37f4 change-id: 20250703-add-mt6359-pmic-keys-support-d08019d8d3c1 Best regards, -- Louis-Alexis Eyraud <louisalexis.eyraud@xxxxxxxxxxxxx>