]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
pinctrl: samsung: Fix gs101 irq chip
authorPeter Griffin <peter.griffin@linaro.org>
Wed, 2 Jul 2025 12:15:24 +0000 (13:15 +0100)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sat, 5 Jul 2025 07:35:22 +0000 (09:35 +0200)
When adding the dedicated gs101_wkup_irq_chip struct to support the eint
wakeup mask the .eint_con, eint_mask and .eint_pend fields were missed. The
result is that irqs on gs101 for the buttons etc are broken.

Reported-by: André Draszik <andre.draszik@linaro.org>
Fixes: 2642f55d44ce ("pinctrl: samsung: add support for gs101 wakeup mask programming")
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Tested-by: André Draszik <andre.draszik@linaro.org>
Link: https://lore.kernel.org/r/20250702-fix-gs101-irqchip-v1-1-ccc84b44ad72@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
drivers/pinctrl/samsung/pinctrl-exynos.c

index 5554768d465fe0d8bf6e423b2e835965cde5d8f5..81fe0b08a9af5682421e5a5533a6cb4c9561cd24 100644 (file)
@@ -665,6 +665,9 @@ static const struct exynos_irq_chip gs101_wkup_irq_chip __initconst = {
                .irq_request_resources = exynos_irq_request_resources,
                .irq_release_resources = exynos_irq_release_resources,
        },
+       .eint_con = EXYNOS7_WKUP_ECON_OFFSET,
+       .eint_mask = EXYNOS7_WKUP_EMASK_OFFSET,
+       .eint_pend = EXYNOS7_WKUP_EPEND_OFFSET,
        .eint_num_wakeup_reg = 3,
        .eint_wake_mask_reg = GS101_EINT_WAKEUP_MASK,
        .set_eint_wakeup_mask = gs101_pinctrl_set_eint_wakeup_mask,