linux-watchdog.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Vincent Prince <vincent.prince.fr@gmail.com>
To: linux-watchdog@vger.kernel.org, linux@roeck-us.net,
	wim@linux-watchdog.org
Cc: Vincent Prince <Vincent.PRINCE.fr@gmail.com>
Subject: [PATCH] watchdog: it87_wdt: add IT8786 ID
Date: Thu, 23 Jan 2020 15:05:44 +0100	[thread overview]
Message-ID: <20200123140544.25937-1-vincent.prince.fr@gmail.com> (raw)

From: Vincent Prince <Vincent.PRINCE.fr@gmail.com>

IT8786 watchdog works as in IT872x

Tested on VECOW ECS-9000 board.

Signed-off-by: Vincent Prince <Vincent.PRINCE.fr@gmail.com>
---
 drivers/watchdog/it87_wdt.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/watchdog/it87_wdt.c b/drivers/watchdog/it87_wdt.c
index a4b71ebc8cab..f3bf3ea50e39 100644
--- a/drivers/watchdog/it87_wdt.c
+++ b/drivers/watchdog/it87_wdt.c
@@ -67,6 +67,7 @@
 #define IT8726_ID	0x8726	/* the data sheet suggest wrongly 0x8716 */
 #define IT8728_ID	0x8728
 #define IT8783_ID	0x8783
+#define IT8786_ID	0x8786
 
 /* GPIO Configuration Registers LDN=0x07 */
 #define WDTCTRL		0x71
@@ -294,6 +295,7 @@ static int __init it87_wdt_init(void)
 	case IT8721_ID:
 	case IT8728_ID:
 	case IT8783_ID:
+	case IT8786_ID:
 		max_units = 65535;
 		break;
 	case IT8705_ID:
-- 
2.24.0


             reply	other threads:[~2020-01-23 14:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-23 14:05 Vincent Prince [this message]
2020-01-23 14:15 ` [PATCH] watchdog: it87_wdt: add IT8786 ID 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=20200123140544.25937-1-vincent.prince.fr@gmail.com \
    --to=vincent.prince.fr@gmail.com \
    --cc=linux-watchdog@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --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).