/* *Allowusertousedriver_overridetobindthisdrivertoa *transparentbusdevicewhichhasadifferentcompatiblestring *that'snotlistedinsimple_pm_bus_of_match.Wedon'twanttodoany *ofthesimple-pm-bustasksforthesedevices,soreturnearly.
*/ if (pdev->driver_override) return0;
match = of_match_device(dev->driver->of_match_table, dev); /* *Thesearetransparentbusdevices(notsimple-pm-busmatches)that *havetheirchildnodespopulatedautomatically.So,don'tneedto *doanythingmore.Weonlymatchwiththedeviceifthisdriveris *themostspecificmatchbecausewedon'twanttoincorrectlybindto *adevicethathasamorespecificdriver.
*/ if (match && match->data) { if (of_property_match_string(np, "compatible", match->compatible) == 0) return0; else return -ENODEV;
}
bus = devm_kzalloc(&pdev->dev, sizeof(*bus), GFP_KERNEL); if (!bus) return -ENOMEM;
bus->num_clks = devm_clk_bulk_get_all(&pdev->dev, &bus->clks); if (bus->num_clks < 0) return dev_err_probe(&pdev->dev, bus->num_clks, "failed to get clocks\n");
dev_set_drvdata(&pdev->dev, bus);
dev_dbg(&pdev->dev, "%s\n", __func__);
pm_runtime_enable(&pdev->dev);
if (np)
of_platform_populate(np, NULL, lookup, &pdev->dev);
MODULE_DESCRIPTION("Simple Power-Managed Bus Driver");
MODULE_AUTHOR("Geert Uytterhoeven <geert+renesas@glider.be>");
Messung V0.5 in Prozent
¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.10Angebot
(Wie Sie bei der Firma Beratungs- und Dienstleistungen beauftragen können 2026-09-29)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.