Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3584099rwb; Tue, 16 Aug 2022 05:46:04 -0700 (PDT) X-Google-Smtp-Source: AA6agR6F+ImMB2Qu5yygtM5aemPQJ+oOItRDQgm1t4TAM/PR66j+3dgqATrtmnRpfwOogFIQYkjg X-Received: by 2002:a17:907:2e02:b0:732:7679:cae2 with SMTP id ig2-20020a1709072e0200b007327679cae2mr13196061ejc.179.1660653963822; Tue, 16 Aug 2022 05:46:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660653963; cv=none; d=google.com; s=arc-20160816; b=I0v2edPkQ4dvB3/vwEg3+x0o/pR9//VIcDa2vnrQfbUInPXf5ccQGRQ9WHHD2H7aPN Q+uyuzIEqEoMuMpbLKM4XQ+3xLHm2DF1iRDoI3Mb58wkBQOLupsw4+i0EGqYaNDdyDk/ 4Oo/YXvi7VIS2/pdZiemYiodwvD7frOgWgD0w6dk0zhCy/VKCwyFG/kHi9LQCIjEVT0P ijcZEX6lzKuLa2H173WQ3EHTtoS7/fCwRVDopEmPyimAcCcbSVBwKWxR4cPHZTX+0ACT oTti8Zd/UOTMYJKhWxQGjq9mcxx5J9D4MeGia7Ig1dC6i59LjLDmhuM7RxMQxxosn/70 FeCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=5aTpjUYseG5JJk8g+HoBTAumTKBG4wTdhq0GBCJReTk=; b=IriQUvw27RncGZf6HQEnzwe2hhxTOxT6+SIFnIFgxJV05LVgDLu7ZNcnRf0mYnZvNM rvWRv3wbvKVVEl2TA/v0ry9DIhIMfRd21efrl7lrp+Vqm4M1C7YfKibJ5vOVr2AIU5C5 SrSoks5JP03mTozMMWDkAOz5MDH0CF8v7lZ1LKu9YjAsniYK6h+ARDcTwU2dYwO3gAjl DdI8Vq6YaQz8T3al9ciV0zAInYH9RkrYxTlIQ1wMQRO2wY1442LvjJGlORlf25eL7ON7 ZsP1O/rTuST+3P9fJtQH+J73xsWy91yueR3qz4njCSCgrtQszafKT8Q2RpIbXRh/Y1+t rOkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=WFCsdC4j; 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 sh31-20020a1709076e9f00b00732d464930bsi11217088ejc.683.2022.08.16.05.45.37; Tue, 16 Aug 2022 05:46:03 -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=WFCsdC4j; 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 S234095AbiHPLvB (ORCPT + 99 others); Tue, 16 Aug 2022 07:51:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232582AbiHPLuI (ORCPT ); Tue, 16 Aug 2022 07:50:08 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7DBE7F0AB; Tue, 16 Aug 2022 04:25:02 -0700 (PDT) Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 27GALl6i006361; Tue, 16 Aug 2022 11:24:14 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=5aTpjUYseG5JJk8g+HoBTAumTKBG4wTdhq0GBCJReTk=; b=WFCsdC4j3LG/Ep2WXBD3Rn1ETMXsRYrSI/AkKzoC/OZJnStz7AU2Y+thzu+Qo5qgKpuN Hr9rOSgPUyfwMHSikZVpB6IprGYoYt9dWu1wJ1DkDgMcCsE3FildI0YZsUwG0Olo6s9C dAi6CyAHyQxhV11lAUPZR38TLhIaORFF3t0sWbg52iSLa8/5/QNkvY5Jf2ZCLnVv7dY+ k0UuQO5Cogu58S+FtA8QaiiVSeAlYfFE0SToKzvdiLzZ5DAzmAy0HHdJnD5Y8HB2+q+V qbqX0s1IQAbt+Kb0YzSgzPHFE2QSitCGo6yMLk2fYzl9vCn+fEEoEJh6rZGizkljaP4z TQ== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3j08rs8au3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 Aug 2022 11:24:14 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 27GBODw9015802 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 Aug 2022 11:24:13 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.22; Tue, 16 Aug 2022 04:24:08 -0700 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , , , , , , , CC: Srinivasa Rao Mandadapu Subject: [PATCH v5 0/7] Update ADSP pil loader for SC7280 platform Date: Tue, 16 Aug 2022 16:53:47 +0530 Message-ID: <1660649034-4303-1-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 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-ORIG-GUID: xFuP5hruA9luTyK3Z7vs05jn9gi-AS-l X-Proofpoint-GUID: xFuP5hruA9luTyK3Z7vs05jn9gi-AS-l 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-16_07,2022-08-16_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 adultscore=0 mlxlogscore=936 mlxscore=0 suspectscore=0 malwarescore=0 lowpriorityscore=0 priorityscore=1501 spamscore=0 clxscore=1015 bulkscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2207270000 definitions=main-2208160042 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 loader driver for SC7280 platforms. Changes since V4: -- Update halt registers description in dt bindings. -- Update Memory sandboxing with proper APIs for resource allocation and free. Changes since V3: -- Rename is_adsp_sb_needed to adsp_sandbox_needed. -- Update sc7280 compatible name entry in sorted order. -- Add smmu unmapping in error case and in adsp stop. -- Revert converting sdm845 dt bindings to generic and create new dt bindings for sc7280. 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 (7): dt-bindings: remoteproc: qcom: Add SC7280 ADSP support 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 .../bindings/remoteproc/qcom,sc7280-adsp-pil.yaml | 196 +++++++++++++++++ drivers/remoteproc/qcom_q6v5_adsp.c | 243 ++++++++++++++++++++- 2 files changed, 433 insertions(+), 6 deletions(-) create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,sc7280-adsp-pil.yaml -- 2.7.4