Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp520025rwl; Sat, 25 Mar 2023 06:27:31 -0700 (PDT) X-Google-Smtp-Source: AKy350YJnWCswB6HzpuD8uDSzmROGq911+a7vrDtlSG6yEhyn6eK+v2L4Ib2lV8wDdockN7JiJ2p X-Received: by 2002:a17:907:3da1:b0:932:e6d5:bd7c with SMTP id he33-20020a1709073da100b00932e6d5bd7cmr7639825ejc.20.1679750851685; Sat, 25 Mar 2023 06:27:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679750851; cv=none; d=google.com; s=arc-20160816; b=sC0zo90gVjm0ooMB2JeNHCA9fH19V8daNYyN0Lb0c+u6cAGtzZ5ejtAsXgH3q47r90 7+E8QX0jp54eAVIBYY+UeDf8xNb5rGBlU/9oDH+AtitefozrCuDz2h6ggau+bD9k1LqC OVNnp3zMujv7M+v9gTHTJ7GAly7wvzY9LYC8AdTALTnX6ONiuFSZXXtPnwhtv3EhYpH1 ao4YDUpUmti0Y8qkYG+t6HVER80B66kcO8qJ79yS8c+pLHW/BvDyFGuQmbX0nPqNL4Bw JG0ef810zL+9Vw9klxs4EadXQO50aHCHvKim6tfOg/C6waetdPyeAlNfvHfNw4AFH21O HqVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=UYNhSu+2Wobyn2s4WHdqzJN3u63ahHSl1LNIJlpGGUg=; b=UbkLHt++7e/DNXOdg7mI6UqnORj7m/Q9CwMAESBeNinG+MdHFtPVAd1ElBg4UR7tjV JjZu064OxYPmjpWNV2s44FIrFENQMdsPFEJAvWxIvZZ+cU36BgrJ7/ClYo00mNtpfZRl PVaC/ymcAA45putqUu25ISQS7o5eE+V+BBZ4G26qW8zZgbF1eqq53RU/rLK1ZpJsBfNh ocSARiGYlzuC1l58n9/H5Ayaf4ThctmuKH4afz4BsNmHatWq7Qh1c9Z1DYAOnkRfSbZF UDipYRMvuoTrkPwDTTHQFbI+gWBEAF1/MrkMwdnMAXYrnjpWwDnIvrqQagW9PbFSP3RU HV0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dylanvanassche.be header.s=MBO0001 header.b=Rzyx7cns; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=dylanvanassche.be Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f20-20020a50ee94000000b004eab3b519b4si24156998edr.207.2023.03.25.06.27.07; Sat, 25 Mar 2023 06:27:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@dylanvanassche.be header.s=MBO0001 header.b=Rzyx7cns; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=dylanvanassche.be Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231764AbjCYNWV (ORCPT + 99 others); Sat, 25 Mar 2023 09:22:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231359AbjCYNWS (ORCPT ); Sat, 25 Mar 2023 09:22:18 -0400 Received: from mout-p-202.mailbox.org (mout-p-202.mailbox.org [80.241.56.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 903CA1420A; Sat, 25 Mar 2023 06:22:11 -0700 (PDT) Received: from smtp102.mailbox.org (unknown [10.196.197.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4PkKVm1dnlz9sZ5; Sat, 25 Mar 2023 14:22:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dylanvanassche.be; s=MBO0001; t=1679750528; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UYNhSu+2Wobyn2s4WHdqzJN3u63ahHSl1LNIJlpGGUg=; b=Rzyx7cnsEbFP7SlNzw6ukZzDPuRQjOTuxz6t1f+ECAfdkGaNtEOXRhCcXrYQXoawGFvRZC j5GpOa+AsbCZISbEkIZS57Qg61czKXJr4bwMb29xU9glOMe6S98m/HXyZP/FVuzaWlsY+8 tzVEsoinrw8dHYIjexNZjVXXRTOqsAVQXFcZHBCBetQiyO1Btu/WTbsTkTmlaPh3NzS/Z8 Pwi9v44yKJDAN4NTLm0hBdLKf7jq1CqUvhMGqGqHllly9uYAVAAGjk8s/WOFCwPwhXSdTE /n7OZv6jQ/S/iXOdyGel7xn7lpPUb4eapTHgESUSUV8AqvXa+t3sAiV2faOM8Q== From: Dylan Van Assche To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski Cc: Konrad Dybcio , Manivannan Sadhasivam , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Dylan Van Assche Subject: [PATCH 2/2] remoteproc: qcom: pas: add SDM845 SLPI resource Date: Sat, 25 Mar 2023 14:21:17 +0100 Message-Id: <20230325132117.19733-3-me@dylanvanassche.be> In-Reply-To: <20230325132117.19733-1-me@dylanvanassche.be> References: <20230325132117.19733-1-me@dylanvanassche.be> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add SLPI resources for the SDM845 Qualcomm SoC to the Qualcomm remoteproc q6v5_pas driver to define the default firmware name and GLink edge name. Signed-off-by: Dylan Van Assche --- drivers/remoteproc/qcom_q6v5_pas.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/drivers/remoteproc/qcom_q6v5_pas.c b/drivers/remoteproc/qcom_q6v5_pas.c index c99a20542685..d82b6f4bced4 100644 --- a/drivers/remoteproc/qcom_q6v5_pas.c +++ b/drivers/remoteproc/qcom_q6v5_pas.c @@ -1028,6 +1028,22 @@ static const struct adsp_data slpi_resource_init = { .ssctl_id = 0x16, }; +static const struct adsp_data sdm845_slpi_resource = { + .crash_reason_smem = 424, + .firmware_name = "slpi.mdt", + .pas_id = 12, + .auto_boot = true, + .proxy_pd_names = (char*[]){ + "lcx", + "lmx", + NULL + }, + .load_state = "slpi", + .ssr_name = "dsps", + .sysmon_name = "slpi", + .ssctl_id = 0x16, +}; + static const struct adsp_data sm8150_slpi_resource = { .crash_reason_smem = 424, .firmware_name = "slpi.mdt", @@ -1201,6 +1217,7 @@ static const struct of_device_id adsp_of_match[] = { { .compatible = "qcom,sdm660-adsp-pas", .data = &adsp_resource_init}, { .compatible = "qcom,sdm845-adsp-pas", .data = &sdm845_adsp_resource_init}, { .compatible = "qcom,sdm845-cdsp-pas", .data = &sdm845_cdsp_resource_init}, + { .compatible = "qcom,sdm845-slpi-pas", .data = &sdm845_slpi_resource}, { .compatible = "qcom,sdx55-mpss-pas", .data = &sdx55_mpss_resource}, { .compatible = "qcom,sm6115-adsp-pas", .data = &adsp_resource_init}, { .compatible = "qcom,sm6115-cdsp-pas", .data = &cdsp_resource_init}, -- 2.39.2