Commit 9d5f3cc5 authored by Dmitry Baryshkov's avatar Dmitry Baryshkov Committed by Bjorn Andersson

dt-bindings: soc: qcom: smd-rpm: add generic compatibles

Add two generic compatibles to all smd-rpm devices, they follow the same
RPMSG protocol and are either accessed through the smd-edge or through
the glink-edge.
Signed-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: default avatarRob Herring (Arm) <robh@kernel.org>
Acked-by: default avatarStephen Boyd <sboyd@kernel.org>
Link: https://lore.kernel.org/r/20240729-fix-smd-rpm-v2-2-0776408a94c5@linaro.orgSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent b1715513
...@@ -139,7 +139,7 @@ examples: ...@@ -139,7 +139,7 @@ examples:
- | - |
rpm { rpm {
rpm-requests { rpm-requests {
compatible = "qcom,rpm-msm8916"; compatible = "qcom,rpm-msm8916", "qcom,smd-rpm";
qcom,smd-channels = "rpm_requests"; qcom,smd-channels = "rpm_requests";
clock-controller { clock-controller {
......
...@@ -90,7 +90,7 @@ examples: ...@@ -90,7 +90,7 @@ examples:
qcom,rpm-msg-ram = <&rpm_msg_ram>; qcom,rpm-msg-ram = <&rpm_msg_ram>;
rpm-requests { rpm-requests {
compatible = "qcom,rpm-msm8996"; compatible = "qcom,rpm-msm8996", "qcom,glink-smd-rpm";
qcom,glink-channels = "rpm_requests"; qcom,glink-channels = "rpm_requests";
/* ... */ /* ... */
......
...@@ -142,7 +142,7 @@ examples: ...@@ -142,7 +142,7 @@ examples:
qcom,smd-edge = <15>; qcom,smd-edge = <15>;
rpm-requests { rpm-requests {
compatible = "qcom,rpm-msm8916"; compatible = "qcom,rpm-msm8916", "qcom,smd-rpm";
qcom,smd-channels = "rpm_requests"; qcom,smd-channels = "rpm_requests";
/* ... */ /* ... */
}; };
...@@ -163,7 +163,7 @@ examples: ...@@ -163,7 +163,7 @@ examples:
mboxes = <&apcs_glb 0>; mboxes = <&apcs_glb 0>;
rpm-requests { rpm-requests {
compatible = "qcom,rpm-qcm2290"; compatible = "qcom,rpm-qcm2290", "qcom,glink-smd-rpm";
qcom,glink-channels = "rpm_requests"; qcom,glink-channels = "rpm_requests";
/* ... */ /* ... */
}; };
......
...@@ -30,31 +30,37 @@ maintainers: ...@@ -30,31 +30,37 @@ maintainers:
properties: properties:
compatible: compatible:
enum: oneOf:
- qcom,rpm-apq8084 - items:
- qcom,rpm-ipq6018 - enum:
- qcom,rpm-ipq9574 - qcom,rpm-apq8084
- qcom,rpm-mdm9607 - qcom,rpm-mdm9607
- qcom,rpm-msm8226 - qcom,rpm-msm8226
- qcom,rpm-msm8610 - qcom,rpm-msm8610
- qcom,rpm-msm8909 - qcom,rpm-msm8909
- qcom,rpm-msm8916 - qcom,rpm-msm8916
- qcom,rpm-msm8917 - qcom,rpm-msm8917
- qcom,rpm-msm8936 - qcom,rpm-msm8936
- qcom,rpm-msm8937 - qcom,rpm-msm8937
- qcom,rpm-msm8952 - qcom,rpm-msm8952
- qcom,rpm-msm8953 - qcom,rpm-msm8953
- qcom,rpm-msm8974 - qcom,rpm-msm8974
- qcom,rpm-msm8976 - qcom,rpm-msm8976
- qcom,rpm-msm8994 - qcom,rpm-msm8994
- qcom,rpm-msm8996 - const: qcom,smd-rpm
- qcom,rpm-msm8998 - items:
- qcom,rpm-qcm2290 - enum:
- qcom,rpm-qcs404 - qcom,rpm-ipq6018
- qcom,rpm-sdm660 - qcom,rpm-ipq9574
- qcom,rpm-sm6115 - qcom,rpm-msm8996
- qcom,rpm-sm6125 - qcom,rpm-msm8998
- qcom,rpm-sm6375 - qcom,rpm-qcm2290
- qcom,rpm-qcs404
- qcom,rpm-sdm660
- qcom,rpm-sm6115
- qcom,rpm-sm6125
- qcom,rpm-sm6375
- const: qcom,glink-smd-rpm
clock-controller: clock-controller:
$ref: /schemas/clock/qcom,rpmcc.yaml# $ref: /schemas/clock/qcom,rpmcc.yaml#
...@@ -84,21 +90,7 @@ if: ...@@ -84,21 +90,7 @@ if:
properties: properties:
compatible: compatible:
contains: contains:
enum: const: qcom,smd-rpm
- qcom,rpm-apq8084
- qcom,rpm-mdm9607
- qcom,rpm-msm8226
- qcom,rpm-msm8610
- qcom,rpm-msm8909
- qcom,rpm-msm8916
- qcom,rpm-msm8917
- qcom,rpm-msm8936
- qcom,rpm-msm8937
- qcom,rpm-msm8952
- qcom,rpm-msm8953
- qcom,rpm-msm8974
- qcom,rpm-msm8976
- qcom,rpm-msm8994
then: then:
properties: properties:
qcom,glink-channels: false qcom,glink-channels: false
...@@ -129,7 +121,7 @@ examples: ...@@ -129,7 +121,7 @@ examples:
qcom,smd-edge = <15>; qcom,smd-edge = <15>;
rpm-requests { rpm-requests {
compatible = "qcom,rpm-msm8916"; compatible = "qcom,rpm-msm8916", "qcom,smd-rpm";
qcom,smd-channels = "rpm_requests"; qcom,smd-channels = "rpm_requests";
clock-controller { clock-controller {
......
...@@ -56,7 +56,7 @@ examples: ...@@ -56,7 +56,7 @@ examples:
qcom,smd-edge = <15>; qcom,smd-edge = <15>;
rpm-requests { rpm-requests {
compatible = "qcom,rpm-msm8974"; compatible = "qcom,rpm-msm8974", "qcom,smd-rpm";
qcom,smd-channels = "rpm_requests"; qcom,smd-channels = "rpm_requests";
clock-controller { clock-controller {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment