Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp6803280rwb; Wed, 10 Aug 2022 01:06:24 -0700 (PDT) X-Google-Smtp-Source: AA6agR7xijsEQaU194bwPNG2/mVi1jLbajZt1ZB7pdFkZtdY9TMM1RIYoE+5z1oF7BzcUfZKHYpU X-Received: by 2002:a05:6402:254b:b0:43e:7c6a:f431 with SMTP id l11-20020a056402254b00b0043e7c6af431mr25663367edb.305.1660118784179; Wed, 10 Aug 2022 01:06:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660118784; cv=none; d=google.com; s=arc-20160816; b=ozGHrT0M3SYw2+pDXAAj4JjEd2C7VHxskoFuoFHU4VsfW/TNuSSYRWNiEPnx6jsIcv O8G/ICQZhoJWLgSeeaN7z9QYT+iJYE1g7i8oTAUsf0oM9AwPhHBxuU39ne3tKKPFXIe5 EUzxiTkolVPkUibH2Qhph14mTy4byOZDwoPOuYNH7gJah4Z90k15Dp5HcRFavNqF/l4x BKwxFmo5yYtQNTKWoNOPjLj+h/iiHPzfQM3kq/EoNoDvlX0oxVfmRyRwESvxWb8DbL+C 8STS8o1ulRWobMp2eZgC19RVvh3npLauBQYvFV8jeaZnboXAjM/yUBq1Ckd8a6+B5C5p uVVg== 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=VDZEMLxQFO5RQKTy/M1pzGq6bYezx/uFoonXkxUgphM=; b=t+o0Ow1Cw6Q4WEFn1d89U94L/BM2pFkeUNjF8W0OwUmmppETuOueXkdqcJBD09R0QJ DXmGZf7x+kbfIW0aYXdIKieTIzP8qHkHr/oX+YbXq1rb7xSu5uXcORl6mKwGrFnL8Gz/ J+dJAtfxk4o/9kTFud5fT5zarJyhJmYJz0UxV0eKPLysDCQXuzqyXXBTe0bGxxP8IE0a rTfPjGXxyusIv8l/2byABluPRpc7QbNRD9ETDNdMvYA+FrDj39tZGVPJptyK+Y40h2Rs JplRcm39yQH9Z3sqdn9UzPh3MgMZ4JprFnaEI1Ag/P2rdK2v9W8z4wJo1mFMZ+oMrh98 BJkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=DX8oQ+xu; 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 hr6-20020a1709073f8600b007310a9ad201si4432793ejc.130.2022.08.10.01.05.58; Wed, 10 Aug 2022 01:06:24 -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=DX8oQ+xu; 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 S231559AbiHJHwq (ORCPT + 99 others); Wed, 10 Aug 2022 03:52:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231552AbiHJHwa (ORCPT ); Wed, 10 Aug 2022 03:52:30 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C59D876948; Wed, 10 Aug 2022 00:52:29 -0700 (PDT) Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 27A7o4JQ005607; Wed, 10 Aug 2022 07:51:49 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=VDZEMLxQFO5RQKTy/M1pzGq6bYezx/uFoonXkxUgphM=; b=DX8oQ+xux1wJ3RYw/ga5Swc/MHh/zqhdfX5U0TrMiL3VhUyK8hpg1xhlfDxe7/aoJaRb 7zQMpCusx2wBOuzYxDE5r0k+Q75qlUBFRascA8zaZbKS/mhr8+M+Te4YtFlRY/64ea0U 9SLXC17miGnQf6Fy2UWaqAT8epfADtFLBVGhynkneaKOC9zxmLfBcdkoBVR5JtT+XzuD XujD34oIr6yZ+wwdwsSA1L+F2LZ2cbzDAeafeBqxvxXVI2b5eNsPeTPYCYMj6IL3pexN CBDyTnMrrdgJ010JkIPcy7YHoYndP1FL+lDRq0SAHT+GRxgraSxqycmRi2pa/pjd5w+N aQ== Received: from nasanppmta02.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3huwqg1m5m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 10 Aug 2022 07:51:47 +0000 Received: from nasanex01c.na.qualcomm.com (nasanex01c.na.qualcomm.com [10.47.97.222]) by NASANPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 27A7kkna032747 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 10 Aug 2022 07:46:46 GMT Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Wed, 10 Aug 2022 00:46:46 -0700 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; Wed, 10 Aug 2022 00:46:41 -0700 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , , , , , , , CC: Srinivasa Rao Mandadapu Subject: [PATCH v3 4/8] remoteproc: qcom: Add compatible name for SC7280 ADSP Date: Wed, 10 Aug 2022 13:15:54 +0530 Message-ID: <1660117558-21829-5-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1660117558-21829-1-git-send-email-quic_srivasam@quicinc.com> References: <1660117558-21829-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: VIvGFPbIzetpAtNXcNvaDEBDhvB23Fif X-Proofpoint-GUID: VIvGFPbIzetpAtNXcNvaDEBDhvB23Fif 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-10_03,2022-08-09_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 clxscore=1015 phishscore=0 priorityscore=1501 mlxscore=0 spamscore=0 mlxlogscore=999 malwarescore=0 adultscore=0 impostorscore=0 suspectscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2207270000 definitions=main-2208100022 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 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 d18ec74..15d9834 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, + .is_adsp_sb_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", @@ -741,6 +757,7 @@ static const struct of_device_id adsp_of_match[] = { { .compatible = "qcom,qcs404-cdsp-pil", .data = &cdsp_resource_init }, { .compatible = "qcom,sc7280-wpss-pil", .data = &wpss_resource_init }, { .compatible = "qcom,sdm845-adsp-pil", .data = &adsp_resource_init }, + { .compatible = "qcom,sc7280-adsp-pil", .data = &adsp_sc7280_resource_init }, { }, }; MODULE_DEVICE_TABLE(of, adsp_of_match); -- 2.7.4