Skip to content

Commit 8c8ce95

Browse files
Jeya Rgregkh
authored andcommitted
arm64: dts: qcom: add non-secure domain property to fastrpc nodes
FastRPC DSP domain would be set as secure if non-secure dsp property is not added to the fastrpc DT node. Add this property to DT files of msm8916, sdm845, sm8150, sm8250 and sm8350 so that nothing is broken after secure domain patchset. This patch is purely for backward compatibility reasons. Signed-off-by: Jeya R <[email protected]> Signed-off-by: Srinivas Kandagatla <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 35a82b8 commit 8c8ce95

File tree

5 files changed

+12
-0
lines changed

5 files changed

+12
-0
lines changed

arch/arm64/boot/dts/qcom/msm8916.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1370,6 +1370,7 @@
13701370
compatible = "qcom,fastrpc";
13711371
qcom,smd-channels = "fastrpcsmd-apps-dsp";
13721372
label = "adsp";
1373+
qcom,non-secure-domain;
13731374

13741375
#address-cells = <1>;
13751376
#size-cells = <0>;

arch/arm64/boot/dts/qcom/sdm845.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -838,6 +838,7 @@
838838
compatible = "qcom,fastrpc";
839839
qcom,glink-channels = "fastrpcglink-apps-dsp";
840840
label = "adsp";
841+
qcom,non-secure-domain;
841842
#address-cells = <1>;
842843
#size-cells = <0>;
843844

@@ -888,6 +889,7 @@
888889
compatible = "qcom,fastrpc";
889890
qcom,glink-channels = "fastrpcglink-apps-dsp";
890891
label = "cdsp";
892+
qcom,non-secure-domain;
891893
#address-cells = <1>;
892894
#size-cells = <0>;
893895

arch/arm64/boot/dts/qcom/sm8150.dtsi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1751,6 +1751,7 @@
17511751
compatible = "qcom,fastrpc";
17521752
qcom,glink-channels = "fastrpcglink-apps-dsp";
17531753
label = "sdsp";
1754+
qcom,non-secure-domain;
17541755
#address-cells = <1>;
17551756
#size-cells = <0>;
17561757

@@ -2993,6 +2994,7 @@
29932994
compatible = "qcom,fastrpc";
29942995
qcom,glink-channels = "fastrpcglink-apps-dsp";
29952996
label = "cdsp";
2997+
qcom,non-secure-domain;
29962998
#address-cells = <1>;
29972999
#size-cells = <0>;
29983000

@@ -3438,6 +3440,7 @@
34383440
compatible = "qcom,fastrpc";
34393441
qcom,glink-channels = "fastrpcglink-apps-dsp";
34403442
label = "adsp";
3443+
qcom,non-secure-domain;
34413444
#address-cells = <1>;
34423445
#size-cells = <0>;
34433446

arch/arm64/boot/dts/qcom/sm8250.dtsi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2577,6 +2577,7 @@
25772577
compatible = "qcom,fastrpc";
25782578
qcom,glink-channels = "fastrpcglink-apps-dsp";
25792579
label = "sdsp";
2580+
qcom,non-secure-domain;
25802581
#address-cells = <1>;
25812582
#size-cells = <0>;
25822583

@@ -2642,6 +2643,7 @@
26422643
compatible = "qcom,fastrpc";
26432644
qcom,glink-channels = "fastrpcglink-apps-dsp";
26442645
label = "cdsp";
2646+
qcom,non-secure-domain;
26452647
#address-cells = <1>;
26462648
#size-cells = <0>;
26472649

@@ -4375,6 +4377,7 @@
43754377
compatible = "qcom,fastrpc";
43764378
qcom,glink-channels = "fastrpcglink-apps-dsp";
43774379
label = "adsp";
4380+
qcom,non-secure-domain;
43784381
#address-cells = <1>;
43794382
#size-cells = <0>;
43804383

arch/arm64/boot/dts/qcom/sm8350.dtsi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1996,6 +1996,7 @@
19961996
compatible = "qcom,fastrpc";
19971997
qcom,glink-channels = "fastrpcglink-apps-dsp";
19981998
label = "sdsp";
1999+
qcom,non-secure-domain;
19992000
#address-cells = <1>;
20002001
#size-cells = <0>;
20012002

@@ -2065,6 +2066,7 @@
20652066
compatible = "qcom,fastrpc";
20662067
qcom,glink-channels = "fastrpcglink-apps-dsp";
20672068
label = "cdsp";
2069+
qcom,non-secure-domain;
20682070
#address-cells = <1>;
20692071
#size-cells = <0>;
20702072

@@ -2367,6 +2369,7 @@
23672369
compatible = "qcom,fastrpc";
23682370
qcom,glink-channels = "fastrpcglink-apps-dsp";
23692371
label = "adsp";
2372+
qcom,non-secure-domain;
23702373
#address-cells = <1>;
23712374
#size-cells = <0>;
23722375

0 commit comments

Comments
 (0)