summaryrefslogtreecommitdiff
path: root/drivers/sysreset/sysreset-ti-sci.c
diff options
context:
space:
mode:
authorAndrew Davis <afd@ti.com>2024-04-02 11:09:07 -0500
committerTom Rini <trini@konsulko.com>2024-04-11 20:44:36 -0600
commitfc5d40283483a595c0d76ff366823a5367e4cd20 (patch)
tree981d12c4c9d5c362c9987b5b3a935553c692ea04 /drivers/sysreset/sysreset-ti-sci.c
parent0b0652737381e839a2d55c892bf9e4f1d86db21b (diff)
firmware: ti_sci: Bind sysreset driver when enabled
The sysreset TI-SCI API is available with TI-SCI always, there is no need for a DT node to describe the availability of this. If the sysreset driver is available then bind it during ti-sci probe. Remove the unneeded device tree matching. Signed-off-by: Andrew Davis <afd@ti.com> Tested-by: Jonathan Humphreys <j-humphreys@ti.com> Reviewed-by: Neha Malcom Francis <n-francis@ti.com>
Diffstat (limited to 'drivers/sysreset/sysreset-ti-sci.c')
-rw-r--r--drivers/sysreset/sysreset-ti-sci.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/sysreset/sysreset-ti-sci.c b/drivers/sysreset/sysreset-ti-sci.c
index 5fc05c46cb0..0de132633a8 100644
--- a/drivers/sysreset/sysreset-ti-sci.c
+++ b/drivers/sysreset/sysreset-ti-sci.c
@@ -60,15 +60,9 @@ static struct sysreset_ops ti_sci_sysreset_ops = {
.request = ti_sci_sysreset_request,
};
-static const struct udevice_id ti_sci_sysreset_of_match[] = {
- { .compatible = "ti,sci-sysreset", },
- { /* sentinel */ },
-};
-
U_BOOT_DRIVER(ti_sci_sysreset) = {
.name = "ti-sci-sysreset",
.id = UCLASS_SYSRESET,
- .of_match = ti_sci_sysreset_of_match,
.probe = ti_sci_sysreset_probe,
.priv_auto = sizeof(struct ti_sci_sysreset_data),
.ops = &ti_sci_sysreset_ops,