Re: [PATCH v2 6/7] Watchdog: introduce ARM SBSA watchdog driver

From: Timur Tabi
Date: Sun May 24 2015 - 13:47:37 EST


Guenter Roeck wrote:

The pseudo-code in the specification suggests that if WCV is configured,
WS0 = WCV
WS1 = WCV + WOR

Assuming that the implementation follows the pseudo-code in the
specification,
we would have separately programmable values. Since the pretimeout (per
ABI)
is the difference in seconds to the timeout, and not an absolute value,
we would have to program the registers as follows.

WCV = timeout - pretimeout;
WOR = pretimeout;

Does this make sense ?

Yes, thank you. I will test this on my hardware.

--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the
Code Aurora Forum, hosted by The Linux Foundation.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/