Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp5725297rwb; Tue, 9 Aug 2022 03:04:45 -0700 (PDT) X-Google-Smtp-Source: AA6agR73wLt3QynqurK1Bc0rsL5ppoIoLSZRVVfJBtVnzQwSbGN5k7UYis6nhOIW5B7mRd91wpzp X-Received: by 2002:a17:906:4794:b0:730:fdac:dbcb with SMTP id cw20-20020a170906479400b00730fdacdbcbmr12961930ejc.130.1660039485128; Tue, 09 Aug 2022 03:04:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660039485; cv=none; d=google.com; s=arc-20160816; b=Rir1POmY+fwbb1o5ghcQuIYCBfWmumhIDlkQBcjkdP3mXtCIEPkFFZvU0QDHHW4COR GS9MLwicOyiq8bxReS9mmng5+4jQCsM7su5RHFwdIHXNEnkEMCQsDgnQyOscFwfcQlRA rGxqFAyBqhOiZeYc56vBihsLAWxQG+ugG/JwfydI3On6iZrvhXuEFCNIdv+A5TINOqIa Pdzxtt6AfuSaP3Nqy9ST2G0dg/gFXJ9YLvgSozIhD776ZQb6UpyaPba6ecdxv7rGBZOr POosuXY/IsnDS6wSI2G0zSF/rNjRP4jsxwZNyiWVSPaxAMIHn3z1Kpkk5ZF3LnsAwtnR 3F7Q== 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 :organization:from:references:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=xWYW2Lx5IACZPNUh/Q9fUyIb0IGLSPm5Yvm9TlxCy8o=; b=wp4H+AL+Vqcy7qgUplPWoXURLQ50YVgkjVQN/vGsShN0KzMz8ZRVQ+BcYDPGB6Hxlq AjneirbaJwfG9SZuH7grA6oQzAOZdKZnQaOoqmBZkiwGvyqnAYK+Y1vURqApCEddmNi3 5UpBimca4R3vxuGxXzAdzX4SheNa5n/Eeo8R9l4wqOt1n5RnuhA2fmqJtC3mZoGolRWa Ur8tbw3NDpgiq9pOQPDMPOozJiDYj8yqLX3t+QvfG8qac5ktzLnkRhAp6SinRMr0EDVq Y3zbSBumDT4LD1/EVESIw97p+kabEd41YEVvbSDyv6LKMG4pBxCN2dfpYREv1tv56bIk xG7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=p5hXZbBt; 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=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qf37-20020a1709077f2500b0073081d6727fsi1445939ejc.726.2022.08.09.03.04.18; Tue, 09 Aug 2022 03:04:45 -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=@quicinc.com header.s=qcdkim header.b=p5hXZbBt; 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=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239656AbiHIJuD (ORCPT + 99 others); Tue, 9 Aug 2022 05:50:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237382AbiHIJuC (ORCPT ); Tue, 9 Aug 2022 05:50:02 -0400 Received: from alexa-out-sd-02.qualcomm.com (alexa-out-sd-02.qualcomm.com [199.106.114.39]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE09422B33; Tue, 9 Aug 2022 02:50:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1660038600; x=1691574600; h=message-id:date:mime-version:subject:to:references:from: in-reply-to:content-transfer-encoding; bh=xWYW2Lx5IACZPNUh/Q9fUyIb0IGLSPm5Yvm9TlxCy8o=; b=p5hXZbBtmh8yvWRYgLAfwa5iqGUNZM8HzlX7GhUDxHrvpWBFBAGFm4wL ifMbMPytb504zzHfgJzDxkrTN31JGnLAAmfd0ejRTlr+qA1EreJEg6Qi+ VzVLIoRsdPPJR7/QdHouHBv3aGviSHPJNAlszkoCM2ju2Zy4GNpn6gzxC o=; Received: from unknown (HELO ironmsg01-sd.qualcomm.com) ([10.53.140.141]) by alexa-out-sd-02.qualcomm.com with ESMTP; 09 Aug 2022 02:50:00 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg01-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Aug 2022 02:50:00 -0700 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Tue, 9 Aug 2022 02:49:58 -0700 Received: from [10.216.39.97] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Tue, 9 Aug 2022 02:49:52 -0700 Message-ID: <3358f337-1c8a-3fff-e9de-fde44a2d6db2@quicinc.com> Date: Tue, 9 Aug 2022 15:19:49 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH 3/8] remoteproc: qcom: Add compatible name for SC7280 ADSP Content-Language: en-US To: Dmitry Baryshkov , , , , , , , , , , , , , , , , , References: <1659536480-5176-1-git-send-email-quic_srivasam@quicinc.com> <1659536480-5176-4-git-send-email-quic_srivasam@quicinc.com> <6327ba5b-f3a9-7390-0456-67ba5ffde0b6@linaro.org> From: Srinivasa Rao Mandadapu Organization: Qualcomm In-Reply-To: <6327ba5b-f3a9-7390-0456-67ba5ffde0b6@linaro.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 8/7/2022 2:27 AM, Dmitry Baryshkov wrote: Thanks for Your Time Dimtry!!! > On 03/08/2022 17:21, Srinivasa Rao Mandadapu wrote: >> Update adsp pil data and compatible name for loading ADSP >> binary on SC7280 based platforms. >> >> Signed-off-by: Srinivasa Rao Mandadapu >> --- >>   drivers/remoteproc/qcom_q6v5_adsp.c | 19 +++++++++++++++++++ >>   1 file changed, 19 insertions(+) >> >> diff --git a/drivers/remoteproc/qcom_q6v5_adsp.c >> b/drivers/remoteproc/qcom_q6v5_adsp.c >> index 2f3b9f5..bb4494c 100644 >> --- a/drivers/remoteproc/qcom_q6v5_adsp.c >> +++ b/drivers/remoteproc/qcom_q6v5_adsp.c >> @@ -697,6 +697,24 @@ static const struct adsp_pil_data >> adsp_resource_init = { >>       }, >>   }; >>   +static const struct adsp_pil_data adsp_sc7280_resource_init = { >> +    .crash_reason_smem = 423, >> +    .firmware_name = "adsp.mbn", >> +    .load_state = "adsp", >> +    .ssr_name = "lpass", >> +    .sysmon_name = "adsp", >> +    .ssctl_id = 0x14, >> +    .is_wpss = false, >> +    .auto_boot = true, >> +    .clk_ids = (const char*[]) { >> +        "gcc_cfg_noc_lpass", NULL > > The clock is not mentioned in dt bindings. Will update in dt bindings and re post it. > >> +    }, >> +    .num_clks = 1, >> +    .proxy_pd_names = (const char*[]) { >> +        NULL >> +    }, > > Is the empty array necessary? Okay. Will remove it. > >> +}; >> + >>   static const struct adsp_pil_data cdsp_resource_init = { >>       .crash_reason_smem = 601, >>       .firmware_name = "cdsp.mdt", >> @@ -737,6 +755,7 @@ static const struct of_device_id adsp_of_match[] = { >>       { .compatible = "qcom,qcs404-cdsp-pil", .data = >> &cdsp_resource_init }, >>       { .compatible = "qcom,sc7280-wpss-pil", .data = >> &wpss_resource_init }, >>       { .compatible = "qcom,sdm845-adsp-pil", .data = >> &adsp_resource_init }, >> +    { .compatible = "qcom,sc7280-adsp-pil", .data = >> &adsp_sc7280_resource_init }, >>       { }, >>   }; >>   MODULE_DEVICE_TABLE(of, adsp_of_match); > >