* [PATCH v2 1/2] dt-bindings: watchdog: Add Exynos8855 watchdog compatible string [not found] <CGME20260927150938epcas5p33b7d0495f8d9a8e84bf5f09c66e757fb@epcas5p3.samsung.com> @ 2026-09-27 15:27 ` Alim Akhtar [not found] ` <CGME20260927150943epcas5p1fb1720070f2bdca2c6cd32094dde895c@epcas5p1.samsung.com> 2026-09-27 17:11 ` [PATCH v2 1/2] dt-bindings: watchdog: Add Exynos8855 watchdog compatible string Krzysztof Kozlowski 0 siblings, 2 replies; 3+ messages in thread From: Alim Akhtar @ 2026-09-27 15:27 UTC (permalink / raw) To: krzk, peter.griffin, robh, conor+dt, linusw Cc: linux-samsung-soc, linux-kernel, devicetree, linux-watchdog, linux, hajun.sung, wim, Alim Akhtar Add the 'samsung,exynos8855-wdt' compatible string to the Samsung watchdog device tree binding documentation. The Exynos8855 watchdog nodes use two clocks (bus clock and source clock), require samsung,cluster-index and samsung,syscon-phandle properties, similar to Exynos850 watchdog implementation. Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com> --- * Changes in V2: - Fixed Sashiko review comment - [Low] dt-bindings: watchdog: missing comma in samsung,syscon-phandle description Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml b/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml index a32c47831577..3f8c3e56ea07 100644 --- a/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml @@ -25,6 +25,7 @@ properties: - samsung,exynos5515-wdt - samsung,exynos7-wdt # for Exynos7 - samsung,exynos850-wdt # for Exynos850 + - samsung,exynos8855-wdt # for Exynos8855 - samsung,exynos990-wdt # for Exynos990 - samsung,exynosautov9-wdt # for Exynosautov9 - samsung,exynosautov920-wdt # for Exynosautov920 @@ -52,13 +53,13 @@ properties: enum: [0, 1, 2] description: Index of CPU cluster on which watchdog is running (in case of Exynos850, - Exynos990 or Google gs101). + Exynos8855, Exynos990 or Google gs101). samsung,syscon-phandle: $ref: /schemas/types.yaml#/definitions/phandle description: Phandle to the PMU system controller node (in case of Exynos5250, - Exynos5420, Exynos5515, Exynos7, Exynos850, Exynos990 and gs101). + Exynos5420, Exynos5515, Exynos7, Exynos850, Exynos8855, Exynos990 and gs101). required: - compatible @@ -76,6 +77,7 @@ allOf: enum: - google,gs101-wdt - samsung,exynos850-wdt + - samsung,exynos8855-wdt - samsung,exynosautov9-wdt - samsung,exynosautov920-wdt then: base-commit: 4c253ac4b29b8c6cc6fdef8f92d4facde62e63b9 -- 2.34.1 ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <CGME20260927150943epcas5p1fb1720070f2bdca2c6cd32094dde895c@epcas5p1.samsung.com>]
* [PATCH v2 2/2] watchdog: s3c2410_wdt: Add support for Exynos8855 SoC [not found] ` <CGME20260927150943epcas5p1fb1720070f2bdca2c6cd32094dde895c@epcas5p1.samsung.com> @ 2026-09-27 15:27 ` Alim Akhtar 0 siblings, 0 replies; 3+ messages in thread From: Alim Akhtar @ 2026-09-27 15:27 UTC (permalink / raw) To: krzk, peter.griffin, robh, conor+dt, linusw Cc: linux-samsung-soc, linux-kernel, devicetree, linux-watchdog, linux, hajun.sung, wim, Alim Akhtar Watchdog IP on this SoC is similar to Exynos850/ExynosAutov{9/920}. This does not have CNT_EN_WDT bit in PMU and offset of RST_STAT is different then the previously support SoC. Reuse the offset as much as from already supported SoC Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com> --- *Changes in V2: - Fixed Sashiko review comments - [Low] watchdog: confusing reuse of CLUSTER0 macro for CLUSTER1 - [Low] watchdog: space-based alignment for EXYNOS8855_RST_STAT_REG_OFFSET drivers/watchdog/s3c2410_wdt.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/drivers/watchdog/s3c2410_wdt.c b/drivers/watchdog/s3c2410_wdt.c index 7053963fb0ac..007c05ed2c7b 100644 --- a/drivers/watchdog/s3c2410_wdt.c +++ b/drivers/watchdog/s3c2410_wdt.c @@ -58,6 +58,7 @@ #define S3C2410_WATCHDOG_DEFAULT_TIME (15) #define EXYNOS5_RST_STAT_REG_OFFSET 0x0404 +#define EXYNOS8855_RST_STAT_REG_OFFSET 0x10 #define EXYNOS5_WDT_DISABLE_REG_OFFSET 0x0408 #define EXYNOS5_WDT_MASK_RESET_REG_OFFSET 0x040c #define EXYNOS850_CLUSTER0_NONCPU_OUT 0x1220 @@ -73,6 +74,7 @@ #define EXYNOS850_CLUSTER0_WDTRESET_BIT 24 #define EXYNOS850_CLUSTER1_WDTRESET_BIT 23 +#define EXYNOS8855_CLUSTER1_WDTRESET_BIT 25 #define EXYNOSAUTOV9_CLUSTER0_WDTRESET_BIT 25 #define EXYNOSAUTOV9_CLUSTER1_WDTRESET_BIT 24 #define EXYNOSAUTOV920_CLUSTER0_WDTRESET_BIT 0 @@ -281,6 +283,26 @@ static const struct s3c2410_wdt_variant drv_data_exynos850_cl1 = { QUIRK_HAS_PMU_RST_STAT | QUIRK_HAS_PMU_CNT_EN, }; +static const struct s3c2410_wdt_variant drv_data_exynos8855_cl0 = { + .mask_reset_reg = EXYNOS850_CLUSTER0_NONCPU_INT_EN, + .mask_bit = 2, + .mask_reset_inv = true, + .rst_stat_reg = EXYNOS8855_RST_STAT_REG_OFFSET, + .rst_stat_bit = EXYNOS850_CLUSTER0_WDTRESET_BIT, + .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_exynos8855_cl1 = { + .mask_reset_reg = EXYNOSAUTOV920_CLUSTER1_NONCPU_INT_EN, + .mask_bit = 2, + .mask_reset_inv = true, + .rst_stat_reg = EXYNOS8855_RST_STAT_REG_OFFSET, + .rst_stat_bit = EXYNOS8855_CLUSTER1_WDTRESET_BIT, + .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_exynos990_cl0 = { .mask_reset_reg = GS_CLUSTER0_NONCPU_INT_EN, .mask_bit = 2, @@ -400,6 +422,8 @@ static const struct of_device_id s3c2410_wdt_match[] = { .data = &drv_data_exynos7 }, { .compatible = "samsung,exynos850-wdt", .data = &drv_data_exynos850_cl0 }, + { .compatible = "samsung,exynos8855-wdt", + .data = &drv_data_exynos8855_cl0 }, { .compatible = "samsung,exynos990-wdt", .data = &drv_data_exynos990_cl0 }, { .compatible = "samsung,exynosautov9-wdt", @@ -723,6 +747,7 @@ s3c2410_get_wdt_drv_data(struct platform_device *pdev, struct s3c2410_wdt *wdt) /* Choose Exynos850/ExynosAutov9 driver data w.r.t. cluster index */ if (variant == &drv_data_exynos850_cl0 || variant == &drv_data_exynosautov9_cl0 || + variant == &drv_data_exynos8855_cl0 || variant == &drv_data_gs101_cl0 || variant == &drv_data_exynosautov920_cl0 || variant == &drv_data_exynos990_cl0) { @@ -740,6 +765,8 @@ s3c2410_get_wdt_drv_data(struct platform_device *pdev, struct s3c2410_wdt *wdt) case 1: if (variant == &drv_data_exynos850_cl0) variant = &drv_data_exynos850_cl1; + else if (variant == &drv_data_exynos8855_cl0) + variant = &drv_data_exynos8855_cl1; else if (variant == &drv_data_exynosautov9_cl0) variant = &drv_data_exynosautov9_cl1; else if (variant == &drv_data_gs101_cl0) -- 2.34.1 ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2 1/2] dt-bindings: watchdog: Add Exynos8855 watchdog compatible string 2026-09-27 15:27 ` [PATCH v2 1/2] dt-bindings: watchdog: Add Exynos8855 watchdog compatible string Alim Akhtar [not found] ` <CGME20260927150943epcas5p1fb1720070f2bdca2c6cd32094dde895c@epcas5p1.samsung.com> @ 2026-09-27 17:11 ` Krzysztof Kozlowski 1 sibling, 0 replies; 3+ messages in thread From: Krzysztof Kozlowski @ 2026-09-27 17:11 UTC (permalink / raw) To: Alim Akhtar, peter.griffin, robh, conor+dt, linusw Cc: linux-samsung-soc, linux-kernel, devicetree, linux-watchdog, linux, hajun.sung, wim On 27/09/2026 17:27, Alim Akhtar wrote: > Add the 'samsung,exynos8855-wdt' compatible string to the Samsung > watchdog device tree binding documentation. The Exynos8855 watchdog > nodes use two clocks (bus clock and source clock), require > samsung,cluster-index and samsung,syscon-phandle properties, similar > to Exynos850 watchdog implementation. > > Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com> > --- > * Changes in V2: > - Fixed Sashiko review comment > - [Low] dt-bindings: watchdog: missing comma in samsung,syscon-phandle description > > Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml b/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml > index a32c47831577..3f8c3e56ea07 100644 > --- a/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml > +++ b/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml > @@ -25,6 +25,7 @@ properties: > - samsung,exynos5515-wdt > - samsung,exynos7-wdt # for Exynos7 > - samsung,exynos850-wdt # for Exynos850 > + - samsung,exynos8855-wdt # for Exynos8855 Just drop the comment like we did for 5515. Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Best regards, Krzysztof ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-09-27 17:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CGME20260927150938epcas5p33b7d0495f8d9a8e84bf5f09c66e757fb@epcas5p3.samsung.com>
2026-09-27 15:27 ` [PATCH v2 1/2] dt-bindings: watchdog: Add Exynos8855 watchdog compatible string Alim Akhtar
[not found] ` <CGME20260927150943epcas5p1fb1720070f2bdca2c6cd32094dde895c@epcas5p1.samsung.com>
2026-09-27 15:27 ` [PATCH v2 2/2] watchdog: s3c2410_wdt: Add support for Exynos8855 SoC Alim Akhtar
2026-09-27 17:11 ` [PATCH v2 1/2] dt-bindings: watchdog: Add Exynos8855 watchdog compatible string Krzysztof Kozlowski
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®