* [PATCH v2 04/10] dt-bindings: watchdog: npcm: Add nuvoton,wpcm450-wdt
[not found] <20210406120921.2484986-1-j.neuschaefer@gmx.net>
@ 2021-04-06 12:09 ` Jonathan Neuschäfer
2021-04-06 12:09 ` [PATCH v2 07/10] watchdog: npcm: Add support for WPCM450 Jonathan Neuschäfer
1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Neuschäfer @ 2021-04-06 12:09 UTC (permalink / raw)
To: openbmc
Cc: Tomer Maimon, Joel Stanley, devicetree, linux-arm-kernel,
linux-kernel, Jonathan Neuschäfer, Rob Herring, Avi Fishman,
Tali Perry, Patrick Venture, Nancy Yuen, Benjamin Fair,
Wim Van Sebroeck, Guenter Roeck, Rob Herring, linux-watchdog
Add a compatible string for the WPCM450 SoC, which has the same watchdog
timer.
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Acked-by: Rob Herring <robh@kernel.org>
---
v2:
- Added Rob's ACK
---
.../devicetree/bindings/watchdog/nuvoton,npcm-wdt.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/watchdog/nuvoton,npcm-wdt.txt b/Documentation/devicetree/bindings/watchdog/nuvoton,npcm-wdt.txt
index 6d593003c933b..9059f54dc023d 100644
--- a/Documentation/devicetree/bindings/watchdog/nuvoton,npcm-wdt.txt
+++ b/Documentation/devicetree/bindings/watchdog/nuvoton,npcm-wdt.txt
@@ -5,7 +5,8 @@ The watchdog supports a pre-timeout interrupt that fires 10ms before the
expiry.
Required properties:
-- compatible : "nuvoton,npcm750-wdt" for NPCM750 (Poleg).
+- compatible : "nuvoton,npcm750-wdt" for NPCM750 (Poleg), or
+ "nuvoton,wpcm450-wdt" for WPCM450 (Hermon).
- reg : Offset and length of the register set for the device.
- interrupts : Contain the timer interrupt with flags for
falling edge.
--
2.30.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH v2 07/10] watchdog: npcm: Add support for WPCM450
[not found] <20210406120921.2484986-1-j.neuschaefer@gmx.net>
2021-04-06 12:09 ` [PATCH v2 04/10] dt-bindings: watchdog: npcm: Add nuvoton,wpcm450-wdt Jonathan Neuschäfer
@ 2021-04-06 12:09 ` Jonathan Neuschäfer
2021-04-06 13:42 ` Guenter Roeck
1 sibling, 1 reply; 3+ messages in thread
From: Jonathan Neuschäfer @ 2021-04-06 12:09 UTC (permalink / raw)
To: openbmc
Cc: Tomer Maimon, Joel Stanley, devicetree, linux-arm-kernel,
linux-kernel, Jonathan Neuschäfer, Avi Fishman, Tali Perry,
Patrick Venture, Nancy Yuen, Benjamin Fair, Wim Van Sebroeck,
Guenter Roeck, linux-watchdog
Add a compatible string for WPCM450, which has essentially the same
watchdog mechanism as NPCM750.
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
---
v2:
- Added patch description
---
drivers/watchdog/npcm_wdt.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/watchdog/npcm_wdt.c b/drivers/watchdog/npcm_wdt.c
index 765577f11c8db..28a24caa2627c 100644
--- a/drivers/watchdog/npcm_wdt.c
+++ b/drivers/watchdog/npcm_wdt.c
@@ -229,6 +229,7 @@ static int npcm_wdt_probe(struct platform_device *pdev)
#ifdef CONFIG_OF
static const struct of_device_id npcm_wdt_match[] = {
+ {.compatible = "nuvoton,wpcm450-wdt"},
{.compatible = "nuvoton,npcm750-wdt"},
{},
};
--
2.30.2
^ permalink raw reply related [flat|nested] 3+ messages in thread