Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1713261rwb; Fri, 12 Aug 2022 05:49:58 -0700 (PDT) X-Google-Smtp-Source: AA6agR6tpF9mXjZ65Oc30+k/5LKNlJus8JARjfDtqcbgQLWMPxu39BRl1N5qr2x1A8WVDumLXTMJ X-Received: by 2002:a63:2cd0:0:b0:41c:5f9b:893c with SMTP id s199-20020a632cd0000000b0041c5f9b893cmr2927281pgs.173.1660308598084; Fri, 12 Aug 2022 05:49:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660308598; cv=none; d=google.com; s=arc-20160816; b=K042oRlBB7nRH/AJdWbyzS82KeH62hC6QrY2DBOyfvf/Rf8fv9DUEnChSO11nWKwti mV8IThfahHdmt0/4o0JWQQUzZtji6J8KvVNw6agEgry+j7evX6SKXyE8YNm+oJ9eKmg7 LYEYG+sck+pr6+jvCFYR43x7xTm7oYYNxZE9MJJmJWQ05IIntHWAi1eKBhHKT4ORAYKb ZMa08NS0oYODkhfzS5tYBEGuPxWLQ3mF3AvQFl6wHRMlZqv2rWVJRZOZkEApSfpl6TME /s+VIMEH9a0Xf7WUKBsfcyJkEOq4JSopvyrQrfZLeYcOgILpHpsT/wbENZ18SUYZcKU8 vtuw== 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=9HuFECbn/JSsLUCvjsP5xzUYX/vLXvOb4wkgS6om6R0=; b=VB1SJHhWY8Jiaa3nWj7ajfUxnjiuiqYfH0Q99n6QE/kKNtRTO8bXw7bZB1n4Va4M+l 5OkdfJuAWoBPPsVZewusnajQjiewczG4XthKV2hbZ8oNhpN8p8W5Mre4N8xC/xBCcVqr zlmDsLmtLvP2ez5LkIXVpvGakL+w24uE4Yx/To4IUJkCTK8v9gdGqVAsXL8rptRns+Vh pcQ33AxLqpI6MX5WGxLti3HwA7mCHuAReC1hiOMtQ741wapF4WqyWLOoXbXl8UomXaBF NDY03QbZKg/e0AXxe0/n87E36NbIBLbcLlCNK7R1a4zdXh+Inybi9u4ISDDI/ePK/xnb nxdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Euusw8RK; 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 i13-20020a17090332cd00b0016d572968fcsi2439392plr.118.2022.08.12.05.49.44; Fri, 12 Aug 2022 05:49:58 -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=Euusw8RK; 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 S238165AbiHLMsW (ORCPT + 99 others); Fri, 12 Aug 2022 08:48:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234491AbiHLMsU (ORCPT ); Fri, 12 Aug 2022 08:48:20 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E19BAA59A0; Fri, 12 Aug 2022 05:48:19 -0700 (PDT) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 27C8wEa6027970; Fri, 12 Aug 2022 12:48:09 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=9HuFECbn/JSsLUCvjsP5xzUYX/vLXvOb4wkgS6om6R0=; b=Euusw8RKTFXhdO+fYd0fTQoqrUW0CTSiKeSG64clIFDlJKSQKAlw8fW2ytCkZfc5Qprd O3s2weo+HSuNo08iJBYM1CGtM46SruiMIVZ2kisZLxFpC0D7R6XkiDsXQNIQI1krE+8Q ANY1kDjmOPzNnvJsEB2BmtpthBIR0S14xF8Q19//Us8QqBlcXMwlFHYfLF0ot4QA0ijH TwgZLcHaMZwG4CDTxSRJzcm0s9DToaCUCoK21EdE09kOMX+i/ZXYlfhreppHglkhqCtQ 12r1XoMq355CetZPygyGfRWsiV+wAl+Wr5uCdL/VKDUUAKwEqBz0XrOwHVJhtHo0hc/S hg== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3hw011m7bf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 12 Aug 2022 12:48:09 +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 27CCm8Du022495 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 12 Aug 2022 12:48:08 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; Fri, 12 Aug 2022 05:48:02 -0700 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , , , , , , , CC: Srinivasa Rao Mandadapu Subject: [PATCH v4 0/7] Update ADSP pil loader for SC7280 platform Date: Fri, 12 Aug 2022 18:17:39 +0530 Message-ID: <1660308466-410-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: 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: vsL4CBjo6D_SJjCrUwxSDInpuocJuqJG X-Proofpoint-GUID: vsL4CBjo6D_SJjCrUwxSDInpuocJuqJG 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-12_08,2022-08-11_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=963 clxscore=1015 lowpriorityscore=0 suspectscore=0 bulkscore=0 impostorscore=0 spamscore=0 phishscore=0 priorityscore=1501 mlxscore=0 adultscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2207270000 definitions=main-2208120034 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 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 | 189 ++++++++++++++++++ drivers/remoteproc/qcom_q6v5_adsp.c | 215 ++++++++++++++++++++- 2 files changed, 398 insertions(+), 6 deletions(-) create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,sc7280-adsp-pil.yaml -- 2.7.4