Skip to content

Commit b196f3d

Browse files
committed
Merge tag 'rpmsg-v5.20-1' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux
Pull rpmsg fixes from Bjorn Andersson: "This fixes schema validation warnings in the Devicetree bindings for SMD and SMD RPM" * tag 'rpmsg-v5.20-1' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux: dt-bindings: soc: qcom: smd-rpm: extend example dt-bindings: soc: qcom: smd: reference SMD edge schema
2 parents b1701d5 + 56e07c0 commit b196f3d

File tree

2 files changed

+28
-7
lines changed

2 files changed

+28
-7
lines changed

Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml

Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,33 @@ examples:
9292
qcom,ipc = <&apcs 8 0>;
9393
qcom,smd-edge = <15>;
9494
95-
rpm-requests {
96-
compatible = "qcom,rpm-msm8974";
97-
qcom,smd-channels = "rpm_requests";
95+
rpm-requests {
96+
compatible = "qcom,rpm-msm8916";
97+
qcom,smd-channels = "rpm_requests";
98+
99+
clock-controller {
100+
compatible = "qcom,rpmcc-msm8916", "qcom,rpmcc";
101+
#clock-cells = <1>;
102+
clocks = <&xo_board>;
103+
clock-names = "xo";
104+
};
98105
99-
/* Regulator nodes to follow */
106+
power-controller {
107+
compatible = "qcom,msm8916-rpmpd";
108+
#power-domain-cells = <1>;
109+
operating-points-v2 = <&rpmpd_opp_table>;
110+
111+
rpmpd_opp_table: opp-table {
112+
compatible = "operating-points-v2";
113+
114+
opp-1 {
115+
opp-level = <1>;
116+
};
117+
opp-2 {
118+
opp-level = <2>;
119+
};
120+
};
100121
};
101122
};
102-
};
103-
...
123+
};
124+
};

Documentation/devicetree/bindings/soc/qcom/qcom,smd.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ properties:
2121

2222
patternProperties:
2323
"^.*-edge|rpm$":
24-
type: object
24+
$ref: /schemas/remoteproc/qcom,smd-edge.yaml#
2525
description:
2626
Each subnode of the SMD node represents a remote subsystem or a remote
2727
processor of some sort - or in SMD language an "edge". The name of the

0 commit comments

Comments
 (0)