From patchwork Thu Apr 20 13:13:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vijaya Krishna Nivarthi X-Patchwork-Id: 85904 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp327547vqo; Thu, 20 Apr 2023 06:16:29 -0700 (PDT) X-Google-Smtp-Source: AKy350Z2wdCjudPYKdK8gH/v5x/IOBKuwV0ALh9slcFH3iCNhopqq928+Iy6WMFBgEnPOTzZgfVy X-Received: by 2002:a17:902:9b95:b0:1a5:2a50:e177 with SMTP id y21-20020a1709029b9500b001a52a50e177mr1422460plp.55.1681996588572; Thu, 20 Apr 2023 06:16:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681996588; cv=none; d=google.com; s=arc-20160816; b=cVbrnHoOns4PBgNK8UX67WVZg+ZzVUOtZ0OtVlbBjnKLtjk4nwmAceO/tlvQSlAdSz spzv0JZlsQywfQYK9s5z6dT8zGFtbbLmVSSyEE3t1Ca4REGXlwKOMiatJi7RYJe3Ym6V 7l4SaidbgstSzxkFvbIAgNY+ZFZqUnPi47e47aOBdvmKw46wLPX1W7zvYsmTpshWcZB0 I+5OGjgelfQ5goYG5SCV5v73vtVjbRSx17BruQuZEgFERE3ApLZvies/eXxtjpprPAtc pvfgCxtPidUG8+wUSnH755Xm1szoegLLvI1D2dV0PW3/aTA9CI+F41vcQFXp6JeqfOjM FNPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=yh5qGmFfyAdxUhginfqSwvpZh7NZc2bU9oaq/HJVFyc=; b=dppLeyN6S9IofihHzc7yKWpRC6e53BMHXt+euxqdCVm5gRR81iWkkLcVSPOYVJgQYP 5pt2/SpA/jmPZACtvVBsU0Yaq9ZMsDXwOFjuuKAUiublTsp5//CJalsRmtWr/d0haYN+ kU+r63S191GRfYEA0Pqs2eEQsMexcqy/gRHcNrSfLUmufsOpVr1Tnns5VGEVZ7qTV5Y9 1g+fMwM7I9P3xqoDMOodOT5BGTVcLFap8KOli4IDzkaMOHH7Hjr4xZxMaqcxAQ8s9cX0 SXYm6snjWiFFJrZt/nlPYj8CIqCWEeCKR5X0vvpiMd/FiSyWIZf3mEv4vMnUwwGUgWrj N+cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Zk57gVDE; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lk5-20020a17090308c500b001a6fe4a8fc3si1887674plb.373.2023.04.20.06.16.03; Thu, 20 Apr 2023 06:16:28 -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=Zk57gVDE; 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 S231657AbjDTNNq (ORCPT + 99 others); Thu, 20 Apr 2023 09:13:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231529AbjDTNNa (ORCPT ); Thu, 20 Apr 2023 09:13:30 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5966271C; Thu, 20 Apr 2023 06:13:29 -0700 (PDT) Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33KAp0eZ010289; Thu, 20 Apr 2023 13:13:27 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references; s=qcppdkim1; bh=yh5qGmFfyAdxUhginfqSwvpZh7NZc2bU9oaq/HJVFyc=; b=Zk57gVDEj2jF63ugEBLSLwPTHUl/X8wCEjajv9Oq3hJfECTCFOzzcKzjy9p33PxLU8g7 3rWJBJXT0jobYYpzRN8iZld+n5yqniCxeq0uwwVOgcSV/7SkMIi9cMe/FguqW9uQITyD A31lhtmZemJUrunptLjvJ5m4jG6cPNbr6K+Qfcg6nTHQvwDFyF/arCgrLtG+QWoJZYvq SJU4wkgLQPtXiXzw7jkqFii5rdTHcYg5CZ08Bo0iUBjCLJAjnlInD11Bih1x/CUoCJUm MxF0uZ9vvq/96hSgzR4xiQGFiwkkL8q0BEcoTqipbNo6FbcueF9b+MYvcQorV/IuOSLE hg== Received: from apblrppmta02.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3q31t1rp9d-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 20 Apr 2023 13:13:26 +0000 Received: from pps.filterd (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 33KDDNcq012098; Thu, 20 Apr 2023 13:13:23 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTP id 3pyn0kkgqf-1; Thu, 20 Apr 2023 13:13:23 +0000 Received: from APBLRPPMTA02.qualcomm.com (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 33KDDKvS012063; Thu, 20 Apr 2023 13:13:23 GMT Received: from hu-sgudaval-hyd.qualcomm.com (hu-vnivarth-hyd.qualcomm.com [10.213.111.166]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTP id 33KDDN7d012089; Thu, 20 Apr 2023 13:13:23 +0000 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 3994820) id 64F1847A4; Thu, 20 Apr 2023 18:43:22 +0530 (+0530) From: Vijaya Krishna Nivarthi To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, broonie@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, cros-qcom-dts-watchers@chromium.org, linux-arm-msm@vger.kernel.org, linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: quic_msavaliy@quicinc.com, dianders@chromium.org, mka@chromium.org, swboyd@chromium.org, quic_vtanuku@quicinc.com, Vijaya Krishna Nivarthi Subject: [PATCH v4 4/5] arm64: dts: qcom: sdm845: Add stream-id of qspi to iommus Date: Thu, 20 Apr 2023 18:43:13 +0530 Message-Id: <1681996394-13099-5-git-send-email-quic_vnivarth@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1681996394-13099-1-git-send-email-quic_vnivarth@quicinc.com> References: <1681996394-13099-1-git-send-email-quic_vnivarth@quicinc.com> X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: GGLKq-gPSFtl1xXwX-tmfstCR_dxCTLS X-Proofpoint-GUID: GGLKq-gPSFtl1xXwX-tmfstCR_dxCTLS X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-04-20_09,2023-04-20_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 clxscore=1015 priorityscore=1501 impostorscore=0 mlxscore=0 malwarescore=0 suspectscore=0 lowpriorityscore=0 adultscore=0 bulkscore=0 mlxlogscore=576 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304200107 X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1763701255008833473?= X-GMAIL-MSGID: =?utf-8?q?1763701255008833473?= As part of DMA mode support to qspi driver. Signed-off-by: Vijaya Krishna Nivarthi Reviewed-by: Douglas Anderson --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 9042444..cde3019 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -3890,6 +3890,7 @@ qspi: spi@88df000 { compatible = "qcom,sdm845-qspi", "qcom,qspi-v1"; reg = <0 0x088df000 0 0x600>; + iommus = <&apps_smmu 0x160 0x0>; #address-cells = <1>; #size-cells = <0>; interrupts = ;