Re: [PATCH] dt-bindings: input: mediatek,mt6779-keypad: add the MT8173 keypad

From: Mattijs Korpershoek

Date: Wed Sep 16 2026 - 03:44:24 EST


Hi Ryan,

Thank you for the patch.

On Tue, Sep 15, 2026 at 22:47, Ryan Brue <ryanbrue.dev@xxxxxxxxx> wrote:

> MT8173's keypad controller is the same block this driver already handles.
> Its register map agrees offset for offset with the MT6779 one -- STA 0x00,
> MEM1..MEM5 0x04..0x14, DEBOUNCE 0x18, SEL 0x20, EN 0x24 -- and
> mt6779-keypad drives it with no code change, so the node only needs the
> fallback compatible in second position. Add the mt8173 string to the
> existing enum, which is what mt6873, mt8183, mt8365 and mt8516 already do.
>
> Verified on an MT8173 board (Amazon Fire HD 10 2017): the volume rocker
> reports through mt6779-keypad with no driver modification.
>
> Assisted-by: LLM
> Signed-off-by: Ryan Brue <ryanbrue.dev@xxxxxxxxx>

Reviewed-by: Mattijs Korpershoek <mkorpershoek@xxxxxxxxxx>