From patchwork Wed Aug 10 07:45:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivasa Rao Mandadapu X-Patchwork-Id: 12940322 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1C8AEC00140 for ; Wed, 10 Aug 2022 07:52:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231501AbiHJHwI (ORCPT ); Wed, 10 Aug 2022 03:52:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230518AbiHJHwH (ORCPT ); Wed, 10 Aug 2022 03:52:07 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09A0D73935; Wed, 10 Aug 2022 00:52:07 -0700 (PDT) Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 27A7no6r025439; Wed, 10 Aug 2022 07:51:26 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=qcppdkim1; bh=mXiw2l7Tdc0UgcxNFM2/Pn4qIDfrMrHGobWSFy/DNDM=; b=Npvgpd3v8VC/36g0drWt6DH2vOAEVnnHEpDgWhwvpkCBfTvIe3R5TKtc6pvBE4QgCISn Qec3TvDaTYTuvSSfvkCDJ6w87yoXAMUKEUDBnaMoqTh67OhE3wO23/bCmD+bb/LnaUQK OmaOGaTRF2tWd9eGAq7kOS6on7YRWpBeqN9fAbsuKRxoTAKS3zOV0YZnukvnFJJDFQc9 dENY3GPsrZdAfp/Q4YqgEgvCpYFs4lzvX8ROYcMDVsQpucEQgS7uvOFNlcKamOHF3/2q QzOlVaoDfkqgRQoXNyDDMffAI+KwRTkU2ZBnAdZYd1Ywibaadf80Se9y/bAUk5gHYZMj gA== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3huwqgsm0r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 10 Aug 2022 07:51:25 +0000 Received: from nasanex01c.na.qualcomm.com (nasanex01c.na.qualcomm.com [10.47.97.222]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 27A7kPkO007268 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 10 Aug 2022 07:46:25 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:24 -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:19 -0700 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , , , , , , , CC: Srinivasa Rao Mandadapu Subject: [PATCH v3 0/8] Update ADSP pil loader for SC7280 platform Date: Wed, 10 Aug 2022 13:15:50 +0530 Message-ID: <1660117558-21829-1-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 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: cu1wbHRlW-oTzEWb5Iv5bsKyp5xIBWyY X-Proofpoint-ORIG-GUID: cu1wbHRlW-oTzEWb5Iv5bsKyp5xIBWyY 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 priorityscore=1501 suspectscore=0 lowpriorityscore=0 malwarescore=0 adultscore=0 bulkscore=0 mlxlogscore=980 mlxscore=0 phishscore=0 impostorscore=0 clxscore=1015 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2207270000 definitions=main-2208100022 Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org Update ADSP pil loader driver for SC7280 platforms. Changes since V2: -- Generated patch with -M flag. -- Add Clock property in dt bindings. -- Add qcom,adsp-memory-regions property. -- Add is_adsp_sb_needed flag instead of is_wpss. -- Initialize is_adsp_sb_needed flag. -- Remove empty proxy pds array. -- Replace platform_bus_type with adsp->dev->bus. -- Use API of_parse_phandle_with_args() instead of of_parse_phandle_with_fixed_args(). -- Replace adsp->is_wpss with adsp->is_adsp. -- Update error handling in adsp_start(). Changes since V1: -- Change reg property maxItems to minItems and update description. -- Fix typo errors. Srinivasa Rao Mandadapu (8): dt-bindings: remoteproc: qcom: adsp: Make ADSP pil loader as generic dt-bindings: remoteproc: qcom: adsp: Add required bindings for SC7280 remoteproc: qcom: Add flag in adsp private data structure remoteproc: qcom: Add compatible name for SC7280 ADSP remoteproc: qcom: Replace hard coded values with macros remoteproc: qcom: Add efuse evb selection control remoteproc: qcom: Add support for memory sandbox remoteproc: qcom: Update QDSP6 out-of-reset timeout value ...m845-adsp-pil.yaml => qcom,lpass-adsp-pil.yaml} | 19 ++- drivers/remoteproc/qcom_q6v5_adsp.c | 150 ++++++++++++++++++++- 2 files changed, 158 insertions(+), 11 deletions(-) rename Documentation/devicetree/bindings/remoteproc/{qcom,sdm845-adsp-pil.yaml => qcom,lpass-adsp-pil.yaml} (90%)