watchdog: sp805_wdt: get platform clock from dt file
Get the watchdog platform clock from the DTS file using clk subsystem and use the same for calculating ticks in msec. Signed-off-by: NRayagonda Kokatanur <rayagonda.kokatanur@broadcom.com> Signed-off-by: NBharat Kumar Reddy Gooty <bharat.gooty@broadcom.com> Reviewed-by: NStefan Roese <sr@denx.de>
Showing
想要评论请 注册 或 登录