Lines Matching +full:enable +full:- +full:soft +full:- +full:reset
1 // SPDX-License-Identifier: GPL-2.0-only
41 * rsctrl_enable_rspll_write - enable access to RSCTRL, RSCFG
54 /* enable write access to RSTCTRL */ in rsctrl_restart_handler()
57 /* reset the SOC */ in rsctrl_restart_handler()
70 {.compatible = "ti,keystone-reset", },
83 struct device *dev = &pdev->dev; in rsctrl_probe()
84 struct device_node *np = dev->of_node; in rsctrl_probe()
87 return -ENODEV; in rsctrl_probe()
90 pllctrl_regs = syscon_regmap_lookup_by_phandle_args(np, "ti,syscon-pll", in rsctrl_probe()
95 devctrl_regs = syscon_regmap_lookup_by_phandle_args(np, "ti,syscon-dev", in rsctrl_probe()
100 /* set soft/hard reset */ in rsctrl_probe()
101 val = of_property_read_bool(np, "ti,soft-reset"); in rsctrl_probe()
112 /* disable a reset isolation for all module clocks */ in rsctrl_probe()
117 /* enable a reset for watchdogs from wdt-list */ in rsctrl_probe()
119 ret = of_property_read_u32_index(np, "ti,wdt-list", i, &val); in rsctrl_probe()
120 if (ret == -EOVERFLOW && !i) { in rsctrl_probe()
121 dev_err(dev, "ti,wdt-list property has to contain at" in rsctrl_probe()
123 return -EINVAL; in rsctrl_probe()
129 dev_err(dev, "ti,wdt-list property can contain " in rsctrl_probe()
131 return -EINVAL; in rsctrl_probe()
160 MODULE_DESCRIPTION("Texas Instruments keystone reset driver");