* [PATCH] watchdog: it87_wdt: add IT8772 ID
@ 2020-08-27 10:59 Hanspeter Portner
2020-08-27 13:42 ` Guenter Roeck
2020-09-01 19:22 ` Guenter Roeck
0 siblings, 2 replies; 3+ messages in thread
From: Hanspeter Portner @ 2020-08-27 10:59 UTC (permalink / raw)
To: wim; +Cc: linux, linux-watchdog, Hanspeter Portner, Hanspeter Portner
IT8772 watchdog works as in IT872x
Tested on SHAREVDI K6-F12 board.
Signed-off-by: Hanspeter Portner <dev@open-music-kontrollers.ch>
---
drivers/watchdog/it87_wdt.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/watchdog/it87_wdt.c b/drivers/watchdog/it87_wdt.c
index f3bf3ea50e39..2dac0ba551ce 100644
--- a/drivers/watchdog/it87_wdt.c
+++ b/drivers/watchdog/it87_wdt.c
@@ -15,7 +15,7 @@
* Support of the watchdog timers, which are available on
* IT8607, IT8620, IT8622, IT8625, IT8628, IT8655, IT8665, IT8686,
* IT8702, IT8712, IT8716, IT8718, IT8720, IT8721, IT8726, IT8728,
- * and IT8783.
+ * IT8772 and IT8783.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
@@ -66,6 +66,7 @@
#define IT8721_ID 0x8721
#define IT8726_ID 0x8726 /* the data sheet suggest wrongly 0x8716 */
#define IT8728_ID 0x8728
+#define IT8772_ID 0x8772
#define IT8783_ID 0x8783
#define IT8786_ID 0x8786
@@ -294,6 +295,7 @@ static int __init it87_wdt_init(void)
case IT8720_ID:
case IT8721_ID:
case IT8728_ID:
+ case IT8772_ID:
case IT8783_ID:
case IT8786_ID:
max_units = 65535;
--
2.28.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] watchdog: it87_wdt: add IT8772 ID
2020-08-27 10:59 [PATCH] watchdog: it87_wdt: add IT8772 ID Hanspeter Portner
@ 2020-08-27 13:42 ` Guenter Roeck
2020-09-01 19:22 ` Guenter Roeck
1 sibling, 0 replies; 3+ messages in thread
From: Guenter Roeck @ 2020-08-27 13:42 UTC (permalink / raw)
To: Hanspeter Portner, wim; +Cc: linux-watchdog, Hanspeter Portner
On 8/27/20 3:59 AM, Hanspeter Portner wrote:
> IT8772 watchdog works as in IT872x
>
> Tested on SHAREVDI K6-F12 board.
>
> Signed-off-by: Hanspeter Portner <dev@open-music-kontrollers.ch>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
> ---
> drivers/watchdog/it87_wdt.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/watchdog/it87_wdt.c b/drivers/watchdog/it87_wdt.c
> index f3bf3ea50e39..2dac0ba551ce 100644
> --- a/drivers/watchdog/it87_wdt.c
> +++ b/drivers/watchdog/it87_wdt.c
> @@ -15,7 +15,7 @@
> * Support of the watchdog timers, which are available on
> * IT8607, IT8620, IT8622, IT8625, IT8628, IT8655, IT8665, IT8686,
> * IT8702, IT8712, IT8716, IT8718, IT8720, IT8721, IT8726, IT8728,
> - * and IT8783.
> + * IT8772 and IT8783.
> */
>
> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> @@ -66,6 +66,7 @@
> #define IT8721_ID 0x8721
> #define IT8726_ID 0x8726 /* the data sheet suggest wrongly 0x8716 */
> #define IT8728_ID 0x8728
> +#define IT8772_ID 0x8772
> #define IT8783_ID 0x8783
> #define IT8786_ID 0x8786
>
> @@ -294,6 +295,7 @@ static int __init it87_wdt_init(void)
> case IT8720_ID:
> case IT8721_ID:
> case IT8728_ID:
> + case IT8772_ID:
> case IT8783_ID:
> case IT8786_ID:
> max_units = 65535;
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] watchdog: it87_wdt: add IT8772 ID
2020-08-27 10:59 [PATCH] watchdog: it87_wdt: add IT8772 ID Hanspeter Portner
2020-08-27 13:42 ` Guenter Roeck
@ 2020-09-01 19:22 ` Guenter Roeck
1 sibling, 0 replies; 3+ messages in thread
From: Guenter Roeck @ 2020-09-01 19:22 UTC (permalink / raw)
To: Hanspeter Portner; +Cc: wim, linux-watchdog, Hanspeter Portner
On Thu, Aug 27, 2020 at 12:59:40PM +0200, Hanspeter Portner wrote:
> IT8772 watchdog works as in IT872x
>
> Tested on SHAREVDI K6-F12 board.
>
> Signed-off-by: Hanspeter Portner <dev@open-music-kontrollers.ch>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
> ---
> drivers/watchdog/it87_wdt.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/watchdog/it87_wdt.c b/drivers/watchdog/it87_wdt.c
> index f3bf3ea50e39..2dac0ba551ce 100644
> --- a/drivers/watchdog/it87_wdt.c
> +++ b/drivers/watchdog/it87_wdt.c
> @@ -15,7 +15,7 @@
> * Support of the watchdog timers, which are available on
> * IT8607, IT8620, IT8622, IT8625, IT8628, IT8655, IT8665, IT8686,
> * IT8702, IT8712, IT8716, IT8718, IT8720, IT8721, IT8726, IT8728,
> - * and IT8783.
> + * IT8772 and IT8783.
> */
>
> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> @@ -66,6 +66,7 @@
> #define IT8721_ID 0x8721
> #define IT8726_ID 0x8726 /* the data sheet suggest wrongly 0x8716 */
> #define IT8728_ID 0x8728
> +#define IT8772_ID 0x8772
> #define IT8783_ID 0x8783
> #define IT8786_ID 0x8786
>
> @@ -294,6 +295,7 @@ static int __init it87_wdt_init(void)
> case IT8720_ID:
> case IT8721_ID:
> case IT8728_ID:
> + case IT8772_ID:
> case IT8783_ID:
> case IT8786_ID:
> max_units = 65535;
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-09-01 19:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-27 10:59 [PATCH] watchdog: it87_wdt: add IT8772 ID Hanspeter Portner
2020-08-27 13:42 ` Guenter Roeck
2020-09-01 19:22 ` Guenter Roeck
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.