diff options
author | Stephan Gerhold <stephan@gerhold.net> | 2023-06-15 19:50:37 +0300 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2023-07-14 08:18:56 +0300 |
commit | bcabe1e09135cd4fc1f5cddc6d4a45a221a768cc (patch) | |
tree | 9a8e7646d37a32521e6b360a6ce6b14fd671f8f8 /tools/perf/scripts/python/gecko.py | |
parent | 029bf2941901cc57de0ae008bbd4c5c0717ab39b (diff) | |
download | linux-bcabe1e09135cd4fc1f5cddc6d4a45a221a768cc.tar.xz |
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 <konrad.dybcio@linaro.org> # SM6375 (G-Link)
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Link: https://lore.kernel.org/r/20230531-rpm-rproc-v3-4-a07dcdefd918@gerhold.net
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions