Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp243175imn; Thu, 4 Aug 2022 04:19:58 -0700 (PDT) X-Google-Smtp-Source: AA6agR6r5Pv/eYqluzG4UyJbeDcvKqzTSvvJzhZSqDLK86SbQ/po2laKVPeAM302aj7o2QOHgBWL X-Received: by 2002:a65:4848:0:b0:3fc:52c3:6ca5 with SMTP id i8-20020a654848000000b003fc52c36ca5mr1225196pgs.264.1659611997800; Thu, 04 Aug 2022 04:19:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659611997; cv=none; d=google.com; s=arc-20160816; b=TcAbDNnzf548QW8q1ejP2UBmaxZdaW5K5bF7vn8snp9vzAS4bSf7QQioT/FkgCnr9G 8oQwqvkIWWYyaWs9Y5z/JCSG2p658mEoeDIw+MkQ+W5Oan/DcYpYrxNkWQhVJhVA/Roh nQp1nZ5ZGhgXpNSdENy16jN8B5f2fn/6D9Wj2YP7nbRX8lfqT59lBDyZkp7alzARiiLH EOxeYSU/kHuByFu1vXf6ZeGBjUOxmL74PiOdbpLeADxwEJIipqxhmcCUHDxbZ7RcP5ET wzxzxNcoyyqtTx1h6rM53ulmeb47IRV0GgrJr4eDjOP1S1KO2Ry4VSOXq72WfG0dz2UU J0EA== 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=Uc1q1aKtuwjzEqL0wQamFCypgEwTh9SyvR6sHIjmGqc=; b=yBm78Kj4o4zf0pQNjngLzkgHyU7mFW48tyj2aNYPLTLASDzsePURciMSlaT4VDOVFM 9hSQ04dIYmmy5DxmA3GswBnWLMgNaLML2Ln3ACLwOu9ENkqkZXTuk++t/vxMwxJ7HOtJ Yg3eaMBVXzckUtb3sF9gKABa/zWqiZV8rO7AZKdxKZ/zlJy8cNSZ/2xdxb7WNTyaBj55 Oe6ALis+bUWhjF+sjLTIXlWlCRiG4jkGxkfyePXzT26+RIPL27xRQvIdACv9fJH27Ke+ USt4dV6gkLVFuuTbe4ZZsBMGJO6CjgMQMCP7QIxL0QC+AGUMOwh2LwEfpMd/d25j3M3J k3DQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b="eK/5+f61"; 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 u18-20020a056a00159200b0052d8876414csi789519pfk.112.2022.08.04.04.19.40; Thu, 04 Aug 2022 04:19:57 -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=qcdkim header.b="eK/5+f61"; 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 S239544AbiHDLQz (ORCPT + 99 others); Thu, 4 Aug 2022 07:16:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239579AbiHDLQ3 (ORCPT ); Thu, 4 Aug 2022 07:16:29 -0400 Received: from alexa-out-sd-02.qualcomm.com (alexa-out-sd-02.qualcomm.com [199.106.114.39]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC8572E9CC; Thu, 4 Aug 2022 04:16:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1659611788; x=1691147788; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=Uc1q1aKtuwjzEqL0wQamFCypgEwTh9SyvR6sHIjmGqc=; b=eK/5+f61xjYHoFJDVxIZEuYfmJYN/YvpdUFCp2VqL8SxGcE0JZ+BbgVQ 6JU+ZYPD20i3LE5TwpaVshzhVLvkiY9rb5F8JMuVWFp+TmnCOz8cN+ISR VDN/PDClBfj30OEe3561fxnJOfAWs/tiRQN54XFIWw1101k5s+/k1Q2HR w=; Received: from unknown (HELO ironmsg01-sd.qualcomm.com) ([10.53.140.141]) by alexa-out-sd-02.qualcomm.com with ESMTP; 04 Aug 2022 04:16:28 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg01-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Aug 2022 04:16:28 -0700 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; Thu, 4 Aug 2022 04:16:27 -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; Thu, 4 Aug 2022 04:16:22 -0700 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , , , , , , , CC: Srinivasa Rao Mandadapu Subject: [PATCH v2 3/8] remoteproc: qcom: Add compatible name for SC7280 ADSP Date: Thu, 4 Aug 2022 16:45:46 +0530 Message-ID: <1659611751-7928-4-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1659611751-7928-1-git-send-email-quic_srivasam@quicinc.com> References: <1659611751-7928-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-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 --- drivers/remoteproc/qcom_q6v5_adsp.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/drivers/remoteproc/qcom_q6v5_adsp.c b/drivers/remoteproc/qcom_q6v5_adsp.c index 2f3b9f5..bb4494c 100644 --- a/drivers/remoteproc/qcom_q6v5_adsp.c +++ b/drivers/remoteproc/qcom_q6v5_adsp.c @@ -697,6 +697,24 @@ 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, + .auto_boot = true, + .clk_ids = (const char*[]) { + "gcc_cfg_noc_lpass", NULL + }, + .num_clks = 1, + .proxy_pd_names = (const char*[]) { + NULL + }, +}; + static const struct adsp_pil_data cdsp_resource_init = { .crash_reason_smem = 601, .firmware_name = "cdsp.mdt", @@ -737,6 +755,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