Linux-Watchdog Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] watchdog: it87_wdt: add IT8786 ID
@ 2020-01-23 14:05 Vincent Prince
  2020-01-23 14:15 ` Guenter Roeck
  0 siblings, 1 reply; 2+ messages in thread
From: Vincent Prince @ 2020-01-23 14:05 UTC (permalink / raw)
  To: linux-watchdog, linux, wim; +Cc: Vincent Prince

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] watchdog: it87_wdt: add IT8786 ID
  2020-01-23 14:05 [PATCH] watchdog: it87_wdt: add IT8786 ID Vincent Prince
@ 2020-01-23 14:15 ` Guenter Roeck
  0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2020-01-23 14:15 UTC (permalink / raw)
  To: Vincent Prince, linux-watchdog, wim

On 1/23/20 6:05 AM, Vincent Prince wrote:
> 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>

Reviewed-by: Guenter Roeck <linux@roeck-us.net>

> ---
>   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:
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-23 14:05 [PATCH] watchdog: it87_wdt: add IT8786 ID Vincent Prince
2020-01-23 14:15 ` Guenter Roeck

Linux-Watchdog Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-watchdog/0 linux-watchdog/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-watchdog linux-watchdog/ https://lore.kernel.org/linux-watchdog \
		linux-watchdog@vger.kernel.org
	public-inbox-index linux-watchdog

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-watchdog


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git