diff options
| author | Sudeep Holla <sudeep.holla@kernel.org> | 2026-09-15 18:03:35 +0100 |
|---|---|---|
| committer | Sudeep Holla <sudeep.holla@kernel.org> | 2026-09-15 18:28:08 +0100 |
| commit | 146af926951d5ce25d8c7e352f071de56aecc021 (patch) | |
| tree | 47ee6dcc16b2325f06ad02b14a07e58a3700f7ee /tools/perf/scripts/python/bin | |
| parent | 2911930bfbdf382aa2785f16eb960d48e8a93295 (diff) | |
firmware: arm_scmi: Set generated device fwnode with platform helpers
The SCMI transport probe helper creates a platform device for the SCMI
core. device_set_of_node_from_dev() propagates the supplier's OF node,
but leaves generated devices for non-DT transports without a firmware
node.
Use platform_device_set_of_node_from_dev() for devicetree suppliers so
the shared OF node is referenced and marked as reused. For all other
suppliers, use platform_device_set_fwnode() so ACPI and other firmware
nodes are propagated with a reference that platform_device_release()
can balance.
Link: https://patch.msgid.link/20260915-acpi_scmi_pcc-v5-1-298579e9f359@kernel.org
Signed-off-by: Sudeep Holla <sudeep.holla@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
