Lines Matching full:reset
3 * TI SYSCON regmap reset driver
15 #include <linux/reset-controller.h>
17 #include <dt-bindings/reset/ti-syscon.h>
20 * struct ti_syscon_reset_control - reset control structure
21 * @assert_offset: reset assert control register offset from syscon base
22 * @assert_bit: reset assert bit in the reset assert control register
23 * @deassert_offset: reset deassert control register offset from syscon base
24 * @deassert_bit: reset deassert bit in the reset deassert control register
25 * @status_offset: reset status register offset from syscon base
26 * @status_bit: reset status bit in the reset status register
27 * @flags: reset flag indicating how the (de)assert and status are handled
40 * struct ti_syscon_reset_data - reset controller information structure
41 * @rcdev: reset controller entity
42 * @regmap: regmap handle containing the memory-mapped reset registers
43 * @controls: array of reset controls
57 * ti_syscon_reset_assert() - assert device reset
58 * @rcdev: reset controller entity
59 * @id: ID of the reset to be asserted
61 * This function implements the reset driver op to assert a device's reset.
62 * This asserts the reset in a manner prescribed by the reset flags.
79 return -ENOTSUPP; /* assert not supported for this reset */ in ti_syscon_reset_assert()
88 * ti_syscon_reset_deassert() - deassert device reset
89 * @rcdev: reset controller entity
90 * @id: ID of reset to be deasserted
92 * This function implements the reset driver op to deassert a device's reset.
93 * This deasserts the reset in a manner prescribed by the reset flags.
110 return -ENOTSUPP; /* deassert not supported for this reset */ in ti_syscon_reset_deassert()
119 * ti_syscon_reset_status() - check device reset status
120 * @rcdev: reset controller entity
121 * @id: ID of the reset for which the status is being requested
123 * This function implements the reset driver op to return the status of a
124 * device's reset.
126 * Return: 0 if reset is deasserted, true if reset is asserted, else a
143 return -ENOTSUPP; /* status not supported for this reset */ in ti_syscon_reset_status()
177 list = of_get_property(np, "ti,reset-bits", &size); in ti_syscon_reset_probe()
179 dev_err(dev, "invalid DT reset description\n"); in ti_syscon_reset_probe()
211 { .compatible = "ti,syscon-reset", },
219 .name = "ti-syscon-reset",
227 MODULE_DESCRIPTION("TI SYSCON Regmap Reset Driver");