Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2561277rwl; Mon, 27 Mar 2023 01:49:47 -0700 (PDT) X-Google-Smtp-Source: AKy350aqlP6nl/rf+u3DVv+wAk9dlE+uVl2GM82d4CaoVeBoLE7kf5P3aYfiFvLs6DS8wRpdnh5b X-Received: by 2002:a17:906:7b83:b0:933:4c63:a522 with SMTP id s3-20020a1709067b8300b009334c63a522mr12701303ejo.31.1679906987090; Mon, 27 Mar 2023 01:49:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679906987; cv=none; d=google.com; s=arc-20160816; b=eQ1PZYycgmaPB9bVUkj+N0GY4cJFS8RbpB/MASUbr3zhxSK5DbFKx4n2fhPye1Q55H G3az4lrO3eZv9LPPzJXgiQ1nWv28OxnXGrb29qWgFFPwErf6td39Tn0i5IdpNstR4u6F dbWykyuh2TiFo0VC1sgT5CWRWTw0AVin2IxrTXWHzLMe3dq0pSyZFSe8CTic3zywVVaX dtG4tPasx0gXEWdaOfeQNxqJh3GexUaV2EnRx7QPjb27nxYkRbaebGiicGo8H3WTIXQm 0ryXik7FUNP5niDKmqu4TqTASwXbxglHoQBtLPVk5MC16O1xeBnncVs8q9QUbbDs6tKv DBdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=KLrKAr+c7u8+WkfYnvdsqKkhxaW/xmaQn97MpcR7do8=; b=Gmdlw9zm0BTAcKyDlu6GuCrkUYngn283LKslfi2258fJAWu5qGRQUKc1vK90W97zSW P3JptxpuG6QW65x/28Xl8EAW0UX/svJF5J+jrBEFJ5n/DmdoSv8GyH9b8nL2xQw5VUQl r0LzQ2ky8BiKeOsmQxR3/ryOHHYB2YMQa5cqEQ/ijr9xrluNHZh5DC4R1Dnxx8KFoVU7 jjTpn4Var/6w1Tbch85Y6/XBmiiYq66vtsW/Xw07gqtjH2pkSd6GTuZfMZ81y5xuxwEM IuyA0TKN0X7CMGfXMn6hQ7VD8VLlMTf3OdSSY972I6zEnxQ11pb06fwANHicHVBf9Ho4 QF8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rdogzM22; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k21-20020a170906579500b009337bae35c1si12446598ejq.237.2023.03.27.01.49.22; Mon, 27 Mar 2023 01:49:47 -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=@linaro.org header.s=google header.b=rdogzM22; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233176AbjC0Isw (ORCPT + 99 others); Mon, 27 Mar 2023 04:48:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233175AbjC0Is3 (ORCPT ); Mon, 27 Mar 2023 04:48:29 -0400 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF7658A6E for ; Mon, 27 Mar 2023 01:45:11 -0700 (PDT) Received: by mail-lf1-x129.google.com with SMTP id c29so10329116lfv.3 for ; Mon, 27 Mar 2023 01:45:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679906671; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=KLrKAr+c7u8+WkfYnvdsqKkhxaW/xmaQn97MpcR7do8=; b=rdogzM223NHg8iJx7iIN2LHYZn7tUjiFtUG9eoMoJTXpUK32coL01Ru11TIQbmWWOP VKCBJBjnt0SQEZ3jeNQWQSALELd1RJCWRVgVn5znTCUioLfpT5I0pAyE8nVsXnrhvKmr XXgxpsb4MRhJh5W7tj4qpUxPjzCwZVvDNePFeope9K0zHDiXNlVpl737EvCassslHUg/ 4W369SCxed9tNg11GGBDRgExuMDsWuUwhXXkhzt5n/M81kMTIY/z7xfX0UClA/VP5+Nc /Ju/SXpvGo/WX1n7Lqu9BfXvCK8EGnvBX5HwtyTr5/ygFq0ofey+MgrlvL3bDLKUud6y d8Xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679906671; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=KLrKAr+c7u8+WkfYnvdsqKkhxaW/xmaQn97MpcR7do8=; b=CLJ4UNC4lmyVc3V7oiCqRed6RjY0UBKoFXZjE8X0ncqg3zBOiUARPtwoDjVB20sBIY UL6j7xMtdod2iJ6yHAvvsFMgYwrKTYlRh4qQf46vdbkpGCvcdMRue2uZyvdPgsUWMzbb pOrujEwL4yN2vwA45bLDNhCIQLOEPJAOIiIAHhgFS45Jl/MxHAOzFI3ZXXwUx29aoK2t /HGlxulyYXIQAozMwrie0N4uVI2ay9aEqf/C/LA76BBL/trU7KZMxd8nqLJFP2AEiI6x T2WW8OgqAYTQ0Ogk00gojZ+3oAjpqLLSf3Z/UmTzJ4r/rpx4OEwJdOwtweUL52O2YCiQ 3ujQ== X-Gm-Message-State: AAQBX9dNKYGUcMSj/RIvn0YUw5DeNovFCcEZxwfR+gV/7ifweNqcRw2n h0LQpeUAHWq5uT90V5pinuMY6g== X-Received: by 2002:ac2:46f9:0:b0:4e9:d719:3603 with SMTP id q25-20020ac246f9000000b004e9d7193603mr3463966lfo.55.1679906671138; Mon, 27 Mar 2023 01:44:31 -0700 (PDT) Received: from [192.168.1.101] (abxj225.neoplus.adsl.tpnet.pl. [83.9.3.225]) by smtp.gmail.com with ESMTPSA id r10-20020a19ac4a000000b004b5979f9ba8sm4591731lfc.210.2023.03.27.01.44.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 27 Mar 2023 01:44:30 -0700 (PDT) Message-ID: Date: Mon, 27 Mar 2023 10:44:29 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH 2/2] remoteproc: qcom: pas: add SDM845 SLPI resource Content-Language: en-US To: Dylan Van Assche , Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski Cc: 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 References: <20230325132117.19733-1-me@dylanvanassche.be> <20230325132117.19733-3-me@dylanvanassche.be> From: Konrad Dybcio In-Reply-To: <20230325132117.19733-3-me@dylanvanassche.be> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, 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 On 25.03.2023 14:21, Dylan Van Assche wrote: > 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, Isn't this identical to sm8150_slpi_resource? Konrad > +}; > + > 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},