From nobody Sun Feb 8 19:03:43 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A4291C001DF for ; Tue, 25 Jul 2023 09:01:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232918AbjGYJBW (ORCPT ); Tue, 25 Jul 2023 05:01:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232725AbjGYJBK (ORCPT ); Tue, 25 Jul 2023 05:01:10 -0400 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 15FB61FEF for ; Tue, 25 Jul 2023 02:00:43 -0700 (PDT) Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-3fbc1218262so51793775e9.3 for ; Tue, 25 Jul 2023 02:00:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1690275635; x=1690880435; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=a7K8nxIZpShzeSCTf6xMMLnjngvYy+BOizxURXufMvo=; b=BMUow0YPkcyGhHa7QT07tlBD87quCMneQDdzKMvACAbcnhZa71IwmXm++ze/fr2CU6 0IltiRkiEgZ5sgXBXVyLg80vO1RDzxwvPMbCmmxs/u8pm6FerBuHg1l46uG2nKD4ntrR Rlq7UXlqvn4J/psbnCqx37B8/uQ5ij44xXLVxizWZXiDOAJjrwvDlMKtoOemB645QWGi ERdVN5dSRBVJIWfPiOGxW2WH2chqlKlYcGyay5wRF1yTiS/w/zzGcwKhs7ed0OA9ZeLi GiFpRpXujlf6Q6ckF+7CU+pti8TppkgAZ7kw4gCBsSYL7hGxVQ0x7WiAAE8eDGMpRqbI Jc4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690275635; x=1690880435; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=a7K8nxIZpShzeSCTf6xMMLnjngvYy+BOizxURXufMvo=; b=gLa3St+QZ0e8dDlu8Y9CVOwlDNMLq8L/YgMrldoYUFLexF8G5X9TxVUJOQ7JQXBs2b 2tzdMX0DCpWOkINgVKRsPhdO6OwdCe0dPfpjyWjAWUdIUqAk+sPRWTCIjOFtuDg8zZxN 2HDmP5QJfVN/EtSnXt+9Lle0vv3kpqfX2Jpsx24jCOOiv0ElGi5eySC3rqbkmOauZkRQ tK7Sw1vkqOobpYoTSrQ31+5qLuNRhbhox2iotvcXvMmbDWGf41Gtg25JqQK70wq86fVR EnBtjRGJfMYJT6idc4B9CXBx3jCTEqO54nOYVfPqHJGEjrcjTuXvoZbmySmZArIXcIil 6Jcg== X-Gm-Message-State: ABy/qLb3FlgyUa5iI8zcBmyHfDbKMQNIpQDEZCADXQ/Rxg6QOqn9jipC ZgOQNYXzyzDCiFtfZKZQXgB1yZ3phCGdAd0wE+yY2A== X-Google-Smtp-Source: APBJJlHTKXNKGKX8QAlbJUxnc46MXgYrlKJ/UA5PdejRBoxCd2mq4Ffib2iDbdmvYeFDqFPITPKTkA== X-Received: by 2002:a05:600c:ac6:b0:3fc:5606:c243 with SMTP id c6-20020a05600c0ac600b003fc5606c243mr10117259wmr.13.1690275635331; Tue, 25 Jul 2023 02:00:35 -0700 (PDT) Received: from [192.168.1.101] (abxj221.neoplus.adsl.tpnet.pl. [83.9.3.221]) by smtp.gmail.com with ESMTPSA id f5-20020a1c6a05000000b003fc015ae1e1sm12648420wmc.3.2023.07.25.02.00.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jul 2023 02:00:35 -0700 (PDT) From: Konrad Dybcio Date: Tue, 25 Jul 2023 11:00:28 +0200 Subject: [PATCH v4 1/3] dt-bindings: remoteproc: qcom,sm6375-pas: Document remoteprocs MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20230725-topic-6375_rproc-v4-1-d55e8a6d0f5f@linaro.org> References: <20230725-topic-6375_rproc-v4-0-d55e8a6d0f5f@linaro.org> In-Reply-To: <20230725-topic-6375_rproc-v4-0-d55e8a6d0f5f@linaro.org> To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1690275632; l=4377; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=Kz6Ktb07wAdLnp1vHpLFn8SJ0/Kt84BenGBICrSQ2Bk=; b=B9H7CXHxbMtl85LCvSqaRuOI7eXZto3hApKxU2pjHXfoGSyK+PRUjtHRdGFiHByljh0r49zcC OXh2sO2ola4A9Wz14++KnJ6dthqFPBmH9rGug/NhA0hF9HSQ0/m0oTd X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SM6375 hosts an ADSP, CDSP and modem as remote processors. Create related bindings. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Konrad Dybcio --- .../bindings/remoteproc/qcom,sm6375-pas.yaml | 137 +++++++++++++++++= ++++ 1 file changed, 137 insertions(+) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sm6375-pas.y= aml b/Documentation/devicetree/bindings/remoteproc/qcom,sm6375-pas.yaml new file mode 100644 index 000000000000..60ee3fc7ab5b --- /dev/null +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sm6375-pas.yaml @@ -0,0 +1,137 @@ +# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/remoteproc/qcom,sm6375-pas.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm SM6375 Peripheral Authentication Service + +maintainers: + - Manivannan Sadhasivam + +description: + Qualcomm SM6375 SoC Peripheral Authentication Service loads and boots + firmware on the Qualcomm DSP Hexagon cores. + +properties: + compatible: + enum: + - qcom,sm6375-adsp-pas + - qcom,sm6375-cdsp-pas + - qcom,sm6375-mpss-pas + + reg: + maxItems: 1 + + clocks: + items: + - description: XO clock + + clock-names: + items: + - const: xo + + smd-edge: false + +required: + - compatible + - reg + +allOf: + - $ref: /schemas/remoteproc/qcom,pas-common.yaml# + - if: + properties: + compatible: + enum: + - qcom,sm6375-adsp-pas + - qcom,sm6375-cdsp-pas + then: + properties: + interrupts: + maxItems: 5 + interrupt-names: + maxItems: 5 + else: + properties: + interrupts: + minItems: 6 + interrupt-names: + minItems: 6 + + - if: + properties: + compatible: + enum: + - qcom,sm6375-adsp-pas + then: + properties: + power-domains: + items: + - description: LCX power domain + - description: LMX power domain + power-domain-names: + items: + - const: lcx + - const: lmx + + - if: + properties: + compatible: + enum: + - qcom,sm6375-cdsp-pas + - qcom,sm6375-mpss-pas + then: + properties: + power-domains: + items: + - description: CX power domain + power-domain-names: + items: + - const: cx + +unevaluatedProperties: false + +examples: + - | + #include + #include + #include + #include + + remoteproc_adsp: remoteproc@a400000 { + compatible =3D "qcom,sm6375-adsp-pas"; + reg =3D <0x0a400000 0x100>; + + interrupts-extended =3D <&intc GIC_SPI 282 IRQ_TYPE_LEVEL_HIGH>, + <&smp2p_adsp_in 0 IRQ_TYPE_EDGE_RISING>, + <&smp2p_adsp_in 1 IRQ_TYPE_EDGE_RISING>, + <&smp2p_adsp_in 2 IRQ_TYPE_EDGE_RISING>, + <&smp2p_adsp_in 3 IRQ_TYPE_EDGE_RISING>; + interrupt-names =3D "wdog", "fatal", "ready", + "handover", "stop-ack"; + + clocks =3D <&rpmcc RPM_SMD_XO_CLK_SRC>; + clock-names =3D "xo"; + + power-domains =3D <&rpmpd SM6375_VDD_LPI_CX>, + <&rpmpd SM6375_VDD_LPI_MX>; + power-domain-names =3D "lcx", "lmx"; + + memory-region =3D <&pil_adsp_mem>; + + qcom,smem-states =3D <&smp2p_adsp_out 0>; + qcom,smem-state-names =3D "stop"; + + glink-edge { + interrupts-extended =3D <&ipcc IPCC_CLIENT_LPASS + IPCC_MPROC_SIGNAL_GLINK_QMP + IRQ_TYPE_EDGE_RISING>; + mboxes =3D <&ipcc IPCC_CLIENT_LPASS + IPCC_MPROC_SIGNAL_GLINK_QMP>; + + label =3D "lpass"; + qcom,remote-pid =3D <2>; + + /* ... */ + }; + }; --=20 2.41.0 From nobody Sun Feb 8 19:03:43 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AE1FDC04E69 for ; Tue, 25 Jul 2023 09:01:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232947AbjGYJB2 (ORCPT ); Tue, 25 Jul 2023 05:01:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232437AbjGYJBM (ORCPT ); Tue, 25 Jul 2023 05:01:12 -0400 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE4EE1BEC for ; Tue, 25 Jul 2023 02:00:45 -0700 (PDT) Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-3fbc244d384so43576035e9.0 for ; Tue, 25 Jul 2023 02:00:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1690275637; x=1690880437; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=2zU/cjwRMTTz2495il9q5eV7STYjp78SNHViO7CJZv4=; b=lpxJA1OEBqmxCVZwM7/k5ol2T7tS4AJJFs3Xmwi3+Q3qO1iQeyMQwLyyR9O+gdOaty j+2zL3ad+2KVxyIhtRuPeoKqnxJFdXWGFRtzsZpqzkvMRj+PKQCuvEljaUto5TSDfa3v ocDOQ4fzIF/HdWWfxiTLEJXeU9EG007kQKt7NPkHe5FQal+bMrO2WcLSV2WDZFWZWjla ArBCMr71ny2p9suFlOb//mccdxu9SMtqES5JYD2OQgHOpD+SKfmmwL3SgnhpzIG+sxQf J2/8sgDN99c3yFVDkc9ujfY2//1nxhpPe2y+0ql1/pNhAhXEFFhWoTxFSOACnz2kYOiA MrKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690275637; x=1690880437; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2zU/cjwRMTTz2495il9q5eV7STYjp78SNHViO7CJZv4=; b=OpAdEC81U/S20xTxZQW04iI3bnFoUnTl4EYcg4LYpk2AnY/qb9fyHLMWwqr4MmI8Vg PdjadlLbEUNRhdla9MBnKzVK2Th3wqLGtfNKBJ4eA2nvMfBAT10x46FJh4oQteQ+KMvu M5DRs9zYWxtHV/qqxpRQdi+V3RpnMppvSFDEJ37T6LjOA8LEvvD3HgDAvZsuEwBaKOEY hHe29RYYE3Nhvw64afvJwQNqz4M3UelQLn8d29tS8M4sMrCKMtVlQLhNsAqVNiKYnqGi BzI5TxJXR26DETRHckQHrv2EIxdekQS5NSUEPdzHPv8n4kpVms9PYt0ztDyiadz9dB4F 2/wA== X-Gm-Message-State: ABy/qLYIzV3hS2vFmnPDRMS32/1jncoACD4yNCtmd12RbRcmdClxHzka eLrfQkfTVoO9s3KIG9jlp+PVWA== X-Google-Smtp-Source: APBJJlFE+E8WPxVy6Mm8c0BDyptcXh01hA22eGb23odV8R7mbPbrWatWfCk6xeye3M/DA0IfLXgaIw== X-Received: by 2002:a1c:7217:0:b0:3fc:1f0:a66e with SMTP id n23-20020a1c7217000000b003fc01f0a66emr8996587wmc.1.1690275636818; Tue, 25 Jul 2023 02:00:36 -0700 (PDT) Received: from [192.168.1.101] (abxj221.neoplus.adsl.tpnet.pl. [83.9.3.221]) by smtp.gmail.com with ESMTPSA id f5-20020a1c6a05000000b003fc015ae1e1sm12648420wmc.3.2023.07.25.02.00.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jul 2023 02:00:36 -0700 (PDT) From: Konrad Dybcio Date: Tue, 25 Jul 2023 11:00:29 +0200 Subject: [PATCH v4 2/3] remoteproc: qcom: pas: Add SM6375 ADSP & CDSP MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20230725-topic-6375_rproc-v4-2-d55e8a6d0f5f@linaro.org> References: <20230725-topic-6375_rproc-v4-0-d55e8a6d0f5f@linaro.org> In-Reply-To: <20230725-topic-6375_rproc-v4-0-d55e8a6d0f5f@linaro.org> To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1690275632; l=1093; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=dhLWSUNPf4MHw81JBZTsRJ2sX68bGcNHGXn7nRcPQs0=; b=P+oi8UCkLPTSksv3BuliO13fIMgjcU4aLpTLAj8O7oMwSD1PGF41N5zMvfWhaWA42zhS/U/38 uzW78XXOn1DBJX/Ugq3RvcbS913XCbXKR94K0kbjwkPgtJtQQQQC9vd X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add a config for the ADSP&CDSP present on SM6375. Signed-off-by: Konrad Dybcio --- drivers/remoteproc/qcom_q6v5_pas.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/remoteproc/qcom_q6v5_pas.c b/drivers/remoteproc/qcom_q= 6v5_pas.c index b5447dd2dd35..0d58b5be9a77 100644 --- a/drivers/remoteproc/qcom_q6v5_pas.c +++ b/drivers/remoteproc/qcom_q6v5_pas.c @@ -1180,6 +1180,8 @@ static const struct of_device_id adsp_of_match[] =3D { { .compatible =3D "qcom,sm6350-adsp-pas", .data =3D &sm6350_adsp_resource= }, { .compatible =3D "qcom,sm6350-cdsp-pas", .data =3D &sm6350_cdsp_resource= }, { .compatible =3D "qcom,sm6350-mpss-pas", .data =3D &mpss_resource_init}, + { .compatible =3D "qcom,sm6375-adsp-pas", .data =3D &sm6350_adsp_resource= }, + { .compatible =3D "qcom,sm6375-cdsp-pas", .data =3D &sm8150_cdsp_resource= }, { .compatible =3D "qcom,sm8150-adsp-pas", .data =3D &sm8150_adsp_resource= }, { .compatible =3D "qcom,sm8150-cdsp-pas", .data =3D &sm8150_cdsp_resource= }, { .compatible =3D "qcom,sm8150-mpss-pas", .data =3D &mpss_resource_init}, --=20 2.41.0 From nobody Sun Feb 8 19:03:43 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C883CC001E0 for ; Tue, 25 Jul 2023 09:01:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232792AbjGYJBh (ORCPT ); Tue, 25 Jul 2023 05:01:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45250 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232767AbjGYJBO (ORCPT ); Tue, 25 Jul 2023 05:01:14 -0400 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC1D02100 for ; Tue, 25 Jul 2023 02:00:47 -0700 (PDT) Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-3fc04692e20so51872205e9.0 for ; Tue, 25 Jul 2023 02:00:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1690275638; x=1690880438; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=icO3d3uWVI1Ske0MIHcKUIP285+5TQhyvGKynKcarCg=; b=qnCYmM6BJyv1Kl4qBOeYmNIfEPeInO5QGW3kjTgb9vkXSYyGqYALWrmWonXCZ1ODuk dHDorFnKy0ODvRsnS3SAybtdTewEKSlIAOeESkADTPmxTjPa7vG6Ie2LOcQFPCyCOXDB Gk4cY3cehTtlL47UgjtTVcEKl4cjIdITsDJVHXmuh8ZyFuJ/y/C87HmX/+Et8FtXOfYv MCAcaBfCY/+8sR1HRyOFDpvgepi5v0ZPbnVMTpSYaKq4KSTkLzW/H/pfaZU87SPXKwbT dedXggaFRw5YpoaMIoq5KbuuU840x7r5dWE1T1CtiCdJ6m+BDJpuDaH9p+v7LjdmZEik aBNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690275638; x=1690880438; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=icO3d3uWVI1Ske0MIHcKUIP285+5TQhyvGKynKcarCg=; b=CNdp0pNph0lNvX/Tl8s6VwjBQpqG4cJBtGBcjOBS4N2poULEmvl1T4rkAgYHvLbmc5 hAkfFPjJ+t8MhyWK5/oa6I3Sa94BSk2vk/cnU8miZGwx9oKjB2X/BA7FtejtJmGBvACj ch3w7F1NfaYV48GRHcqRdAQJ9rQVrf58JqGabj8IIBRb+Mkg5rv11qQ4Vfc2rQynwL9n uGGP5K7HGxq0dahcTKJ7vHhaF5p+eG2Lm11j/TxkqUipPlpiHSTbxU7SdTvIgRUjqTAe s5vaDkeRqsza1BPOMiTKHo0QpHG3Cl6WyQgpwKPsbQUXAWfhWAqLmbU5UodB1s7ma0rT ++XA== X-Gm-Message-State: ABy/qLaWxcoxzCaQ9rskuo5UUzOXPrJHm+BUf2wPluY+xpo5thqgqbmG K2eNJAx5EzuepI5FO4Ic+RFakg== X-Google-Smtp-Source: APBJJlHp6T1MB4wDdldWcQ+TigKJJVv9aHQoxwTURuGJ9mob/EBQSycs938HCPjTMXYyzHlexTW9vg== X-Received: by 2002:a05:600c:22cf:b0:3fd:2dd9:6d58 with SMTP id 15-20020a05600c22cf00b003fd2dd96d58mr7113128wmg.26.1690275638192; Tue, 25 Jul 2023 02:00:38 -0700 (PDT) Received: from [192.168.1.101] (abxj221.neoplus.adsl.tpnet.pl. [83.9.3.221]) by smtp.gmail.com with ESMTPSA id f5-20020a1c6a05000000b003fc015ae1e1sm12648420wmc.3.2023.07.25.02.00.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jul 2023 02:00:37 -0700 (PDT) From: Konrad Dybcio Date: Tue, 25 Jul 2023 11:00:30 +0200 Subject: [PATCH v4 3/3] remoteproc: qcom: pas: Add SM6375 MPSS MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20230725-topic-6375_rproc-v4-3-d55e8a6d0f5f@linaro.org> References: <20230725-topic-6375_rproc-v4-0-d55e8a6d0f5f@linaro.org> In-Reply-To: <20230725-topic-6375_rproc-v4-0-d55e8a6d0f5f@linaro.org> To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1690275632; l=1570; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=sj7Uy3Esp9/kv46p/vCH0qMBjFc8YM0n5pfjJE2JRcc=; b=tj7otmCNcsfvt3qlyFn/RfNnxqor/qP+02vY0/mdd83Mkg2azTQyDLl5/lt+Fo7IC0kgd/0Fm bwi5UamLR4KDY95Bfnob6XctHbKPKwI6twgfwa7KEFE51zz+IBXHep4 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add a config for the MPSS present on SM6375. Signed-off-by: Konrad Dybcio --- 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_q= 6v5_pas.c index 0d58b5be9a77..1c87ae9cec9e 100644 --- a/drivers/remoteproc/qcom_q6v5_pas.c +++ b/drivers/remoteproc/qcom_q6v5_pas.c @@ -813,6 +813,21 @@ static const struct adsp_data sm6350_adsp_resource =3D= { .ssctl_id =3D 0x14, }; =20 +static const struct adsp_data sm6375_mpss_resource =3D { + .crash_reason_smem =3D 421, + .firmware_name =3D "modem.mdt", + .pas_id =3D 4, + .minidump_id =3D 3, + .auto_boot =3D false, + .proxy_pd_names =3D (char*[]){ + "cx", + NULL + }, + .ssr_name =3D "mpss", + .sysmon_name =3D "modem", + .ssctl_id =3D 0x12, +}; + static const struct adsp_data sm8150_adsp_resource =3D { .crash_reason_smem =3D 423, .firmware_name =3D "adsp.mdt", @@ -1182,6 +1197,7 @@ static const struct of_device_id adsp_of_match[] =3D { { .compatible =3D "qcom,sm6350-mpss-pas", .data =3D &mpss_resource_init}, { .compatible =3D "qcom,sm6375-adsp-pas", .data =3D &sm6350_adsp_resource= }, { .compatible =3D "qcom,sm6375-cdsp-pas", .data =3D &sm8150_cdsp_resource= }, + { .compatible =3D "qcom,sm6375-mpss-pas", .data =3D &sm6375_mpss_resource= }, { .compatible =3D "qcom,sm8150-adsp-pas", .data =3D &sm8150_adsp_resource= }, { .compatible =3D "qcom,sm8150-cdsp-pas", .data =3D &sm8150_cdsp_resource= }, { .compatible =3D "qcom,sm8150-mpss-pas", .data =3D &mpss_resource_init}, --=20 2.41.0