diff options
author | Stephan Gerhold <[email protected]> | 2023-06-15 18:50:37 +0200 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2023-07-13 22:18:56 -0700 |
commit | bcabe1e09135cd4fc1f5cddc6d4a45a221a768cc (patch) | |
tree | 9a8e7646d37a32521e6b360a6ce6b14fd671f8f8 /tools/perf/scripts/python | |
parent | 029bf2941901cc57de0ae008bbd4c5c0717ab39b (diff) |
soc: qcom: smd-rpm: Match rpmsg channel instead of compatible
There is an ever growing list of compatibles in the smd-rpm.c driver.
A fallback compatible would help here but would still require keeping
the current list around for backwards compatibility.
As an alternative, let's switch the driver to match the rpmsg_device_id
instead, which is always "rpm_requests" on all platforms. Add a check
to ensure that there is a device tree node defined for the device since
otherwise the of_platform_populate() call will operate on the root node (/).
Similar approaches with matching rpmsg_device_id are already used in
qcom_sysmon, qcom_glink_ssr, qrtr, and rpmsg_wwan_ctrl.
Tested-by: Konrad Dybcio <[email protected]> # SM6375 (G-Link)
Reviewed-by: Konrad Dybcio <[email protected]>
Signed-off-by: Stephan Gerhold <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions