Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2087596rwa; Mon, 22 Aug 2022 01:40:29 -0700 (PDT) X-Google-Smtp-Source: AA6agR63q4dHI0QA5VvaCRzPYNHmJB0o1XNRs8riqr5+bmEe3xOokxHZZ+hxwMSRnlaDEVjhGfc1 X-Received: by 2002:a17:902:f7cf:b0:172:9ca3:3052 with SMTP id h15-20020a170902f7cf00b001729ca33052mr18854953plw.77.1661157629409; Mon, 22 Aug 2022 01:40:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661157629; cv=none; d=google.com; s=arc-20160816; b=zeqnCfvcKHMQXsuB8VkRTLqCjm9rpBWrjNooC7TBjA5q//ZorFuK3CChf59QeQftwJ IacCoh5w5wqf5gKKZuKibHyC5Ecrhbi8AxR9ynDjzWszz3349ylEzLJHpFlaTTUbHhcl Oq/EaIGDaEqTpVhqqzCS9Gy4YYnix+8NMBIRJCBOatLz9ZzNpz0YHSZewVgrNH3+njQh OWGOx30e2Dhnd66u77ZPvof5DTZ1jFeaFMdAo7bk1kYUBTu1qcW1/M2yrD/wVJB4ug+1 daIZKd1MgcP+WWBi+L6FCDaXUSAT9WslB7456sqZRXs+CwrdYKCskPcxQiE8NpyuAxgV 6tww== 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=EU64GEzyJD22b51+RKi8A0ZPZ6JnCVRGYhYFMxA+iAFFnhLsaOBke6JeP4OGgko2I8 Jez3wM0b3TVpaculTiK2wYAJ4kdVJBmePWTD88u+9p6wfRGy5Zo4UOp16XETRGajEItR gUv13OOdyxkqkegdWGpym9Mx7h7A8k9G+1NAy/wEO+SYep3l5qdC2+QaWyRyz5LFWhgq rL7niGI9ZOXSdzQJks6TeRXpBpUy2hjWqXoSK+d0KI5kRYCof0Gv3QDqFZpYiaOuklAz poTiaH0RjYUO3/DpFpAvWCUr7ner3sL/gfcAZNvEqrLs2jdlRar+qZ6KX0StFCsEU3sN eUrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=AIKdyDlI; 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 u7-20020a63d347000000b00429a6da71c2si12068193pgi.680.2022.08.22.01.40.17; Mon, 22 Aug 2022 01:40:29 -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=AIKdyDlI; 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 S233166AbiHVIXY (ORCPT + 99 others); Mon, 22 Aug 2022 04:23:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232755AbiHVIXT (ORCPT ); Mon, 22 Aug 2022 04:23:19 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30B71C24; Mon, 22 Aug 2022 01:23:17 -0700 (PDT) Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 27M7pHjo005389; Mon, 22 Aug 2022 08:22:28 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=AIKdyDlI5wTk9fJ4Ehm7+/6hKxhBbneVY8vMK+rihT/8Uu9q2B63G/JH3xaq2M74lI57 BRF9PpwXmU082xkMqPhy8B7V0o4M6x49BaSweIbRO7+BvA2LdW9YxFmlLh/50nj143/v BvxYmKpOR4b448GgKQOQh2oDHJij6q15ND0AonGs2gkED3k33KSOtF+H+GDckrIu7bGd rzuXwSPSiZ3DSBSuiv6ezBEZXbZaOwA+0bzbTHVM0M5rg7oN9qHywIXzEe3ioyHngHTX gCfbn2+KedsepyvdfHknqPXxnPgeUGWeQji7JJ+HSk55LAfdqfdVN4oBIj5s7o1JD3VR YA== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3j2vwp3mb1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 Aug 2022 08:22:27 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 27M8MQnY029905 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 Aug 2022 08:22:26 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; Mon, 22 Aug 2022 01:22:21 -0700 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , , , , , , , CC: Srinivasa Rao Mandadapu Subject: [RESEND v5 0/7] Update ADSP pil loader for SC7280 platform Date: Mon, 22 Aug 2022 13:51:56 +0530 Message-ID: <1661156523-22611-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-GUID: avUMx1nl6UUzxA3qJm6hzTCGSSo2eYbA X-Proofpoint-ORIG-GUID: avUMx1nl6UUzxA3qJm6hzTCGSSo2eYbA X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-08-22_04,2022-08-18_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 priorityscore=1501 suspectscore=0 spamscore=0 mlxscore=0 clxscore=1015 mlxlogscore=866 lowpriorityscore=0 phishscore=0 bulkscore=0 impostorscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2207270000 definitions=main-2208220035 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 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