watchdog: of_xilinx_wdt: Add support for reading freq via CCF
authorMaulik Jodhani <maulik.jodhani@xilinx.com>
Mon, 7 Aug 2017 11:24:22 +0000 (13:24 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Sat, 9 Sep 2017 18:45:21 +0000 (20:45 +0200)
commitb6bc41645547f4e1a1bd882db7fa2b8596197d88
tree65e1df139a75778a67de43bdc2f28c61c0d7f538
parente8a7fc711c9aa801cf0e733109e40548b16875a3
watchdog: of_xilinx_wdt: Add support for reading freq via CCF

Improve CLK handling in the code to read freq via CCF.
Also disable CLK asap and add clk handling code to start and stop.

Signed-off-by: Maulik Jodhani <maulik.jodhani@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/of_xilinx_wdt.c