Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3529864rwb; Tue, 16 Aug 2022 04:54:06 -0700 (PDT) X-Google-Smtp-Source: AA6agR6epAWHNTgTd6/qb6A/kBry/9iLIgy/U75VoNm22+MGhd6GxNZ6+qojAPu9VKJFtWfiiMqM X-Received: by 2002:a05:6402:d05:b0:435:b2a6:94eb with SMTP id eb5-20020a0564020d0500b00435b2a694ebmr18288061edb.87.1660650846757; Tue, 16 Aug 2022 04:54:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660650846; cv=none; d=google.com; s=arc-20160816; b=ttL4MR7sjENlGJ/FWC6TZQe7c/FojQFehTE24bGfP1VXpzxWJz2m/Z80d9lYAz9Igv nKMLDydUT3XzNchRac7PhNmQxGne5DL9Vz2BQ+Zw4+Hn77dpuNosixr3GISMztBnYyjQ knWvXCo44SWJDpWDCNrXFWyktbhn43V1n2OKCBrr/Y24L0BaoWeBhMlo36JGABJwMMbZ Q4DDO44KFJcc5R9A/c4jrtsJO/ufwUr209emt/XFSFOp8f2ISqMHT8slxEEx34+yl7Qx OgDPf9wblC1+h3f1QGdEBjGl6rCXZEBhy70RMK+ZnlwiZ8/OtYgHCFBGjV4yhI0CXzzL 59pw== 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=TgaZWtkiYjQWf4HhxErrX/X/122JYnECVLjpddwHm0ljauNMF8MobYm46a8pFozezK J0vtu2As6znbmCMfIqcpI98/MJnyxHWiuNX9TOJK6gwcRBov045QuwXDo3BhduGPiPZN gBHqRXvgSuILpsSMNFpe6dCnxv5ztlo4R4XnId7mJASupx97uU1S3MeCguemyXP4iNza 8cHqotvV3h6pSS2joR+kXp2TUNxKZxEWfxFUoZbya39OyXyL2YCV1mLpKloL1AyMl5VK oYSbeu73iQ+fSwqYXCR0wqK5IUNK/SGRVFSIWVKSLEaP4mmv6Sd0W8e+YPPbhrNrvvy0 4Jpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=BTvo4LcC; 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 qa9-20020a170907868900b0072b0303a11asi9942074ejc.955.2022.08.16.04.53.41; Tue, 16 Aug 2022 04:54:06 -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=BTvo4LcC; 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 S233769AbiHPLu5 (ORCPT + 99 others); Tue, 16 Aug 2022 07:50:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231239AbiHPLuR (ORCPT ); Tue, 16 Aug 2022 07:50:17 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1931286C1B; Tue, 16 Aug 2022 04:25:10 -0700 (PDT) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 27GB1Ans017565; Tue, 16 Aug 2022 11:24:30 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=BTvo4LcCxNSZGS/PejT/gKun6/Y0E78dk/00TnfOv3KXhQF3roXB2Z0pFrnM/grpuWOk vwuuJhwuN6yncFSbaxYaG5iCH90aORLuB/48i0VUrDs6vfXADmjxnWKkMyexObMY9iVU EfVmgYjpTy4PSCn0HiqNj17Sl8+x2GYcJAS5eSC6Ap/RIdnKZNZFG6KkU1/9dyo+BL7T 6MgA/TCEDe7EEsd8zhiLrUBTMr+l978aLw5emQb+IczPD4OZrUKyKmlt7Ot3KAYV5xdl 5pifbiDt4ygqf1Zc7zqds7SZAXAu3Kx6w05igG0BftV7mFzzSBfg7CEG8j/rOLhmbupo Kg== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3j058t12fx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 Aug 2022 11:24:29 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 27GBOTWc027489 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 Aug 2022 11:24:29 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; Tue, 16 Aug 2022 04:24:23 -0700 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , , , , , , , CC: Srinivasa Rao Mandadapu Subject: [PATCH v5 3/7] remoteproc: qcom: Add compatible name for SC7280 ADSP Date: Tue, 16 Aug 2022 16:53:50 +0530 Message-ID: <1660649034-4303-4-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1660649034-4303-1-git-send-email-quic_srivasam@quicinc.com> References: <1660649034-4303-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: 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-ORIG-GUID: lonx4dwfre0rFb_DU85eMFRDQmx3I4Lz X-Proofpoint-GUID: lonx4dwfre0rFb_DU85eMFRDQmx3I4Lz X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.883,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-08-16_07,2022-08-16_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 priorityscore=1501 bulkscore=0 lowpriorityscore=0 clxscore=1015 phishscore=0 mlxscore=0 spamscore=0 impostorscore=0 mlxlogscore=999 suspectscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2207270000 definitions=main-2208160042 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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