Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/watchdog/
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()
Dath79_wdt.c65 static struct clk *wdt_clk; variable
259 wdt_clk = devm_clk_get_enabled(&pdev->dev, "wdt"); in ath79_wdt_probe()
260 if (IS_ERR(wdt_clk)) in ath79_wdt_probe()
261 return PTR_ERR(wdt_clk); in ath79_wdt_probe()
263 wdt_freq = clk_get_rate(wdt_clk); in ath79_wdt_probe()
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()
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()
Drzg2l_wdt.c80 /* Registers other than the WDTINT is always synchronized with WDT_CLK */ in rzg2l_wdt_write()
/linux-6.12.1/Documentation/devicetree/bindings/watchdog/
Darm,sp805.yaml72 clocks = <&wdt_clk>, <&apb_pclk>;
/linux-6.12.1/drivers/clk/spear/
Dspear6xx_clock.c146 clk = clk_register_fixed_factor(NULL, "wdt_clk", "osc_30m_clk", 0, 1, in spear6xx_clk_init()
Dspear3xx_clock.c408 clk = clk_register_fixed_factor(NULL, "wdt_clk", "osc_24m_clk", 0, 1, in spear3xx_clk_init()
Dspear1310_clock.c492 clk = clk_register_fixed_factor(NULL, "wdt_clk", "cpu_clk", 0, 1, in spear1310_clk_init()
Dspear1340_clock.c569 clk = clk_register_fixed_factor(NULL, "wdt_clk", "cpu_clk", 0, 1, in spear1340_clk_init()