Home
last modified time | relevance | path

Searched full:wdt_clk (Results 1 – 12 of 12) sorted by relevance

/openbmc/linux/drivers/watchdog/
H A Dath79_wdt.c65 static struct clk *wdt_clk; variable
260 wdt_clk = devm_clk_get(&pdev->dev, "wdt"); in ath79_wdt_probe()
261 if (IS_ERR(wdt_clk)) in ath79_wdt_probe()
262 return PTR_ERR(wdt_clk); in ath79_wdt_probe()
264 err = clk_prepare_enable(wdt_clk); in ath79_wdt_probe()
268 wdt_freq = clk_get_rate(wdt_clk); in ath79_wdt_probe()
295 clk_disable_unprepare(wdt_clk); in ath79_wdt_probe()
302 clk_disable_unprepare(wdt_clk); in ath79_wdt_remove()
H A Dimgpdc_wdt.c84 struct clk *wdt_clk; member
116 unsigned long clk_rate = clk_get_rate(wdt->wdt_clk); in __pdc_wdt_set_timeout()
200 pdc_wdt->wdt_clk = devm_clk_get_enabled(dev, "wdt"); in pdc_wdt_probe()
201 if (IS_ERR(pdc_wdt->wdt_clk)) { in pdc_wdt_probe()
203 return PTR_ERR(pdc_wdt->wdt_clk); in pdc_wdt_probe()
207 clk_rate = clk_get_rate(pdc_wdt->wdt_clk); in pdc_wdt_probe()
H A Dlpc18xx_wdt.c54 struct clk *wdt_clk; member
219 lpc18xx_wdt->wdt_clk = devm_clk_get_enabled(dev, "wdtclk"); in lpc18xx_wdt_probe()
220 if (IS_ERR(lpc18xx_wdt->wdt_clk)) { in lpc18xx_wdt_probe()
222 return PTR_ERR(lpc18xx_wdt->wdt_clk); in lpc18xx_wdt_probe()
226 lpc18xx_wdt->clk_rate = clk_get_rate(lpc18xx_wdt->wdt_clk); in lpc18xx_wdt_probe()
H A Dpnx4008_wdt.c81 static struct clk *wdt_clk; variable
193 wdt_clk = devm_clk_get_enabled(dev, NULL); in pnx4008_wdt_probe()
194 if (IS_ERR(wdt_clk)) in pnx4008_wdt_probe()
195 return PTR_ERR(wdt_clk); in pnx4008_wdt_probe()
H A Drzg2l_wdt.c105 /* Registers other than the WDTINT is always synchronized with WDT_CLK */ in rzg2l_wdt_write()
/openbmc/linux/Documentation/devicetree/bindings/watchdog/
H A Darm,sp805.yaml68 clocks = <&wdt_clk>, <&apb_pclk>;
/openbmc/u-boot/board/renesas/MigoR/
H A Dlowlevel_init.S50 ! 0xA507 -> timer_STOP / WDT_CLK = max
/openbmc/u-boot/board/ms7722se/
H A Dlowlevel_init.S55 ! write16 RWTCSR_A, RWTCSR_D_1 /* 0xA507 -> timer_STOP/WDT_CLK=max */
/openbmc/linux/drivers/clk/spear/
H A Dspear6xx_clock.c146 clk = clk_register_fixed_factor(NULL, "wdt_clk", "osc_30m_clk", 0, 1, in spear6xx_clk_init()
H A Dspear3xx_clock.c408 clk = clk_register_fixed_factor(NULL, "wdt_clk", "osc_24m_clk", 0, 1, in spear3xx_clk_init()
H A Dspear1310_clock.c492 clk = clk_register_fixed_factor(NULL, "wdt_clk", "cpu_clk", 0, 1, in spear1310_clk_init()
H A Dspear1340_clock.c569 clk = clk_register_fixed_factor(NULL, "wdt_clk", "cpu_clk", 0, 1, in spear1340_clk_init()