Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp997889rwb; Tue, 27 Sep 2022 07:13:15 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5VZ4IRB5jyAglTc/jmPNW7mm5yBWIlbqEjVYrlgWfWUr3txtbo5iO5cs2zDVhYkAdKbNeK X-Received: by 2002:a17:907:1dd9:b0:77a:341b:88cb with SMTP id og25-20020a1709071dd900b0077a341b88cbmr23326381ejc.753.1664287994889; Tue, 27 Sep 2022 07:13:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664287994; cv=none; d=google.com; s=arc-20160816; b=BXvMPwiHeuVBvwUOfHq36NwiIDPCOuCmZnzQOIfuqyphPiHlnSOJvHJMi3fz7EDkUN rA69egV8gkMK+aVKOOzLk2JPQKjt25SCZ3oIHi70t2PNtTi1imgUv2tkR1V+7ZvvBzQ2 Q/p5mwa+Q7W3Onnr/fFHfseb1mINH4OqVN78UOd/ToXIIvU2Po7/hI6Cg2tbjejKYKVd sfCA8Av6TZwiTLQd/GuEJLcalD4ZVoXzzK0Ov7++Q6wfnQ4aWClnixDavyU7O2df67lC 5Ia4nqMV+22DRfO9blrJNKlG4JBhPX1UI43EZb97PlyTukw8oENcBxigP0KzJ4TF6UKr r9jw== 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=qitQwQnuGogPIWNnF9pK8+G7FAKpkjgbrmS7Bb4NNFXnCwsNQeIA8RDLYFKs8SmVPh 93bRnhdCPBvUh3cnBqMUhXQ1lTkiGuPFe6NruntLIxpdp/mlzUT1vQN+WGGRqTtXxo+y irvVdznuOqLBZ0Wieb2w7pQFwEP8rp1LF3Japo7OEP0C/iCPm4mJ+LRdvYASene38tL9 4ZpQe0AcALvFo1WN8FzKAadF5wpXuZNpCraLEp4/4Rc8AMEdfZ4zDFRoOJUl04DApyyh w5RQAkwTFw5k7x4QI9H+PjdK64Hj2LZFrD9Iphl2Ad6dx4M05WKrHKPASUF96nKY/xaE 0F4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=MZJxGwsQ; 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 sd2-20020a1709076e0200b0078266dc4b8csi1482055ejc.719.2022.09.27.07.12.40; Tue, 27 Sep 2022 07:13:14 -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=MZJxGwsQ; 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 S233013AbiI0N6x (ORCPT + 99 others); Tue, 27 Sep 2022 09:58:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232377AbiI0N6M (ORCPT ); Tue, 27 Sep 2022 09:58:12 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD46615E460; Tue, 27 Sep 2022 06:58:09 -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 28RDMLDA020086; Tue, 27 Sep 2022 13:57:31 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=MZJxGwsQ2qY3G0VRWCOKRPskBACemg93U/iBBDE+c735vaYittjMRFbFByPY2yzS1nUp Z37hoFz80FDNRUoKdF+KBIrWG9OXTMlwfXvZmBnZsYiuXW3JsCHmRqyiAiGvm6+fD7Op x3XVrl6IBZBm01aAVXMP+inBMrwk27XTb4ZDQopTNimcpVqp+peZZee1YxfLr0zytc2m FwV5GLwUCLac9oSxxBnbfUe22D5BKw+zbCEeKwbubgZcYMhODJJjQ3/7nLyl/XuWquMh whxqtaHkJhWN5nNq3Ii2XXewfsnvxvibZXdcJCc9KRjE8zlzu4iuGtyQEucVy4tUsVLR bQ== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3juq77hj89-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 27 Sep 2022 13:57:31 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 28RDvUTP016688 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 27 Sep 2022 13:57:30 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; Tue, 27 Sep 2022 06:57:24 -0700 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , , , , , , , , CC: Srinivasa Rao Mandadapu Subject: [PATCH v9 3/7] remoteproc: qcom: Add compatible name for SC7280 ADSP Date: Tue, 27 Sep 2022 19:26:39 +0530 Message-ID: <1664287003-31450-4-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1664287003-31450-1-git-send-email-quic_srivasam@quicinc.com> References: <1664287003-31450-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: LQKwmX7vITp_zSL5futMalP7S15HBypW X-Proofpoint-GUID: LQKwmX7vITp_zSL5futMalP7S15HBypW 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-27_05,2022-09-27_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 adultscore=0 clxscore=1015 lowpriorityscore=0 malwarescore=0 bulkscore=0 suspectscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 phishscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2209270085 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