Lines Matching full:syscon
11 #include <linux/mfd/syscon.h>
31 struct regmap *syscon = data->cb_data; in axxia_restart_handler() local
34 regmap_write(syscon, SC_CRIT_WRITE_KEY, 0xab); in axxia_restart_handler()
36 regmap_write(syscon, SC_LATCH_ON_RESET, 0x00000040); in axxia_restart_handler()
38 regmap_write(syscon, SC_EFUSE_INT_STATUS, EFUSE_READ_DONE); in axxia_restart_handler()
40 regmap_update_bits(syscon, SC_RESET_CONTROL, in axxia_restart_handler()
49 struct regmap *syscon; in axxia_reset_probe() local
52 syscon = syscon_regmap_lookup_by_phandle(dev->of_node, "syscon"); in axxia_reset_probe()
53 if (IS_ERR(syscon)) { in axxia_reset_probe()
54 pr_err("%pOFn: syscon lookup failed\n", dev->of_node); in axxia_reset_probe()
55 return PTR_ERR(syscon); in axxia_reset_probe()
59 128, axxia_restart_handler, syscon); in axxia_reset_probe()