Add the NXP S32 Watchdog
Subsystems (2)
v2 cover Add the NXP S32 Watchdog
The NXP S32 watchdog, referenced in the documentation as the Software Watchdog Timer is actually a hardware watchdog. The system has one watchdog per core but an assertation does not directly reset the system as this behavior relies on a particular setup and another component which is not part of these changes. However the first watchdog on the system, tied with the Cortex-M4 #0 is a particular case where it will reset the system directly. This is enough for the watchdog purpose on Linux.
The watchdog relies on the default timeout described in the device tree but if another timeout is needed at boot time, it can be changed with the module parameter.
If the kernel has to service the watchdog in place of the userspace, it can specify the 'early-enable' option at boot time.
And finally, if starting the watchdog has no wayback then the option 'nowayout' can be also specified in the boot option.
Changelog:
- v2:
- Removed debugfs code as considered pointless for a such simple
driver (Arnd Bergmann)
- Replaced __raw_readl / __raw_writel by readl and writel (Arnd Bergmann)
- Reordered alphabetically the headers (Guenter Roeck)
- Enclosed macro parameter into parenthesis (Guenter Roeck)
- Fixed checkpatch reported errors (Guenter Roeck)
- Clarified a ping on a stopped timer does not affect it (Guenter Roeck)
- Used wdt_is_running() to save an extra IO (Guenter Roeck)
- Fixed a misleading comment about starting the watchdog at boot time (Guenter Roeck)
- Replaced allocation size sizeof(struct ...) by sizeof(*var) (Krzysztof Kozlowski)
- Drop old way of describing the module and use table module device (Krzysztof Kozlowski)
- Replaced additionalProperties by unevaluatedProperties (Rob Herring)
- Removed the DT bindings description as it is obvious (Ghennadi Procopciuc)
- Fixed DT bindings compatible string (Krzysztof Kozlowski)
- v1: initial posting
Daniel Lezcano (2):
dt-bindings: watchdog: Add NXP Software Watchdog Timer
watchdog: Add the Watchdog Timer for the NXP S32 platform
.../bindings/watchdog/nxp,s32g2-swt.yaml | 42 +++ drivers/watchdog/Kconfig | 9 + drivers/watchdog/Makefile | 1 + drivers/watchdog/s32g_wdt.c | 313 ++++++++++++++++++ 4 files changed, 365 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/nxp,s32g2-swt.yaml create mode 100644 drivers/watchdog/s32g_wdt.c
Signature · 1 line
2.43.0
PATCH v2 1/2 dt-bindings: watchdog: Add NXP Software Watchdog Timer
Describe the Software Watchdog Timer available on the S32G platforms.
--- .../bindings/watchdog/nxp,s32g2-swt.yaml | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/nxp,s32g2-swt.yaml
Documentation/devicetree/bindings/watchdog/nxp,s32g2-swt.yaml new file +42 -0
@@ -0,0 +1,42 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/nxp,s32g2-swt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP Software Watchdog Timer (SWT) + +maintainers: + - Daniel Lezcano <[email protected]> + +allOf: + - $ref: watchdog.yaml# + +properties: + compatible: + - const: nxp,s32g2-swt + - items: + - const: nxp,s32g3-swt + - const: nxp,s32g2-swt + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - clocks + +unevaluatedProperties: false + +examples: + - | + watchdog@0x40100000 { + compatible = "nxp,s32g2-swt"; + reg = <0x40100000 0x1000>; + clocks = <&clks 0x3a>; + timeout-sec = <10>; + };
Signature · 1 line
2.43.0
Re: [PATCH v2 1/2] dt-bindings: watchdog: Add NXP Software Watchdog Timer
Quoted 5 lines · Daniel Lezcano
Describe the Software Watchdog Timer available on the S32G platforms.
Cc Ghennadi Procopciuc <[email protected]>Cc Thomas Fossati <[email protected]>Signed-off-by Daniel Lezcano <[email protected]>
Best regards,
Krzysztof
Re: [PATCH v2 1/2] dt-bindings: watchdog: Add NXP Software Watchdog Timer
Quoted 11 lines · Krzysztof Kozlowski
Quoted 5 lines · Daniel Lezcano
Describe the Software Watchdog Timer available on the S32G platforms.
Cc Ghennadi Procopciuc <[email protected]>Cc Thomas Fossati <[email protected]>Signed-off-by Daniel Lezcano <[email protected]>Reviewed-by Krzysztof Kozlowski <[email protected]>Best regards,
Krzysztof
I ran the make dt_binding_check but inadvertently removed the "oneOf:" after :/
Signature · 5 lines
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog
Re: [PATCH v2 1/2] dt-bindings: watchdog: Add NXP Software Watchdog Timer
Quoted 8 lines · Daniel Lezcano
Quoted 7 lines · Krzysztof Kozlowski
Quoted 5 lines · Daniel Lezcano
Describe the Software Watchdog Timer available on the S32G platforms.
Cc Ghennadi Procopciuc <[email protected]>Cc Thomas Fossati <[email protected]>Signed-off-by Daniel Lezcano <[email protected]>
Quoted 7 lines
Quoted 4 lines
Reviewed-by Krzysztof Kozlowski <[email protected]>Best regards,
KrzysztofI ran the make
dt_binding_checkbut inadvertently removed the "oneOf:" after :/
Other errors were also not fixed even though you got report on them on 29th of March.
Best regards,
Krzysztof
Re: [PATCH v2 1/2] dt-bindings: watchdog: Add NXP Software Watchdog Timer
Quoted 11 lines · Krzysztof Kozlowski
Quoted 10 lines · Daniel Lezcano
Quoted 9 lines · Krzysztof Kozlowski
Quoted 5 lines · Daniel Lezcano
Describe the Software Watchdog Timer available on the S32G platforms.
Cc Ghennadi Procopciuc <[email protected]>Cc Thomas Fossati <[email protected]>Signed-off-by Daniel Lezcano <[email protected]>Reviewed-by Krzysztof Kozlowski <[email protected]>
Quoted 7 lines
Quoted 5 lines
Quoted 2 lines
Best regards,
KrzysztofI ran the make
dt_binding_checkbut inadvertently removed the "oneOf:" after :/Other errors were also not fixed even though you got report on them on 29th of March.
Which ones ?
All errors were coming from the oneOf removal, after re-adding it they are all gone
Signature · 5 lines
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog
Re: [PATCH v2 1/2] dt-bindings: watchdog: Add NXP Software Watchdog Timer
Quoted 17 lines · Daniel Lezcano
Quoted 16 lines · Krzysztof Kozlowski
Quoted 15 lines · Daniel Lezcano
Quoted 11 lines · Krzysztof Kozlowski
Quoted 5 lines · Daniel Lezcano
Describe the Software Watchdog Timer available on the S32G platforms.
Cc Ghennadi Procopciuc <[email protected]>Cc Thomas Fossati <[email protected]>Signed-off-by Daniel Lezcano <[email protected]>Reviewed-by Krzysztof Kozlowski <[email protected]>Best regards,
KrzysztofI ran the make
dt_binding_checkbut inadvertently removed the "oneOf:" after :/
Quoted 7 lines
Quoted 2 lines
Other errors were also not fixed even though you got report on them on 29th of March.
Which ones ?
All errors were coming from the oneOf removal, after re-adding it they are all gone
The same as from previous patchset - wrong unit address, maybe more.
Quoted 1 line
Best regards,
Krzysztof
Re: [PATCH v2 1/2] dt-bindings: watchdog: Add NXP Software Watchdog Timer
Quoted 21 lines · Krzysztof Kozlowski
Quoted 20 lines · Daniel Lezcano
Quoted 18 lines · Krzysztof Kozlowski
Quoted 8 lines · Daniel Lezcano
Quoted 7 lines · Krzysztof Kozlowski
Quoted 5 lines · Daniel Lezcano
Describe the Software Watchdog Timer available on the S32G platforms.
Cc Ghennadi Procopciuc <[email protected]>Cc Thomas Fossati <[email protected]>Signed-off-by Daniel Lezcano <[email protected]>Quoted 7 lines
Quoted 4 lines
Reviewed-by Krzysztof Kozlowski <[email protected]>Best regards,
KrzysztofI ran the make
dt_binding_checkbut inadvertently removed the "oneOf:" after :/Other errors were also not fixed even though you got report on them on 29th of March.
Quoted 7 lines
Quoted 4 lines
Which ones ?
All errors were coming from the oneOf removal, after re-adding it they are all gone
The same as from previous patchset - wrong unit address, maybe more.
Indeed, my parser was not up-to-date and did not reported the error.
Thanks for pointing this out
-- Daniel
Signature · 5 lines
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog
Rob Herring (Arm)
maintainerRe: [PATCH v2 1/2] dt-bindings: watchdog: Add NXP Software Watchdog Timer
In reply to Daniel LezcanoQuoted 10 lines · Daniel Lezcano
Describe the Software Watchdog Timer available on the S32G platforms.
Cc Ghennadi Procopciuc <[email protected]>Cc Thomas Fossati <[email protected]>Signed-off-by Daniel Lezcano <[email protected]>--- .../bindings/watchdog/nxp,s32g2-swt.yaml | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/nxp,s32g2-swt.yaml
My bot found errors running 'make dt_binding_check' on your patch:
yamllint warnings/errors:./Documentation/devicetree/bindings/watchdog/nxp,s32g2-swt.yaml:17:7: [warning] wrong indentation: expected 4 but found 6 (indentation)
dtschema/dtc warnings/errors:
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/watchdog/nxp,s32g2-swt.yaml: ignoring, error in schema: properties: compatible /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/watchdog/nxp,s32g2-swt.yaml: properties:compatible: [{'const': 'nxp,s32g2-swt'}, {'items': [{'const': 'nxp,s32g3-swt'}, {'const': 'nxp,s32g2-swt'}]}] is not of type 'object', 'boolean'
from schema $id: http://json-schema.org/draft-07/schema#
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/watchdog/nxp,s32g2-swt.yaml: properties:compatible: [{'const': 'nxp,s32g2-swt'}, {'items': [{'const': 'nxp,s32g3-swt'}, {'const': 'nxp,s32g2-swt'}]}] is not of type 'object', 'boolean'
from schema $id: http://devicetree.org/meta-schemas/keywords.yaml#
Documentation/devicetree/bindings/watchdog/nxp,s32g2-swt.example.dts:18.29-23.11: Warning (unit_address_format): /example-0/watchdog@0x40100000: unit name should not have leading "0x" Documentation/devicetree/bindings/watchdog/nxp,s32g2-swt.example.dtb: /example-0/watchdog@0x40100000: failed to match any schema with compatible: ['nxp,s32g2-swt']
doc reference errors (make refcheckdocs):
See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/[email protected]
The base for the series is generally the latest rc1. A different dependency should be noted in *this* patch.
If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date:
pip3 install dtschema --upgrade
Please check and re-submit after running the above command yourself. Note that DT_SCHEMA_FILES can be set to your schema file to speed up checking your schema. However, it must be unset to test all examples with your schema.
Re: [PATCH v2 1/2] dt-bindings: watchdog: Add NXP Software Watchdog Timer
In reply to Daniel LezcanoOn 4/2/2025 6:49 PM, Daniel Lezcano wrote:
[ ... ]
Documentation/devicetree/bindings/watchdog/nxp,s32g2-swt.yaml line 42
Quoted 8 lines
Documentation/devicetree/bindings/watchdog/nxp,s32g2-swt.yaml new file +8
-0+examples: + - | + watchdog@0x40100000 { + compatible = "nxp,s32g2-swt"; + reg = <0x40100000 0x1000>; + clocks = <&clks 0x3a>; + timeout-sec = <10>; + };
The S32G reference manual specifies two clocks for the SWT module: one for the registers and another for the counter itself. Shouldn't both clocks be represented in the bindings?
Signature · 2 lines
Regards, Ghennadi
Re: [PATCH v2 1/2] dt-bindings: watchdog: Add NXP Software Watchdog Timer
Quoted 11 lines · Ghennadi Procopciuc
On 4/2/2025 6:49 PM, Daniel Lezcano wrote:
[ ... ]Documentation/devicetree/bindings/watchdog/nxp,s32g2-swt.yaml line 42
Quoted 8 lines
Documentation/devicetree/bindings/watchdog/nxp,s32g2-swt.yaml new file +8
-0+examples: + - | + watchdog@0x40100000 { + compatible = "nxp,s32g2-swt"; + reg = <0x40100000 0x1000>; + clocks = <&clks 0x3a>; + timeout-sec = <10>; + };
Quoted 3 lines
The S32G reference manual specifies two clocks for the SWT module: one for the registers and another for the counter itself. Shouldn't both clocks be represented in the bindings?
AFAICS, there are two clocks as described in the documentation for the s32g2 page 846, section 23.7.3.3 SWT clocking.
The module and the register clock are fed by the XBAR_DIV3_CLK which is an system clock always-on.
The counter is fed by the FIRC_CLK which described as "FIRC_CLK is the default clock for the entire system at power-up."
From my understanding, we should not describe the XBAR_DIV3_CLK as it is a system clock.
And the FIRC_CLK is only there to get the clock rate in the driver.
Signature · 5 lines
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog
Re: [PATCH v2 1/2] dt-bindings: watchdog: Add NXP Software Watchdog Timer
Quoted 12 lines · Daniel Lezcano
Quoted 11 lines · Ghennadi Procopciuc
On 4/2/2025 6:49 PM, Daniel Lezcano wrote:
[ ... ]Quoted 8 lines
+examples:
+ - |
+ watchdog@0x40100000 {
+ compatible = "nxp,s32g2-swt";
+ reg = <0x401000000x1000>;
+ clocks = <&clks0x3a>;
+ timeout-sec = <10>;
+ };
Quoted 6 lines
Quoted 3 lines
The S32G reference manual specifies two clocks for the SWT module: one for the registers and another for the counter itself. Shouldn't both clocks be represented in the bindings?
AFAICS, there are two clocks as described in the documentation for the s32g2 page 846, section 23.7.3.3 SWT clocking.
This diagram illustrates the module clocks and their connections to the S32GS system clocks. From the module's perspective, there are three
clocks: MODULE_CLOCK, REG_INTF, and COUNTER_CLOCK. Specifically, on S32G2 SoCs, the first two are connected to XBAR_DIV3_CLK, while the counter clock is linked to FIRC_CLK. Based on my understanding of the device tree, this configuration should be listed as follows:
clocks = <&clks XBAR_DIV3_CLK>, <&clks XBAR_DIV3_CLK>, <&clks FIRC_CLK>; clock-names = "module", "reg", "counter";
Configuring it this way allows flexibility to reuse the same clocking scheme for other SoCs where the integration is performed differently. It is possible that the 'module' and 'reg' clocks could be linked to two distinct system clocks.
Quoted 3 lines
The module and the register clock are fed by the
XBAR_DIV3_CLKwhich is an system clock always-on.
XBAR_DIV3_CLK is not an always-on clock, meaning it is not available during suspend, if that is what you mean by always-on. The SIRC can be considered the only always-on clock on this device.
Quoted 9 lines
The counter is fed by the
FIRC_CLKwhich described as "FIRC_CLKis the default clock for the entire system at power-up."From my understanding, we should not describe the
XBAR_DIV3_CLKas it is a system clock.And the
FIRC_CLKis only there to get the clock rate in the driver.
Signature · 2 lines
Regards, Ghennadi
Re: [PATCH v2 1/2] dt-bindings: watchdog: Add NXP Software Watchdog Timer
Quoted 27 lines · Ghennadi Procopciuc
Quoted 12 lines · Daniel Lezcano
Quoted 11 lines · Ghennadi Procopciuc
On 4/2/2025 6:49 PM, Daniel Lezcano wrote:
[ ... ]Quoted 8 lines
+examples:
+ - |
+ watchdog@0x40100000 {
+ compatible = "nxp,s32g2-swt";
+ reg = <0x401000000x1000>;
+ clocks = <&clks0x3a>;
+ timeout-sec = <10>;
+ };Quoted 6 lines
Quoted 3 lines
The S32G reference manual specifies two clocks for the SWT module: one for the registers and another for the counter itself. Shouldn't both clocks be represented in the bindings?
AFAICS, there are two clocks as described in the documentation for the s32g2 page 846, section 23.7.3.3 SWT clocking.
This diagram illustrates the module clocks and their connections to the S32GS system clocks. From the module's perspective, there are three
clocks:MODULE_CLOCK,REG_INTF, andCOUNTER_CLOCK. Specifically, on S32G2 SoCs, the first two are connected toXBAR_DIV3_CLK, while the counter clock is linked toFIRC_CLK. Based on my understanding of the device tree, this configuration should be listed as follows:
Quoted 7 lines
clocks = <&clks
XBAR_DIV3_CLK>, <&clksXBAR_DIV3_CLK>, <&clksFIRC_CLK>; clock-names = "module", "reg", "counter";Configuring it this way allows flexibility to reuse the same clocking scheme for other SoCs where the integration is performed differently. It is possible that the 'module' and 'reg' clocks could be linked to two distinct system clocks.
That is something we can handle when the other SoC will be in the process of being upstream, no ?
I don't see how that can help with the current hardware we are describing. What is the benefit ?
I would prefer to stick to what is needed today
Quoted 17 lines
Quoted 2 lines
The module and the register clock are fed by the
XBAR_DIV3_CLKwhich is an system clock always-on.
XBAR_DIV3_CLKis not an always-on clock, meaning it is not available during suspend, if that is what you mean by always-on. The SIRC can be considered the only always-on clock on this device.Quoted 9 lines
The counter is fed by the
FIRC_CLKwhich described as "FIRC_CLKis the default clock for the entire system at power-up."From my understanding, we should not describe the
XBAR_DIV3_CLKas it is
a system clock.And the
FIRC_CLKis only there to get the clock rate in the driver.
Signature · 5 lines
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog
Re: [PATCH v2 1/2] dt-bindings: watchdog: Add NXP Software Watchdog Timer
Quoted 36 lines · Daniel Lezcano
Quoted 27 lines · Ghennadi Procopciuc
Quoted 12 lines · Daniel Lezcano
Quoted 11 lines · Ghennadi Procopciuc
On 4/2/2025 6:49 PM, Daniel Lezcano wrote:
[ ... ]Quoted 8 lines
+examples:
+ - |
+ watchdog@0x40100000 {
+ compatible = "nxp,s32g2-swt";
+ reg = <0x401000000x1000>;
+ clocks = <&clks0x3a>;
+ timeout-sec = <10>;
+ };Quoted 6 lines
Quoted 3 lines
The S32G reference manual specifies two clocks for the SWT module: one for the registers and another for the counter itself. Shouldn't both clocks be represented in the bindings?
AFAICS, there are two clocks as described in the documentation for the s32g2 page 846, section 23.7.3.3 SWT clocking.
This diagram illustrates the module clocks and their connections to the S32GS system clocks. From the module's perspective, there are three
clocks:MODULE_CLOCK,REG_INTF, andCOUNTER_CLOCK. Specifically, on S32G2 SoCs, the first two are connected toXBAR_DIV3_CLK, while the counter clock is linked toFIRC_CLK. Based on my understanding of the device tree, this configuration should be listed as follows:Quoted 7 lines
clocks = <&clks
XBAR_DIV3_CLK>, <&clksXBAR_DIV3_CLK>, <&clksFIRC_CLK>; clock-names = "module", "reg", "counter";Configuring it this way allows flexibility to reuse the same clocking scheme for other SoCs where the integration is performed differently. It is possible that the 'module' and 'reg' clocks could be linked to two distinct system clocks.
Quoted 6 lines
That is something we can handle when the other SoC will be in the process of being upstream, no ?
I don't see how that can help with the current hardware we are describing. What is the benefit ?
The benefit is that the binding accurately describes the hardware module, and no changes are expected in this area over time, even if different integrations of the module are performed on other SoCs.
Otherwise, the binding will contain a different set of clocks depending on the SoC integration, even though the exact same hardware IP is used.
Quoted 22 lines
I would prefer to stick to what is needed today
Quoted 18 lines
Quoted 2 lines
The module and the register clock are fed by the
XBAR_DIV3_CLKwhich is an system clock always-on.
XBAR_DIV3_CLKis not an always-on clock, meaning it is not available during suspend, if that is what you mean by always-on. The SIRC can be considered the only always-on clock on this device.Quoted 10 lines
The counter is fed by the
FIRC_CLKwhich described as "FIRC_CLKis the default clock for the entire system at power-up."From my understanding, we should not describe the
XBAR_DIV3_CLKas it is
a system clock.And the
FIRC_CLKis only there to get the clock rate in the driver.
Signature · 2 lines
Regards, Ghennadi
PATCH v2 2/2 watchdog: Add the Watchdog Timer for the NXP S32 platform
In reply to Daniel LezcanoThe S32 platform has several Watchdog Timer available and tied with a CPU. The SWT0 is the only one which directly asserts the reset line, other SWT require an external setup to configure the reset behavior which is not part of this change.
As a side note, in the NXP documentation, the s32g2 and s32g3 reference manuals refer the watchdog as the 'Software Timer Watchdog' where the name can be misleading as it is actually a hardware watchdog.
The maximum watchdog timeout value depends on the clock feeding the SWT counter which is 32bits wide. On the s32g274-rb2, the clock has a rate of 51MHz which result on 83 seconds maximum timeout.
The timeout can be specified via the device tree with the usual existing bindings 'timeout-sec' or via the module param timeout.
The watchdog can be loaded with the 'nowayout' option, preventing the watchdog to be stopped.
The watchdog can be started at boot time with the 'early-enable' option, thus letting the watchdog framework to service the watchdog counter.
The watchdog support the magic character to stop when the userspace releases the device.
--- drivers/watchdog/Kconfig | 9 ++ drivers/watchdog/Makefile | 1 + drivers/watchdog/s32g_wdt.c | 313 ++++++++++++++++++++++++++++++++++++ 3 files changed, 323 insertions(+) create mode 100644 drivers/watchdog/s32g_wdt.c
drivers/watchdog/Kconfig +9 -0
@@ -792,6 +792,15 @@ config IMX7ULP_WDT To compile this driver as a module, choose M here: the module will be called imx7ulp_wdt. +config S32G_WDT + tristate "S32G Watchdog" + depends on ARCH_S32 || COMPILE_TEST + select WATCHDOG_CORE + help + This is the driver for the hardware watchdog on the NXP + S32G platforms. If you wish to have watchdog support + enabled, say Y, otherwise say N. + config DB500_WATCHDOG tristate "ST-Ericsson DB800 watchdog" depends on MFD_DB8500_PRCMU
drivers/watchdog/Makefile +1 -0
@@ -69,6 +69,7 @@ obj-$(CONFIG_TS72XX_WATCHDOG) += ts72xx_wdt.o obj-$(CONFIG_IMX2_WDT) += imx2_wdt.o obj-$(CONFIG_IMX_SC_WDT) += imx_sc_wdt.o obj-$(CONFIG_IMX7ULP_WDT) += imx7ulp_wdt.o +obj-$(CONFIG_S32G_WDT) += s32g_wdt.o obj-$(CONFIG_DB500_WATCHDOG) += db8500_wdt.o obj-$(CONFIG_RETU_WATCHDOG) += retu_wdt.o obj-$(CONFIG_BCM2835_WDT) += bcm2835_wdt.o
drivers/watchdog/s32g_wdt.c new file +313 -0
313 lines not on this page · raw message
Signature · 1 line
2.43.0