commit | c4f0d03632b511f16e8f77b6ce5f238bb154c2dd | [log] [tgz] |
---|---|---|
author | Chris Packham <judge.packham@gmail.com> | Mon Feb 18 10:30:53 2019 +1300 |
committer | Stefan Roese <sr@denx.de> | Fri Apr 12 07:04:18 2019 +0200 |
tree | 2eb5b061f538322ae262532be43e97705ffbbc92 | |
parent | 7d1e45e00621f0998b19c2b63b144838fd2b9b68 [diff] |
watchdog: orion_wdt: take timeout value in ms The generic wdt_start API expects to be called with the timeout in milliseconds. Update the orion_wdt driver to accept a timeout in milliseconds and use the clock rate specified in the dts to convert the timeout to an appropriate value for the timer reload register. Signed-off-by: Chris Packham <judge.packham@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Signed-off-by: Stefan Roese <sr@denx.de>