From patchwork Mon Jan 9 13:56:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13093612 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 366DEC5479D for ; Mon, 9 Jan 2023 13:57:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234203AbjAIN5N (ORCPT ); Mon, 9 Jan 2023 08:57:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237023AbjAIN45 (ORCPT ); Mon, 9 Jan 2023 08:56:57 -0500 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4C295583 for ; Mon, 9 Jan 2023 05:56:55 -0800 (PST) Received: by mail-lf1-x136.google.com with SMTP id bu8so13076351lfb.4 for ; Mon, 09 Jan 2023 05:56:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=XChNAuhpqawggFVinjSHpXxpZlJYDspbNDCgSFk6Lz4=; b=grsRXbKW/+DZUAvQi7Lu3otYvDKWnDL0EwAD2Bfe/o+sRLfbM0dbXkf9k3Q6o34kq5 AGmUVuxIgg4kxVhV4LPY7WwnHoSb1GFLqkEl44WjBNthsp8ryyqDNXqxUD0GtXwIpcAb WCmL0awarJrsFt000UHjjFh7t5DdoxsiOMrUpxVh2jeeULFaO/bdxKY5g8OqVVx48N5u iy+lqUJPNnOTGKt0qJwAwobxmiF1/VfHGDRPzirneNqIzS0B7MGCeMuIccroHTN/NkCW nQ/Wx4OROLAE2TIBE3wrvGYGnZyg69HeCYVPq62Tlq2oGnzMK+v5GaPDd9BN4eyR00t4 ii4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XChNAuhpqawggFVinjSHpXxpZlJYDspbNDCgSFk6Lz4=; b=erYovZB67XuIN0aOg4nUHr9xh5oLbIhZaLcr1uCo3JKnrXQYBckjk9TK2oMAOHaMFy mo5l/WE/vakRRjKeB1uz80FRBsgwquWVkGYvm9z8PdIMlIqbhbShiXL6zHA/9Uo4FZwc wnwisqLGwsARSfpx3ACJ2YuaD2stpXpLc38h+SxTNUb0S0TkS/3g5ODmu4fAQMMOn4+v Dobzlmx0+UpSB8nWyvJXkJJZ4jyzw75sBfDQy3efTYM9vovOA8jn/L8Q1hw2wkSVZ3gV yUMFjsB5cWA4X9Dpq4HYuptraHjQjIP9g+QGOyBdZBZ8Ji2acU1734bBKtrDolAwrvsy f91g== X-Gm-Message-State: AFqh2kpPP+zrQ7wZe+knfoOFJT4zCi/koYSc/YlchRwpLaUiJz3IZNEl l6gTgEVMEHhRyJ0YGyId8wOUf77czKU6ZjVT X-Google-Smtp-Source: AMrXdXsmApgLHh/vKhZjyiSH5hhBM5aDK68Bg8hl5BzKmVBvC4VbU4YEAYGDGrEscQBBlyLjEcCb1Q== X-Received: by 2002:ac2:4bd1:0:b0:4a4:6af4:43b7 with SMTP id o17-20020ac24bd1000000b004a46af443b7mr17479796lfq.69.1673272614287; Mon, 09 Jan 2023 05:56:54 -0800 (PST) Received: from localhost.localdomain (abxi45.neoplus.adsl.tpnet.pl. [83.9.2.45]) by smtp.gmail.com with ESMTPSA id x16-20020a056512079000b004c89b9fb1fdsm1638226lfr.68.2023.01.09.05.56.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Jan 2023 05:56:54 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, krzysztof.kozlowski@linaro.org Cc: marijn.suijten@somainline.org, Konrad Dybcio , Mathieu Poirier , linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 3/4] remoteproc: qcom: pas: Add SM6375 MPSS Date: Mon, 9 Jan 2023 14:56:46 +0100 Message-Id: <20230109135647.339224-4-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230109135647.339224-1-konrad.dybcio@linaro.org> References: <20230109135647.339224-1-konrad.dybcio@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org Add a config for the MPSS present on SM6375. Signed-off-by: Konrad Dybcio --- v2 -> v3: No changes 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},