Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp646627rwn; Thu, 8 Sep 2022 07:01:24 -0700 (PDT) X-Google-Smtp-Source: AA6agR6hbVDnBuiCpm8IFGXBPX6hPtYiJKa5t8B9ylltnw+N6kFaBJwXHMf6SPZQAbre+e4lFQ0Y X-Received: by 2002:a62:be0e:0:b0:536:76fe:ee96 with SMTP id l14-20020a62be0e000000b0053676feee96mr9134124pff.44.1662645683813; Thu, 08 Sep 2022 07:01:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662645683; cv=none; d=google.com; s=arc-20160816; b=bLh2UfW+t/Uqlos+GiinoxeBuwWpC2Md528oG86A/8ec/cUfDxwYfCIeJb19Zh0+xt +aign8kL39/xiM4znpcZlWRTvmO5LhoWqUoBa+JxopcurYPGeomFMXkDQ3/jErveLnaF Y/iZ0NgKACFkGVnxZgU3UYiUxkVpidaimHXi+/I7FHZhuTQNZ0HKJJqh0PnLa1GrpbSB 75R8rnS7tp1rGAdKvAVyaBWRJwqMJq1mW7yWhlZ27ZkudN9XbiN/dpYBl4cHKF9WuMKC qQnnhHr3aRMmdPK0P07RmLKa4KfCCC2mAS1m00ghrTFmx2+O80x1aiKwnxbV7HsvlmTk y1ww== 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=oUM2WFt4wo4qaffDx0j/JO13gEWTW7zVM74gmCfNtDk=; b=eelKUU640B/7USjtYsDHpr9OSi4sJBhFMlRVs6JtVQ2EUvOLR1Esy8Zo+VzLgTF5uo nV+kLOM/sD8FD0Mxd78vhqxgffjlk3BL3mJSbnthtWqTmXSiru6EW+JhKFHShCDTgRG/ 3biI87gOADG/vor2KHOsIFbMB7/BqdmDoKsf+7eT0Lh7xeJeM5d5iOc+HhXghRkxUiVA mfJsbzO3dcTBUgaOMT91VM1aRcQ8dVWrs77dykJriUdSTX3RpmBnLn+StHq4g4jI1qNs bKhwUbjJIWs5HdxhcHiBrsfWPs/PKaJNKgjGtLc9RcJ5YTNIN1N61HvKrD1kYUifjnm3 RbCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="Hs81g/l5"; 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 x9-20020a17090a9dc900b001fe061b0de8si2231381pjv.48.2022.09.08.07.00.39; Thu, 08 Sep 2022 07:01:23 -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="Hs81g/l5"; 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 S231381AbiIHNZM (ORCPT + 99 others); Thu, 8 Sep 2022 09:25:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232437AbiIHNZC (ORCPT ); Thu, 8 Sep 2022 09:25:02 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D946B57E05; Thu, 8 Sep 2022 06:25:00 -0700 (PDT) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 288CwopY014858; Thu, 8 Sep 2022 13:24:22 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=oUM2WFt4wo4qaffDx0j/JO13gEWTW7zVM74gmCfNtDk=; b=Hs81g/l50a5+haVfgJ33XK+SFRsdOw1rtXV/m3gJGJ+R5ow9EIIld+7Mm0goDAoPOk19 O+fdRTYfXjK9VGmx9ZasaNCl2B5zmDoOQoEVte3VhH4vdf47Fi6lO9m3jmefUwghOH7l 2NqAZV1/HAeYg3b1Wq2VpwxGSbRLmx/YM/E2LTMyFvWdEiwakRDFseqb8sCCPjbEUPxG 9BmP6RrlsyqYSZO0NUH17QY3xYc6S1XYU5eU/u60JyfU/GHukiRNDceqR0xHB1CNSjq5 mKK2O/H4qL1Zx9M2azeGEsdUATwLoJjBY4WbGT+B/Uvn7nILj4VdilpDJHAq+gyNVSCd ug== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3jf1swt11n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 08 Sep 2022 13:24:22 +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 288DOLjh001279 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 8 Sep 2022 13:24:21 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; Thu, 8 Sep 2022 06:24:16 -0700 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , , , , , , , CC: Srinivasa Rao Mandadapu Subject: [PATCH v6 3/8] remoteproc: qcom: Add compatible name for SC7280 ADSP Date: Thu, 8 Sep 2022 18:53:37 +0530 Message-ID: <1662643422-14909-4-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1662643422-14909-1-git-send-email-quic_srivasam@quicinc.com> References: <1662643422-14909-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-GUID: z9D7sjHi8Pt82CUlUg4Wt9D7E0nHKpKt X-Proofpoint-ORIG-GUID: z9D7sjHi8Pt82CUlUg4Wt9D7E0nHKpKt 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-08_08,2022-09-08_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 phishscore=0 bulkscore=0 impostorscore=0 adultscore=0 priorityscore=1501 mlxscore=0 spamscore=0 malwarescore=0 clxscore=1015 mlxlogscore=999 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2207270000 definitions=main-2209080049 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 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", + .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", @@ -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 }, { }, -- 2.7.4