Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1701705 > unrolled thread
| Started by | Andrew Jeffery <andrew@aj.id.au> |
|---|---|
| First post | 2017-08-02 06:50 +0200 |
| Last post | 2017-08-10 17:50 +0200 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH 0/2] watchdog: aspeed: External reset signal properties Andrew Jeffery <andrew@aj.id.au> - 2017-08-02 06:50 +0200
[PATCH 1/2] dt-bindings: watchdog: aspeed: External reset signal properties Andrew Jeffery <andrew@aj.id.au> - 2017-08-02 06:50 +0200
Re: [PATCH 1/2] dt-bindings: watchdog: aspeed: External reset signal properties Rob Herring <robh@kernel.org> - 2017-08-10 17:50 +0200
| From | Andrew Jeffery <andrew@aj.id.au> |
|---|---|
| Date | 2017-08-02 06:50 +0200 |
| Subject | [PATCH 0/2] watchdog: aspeed: External reset signal properties |
| Message-ID | <u9TLz-5cd-3@gated-at.bofh.it> |
Hello,
This two-patch series builds on top of Chris Bostic's changes introducing the
aspeed,external-signal devicetree property (currently v5):
https://lkml.org/lkml/2017/7/17/777
Additional characteristics such as pulse width, push-pull vs open-drain driving
and active high or low polarity can be configured. This short series defines
optional properties to do so, and adds support to the driver.
Cheers,
Andrew
Andrew Jeffery (2):
dt-bindings: watchdog: aspeed: External reset signal properties
watchdog: aspeed: Support configuration of external signal properties
.../devicetree/bindings/watchdog/aspeed-wdt.txt | 10 +-
drivers/watchdog/aspeed_wdt.c | 105 ++++++++++++++++++++-
2 files changed, 111 insertions(+), 4 deletions(-)
--
2.11.0
[toc] | [next] | [standalone]
| From | Andrew Jeffery <andrew@aj.id.au> |
|---|---|
| Date | 2017-08-02 06:50 +0200 |
| Subject | [PATCH 1/2] dt-bindings: watchdog: aspeed: External reset signal properties |
| Message-ID | <u9TLA-5cd-9@gated-at.bofh.it> |
| In reply to | #1701705 |
For the AST2500 and compatible watchdog controllers the external reset
signal can be configured for push-pull or open-drain drive types, and in
the case of push-pull driving, active low or high.
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
---
Documentation/devicetree/bindings/watchdog/aspeed-wdt.txt | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/watchdog/aspeed-wdt.txt b/Documentation/devicetree/bindings/watchdog/aspeed-wdt.txt
index 2b34ce9b60b9..c5077a1f5cb3 100644
--- a/Documentation/devicetree/bindings/watchdog/aspeed-wdt.txt
+++ b/Documentation/devicetree/bindings/watchdog/aspeed-wdt.txt
@@ -33,10 +33,18 @@ Optional properties:
- none: No reset is performed on timeout. Assumes another watchdog
engine is responsible for this.
+ - aspeed,alt-boot: If property is present then boot from alternate block.
- aspeed,external-signal: If property is present then signal is sent to
external reset counter (only WDT1 and WDT2). If not
specified no external signal is sent.
- - aspeed,alt-boot: If property is present then boot from alternate block.
+ - aspeed,ext-pulse-duration: External signal pulse duration in microseconds
+
+Optional properties for AST2500-compatible watchdogs:
+ - aspeed,ext-push-pull: If aspeed,external-signal is present, set the pin's
+ drive type to push-pull. The default is open-drain.
+ - aspeed,ext-active-high: If aspeed,external-signal is present and and the pin
+ is configured as push-pull, then set the pulse
+ polarity to active-high. The default is active-low.
Example:
--
2.11.0
[toc] | [prev] | [next] | [standalone]
| From | Rob Herring <robh@kernel.org> |
|---|---|
| Date | 2017-08-10 17:50 +0200 |
| Subject | Re: [PATCH 1/2] dt-bindings: watchdog: aspeed: External reset signal properties |
| Message-ID | <ucXSH-7AZ-49@gated-at.bofh.it> |
| In reply to | #1701706 |
On Wed, Aug 02, 2017 at 02:15:28PM +0930, Andrew Jeffery wrote: > For the AST2500 and compatible watchdog controllers the external reset > signal can be configured for push-pull or open-drain drive types, and in > the case of push-pull driving, active low or high. > > Signed-off-by: Andrew Jeffery <andrew@aj.id.au> > --- > Documentation/devicetree/bindings/watchdog/aspeed-wdt.txt | 10 +++++++++- > 1 file changed, 9 insertions(+), 1 deletion(-) Acked-by: Rob Herring <robh@kernel.org>
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web