dt-bindings: remoteproc: qcom: pas: Add SM8350 remoteprocs
PATCH 1/2 dt-bindings: remoteproc: qcom: pas: Add SM8350 remoteprocs
Add the SM8350 audio, compute, modem and sensor remoteprocs to the PAS DT binding.
--- .../devicetree/bindings/remoteproc/qcom,adsp.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+)
Documentation/devicetree/bindings/remoteproc/qcom,adsp.txt +12 -0
@@ -25,6 +25,10 @@ on the Qualcomm ADSP Hexagon core. "qcom,sm8250-adsp-pas" "qcom,sm8250-cdsp-pas" "qcom,sm8250-slpi-pas" + "qcom,sm8350-adsp-pas" + "qcom,sm8350-cdsp-pas" + "qcom,sm8350-slpi-pas" + "qcom,sm8350-mpss-pas" - interrupts-extended: Usage: required
@@ -51,10 +55,14 @@ on the Qualcomm ADSP Hexagon core. qcom,sm8250-adsp-pas: qcom,sm8250-cdsp-pas: qcom,sm8250-slpi-pas: + qcom,sm8350-adsp-pas: + qcom,sm8350-cdsp-pas: + qcom,sm8350-slpi-pas: must be "wdog", "fatal", "ready", "handover", "stop-ack" qcom,qcs404-wcss-pas: qcom,sc7180-mpss-pas: qcom,sm8150-mpss-pas: + qcom,sm8350-mpss-pas: must be "wdog", "fatal", "ready", "handover", "stop-ack", "shutdown-ack"
@@ -113,14 +121,18 @@ on the Qualcomm ADSP Hexagon core. qcom,sdm845-cdsp-pas: qcom,sm8150-adsp-pas: qcom,sm8150-cdsp-pas: + qcom,sm8250-cdsp-pas: qcom,sm8250-cdsp-pas: must be "cx", "load_state" qcom,sc7180-mpss-pas: qcom,sm8150-mpss-pas: + qcom,sm8350-mpss-pas: must be "cx", "load_state", "mss" qcom,sm8250-adsp-pas: + qcom,sm8350-adsp-pas: qcom,sm8150-slpi-pas: qcom,sm8250-slpi-pas: + qcom,sm8350-slpi-pas: must be "lcx", "lmx", "load_state" - memory-region:
Signature · 1 line
2.26.2
PATCH 2/2 remoteproc: qcom: pas: Add SM8350 PAS remoteprocs
Add audio, compute, modem and sensor DSP resources to the Qualcomm PAS driver.
--- drivers/remoteproc/qcom_q6v5_pas.c | 63 ++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+)
drivers/remoteproc/qcom_q6v5_pas.c +63 -0
@@ -565,6 +565,26 @@ static const struct adsp_data sm8250_adsp_resource = { .ssctl_id = 0x14, }; +static const struct adsp_data sm8350_adsp_resource = { + .crash_reason_smem =423 , + .firmware_name ="adsp.mdt" , + .pas_id =1 , + .has_aggre2_clk = false, + .auto_boot = true, + .active_pd_names = (char *[]){ +"load_state" , +NULL + }, + .proxy_pd_names = (char *[]){ +"lcx" , +"lmx" , +NULL + }, + .ssr_name ="lpass" , + .sysmon_name ="adsp" , + .ssctl_id =0x14 , +}; +static const struct adsp_data msm8998_adsp_resource = { .crash_reason_smem =423 , .firmware_name ="adsp.mdt" ,
@@ -629,6 +649,25 @@ static const struct adsp_data sm8250_cdsp_resource = { .ssctl_id = 0x17, }; +static const struct adsp_data sm8350_cdsp_resource = { + .crash_reason_smem =601 , + .firmware_name ="cdsp.mdt" , + .pas_id =18 , + .has_aggre2_clk = false, + .auto_boot = true, + .active_pd_names = (char *[]){ +"load_state" , +NULL + }, + .proxy_pd_names = (char *[]){ +"cx" , +NULL + }, + .ssr_name ="cdsp" , + .sysmon_name ="cdsp" , + .ssctl_id =0x17 , +}; +static const struct adsp_data mpss_resource_init = { .crash_reason_smem =421 , .firmware_name ="modem.mdt" ,
@@ -701,6 +740,26 @@ static const struct adsp_data sm8250_slpi_resource = { .ssctl_id = 0x16, }; +static const struct adsp_data sm8350_slpi_resource = { + .crash_reason_smem =424 , + .firmware_name ="slpi.mdt" , + .pas_id =12 , + .has_aggre2_clk = false, + .auto_boot = true, + .active_pd_names = (char *[]){ +"load_state" , +NULL + }, + .proxy_pd_names = (char *[]){ +"lcx" , +"lmx" , +NULL + }, + .ssr_name ="dsps" , + .sysmon_name ="slpi" , + .ssctl_id =0x16 , +}; +static const struct adsp_data msm8998_slpi_resource = { .crash_reason_smem =424 , .firmware_name ="slpi.mdt" ,
@@ -745,6 +804,10 @@ static const struct of_device_id adsp_of_match[] = { { .compatible = "qcom,sm8250-adsp-pas", .data = &sm8250_adsp_resource}, { .compatible = "qcom,sm8250-cdsp-pas", .data = &sm8250_cdsp_resource}, { .compatible = "qcom,sm8250-slpi-pas", .data = &sm8250_slpi_resource}, + { .compatible = "qcom,sm8350-adsp-pas", .data = &sm8350_adsp_resource}, + { .compatible = "qcom,sm8350-cdsp-pas", .data = &sm8350_cdsp_resource}, + { .compatible = "qcom,sm8350-slpi-pas", .data = &sm8350_slpi_resource}, + { .compatible = "qcom,sm8350-mpss-pas", .data = &mpss_resource_init}, { }, };MODULE_DEVICE_TABLE (of, adsp_of_match);
Signature · 1 line
2.26.2
Quoted 39 lines · Vinod Koul
Add the SM8350 audio, compute, modem and sensor remoteprocs to the PAS DT binding.
Signed-off-by Vinod Koul <[email protected]>--- .../devicetree/bindings/remoteproc/qcom,adsp.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+)Documentation/devicetree/bindings/remoteproc/qcom,adsp.txt +8
-0@@ -25,6 +25,10 @@ on the Qualcomm ADSP Hexagon core. "qcom,sm8250-adsp-pas" "qcom,sm8250-cdsp-pas" "qcom,sm8250-slpi-pas" + "qcom,sm8350-adsp-pas" + "qcom,sm8350-cdsp-pas" + "qcom,sm8350-slpi-pas" + "qcom,sm8350-mpss-pas" - interrupts-extended: Usage: required@@ -51,10 +55,14 @@ on the Qualcomm ADSP Hexagon core. qcom,sm8250-adsp-pas: qcom,sm8250-cdsp-pas: qcom,sm8250-slpi-pas: + qcom,sm8350-adsp-pas: + qcom,sm8350-cdsp-pas: + qcom,sm8350-slpi-pas: must be "wdog", "fatal", "ready", "handover", "stop-ack" qcom,qcs404-wcss-pas: qcom,sc7180-mpss-pas: qcom,sm8150-mpss-pas: + qcom,sm8350-mpss-pas: must be "wdog", "fatal", "ready", "handover", "stop-ack", "shutdown-ack"
Documentation/devicetree/bindings/remoteproc/qcom,adsp.txt on the Qualcomm ADSP Hexagon core. · line 124
Quoted 4 lines
Documentation/devicetree/bindings/remoteproc/qcom,adsp.txt +1
-0@@ -113,14 +121,18 @@ on the Qualcomm ADSP Hexagon core. qcom,sdm845-cdsp-pas: qcom,sm8150-adsp-pas: qcom,sm8150-cdsp-pas: + qcom,sm8250-cdsp-pas:
This should be sm8350, I fixed this up and applied the patch.
Thanks,
Bjorn
Quoted 17 lines
Documentation/devicetree/bindings/remoteproc/qcom,adsp.txt +3
-0qcom,sm8250-cdsp-pas: must be "cx", "load_state" qcom,sc7180-mpss-pas: qcom,sm8150-mpss-pas: + qcom,sm8350-mpss-pas: must be "cx", "load_state", "mss" qcom,sm8250-adsp-pas: + qcom,sm8350-adsp-pas: qcom,sm8150-slpi-pas: qcom,sm8250-slpi-pas: + qcom,sm8350-slpi-pas: must be "lcx", "lmx", "load_state" - memory-region:Signature · 1 line
2.26.2
Quoted 40 lines · Bjorn Andersson
Quoted 38 lines · Vinod Koul
Add the SM8350 audio, compute, modem and sensor remoteprocs to the PAS DT binding.
Signed-off-by Vinod Koul <[email protected]>--- .../devicetree/bindings/remoteproc/qcom,adsp.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+)Documentation/devicetree/bindings/remoteproc/qcom,adsp.txt +8
-0@@ -25,6 +25,10 @@ on the Qualcomm ADSP Hexagon core. "qcom,sm8250-adsp-pas" "qcom,sm8250-cdsp-pas" "qcom,sm8250-slpi-pas" + "qcom,sm8350-adsp-pas" + "qcom,sm8350-cdsp-pas" + "qcom,sm8350-slpi-pas" + "qcom,sm8350-mpss-pas" - interrupts-extended: Usage: required@@ -51,10 +55,14 @@ on the Qualcomm ADSP Hexagon core. qcom,sm8250-adsp-pas: qcom,sm8250-cdsp-pas: qcom,sm8250-slpi-pas: + qcom,sm8350-adsp-pas: + qcom,sm8350-cdsp-pas: + qcom,sm8350-slpi-pas: must be "wdog", "fatal", "ready", "handover", "stop-ack" qcom,qcs404-wcss-pas: qcom,sc7180-mpss-pas: qcom,sm8150-mpss-pas: + qcom,sm8350-mpss-pas: must be "wdog", "fatal", "ready", "handover", "stop-ack", "shutdown-ack"
Quoted 7 lines
Documentation/devicetree/bindings/remoteproc/qcom,adsp.txt on the Qualcomm ADSP Hexagon core. · line 124
Quoted 5 lines
Documentation/devicetree/bindings/remoteproc/qcom,adsp.txt +1
-0@@ -113,14 +121,18 @@ on the Qualcomm ADSP Hexagon core. qcom,sdm845-cdsp-pas: qcom,sm8150-adsp-pas: qcom,sm8150-cdsp-pas: + qcom,sm8250-cdsp-pas:This should be sm8350, I fixed this up and applied the patch.
Sorry for missing this and thanks for fixing it up
Signature · 1 line
~Vinod