Lines Matching +full:sci +full:- +full:reset
1 // SPDX-License-Identifier: GPL-2.0+
3 * Texas Instruments System Control Interface (TI SCI) system reset driver
5 * Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/
16 * struct ti_sci_sysreset_data - sysreset controller information structure
17 * @sci: TI SCI handle used for communication with system controller
20 const struct ti_sci_handle *sci; member
30 return -ENOMEM; in ti_sci_sysreset_probe()
33 data->sci = ti_sci_get_handle(dev); in ti_sci_sysreset_probe()
34 if (IS_ERR(data->sci)) in ti_sci_sysreset_probe()
35 return PTR_ERR(data->sci); in ti_sci_sysreset_probe()
43 const struct ti_sci_handle *sci = data->sci; in ti_sci_sysreset_request() local
44 const struct ti_sci_core_ops *cops = &sci->ops.core_ops; in ti_sci_sysreset_request()
49 ret = cops->reboot_device(sci); in ti_sci_sysreset_request()
51 dev_err(rst->dev, "%s: reboot_device failed (%d)\n", in ti_sci_sysreset_request()
62 { .compatible = "ti,sci-sysreset", },
67 .name = "ti-sci-sysreset",