Re: [PATCH v3 4/7] watchdog: dw_wdt: Support devices with non-fixed TOP values

2020-05-29 Thread Guenter Roeck
On Tue, May 26, 2020 at 06:41:20PM +0300, Serge Semin wrote: > In case if the DW Watchdog IP core is synthesised with > WDT_USE_FIX_TOP == false, the TOP interval indexes make the device > to load a custom periods to the counter. These periods are hardwired > at the IP synthesis stage and can be

[PATCH v3 4/7] watchdog: dw_wdt: Support devices with non-fixed TOP values

2020-05-26 Thread Serge Semin
In case if the DW Watchdog IP core is synthesised with WDT_USE_FIX_TOP == false, the TOP interval indexes make the device to load a custom periods to the counter. These periods are hardwired at the IP synthesis stage and can be within [2^8, 2^(WDT_CNT_WIDTH - 1)]. Alas their values can't be