Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2605857rwb; Mon, 19 Sep 2022 07:27:21 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6SyiBPg0kepz7Rp3Wbir7Nm93ohGrwke5mv16zY5Q2K3Nd3mioVrQc6Ub5Qu8Io+Vs4Sgu X-Received: by 2002:a17:90b:1bc4:b0:202:fbd0:8e86 with SMTP id oa4-20020a17090b1bc400b00202fbd08e86mr20341319pjb.52.1663597641302; Mon, 19 Sep 2022 07:27:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663597641; cv=none; d=google.com; s=arc-20160816; b=DCy+gxG8E+Fzxkw0JcLxM8c3zqUrP66i5833YWKi/0ZMXg723fN6oHLt37MCldG1tM PSnWcmtah91gzhGErW1pPZAcuvgE3b6UtjOdNu0y4MKYPPafXpZFXfhEtxaGjqncTv2J 4WHv9RzFHWrdmGbvpeMnmCxABwMHoI2C/A46h2yVJw+3WoUUG+zROZTr+ZSmzBMegW2/ pSIN+6gooU21OCQxGOSpC926Gg2RbwF44EYIVT2dy1m7MwhU7QNr5p2dBzkMKbmPHF0c Z39owxdP9hxWPjjRdUsZ3yzfwYnOY22ykp50WT1/EhkhMQ2XhQFIMuPbYtf4xK3/4ek6 ZJkA== 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=Kq2XjCH5pBFqKo3+tPJDUzJyaRgTqIk3/SbrE2nYFeQ=; b=CAjwUalMbqn2YJaWyPZw3HxSKcaGCstaFRuS5UwsaomR6U+3aVIdJ22ohn3mOF6ui6 JNokImWzUOy6IHIDC4V/IP/jdHkLKwlgkvj6wDg7Q1P1KilJBF4WXgawZA3zqpKhmYfy zsiTVivFY+6B++vWaE+zgdV7/elSgXzpahJ/0yOybR5KIet+tS7cHGH/6hDd3Crjo5Un suMeqkACKY/lVe/Zno1Cn0zpw9+DWsdfZ0jDJv76EX5UCXxHEZEfw37wAyFyP71/Mlui yV9R3aUzOITa9JRdklNKUvFmOkwkPfDX8K+T32+d36nzZ0uelC/sLW4RMBZd4vHxrBAa DNaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=pWqEGCYL; 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 x11-20020a170902ec8b00b00178488bcbccsi23585608plg.239.2022.09.19.07.27.07; Mon, 19 Sep 2022 07:27:21 -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=qcppdkim1 header.b=pWqEGCYL; 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 S229893AbiISOMe (ORCPT + 99 others); Mon, 19 Sep 2022 10:12:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229779AbiISOMZ (ORCPT ); Mon, 19 Sep 2022 10:12:25 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BEC7D326C7; Mon, 19 Sep 2022 07:12:23 -0700 (PDT) Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 28JD0LIm026593; Mon, 19 Sep 2022 14:11:43 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=Kq2XjCH5pBFqKo3+tPJDUzJyaRgTqIk3/SbrE2nYFeQ=; b=pWqEGCYL9pNp2Wh6hAqZInGV8MV/f+4iFpTIusRqFJSjCb1Wy/XQlYBWp6Q8Xgq+0Fqa 3ZO/rpSymdxlJqC/dgD3uhANIuFT7V76mKU72JC0ce+TB4YskjT2n8BVjW/gFKdyrSu2 T4MUe2PdvkEQycJ393PuS0KfjqlwWo5umTYlxvU29Ak3LA99gqBnu9Ijb+rwMtDqADlT /1D6UCauugis7gg+6G5hQ7GtFPf1KtvZO9ZMZexptvKe2sX45Ge99v3yOqjaE5qWuFSh NzHgw/0UujD2L5NjVvcitoNf+uh9wWLoOoRupENVX+17hG4TNc5DgckE2e8brQrlMQle 7Q== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3jprv7r6b3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 19 Sep 2022 14:11:43 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 28JEBgV2001227 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 19 Sep 2022 14:11:42 GMT Received: from [10.216.41.172] (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.29; Mon, 19 Sep 2022 07:11:35 -0700 Message-ID: Date: Mon, 19 Sep 2022 19:41:32 +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 v6 3/8] remoteproc: qcom: Add compatible name for SC7280 ADSP Content-Language: en-US To: Sibi Sankar , , , , , , , , , , , , , , , , , References: <1662643422-14909-1-git-send-email-quic_srivasam@quicinc.com> <1662643422-14909-4-git-send-email-quic_srivasam@quicinc.com> From: Srinivasa Rao Mandadapu Organization: Qualcomm In-Reply-To: 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-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: tQ76g2ajNsju_ZazZRzGJq6v8EVa6pdz X-Proofpoint-ORIG-GUID: tQ76g2ajNsju_ZazZRzGJq6v8EVa6pdz X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-09-19_05,2022-09-16_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 adultscore=0 mlxlogscore=999 spamscore=0 clxscore=1015 malwarescore=0 phishscore=0 lowpriorityscore=0 impostorscore=0 priorityscore=1501 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2209190095 X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS 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 9/14/2022 2:52 PM, Sibi Sankar wrote: Thanks for Your time Sibi Sankar!!! > > On 9/8/22 6:53 PM, 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 >> --- >> Changes since V5: >>     -- Rename adsp_sandbox_needed to has_iommu. >>     -- Change adsp binary extention name. >> Changes since V3: >>     -- Rename is_adsp_sb_needed to adsp_sandbox_needed. >>     -- Update sc7280 compatible name entry in sorted order. >> Changes since V2: >>     -- Initialize is_adsp_sb_needed flag. >>     -- Remove empty proxy pds array. >> >>   drivers/remoteproc/qcom_q6v5_adsp.c | 16 ++++++++++++++++ >>   1 file changed, 16 insertions(+) >> >> diff --git a/drivers/remoteproc/qcom_q6v5_adsp.c >> b/drivers/remoteproc/qcom_q6v5_adsp.c >> index fa2ccac..02d17b4 100644 >> --- a/drivers/remoteproc/qcom_q6v5_adsp.c >> +++ b/drivers/remoteproc/qcom_q6v5_adsp.c >> @@ -702,6 +702,21 @@ 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.pbn", >> +    .load_state = "adsp", > > given that you mention load_state info please make sure you > mention qcom,qmp as a required property in the bindings. Okay. Will add it in the bindings. > >> +    .ssr_name = "lpass", >> +    .sysmon_name = "adsp", >> +    .ssctl_id = 0x14, >> +    .has_iommu = true, >> +    .auto_boot = true, >> +    .clk_ids = (const char*[]) { >> +        "gcc_cfg_noc_lpass", NULL >> +    }, >> +    .num_clks = 1, > > bindings seem to mention 6 other required clocks any reason why > they were skipped? Actually all other clocks are being enabled locally, without using clock framework, as the memory space conflict with other module occurred. > > AFAIK you'll also need lmx so you'll have to mention proxy_pd_names > as well. So far we didn't see any issue without LMX PD. > >> +}; >> + >>   static const struct adsp_pil_data cdsp_resource_init = { >>       .crash_reason_smem = 601, >>       .firmware_name = "cdsp.mdt", >> @@ -740,6 +755,7 @@ static const struct adsp_pil_data >> wpss_resource_init = { >>     static const struct of_device_id adsp_of_match[] = { >>       { .compatible = "qcom,qcs404-cdsp-pil", .data = >> &cdsp_resource_init }, >> +    { .compatible = "qcom,sc7280-adsp-pil", .data = >> &adsp_sc7280_resource_init }, >>       { .compatible = "qcom,sc7280-wpss-pil", .data = >> &wpss_resource_init }, >>       { .compatible = "qcom,sdm845-adsp-pil", .data = >> &adsp_resource_init }, >>       { }, >>