Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3513738rwb; Tue, 20 Sep 2022 00:14:44 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4FGghSwLowZmx5C4gJu7JRyxlbUhl4sFauC6J2xOND0rP4dvKGHpR7nVNyfCafQZYNzZ3t X-Received: by 2002:a05:6a02:119:b0:439:3cb3:b07d with SMTP id bg25-20020a056a02011900b004393cb3b07dmr18603683pgb.188.1663658084302; Tue, 20 Sep 2022 00:14:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663658084; cv=none; d=google.com; s=arc-20160816; b=YWx4jjPRmbQ8Lo1A6Poj4ixn/BZNDU0VlhXmYZaZySTBxnE9WCr0QOy0f7+DtB3W/E f5AUEn602IKkoc/JCqkBw3YfEEtdbrEBLto9RimE2fbD6uo0hnTFDxTE5FOmYjRQJS+9 vIg8Q21HEWwWiFiOrYNYMmowHZZCHkojXjKmT9gKwZ5ygTiPVAiP+1k7pfkQQadMh3IF 5IyTZGoi7HV4FAjMi9NwOr3P3EXCmPPf1OkTVOAYe5KyO0+zLjpmJkjfbonmN/mFVgk7 ED06MQi1Kh6RPfHDX4FtI778qCllGPKARgfAg9DHSOKnU4KT2gs97B0yZKSDHC0m/WWW aXDw== 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=351hcwurwp7mxYYmlbzpMHFDlfa96t578ZoH6iSkHzs=; b=gkZsUQHfAtLgrbtVDa1JSzC4LKslg/ztIOINcy57ywxpCRE/abMfTuKkpuvcJD+q0b P7jERTHYj9kPC+pvz9swcgKp0PBCiXPABsdRGaqpJcoTWTOtGZ+PhnRB6edZ9J2GPLQS xQgX5hUMIb7ZeDUXc6tBz/cqCNSeWjB4OX5iMUqWud7BNnEra2Qz4UNmbTMKttCSW+ZC bO5JgpAX21R4xU/adayCTHLvLKI1dujLFGSffIcaZoqSx9KgDaZxba0y8m4AcVav5Lnv yt3AEZkY68SYvCh47NX2YCDbjc+Q8oJHSy7aSo4FGxSENejtf87WuyNAq7dkqbIJO12r D9eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=jgv+pf70; 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 r11-20020a17090aa08b00b002007ef7a2a0si13642889pjp.71.2022.09.20.00.14.32; Tue, 20 Sep 2022 00:14:44 -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=jgv+pf70; 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 S230444AbiITGbo (ORCPT + 99 others); Tue, 20 Sep 2022 02:31:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230419AbiITGa7 (ORCPT ); Tue, 20 Sep 2022 02:30:59 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 182825E33A; Mon, 19 Sep 2022 23:30:43 -0700 (PDT) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 28K6DZX9014817; Tue, 20 Sep 2022 06:29:59 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=351hcwurwp7mxYYmlbzpMHFDlfa96t578ZoH6iSkHzs=; b=jgv+pf70J3dmSbuLWd8i2rfpeDDjjHTcr8cjGikq3qTlJUJdBED3mP4eToVDjzjs20wS xhNhRUvx/8M9hYPM7MTNHi/pNYc+ITgQ2uGIiVuAgGOVTYpJ2TL2wRV5jyofkLMLU0lZ JySHWGdhwwtptefzXrjaHo/e3hXHDNufZN9VtNYdRvSHtAjnhYg7DQN9mCwigItVV3uo It2GSP4y3yrKR05Ow4QEgDY3Um5RXRFO6RMeVEz5qHcVwNY0TLbcE4MG4e+KT5FsV5L9 D8lFWKHnLn/VT21jRKhoNRxli59cIqgh1vLlHeH6f3sDgYSk4HoEPrbEMAyZmcTyg2W5 5Q== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3jpxaehh2n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 20 Sep 2022 06:29:59 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 28K6TwtC032540 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 20 Sep 2022 06:29:58 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; Mon, 19 Sep 2022 23:29:52 -0700 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , , , , , , , CC: Srinivasa Rao Mandadapu Subject: [PATCH v7 3/8] remoteproc: qcom: Add compatible name for SC7280 ADSP Date: Tue, 20 Sep 2022 11:59:14 +0530 Message-ID: <1663655359-1402-4-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1663655359-1402-1-git-send-email-quic_srivasam@quicinc.com> References: <1663655359-1402-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: h0yxLWjBGKCvR8hP9H43uFW9zorG5hB7 X-Proofpoint-ORIG-GUID: h0yxLWjBGKCvR8hP9H43uFW9zorG5hB7 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-20_02,2022-09-16_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 priorityscore=1501 suspectscore=0 lowpriorityscore=0 mlxlogscore=999 adultscore=0 clxscore=1015 malwarescore=0 phishscore=0 impostorscore=0 mlxscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2209200039 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 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