* [PATCH v2 1/2] dt-bindings: remoteproc: qcom,sm8150-pas: Add SM6375 MPSS
@ 2023-01-07 12:08 Konrad Dybcio
2023-01-07 12:08 ` [PATCH v2 2/2] remoteproc: qcom: pas: " Konrad Dybcio
2023-01-07 12:56 ` [PATCH v2 1/2] dt-bindings: remoteproc: qcom,sm8150-pas: " Krzysztof Kozlowski
0 siblings, 2 replies; 3+ messages in thread
From: Konrad Dybcio @ 2023-01-07 12:08 UTC (permalink / raw)
To: linux-arm-msm, andersson, agross, krzysztof.kozlowski
Cc: marijn.suijten, Konrad Dybcio, Mathieu Poirier, Rob Herring,
Krzysztof Kozlowski, Manivannan Sadhasivam, linux-remoteproc,
devicetree, linux-kernel
Add SM6375 MPSS to the 8150 binding, as it's so similar it falls into
the pre-existing ifelse clauses.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
Depends on: https://lore.kernel.org/linux-arm-msm/20230107120623.1903056-1-konrad.dybcio@linaro.org/T/#t
v1 -> v2:
- Rebase on top of recent changes
- move to sm8150 pas file
.../devicetree/bindings/remoteproc/qcom,sm8150-pas.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sm8150-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sm8150-pas.yaml
index 082ae70a3fcb..67cfdc017a02 100644
--- a/Documentation/devicetree/bindings/remoteproc/qcom,sm8150-pas.yaml
+++ b/Documentation/devicetree/bindings/remoteproc/qcom,sm8150-pas.yaml
@@ -17,6 +17,7 @@ properties:
compatible:
enum:
- qcom,sm6375-cdsp-pas
+ - qcom,sm6375-mpss-pas
- qcom,sm8150-adsp-pas
- qcom,sm8150-cdsp-pas
- qcom,sm8150-mpss-pas
@@ -77,6 +78,7 @@ allOf:
compatible:
enum:
- qcom,sm6375-cdsp-pas
+ - qcom,sm6375-mpss-pas
- qcom,sm8150-adsp-pas
- qcom,sm8150-cdsp-pas
- qcom,sm8250-cdsp-pas
--
2.39.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH v2 2/2] remoteproc: qcom: pas: Add SM6375 MPSS
2023-01-07 12:08 [PATCH v2 1/2] dt-bindings: remoteproc: qcom,sm8150-pas: Add SM6375 MPSS Konrad Dybcio
@ 2023-01-07 12:08 ` Konrad Dybcio
2023-01-07 12:56 ` [PATCH v2 1/2] dt-bindings: remoteproc: qcom,sm8150-pas: " Krzysztof Kozlowski
1 sibling, 0 replies; 3+ messages in thread
From: Konrad Dybcio @ 2023-01-07 12:08 UTC (permalink / raw)
To: linux-arm-msm, andersson, agross, krzysztof.kozlowski
Cc: marijn.suijten, Konrad Dybcio, Mathieu Poirier, Rob Herring,
Krzysztof Kozlowski, Manivannan Sadhasivam, linux-remoteproc,
devicetree, linux-kernel
Add a config for the MPSS present on SM6375.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
v1 -> v2:
- Drop now-removed has_aggre2_clk
drivers/remoteproc/qcom_q6v5_pas.c | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/drivers/remoteproc/qcom_q6v5_pas.c b/drivers/remoteproc/qcom_q6v5_pas.c
index d8a4ecec8535..10eaef85816d 100644
--- a/drivers/remoteproc/qcom_q6v5_pas.c
+++ b/drivers/remoteproc/qcom_q6v5_pas.c
@@ -831,6 +831,21 @@ static const struct adsp_data slpi_resource_init = {
.ssctl_id = 0x16,
};
+static const struct adsp_data sm6375_mpss_resource = {
+ .crash_reason_smem = 421,
+ .firmware_name = "modem.mdt",
+ .pas_id = 4,
+ .minidump_id = 3,
+ .auto_boot = false,
+ .proxy_pd_names = (char*[]){
+ "cx",
+ NULL
+ },
+ .ssr_name = "mpss",
+ .sysmon_name = "modem",
+ .ssctl_id = 0x12,
+};
+
static const struct adsp_data sm8150_slpi_resource = {
.crash_reason_smem = 424,
.firmware_name = "slpi.mdt",
@@ -950,6 +965,7 @@ static const struct of_device_id adsp_of_match[] = {
{ .compatible = "qcom,sm6350-mpss-pas", .data = &mpss_resource_init},
{ .compatible = "qcom,sm6375-adsp-pas", .data = &sm6350_adsp_resource},
{ .compatible = "qcom,sm6375-cdsp-pas", .data = &sm8150_cdsp_resource},
+ { .compatible = "qcom,sm6375-mpss-pas", .data = &sm6375_mpss_resource},
{ .compatible = "qcom,sm8150-adsp-pas", .data = &sm8150_adsp_resource},
{ .compatible = "qcom,sm8150-cdsp-pas", .data = &sm8150_cdsp_resource},
{ .compatible = "qcom,sm8150-mpss-pas", .data = &mpss_resource_init},
--
2.39.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v2 1/2] dt-bindings: remoteproc: qcom,sm8150-pas: Add SM6375 MPSS
2023-01-07 12:08 [PATCH v2 1/2] dt-bindings: remoteproc: qcom,sm8150-pas: Add SM6375 MPSS Konrad Dybcio
2023-01-07 12:08 ` [PATCH v2 2/2] remoteproc: qcom: pas: " Konrad Dybcio
@ 2023-01-07 12:56 ` Krzysztof Kozlowski
1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2023-01-07 12:56 UTC (permalink / raw)
To: Konrad Dybcio, linux-arm-msm, andersson, agross
Cc: marijn.suijten, Mathieu Poirier, Rob Herring, Krzysztof Kozlowski,
Manivannan Sadhasivam, linux-remoteproc, devicetree, linux-kernel
On 07/01/2023 13:08, Konrad Dybcio wrote:
> Add SM6375 MPSS to the 8150 binding, as it's so similar it falls into
> the pre-existing ifelse clauses.
>
> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
> ---
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-01-07 12:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-07 12:08 [PATCH v2 1/2] dt-bindings: remoteproc: qcom,sm8150-pas: Add SM6375 MPSS Konrad Dybcio
2023-01-07 12:08 ` [PATCH v2 2/2] remoteproc: qcom: pas: " Konrad Dybcio
2023-01-07 12:56 ` [PATCH v2 1/2] dt-bindings: remoteproc: qcom,sm8150-pas: " Krzysztof Kozlowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).