* [PATCH v4 0/2] watchdog: Add Exynos5515 watchdog timer support
@ 2026-08-21 15:14 Aiden Isik via B4 Relay
2026-08-21 15:14 ` [PATCH v4 1/2] dt-bindings: watchdog: samsung-wdt: Add exynos5515-wdt compatible Aiden Isik via B4 Relay
2026-08-21 15:14 ` [PATCH v4 2/2] watchdog: s3c2410_wdt: Add exynos5515-wdt compatible data Aiden Isik via B4 Relay
0 siblings, 2 replies; 7+ messages in thread
From: Aiden Isik via B4 Relay @ 2026-08-21 15:14 UTC (permalink / raw)
To: Wim Van Sebroeck, Guenter Roeck, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Peter Griffin, Alim Akhtar
Cc: Krzysztof Kozlowski, linux-watchdog, devicetree, linux-kernel,
linux-arm-kernel, linux-samsung-soc, Aiden Isik
Hi there,
This patchset adds support for the Exynos5515 SoC's watchdog timer
to the S3C2410 watchdog timer driver.
There is one checkpatch warning for this patchset:
> -------------------------------------------------------------------------
> Commit 8f4ec3a9b89b ("watchdog: s3c2410_wdt: Add exynos5515-wdt compatibl
> -------------------------------------------------------------------------
> WARNING: Avoid unnecessary line continuations
> #26: FILE: drivers/watchdog/s3c2410_wdt.c:240:
> + .quirks = QUIRK_HAS_WTCLRINT_REG | QUIRK_HAS_PMU_MASK_RESET | \
Which seems to be erroneous: this line continuation is necessary
(and is done by every other existing entry).
Signed-off-by: Aiden Isik <aidenisik@member.fsf.org>
---
Changes in v4:
- Add comment and commit message explaining why QUIRK_HAS_PMU_CNT_EN is not set
- Link to v3: https://patch.msgid.link/20260818-for-next-lucky7-watchdog-v3-0-2912bd122c57@member.fsf.org
Changes in v3:
- Set reset_mask_inv to true
- Remove erroneous QUIRK_HAS_PMU_AUTO_DISABLE flag
- Link to v2: https://patch.msgid.link/20260818-for-next-lucky7-watchdog-v2-0-6743f479a47f@member.fsf.org
Changes in v2:
- Add samsung,cluster-index: false to documentation
- Remove SoC comment from documentation
- Correct signed-off-by tag in commits
- Link to v1: https://patch.msgid.link/20260817-for-next-lucky7-watchdog-v1-0-a14370e20b92@member.fsf.org
To: Wim Van Sebroeck <wim@linux-watchdog.org>
To: Guenter Roeck <linux@roeck-us.net>
To: Rob Herring <robh@kernel.org>
To: Krzysztof Kozlowski <krzk+dt@kernel.org>
To: Conor Dooley <conor+dt@kernel.org>
To: Peter Griffin <peter.griffin@linaro.org>
To: Alim Akhtar <alim.akhtar@samsung.com>
Cc: Krzysztof Kozlowski <krzk@kernel.org>
Cc: linux-watchdog@vger.kernel.org
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-samsung-soc@vger.kernel.org
---
Aiden Isik (2):
dt-bindings: watchdog: samsung-wdt: Add exynos5515-wdt compatible
watchdog: s3c2410_wdt: Add exynos5515-wdt compatible data
.../devicetree/bindings/watchdog/samsung-wdt.yaml | 23 +++++++++++++++++++++-
drivers/watchdog/s3c2410_wdt.c | 16 +++++++++++++++
2 files changed, 38 insertions(+), 1 deletion(-)
---
base-commit: acde40ba506aae78633e080b5704d33cf4bc13c6
change-id: 20260815-for-next-lucky7-watchdog-32bfb51191f1
Best regards,
--
Aiden Isik <aidenisik@member.fsf.org>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH v4 1/2] dt-bindings: watchdog: samsung-wdt: Add exynos5515-wdt compatible
2026-08-21 15:14 [PATCH v4 0/2] watchdog: Add Exynos5515 watchdog timer support Aiden Isik via B4 Relay
@ 2026-08-21 15:14 ` Aiden Isik via B4 Relay
2026-08-27 12:12 ` Krzysztof Kozlowski
2026-08-27 13:49 ` Guenter Roeck
2026-08-21 15:14 ` [PATCH v4 2/2] watchdog: s3c2410_wdt: Add exynos5515-wdt compatible data Aiden Isik via B4 Relay
1 sibling, 2 replies; 7+ messages in thread
From: Aiden Isik via B4 Relay @ 2026-08-21 15:14 UTC (permalink / raw)
To: Wim Van Sebroeck, Guenter Roeck, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Peter Griffin, Alim Akhtar
Cc: Krzysztof Kozlowski, linux-watchdog, devicetree, linux-kernel,
linux-arm-kernel, linux-samsung-soc, Aiden Isik
From: Aiden Isik <aidenisik@member.fsf.org>
Add a dt-binding compatible for the Exynos5515 watchdog timer.
This watchdog requires a syscon phandle, and the cluster index should
*not* be specified, as that does not make sense on the Exynos5515 SoC
(due to it only having a single core cluster).
Signed-off-by: Aiden Isik <aidenisik@member.fsf.org>
---
.../devicetree/bindings/watchdog/samsung-wdt.yaml | 23 +++++++++++++++++++++-
1 file changed, 22 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml b/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml
index 41aee1655b0c..a32c47831577 100644
--- a/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml
+++ b/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml
@@ -22,6 +22,7 @@ properties:
- samsung,s3c6410-wdt # for S3C6410, S5PV210 and Exynos4
- samsung,exynos5250-wdt # for Exynos5250
- samsung,exynos5420-wdt # for Exynos5420
+ - samsung,exynos5515-wdt
- samsung,exynos7-wdt # for Exynos7
- samsung,exynos850-wdt # for Exynos850
- samsung,exynos990-wdt # for Exynos990
@@ -57,7 +58,7 @@ properties:
$ref: /schemas/types.yaml#/definitions/phandle
description:
Phandle to the PMU system controller node (in case of Exynos5250,
- Exynos5420, Exynos7, Exynos850, Exynos990 and gs101).
+ Exynos5420, Exynos5515, Exynos7, Exynos850, Exynos990 and gs101).
required:
- compatible
@@ -93,6 +94,26 @@ allOf:
- samsung,cluster-index
- samsung,syscon-phandle
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - samsung,exynos5515-wdt
+ then:
+ properties:
+ clocks:
+ items:
+ - description: Bus clock, used for register interface
+ - description: Source clock (driving watchdog counter)
+ clock-names:
+ items:
+ - const: watchdog
+ - const: watchdog_src
+ samsung,cluster-index: false
+ required:
+ - samsung,syscon-phandle
+
- if:
properties:
compatible:
--
2.54.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH v4 2/2] watchdog: s3c2410_wdt: Add exynos5515-wdt compatible data
2026-08-21 15:14 [PATCH v4 0/2] watchdog: Add Exynos5515 watchdog timer support Aiden Isik via B4 Relay
2026-08-21 15:14 ` [PATCH v4 1/2] dt-bindings: watchdog: samsung-wdt: Add exynos5515-wdt compatible Aiden Isik via B4 Relay
@ 2026-08-21 15:14 ` Aiden Isik via B4 Relay
2026-08-27 12:12 ` Krzysztof Kozlowski
2026-08-27 13:51 ` Guenter Roeck
1 sibling, 2 replies; 7+ messages in thread
From: Aiden Isik via B4 Relay @ 2026-08-21 15:14 UTC (permalink / raw)
To: Wim Van Sebroeck, Guenter Roeck, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Peter Griffin, Alim Akhtar
Cc: Krzysztof Kozlowski, linux-watchdog, devicetree, linux-kernel,
linux-arm-kernel, linux-samsung-soc, Aiden Isik
From: Aiden Isik <aidenisik@member.fsf.org>
Add driver data for the Exynos5515 SoC's watchdog timer.
Unlike similar SoCs such as GS101 or Exynos990, Exynos5515's PMU does
not require explicit counter enablement for the watchdog to tick.
Signed-off-by: Aiden Isik <aidenisik@member.fsf.org>
---
drivers/watchdog/s3c2410_wdt.c | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/drivers/watchdog/s3c2410_wdt.c b/drivers/watchdog/s3c2410_wdt.c
index e31f93db0509..e61439a3f4b2 100644
--- a/drivers/watchdog/s3c2410_wdt.c
+++ b/drivers/watchdog/s3c2410_wdt.c
@@ -232,6 +232,20 @@ static const struct s3c2410_wdt_variant drv_data_exynos5420 = {
QUIRK_HAS_PMU_RST_STAT | QUIRK_HAS_PMU_AUTO_DISABLE,
};
+/*
+ * Unlike similar SoCs like GS101, Exynos5515's PMU does not require
+ * explicit counter enablement. Hence, QUIRK_HAS_PMU_CNT_EN is not set.
+ */
+static const struct s3c2410_wdt_variant drv_data_exynos5515 = {
+ .mask_reset_reg = EXYNOSAUTOV920_CLUSTER0_NONCPU_INT_EN,
+ .mask_bit = 2,
+ .mask_reset_inv = true,
+ .rst_stat_reg = EXYNOS5_RST_STAT_REG_OFFSET,
+ .rst_stat_bit = 24,
+ .quirks = QUIRK_HAS_WTCLRINT_REG | QUIRK_HAS_PMU_MASK_RESET | \
+ QUIRK_HAS_PMU_RST_STAT | QUIRK_HAS_DBGACK_BIT,
+};
+
static const struct s3c2410_wdt_variant drv_data_exynos7 = {
.disable_reg = EXYNOS5_WDT_DISABLE_REG_OFFSET,
.mask_reset_reg = EXYNOS5_WDT_MASK_RESET_REG_OFFSET,
@@ -379,6 +393,8 @@ static const struct of_device_id s3c2410_wdt_match[] = {
.data = &drv_data_exynos5250 },
{ .compatible = "samsung,exynos5420-wdt",
.data = &drv_data_exynos5420 },
+ { .compatible = "samsung,exynos5515-wdt",
+ .data = &drv_data_exynos5515 },
{ .compatible = "samsung,exynos7-wdt",
.data = &drv_data_exynos7 },
{ .compatible = "samsung,exynos850-wdt",
--
2.54.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH v4 1/2] dt-bindings: watchdog: samsung-wdt: Add exynos5515-wdt compatible
2026-08-21 15:14 ` [PATCH v4 1/2] dt-bindings: watchdog: samsung-wdt: Add exynos5515-wdt compatible Aiden Isik via B4 Relay
@ 2026-08-27 12:12 ` Krzysztof Kozlowski
2026-08-27 13:49 ` Guenter Roeck
1 sibling, 0 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2026-08-27 12:12 UTC (permalink / raw)
To: Aiden Isik
Cc: Wim Van Sebroeck, Guenter Roeck, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Peter Griffin, Alim Akhtar, linux-watchdog,
devicetree, linux-kernel, linux-arm-kernel, linux-samsung-soc
On Fri, Aug 21, 2026 at 04:14:49PM +0100, Aiden Isik wrote:
> Add a dt-binding compatible for the Exynos5515 watchdog timer.
>
> This watchdog requires a syscon phandle, and the cluster index should
> *not* be specified, as that does not make sense on the Exynos5515 SoC
> (due to it only having a single core cluster).
>
> Signed-off-by: Aiden Isik <aidenisik@member.fsf.org>
> ---
> .../devicetree/bindings/watchdog/samsung-wdt.yaml | 23 +++++++++++++++++++++-
> 1 file changed, 22 insertions(+), 1 deletion(-)
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v4 2/2] watchdog: s3c2410_wdt: Add exynos5515-wdt compatible data
2026-08-21 15:14 ` [PATCH v4 2/2] watchdog: s3c2410_wdt: Add exynos5515-wdt compatible data Aiden Isik via B4 Relay
@ 2026-08-27 12:12 ` Krzysztof Kozlowski
2026-08-27 13:51 ` Guenter Roeck
1 sibling, 0 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2026-08-27 12:12 UTC (permalink / raw)
To: Aiden Isik
Cc: Wim Van Sebroeck, Guenter Roeck, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Peter Griffin, Alim Akhtar, linux-watchdog,
devicetree, linux-kernel, linux-arm-kernel, linux-samsung-soc
On Fri, Aug 21, 2026 at 04:14:50PM +0100, Aiden Isik wrote:
> Add driver data for the Exynos5515 SoC's watchdog timer.
>
> Unlike similar SoCs such as GS101 or Exynos990, Exynos5515's PMU does
> not require explicit counter enablement for the watchdog to tick.
>
> Signed-off-by: Aiden Isik <aidenisik@member.fsf.org>
> ---
> drivers/watchdog/s3c2410_wdt.c | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v4 1/2] dt-bindings: watchdog: samsung-wdt: Add exynos5515-wdt compatible
2026-08-21 15:14 ` [PATCH v4 1/2] dt-bindings: watchdog: samsung-wdt: Add exynos5515-wdt compatible Aiden Isik via B4 Relay
2026-08-27 12:12 ` Krzysztof Kozlowski
@ 2026-08-27 13:49 ` Guenter Roeck
1 sibling, 0 replies; 7+ messages in thread
From: Guenter Roeck @ 2026-08-27 13:49 UTC (permalink / raw)
To: Aiden Isik
Cc: Wim Van Sebroeck, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Peter Griffin, Alim Akhtar, Krzysztof Kozlowski, linux-watchdog,
devicetree, linux-kernel, linux-arm-kernel, linux-samsung-soc
On Fri, Aug 21, 2026 at 04:14:49PM +0100, Aiden Isik wrote:
> From: Aiden Isik <aidenisik@member.fsf.org>
>
> Add a dt-binding compatible for the Exynos5515 watchdog timer.
>
> This watchdog requires a syscon phandle, and the cluster index should
> *not* be specified, as that does not make sense on the Exynos5515 SoC
> (due to it only having a single core cluster).
>
> Signed-off-by: Aiden Isik <aidenisik@member.fsf.org>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Applied.
Thanks,
Guenter
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v4 2/2] watchdog: s3c2410_wdt: Add exynos5515-wdt compatible data
2026-08-21 15:14 ` [PATCH v4 2/2] watchdog: s3c2410_wdt: Add exynos5515-wdt compatible data Aiden Isik via B4 Relay
2026-08-27 12:12 ` Krzysztof Kozlowski
@ 2026-08-27 13:51 ` Guenter Roeck
1 sibling, 0 replies; 7+ messages in thread
From: Guenter Roeck @ 2026-08-27 13:51 UTC (permalink / raw)
To: Aiden Isik
Cc: Wim Van Sebroeck, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Peter Griffin, Alim Akhtar, Krzysztof Kozlowski, linux-watchdog,
devicetree, linux-kernel, linux-arm-kernel, linux-samsung-soc
On Fri, Aug 21, 2026 at 04:14:50PM +0100, Aiden Isik wrote:
> From: Aiden Isik <aidenisik@member.fsf.org>
>
> Add driver data for the Exynos5515 SoC's watchdog timer.
>
> Unlike similar SoCs such as GS101 or Exynos990, Exynos5515's PMU does
> not require explicit counter enablement for the watchdog to tick.
>
> Signed-off-by: Aiden Isik <aidenisik@member.fsf.org>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Applied.
Thanks,
Guenter
> ---
> drivers/watchdog/s3c2410_wdt.c | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
>
> diff --git a/drivers/watchdog/s3c2410_wdt.c b/drivers/watchdog/s3c2410_wdt.c
> index e31f93db0509..e61439a3f4b2 100644
> --- a/drivers/watchdog/s3c2410_wdt.c
> +++ b/drivers/watchdog/s3c2410_wdt.c
> @@ -232,6 +232,20 @@ static const struct s3c2410_wdt_variant drv_data_exynos5420 = {
> QUIRK_HAS_PMU_RST_STAT | QUIRK_HAS_PMU_AUTO_DISABLE,
> };
>
> +/*
> + * Unlike similar SoCs like GS101, Exynos5515's PMU does not require
> + * explicit counter enablement. Hence, QUIRK_HAS_PMU_CNT_EN is not set.
> + */
> +static const struct s3c2410_wdt_variant drv_data_exynos5515 = {
> + .mask_reset_reg = EXYNOSAUTOV920_CLUSTER0_NONCPU_INT_EN,
> + .mask_bit = 2,
> + .mask_reset_inv = true,
> + .rst_stat_reg = EXYNOS5_RST_STAT_REG_OFFSET,
> + .rst_stat_bit = 24,
> + .quirks = QUIRK_HAS_WTCLRINT_REG | QUIRK_HAS_PMU_MASK_RESET | \
> + QUIRK_HAS_PMU_RST_STAT | QUIRK_HAS_DBGACK_BIT,
> +};
> +
> static const struct s3c2410_wdt_variant drv_data_exynos7 = {
> .disable_reg = EXYNOS5_WDT_DISABLE_REG_OFFSET,
> .mask_reset_reg = EXYNOS5_WDT_MASK_RESET_REG_OFFSET,
> @@ -379,6 +393,8 @@ static const struct of_device_id s3c2410_wdt_match[] = {
> .data = &drv_data_exynos5250 },
> { .compatible = "samsung,exynos5420-wdt",
> .data = &drv_data_exynos5420 },
> + { .compatible = "samsung,exynos5515-wdt",
> + .data = &drv_data_exynos5515 },
> { .compatible = "samsung,exynos7-wdt",
> .data = &drv_data_exynos7 },
> { .compatible = "samsung,exynos850-wdt",
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2026-08-27 13:51 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-21 15:14 [PATCH v4 0/2] watchdog: Add Exynos5515 watchdog timer support Aiden Isik via B4 Relay
2026-08-21 15:14 ` [PATCH v4 1/2] dt-bindings: watchdog: samsung-wdt: Add exynos5515-wdt compatible Aiden Isik via B4 Relay
2026-08-27 12:12 ` Krzysztof Kozlowski
2026-08-27 13:49 ` Guenter Roeck
2026-08-21 15:14 ` [PATCH v4 2/2] watchdog: s3c2410_wdt: Add exynos5515-wdt compatible data Aiden Isik via B4 Relay
2026-08-27 12:12 ` Krzysztof Kozlowski
2026-08-27 13:51 ` Guenter Roeck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox