Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions arch/arm64/boot/dts/qcom/sc8180x-surface-pro-x.dts
Original file line number Diff line number Diff line change
Expand Up @@ -1134,6 +1134,12 @@
firmware-name = "qcom/msft/surface/pro-x-sq2/qcmpss8180.mbn";
};

&remoteproc_slpi {
status = "okay";
memory-region = <&scss_mem>;
firmware-name = "qcom/msft/surface/pro-x-sq2/qcslpi8180.mbn";
};


&qupv3_id_0 {
status = "okay";
Expand Down
61 changes: 61 additions & 0 deletions arch/arm64/boot/dts/qcom/sc8180x.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -2266,6 +2266,67 @@
#hwlock-cells = <1>;
};

remoteproc_slpi: remoteproc@2400000 {
compatible = "qcom,sc8180x-slpi-pas";
reg = <0x0 0x02400000 0x0 0x4040>;

interrupts-extended = <&intc GIC_SPI 494 IRQ_TYPE_EDGE_RISING>,
<&slpi_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
<&slpi_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
<&slpi_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
<&slpi_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "wdog", "fatal", "ready",
"handover", "stop-ack";

clocks = <&rpmhcc RPMH_CXO_CLK>;
clock-names = "xo";

power-domains = <&rpmhpd SC8180X_LCX>,
<&rpmhpd SC8180X_LMX>;
power-domain-names = "lcx", "lmx";

qcom,qmp = <&aoss_qmp>;

qcom,smem-states = <&slpi_smp2p_out 0>;
qcom,smem-state-names = "stop";

status = "disabled";

glink-edge {
interrupts = <GIC_SPI 170 IRQ_TYPE_EDGE_RISING>;
label = "dsps";
qcom,remote-pid = <3>;
mboxes = <&apss_shared 24>;

fastrpc {
compatible = "qcom,fastrpc";
qcom,glink-channels = "fastrpcglink-apps-dsp";
label = "sdsp";
qcom,non-secure-domain;
#address-cells = <1>;
#size-cells = <0>;

compute-cb@1 {
compatible = "qcom,fastrpc-compute-cb";
reg = <1>;
iommus = <&apps_smmu 0x05a1 0x0>;
};

compute-cb@2 {
compatible = "qcom,fastrpc-compute-cb";
reg = <2>;
iommus = <&apps_smmu 0x05a2 0x0>;
};

compute-cb@3 {
compatible = "qcom,fastrpc-compute-cb";
reg = <3>;
iommus = <&apps_smmu 0x05a3 0x0>;
};
};
};
};

gpu: gpu@2c00000 {
compatible = "qcom,adreno-680.1", "qcom,adreno";

Expand Down
1 change: 1 addition & 0 deletions drivers/remoteproc/qcom_q6v5_pas.c
Original file line number Diff line number Diff line change
Expand Up @@ -1862,6 +1862,7 @@ static const struct of_device_id qcom_pas_of_match[] = {
{ .compatible = "qcom,sc8180x-adsp-pas", .data = &sm8150_adsp_resource },
{ .compatible = "qcom,sc8180x-cdsp-pas", .data = &sm8150_cdsp_resource },
{ .compatible = "qcom,sc8180x-mpss-pas", .data = &sc8180x_mpss_resource },
{ .compatible = "qcom,sc8180x-slpi-pas", .data = &sdm845_slpi_resource_init },
{ .compatible = "qcom,sc8280xp-adsp-pas", .data = &sm8250_adsp_resource },
{ .compatible = "qcom,sc8280xp-nsp0-pas", .data = &sc8280xp_nsp0_resource },
{ .compatible = "qcom,sc8280xp-nsp1-pas", .data = &sc8280xp_nsp1_resource },
Expand Down