linux-watchdog.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: michaelsh@mellanox.com
To: linux@roeck-us.net, wim@linux-watchdog.org, andy@infradead.org,
	dvhart@infradead.org
Cc: linux-watchdog@vger.kernel.org,
	platform-driver-x86@vger.kernel.org, vadimp@mellanox.com,
	Michael Shych <michaelsh@mellanox.com>
Subject: [PATCH v3 4/4] docs: watchdog: mlx-wdt: Add description of new watchdog type 3
Date: Sun,  3 May 2020 08:34:24 +0300	[thread overview]
Message-ID: <20200503053424.31943-5-michaelsh@mellanox.com> (raw)
In-Reply-To: <20200503053424.31943-1-michaelsh@mellanox.com>

From: Michael Shych <michaelsh@mellanox.com>

Add documentation with details of new type of Mellanox watchdog driver.

Signed-off-by: Michael Shych <michaelsh@mellanox.com>
Reviewed-by: Vadim Pasternak <vadimp@mellanox.com>
---
v1-v2:
Add explanation about device registers order
---
v2-v3:
Remove note about cpu_to_le16 and vice versa conversion
---
 Documentation/watchdog/mlx-wdt.rst | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/Documentation/watchdog/mlx-wdt.rst b/Documentation/watchdog/mlx-wdt.rst
index bf5bafac47f0..35e690dea9db 100644
--- a/Documentation/watchdog/mlx-wdt.rst
+++ b/Documentation/watchdog/mlx-wdt.rst
@@ -24,10 +24,19 @@ Type 2:
   Maximum timeout is 255 sec.
   Get time-left is supported.
 
+Type 3:
+  Same as Type 2 with extended maximum timeout period.
+  Maximum timeout is 65535 sec.
+
 Type 1 HW watchdog implementation exist in old systems and
 all new systems have type 2 HW watchdog.
 Two types of HW implementation have also different register map.
 
+Type 3 HW watchdog implementation can exist on all Mellanox systems
+with new programmer logic device.
+It's differentiated by WD capability bit.
+Old systems still have only one main watchdog.
+
 Mellanox system can have 2 watchdogs: main and auxiliary.
 Main and auxiliary watchdog devices can be enabled together
 on the same system.
@@ -54,3 +63,4 @@ The driver checks during initialization if the previous system reset
 was done by the watchdog. If yes, it makes a notification about this event.
 
 Access to HW registers is performed through a generic regmap interface.
+Programmable logic device registers have little-endian order.
-- 
2.11.0


  parent reply	other threads:[~2020-05-03  5:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-03  5:34 [PATCH v3 0/4] support watchdog with longer timeout period michaelsh
2020-05-03  5:34 ` [PATCH v3 1/4] platform_data/mlxreg: support new watchdog type " michaelsh
2020-05-03  5:34 ` [PATCH v3 2/4] platform/x86: mlx-platform: support new watchdog type with longer timeout michaelsh
2020-05-03  5:34 ` [PATCH v3 3/4] watchdog: mlx-wdt: support new watchdog type with longer timeout period michaelsh
2020-05-03  5:34 ` michaelsh [this message]
2020-05-03 16:10 ` [PATCH v3 0/4] support watchdog " Andy Shevchenko
2020-05-03 16:13   ` Michael Shych
2020-05-04 13:39     ` Guenter Roeck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200503053424.31943-5-michaelsh@mellanox.com \
    --to=michaelsh@mellanox.com \
    --cc=andy@infradead.org \
    --cc=dvhart@infradead.org \
    --cc=linux-watchdog@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=vadimp@mellanox.com \
    --cc=wim@linux-watchdog.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).