watchdog: s3c2410_wdt: Add support for Google gs101 SoC
authorPeter Griffin <peter.griffin@linaro.org>
Mon, 11 Dec 2023 16:23:27 +0000 (16:23 +0000)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 13 Dec 2023 19:13:55 +0000 (20:13 +0100)
commit796bb2d3a16c1e786ed51183162783405b5c8f85
tree61606c355be7ff65b607964498f8f8b07b7d1baf
parentd429928dde2d7e3e98cbea5f170d089d10a45c39
watchdog: s3c2410_wdt: Add support for Google gs101 SoC

This patch adds the compatibles and drvdata for the Google
gs101 SoC found in Pixel 6, Pixel 6a & Pixel 6 pro phones.

Similar to Exynos850 it has two watchdog instances, one for
each cluster and has some control bits in PMU registers.

gs101 also has the dbgack_mask bit in wtcon register, so
we also enable QUIRK_HAS_DBGACK_BIT.

Tested-by: Will McVicker <willmcvicker@google.com>
Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20231211162331.435900-13-peter.griffin@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
drivers/watchdog/s3c2410_wdt.c