From mboxrd@z Thu Jan 1 00:00:00 1970 From: sbabic at denx.de Date: Thu, 16 Jul 2020 19:49:14 +0200 (CEST) Subject: [PATCH] watchdog: imx: Support set timeout by wdt command Message-ID: <20200716174914.1ACD281C07@phobos.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > After "4b969deac0 watchdog: imx: Add DM support", the imx watchdog > can be started by wdt command. But the imx watchdog driver only > support start with the default timeout. > This commit adds the support for setting the timeout which pass from > the wdt command into the imx watchdog. If the timeout out of the > valid range(0.5~128s), start the watchdog with a timeout within the > valid range and the timeout is the one which closest to the passed > timeout. > Signed-off-by: Yuezhang.Mo > Reviewed-by: Andy.Wu > Reviewed-by: stefano Babic Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================