twx-linux/include/linux/soc
Peter Griffin 2642f55d44 pinctrl: samsung: add support for gs101 wakeup mask programming
gs101 differs to other currently supported SoCs in that it has 3 wakeup
mask registers for the 67 external wakeup interrupt pins in alive and
far_alive.

EINT_WAKEUP_MASK  0x3A80 EINT[31:0]
EINT_WAKEUP_MASK2 0x3A84 EINT[63:32]
EINT_WAKEUP_MASK3 0x3A88 EINT[66:64]

Add gs101 specific callbacks and a dedicated gs101_wkup_irq_chip struct to
handle these differences.

The current wakeup mask with upstream is programmed as
WAKEUP_MASK0[0x3A80] value[0xFFFFFFFF]
WAKEUP_MASK1[0x3A84] value[0xF2FFEFFF]
WAKEUP_MASK2[0x3A88] value[0xFFFFFFFF]

Which corresponds to the following wakeup sources:
gpa7-3  vol down
gpa8-1  vol up
gpa10-1 power
gpa8-2  typec-int

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Link: https://lore.kernel.org/r/20250619-gs101-eint-mask-v1-2-89438cfd7499@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
2025-06-25 16:17:05 +02:00
..
actions
amlogic
andes
apple soc: apple: rtkit: Pass the crashlog to the crashed() callback 2025-02-18 17:59:11 +01:00
brcmstb
cirrus
dove
ixp4xx
marvell/octeontx2
mediatek net: ethernet: mtk_wed: annotate RCU release in attach() 2025-04-24 18:22:05 -07:00
mmp
nxp
pxa
qcom soc: qcom: llcc-qcom: Add support for SM8750 2025-05-12 22:26:21 +01:00
renesas
samsung pinctrl: samsung: add support for gs101 wakeup mask programming 2025-06-25 16:17:05 +02:00
sunxi
ti