Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp510799rwb; Wed, 28 Sep 2022 05:53:33 -0700 (PDT) X-Google-Smtp-Source: AMsMyM56YZGJ6mQsoCYrfR4PrKZMPF3ZUpd3nT66vMxX54hifOMH8T8hJMDbWX/adIdMwk68y3JH X-Received: by 2002:a63:5c07:0:b0:43f:6af:7590 with SMTP id q7-20020a635c07000000b0043f06af7590mr6896571pgb.272.1664369613272; Wed, 28 Sep 2022 05:53:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664369613; cv=none; d=google.com; s=arc-20160816; b=q1dI/gCWbZ4epvntQPEavCHORhxilMEz9MHmsG5pW65QSDUplM9Tu4w3c1S78yh4ua D+SaSM5R99+H40JG/eXzV45eWK7iJqz1lAsP/NkoanUubmBZTkwN8YmRXSXOUeClVqTJ CR/jfXYQCRZflRugUJBgr+Kd6dkfusu9Qy7J+VEr2IPwohIdXCbnCNOSCRX2fiaUsTP+ Y4DsOkQOS0gdJcQpo73O/uHo0IfCpF8NbxKn24oy1bpBxg9BSFAHWKqc2t748Mo7/Wa4 9S5gQLHeaSFMLVQ/ausp8ssl/UikqjQj1jPR16Vi7b4hVm+iWgkiCvE2Hclyq2J5/t6Q SneA== 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=kHlMIOMUC53oCCIkBATRhP63nWzIh3zAahM0TDIuoWE=; b=gCdu+3fyNDJJ2YSO8aPiADJgWJGc+oxK8P5ALYBTfWBo4w/ceiwnCjywBMJDsJ6ySj 6OiXkr51gZ66d5b5oO6cUBgEv5X1+6X97N3yd1n3YyXkwa/76lO9qJ0HySqrO2ecnmBw 4hsMqmmRFp37foGue3zLSBx1X9nLUvYh5HE3pCWR1POrsktQLJiuS+bGPHUOpRFMFrNb 5qDzH1oxGQIWHSuCzgUa44OoybOhi8zT8eOA951skVZRjLbr5JNMydt3NjOW4YfZQWDG izufGyHSJ3UHdxNa9Pf+KdCRzlRKFRW1Dn06InBfRQFjq3qEHFJ/Nl03CcOtmmG3nEAW Bxig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=eLNATM9l; 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 ot17-20020a17090b3b5100b001f2a654d564si2512712pjb.16.2022.09.28.05.53.21; Wed, 28 Sep 2022 05:53:33 -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=eLNATM9l; 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 S233716AbiI1M3g (ORCPT + 99 others); Wed, 28 Sep 2022 08:29:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233749AbiI1M3W (ORCPT ); Wed, 28 Sep 2022 08:29:22 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6A4691D98; Wed, 28 Sep 2022 05:29:20 -0700 (PDT) Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 28SA6GkK007835; Wed, 28 Sep 2022 12:28:37 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=kHlMIOMUC53oCCIkBATRhP63nWzIh3zAahM0TDIuoWE=; b=eLNATM9lWdHB9q6MWVV0SrYYNk/uqo1mqUvTt9wf0raCLsMhnawwx8jEKQ5C2QpK8+BW 9m7DI2z++NNRJ8ai/gJ8PiC5zAQKguKFj6EHOdnNb5JtkeHmUMcUAk0JSDUBFBnr5Z3T O6fHNmXvza9MGN1V/23h5YdNe5fqKqSYHdKXNYaDI3qZKkG5JAKGyAis5bHtL41nnVqF tDNQlaKMgbuCyQlZEc4guxyl8LwuZv8+FgC94g9CI+/nhzjzDc9Bgj5fflLfHNteuC9B +AB4DWYIfZ7jaE0efvCe56s5mxPpC19+CX+4SUnN98hCVlBqZ26I+RTKgeJWXPZzVsjJ TQ== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3jv28a406s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 28 Sep 2022 12:28:37 +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 28SCSaLw030555 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 28 Sep 2022 12:28:36 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.29; Wed, 28 Sep 2022 05:28:30 -0700 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , , , , , , , , CC: Srinivasa Rao Mandadapu Subject: [PATCH v10 3/7] remoteproc: qcom: Add compatible name for SC7280 ADSP Date: Wed, 28 Sep 2022 17:57:49 +0530 Message-ID: <1664368073-13659-4-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1664368073-13659-1-git-send-email-quic_srivasam@quicinc.com> References: <1664368073-13659-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-ORIG-GUID: LH-OCv4yCJ2ZoNXJxKZ09EijEvYz_cl1 X-Proofpoint-GUID: LH-OCv4yCJ2ZoNXJxKZ09EijEvYz_cl1 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-28_05,2022-09-28_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 impostorscore=0 suspectscore=0 spamscore=0 mlxscore=0 lowpriorityscore=0 mlxlogscore=999 priorityscore=1501 malwarescore=0 clxscore=1015 adultscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2209280077 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 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 Reviewed-by: Stephen Boyd --- Changes since V5: -- Rename adsp_sandbox_needed to has_iommu. -- Change adsp binary extension 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 fe385e8..14a3864 100644 --- a/drivers/remoteproc/qcom_q6v5_adsp.c +++ b/drivers/remoteproc/qcom_q6v5_adsp.c @@ -701,6 +701,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", + .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, +}; + static const struct adsp_pil_data cdsp_resource_init = { .crash_reason_smem = 601, .firmware_name = "cdsp.mdt", @@ -739,6 +754,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