Home
last modified time | relevance | path

Searched refs:imx7ulp_wdt (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/drivers/watchdog/
Dimx7ulp_wdt.c303 struct imx7ulp_wdt_device *imx7ulp_wdt; in imx7ulp_wdt_probe() local
308 imx7ulp_wdt = devm_kzalloc(dev, sizeof(*imx7ulp_wdt), GFP_KERNEL); in imx7ulp_wdt_probe()
309 if (!imx7ulp_wdt) in imx7ulp_wdt_probe()
312 platform_set_drvdata(pdev, imx7ulp_wdt); in imx7ulp_wdt_probe()
314 imx7ulp_wdt->base = devm_platform_ioremap_resource(pdev, 0); in imx7ulp_wdt_probe()
315 if (IS_ERR(imx7ulp_wdt->base)) in imx7ulp_wdt_probe()
316 return PTR_ERR(imx7ulp_wdt->base); in imx7ulp_wdt_probe()
318 imx7ulp_wdt->clk = devm_clk_get_enabled(dev, NULL); in imx7ulp_wdt_probe()
319 if (IS_ERR(imx7ulp_wdt->clk)) { in imx7ulp_wdt_probe()
321 return PTR_ERR(imx7ulp_wdt->clk); in imx7ulp_wdt_probe()
[all …]
DMakefile70 obj-$(CONFIG_IMX7ULP_WDT) += imx7ulp_wdt.o
DKconfig748 module will be called imx7ulp_wdt.