Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2079204rwa; Mon, 22 Aug 2022 01:28:36 -0700 (PDT) X-Google-Smtp-Source: AA6agR7nXWJQt2nfJGzZS1Pxz1XQH/UgabkZ5ij4y8vHJlzpzxbSdiTEzieRh8OYrZNaWUgV8nVd X-Received: by 2002:a05:6402:1e8f:b0:440:eb20:7a05 with SMTP id f15-20020a0564021e8f00b00440eb207a05mr14985418edf.169.1661156916086; Mon, 22 Aug 2022 01:28:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661156916; cv=none; d=google.com; s=arc-20160816; b=tqeB+bwib8G+YCkBeyVQouMmDZkeA5kma7OwiciknEuKWlHHe5Dcs1AatoYht47/8q ll/+nAK+h92DZXH9uNcoHbrV2eVo0FzOX81+Okvij/X/R+TIM85K1k+PLHsKb/jrcOXX TT+7ycwdO4/hyPh1jUnVCN93kDU6dNWd9lygMak+1eeXOcL4RlaTt8RdEyzRL7drJ56K GirvAaZyGKr4zImxgV9WvxM3uzYd3WV5bKOjShTL6OTOLipFltVImv8UwX4QyoV4u/oO YaQ3ZpJQiljIWd9gMj9b9Zmo5KTKtmzXZdBPCNkv0GtTPjyeGpnoUrrKmyPH+TDfHMNq xKKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=C0wasrZycPbCPZaxTfUUfBh6Rrwzc1Yyug8IVeG5w0U=; b=r+zvlF8EX8tOXdziu3x/mlmmR3CjuPsh9deRDyq4xz1sHDhfsWFKMJ1wXfVcSQ6LOA 3OXHQfvyHRgiVQLpuWynh1atOt59Hg57zHTgo91662U/+DNsSFlIRnbN5d9gbTExVIm6 J1m2MeBJTZPozGZEgqWGkxKwu+nnDKlIAzgtcuNLgDyHTtgHytH/wM+yxg6GM8MKxuo8 tz/E+MX1xgzK/7lAnd3tdHo/0LWa3uvaw1dWqVaOBMnITdrHDkVz720lp5CTY1X94Gpe 6Gk4+Af6ykqy0YmLVHGkJ5VLvt60Z5Zlu9ZkO2s/TUeH/AjOnKOAHMA2UwMle6lPdmnd +cGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=GAL4FHa0; 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 p2-20020a056402500200b00445e286d000si8515590eda.365.2022.08.22.01.28.10; Mon, 22 Aug 2022 01:28:36 -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=GAL4FHa0; 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 S233916AbiHVIXf (ORCPT + 99 others); Mon, 22 Aug 2022 04:23:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233879AbiHVIXZ (ORCPT ); Mon, 22 Aug 2022 04:23:25 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27E50F33; Mon, 22 Aug 2022 01:23:24 -0700 (PDT) Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 27M7FbYs025992; Mon, 22 Aug 2022 08:22:44 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=qcppdkim1; bh=C0wasrZycPbCPZaxTfUUfBh6Rrwzc1Yyug8IVeG5w0U=; b=GAL4FHa0S+syGnhCIAyY41P+niHSov/tYXPXiX8D+NF4/VrJbtsHwPfTNvzcYMCeOgoX 3/l1mVZTpJ1c5qG8iZs1QbIG3quuI6+gUyhAXv96jKfKpFfCopebOXZrtcuKdadWtJ4K 5xpkRrMFCL+dmQutpsjrHWCcwePL/t0I99U4sFZ/5/yS3BkdHtRW6aJ4LbumgzlikYOy fnAx9JypJkGOLuNwrhOoC+o/LaUkblzFptNUznfBB9heqKDEsxajZ1ePfprLrqnXSwTc SCsSi+5kaZo/Jsn8x39ML1KHNWkVlQUPpujNsuYAtISKJyvQnr5tVvVPI2//b9oE77wr zA== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3j2vwpbkwh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 Aug 2022 08:22:44 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 27M8MhOd015139 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 Aug 2022 08:22:43 GMT Received: from hu-srivasam-hyd.qualcomm.com (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; Mon, 22 Aug 2022 01:22:37 -0700 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , , , , , , , CC: Srinivasa Rao Mandadapu Subject: [RESEND v5 3/7] remoteproc: qcom: Add compatible name for SC7280 ADSP Date: Mon, 22 Aug 2022 13:51:59 +0530 Message-ID: <1661156523-22611-4-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1661156523-22611-1-git-send-email-quic_srivasam@quicinc.com> References: <1661156523-22611-1-git-send-email-quic_srivasam@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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: g5ZrLqlVsVmeLOuIaLj7X0Lqna7YbGSc X-Proofpoint-ORIG-GUID: g5ZrLqlVsVmeLOuIaLj7X0Lqna7YbGSc X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-08-22_04,2022-08-18_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 suspectscore=0 spamscore=0 mlxlogscore=999 priorityscore=1501 mlxscore=0 malwarescore=0 impostorscore=0 lowpriorityscore=0 adultscore=0 clxscore=1015 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2207270000 definitions=main-2208220035 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 Update adsp pil data and compatible name for loading ADSP binary on SC7280 based platforms. Signed-off-by: Srinivasa Rao Mandadapu --- 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 | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/drivers/remoteproc/qcom_q6v5_adsp.c b/drivers/remoteproc/qcom_q6v5_adsp.c index d0b767f..6d409ca 100644 --- a/drivers/remoteproc/qcom_q6v5_adsp.c +++ b/drivers/remoteproc/qcom_q6v5_adsp.c @@ -701,6 +701,22 @@ 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, + .adsp_sandbox_needed = true, + .auto_boot = true, + .clk_ids = (const char*[]) { + "gcc_cfg_noc_lpass", NULL + }, + .num_clks = 1, +}; + static const struct adsp_pil_data cdsp_resource_init = { .crash_reason_smem = 601, .firmware_name = "cdsp.mdt", @@ -739,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 }, { }, -- 2.7.4