From patchwork Thu Apr 20 13:13:11 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: 85906 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp330665vqo; Thu, 20 Apr 2023 06:20:48 -0700 (PDT) X-Google-Smtp-Source: AKy350blff+BvrB0EuBc+1rnEE5UU6LTPRpUwzfZB1OatP6pJq6bUvSVMGsojqnMWHy1GkmLPmvD X-Received: by 2002:a05:6a00:22c1:b0:63b:4e99:807d with SMTP id f1-20020a056a0022c100b0063b4e99807dmr1533139pfj.8.1681996848068; Thu, 20 Apr 2023 06:20:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681996848; cv=none; d=google.com; s=arc-20160816; b=Eo9Nplt+vj5JSqZVXYiHodINJ8kZGsqaXX+DKITuSSs9Zdw/Ra0Q3ZW4aZy8LMaWGo P2rpXjL4efzTN+O5Bw5N1TqEp2GOfsq5cuhC5ymGkRWC7DKoBlRCSjb6M9Vmg2cmd2Fp 9YbFmffp+/sAMjLznzr/IhGoP0ZzHUhzgEhMH72V3HjMjQAZRFue+1ZIXGpqPaLQw4Se M22gzj77OtHTNY/AQnagPlPu994LxKDXYEOyKw7sw/tdoFAFGiNfta5z6P7rwA2VKRN+ G3rRR/HCtXB8c7z4y4DnJ4H24PHW9ag3vclxaF7ldeF5Jr4wcYb+Uk+KAPQVj3Fv2J94 ceeA== 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=pBmUyE2rykBLWlH3uCf353d+zAx+TbY9zw1OUF+b1os=; b=brGa65MSpwyJaZkXx9ybVQhGxnNFPFX4MoACS4gCzu3hQOeY+FTPfInSEzSJGZeFcY L6m6Av74ktX9Zk/FFs3oTKgUMykDt6erhI9mFV2cPtbMpPtsv2P9TEjgSzy/JbZHF4xV h9CnzoKtd9FRZvw4+ZsSuPC+6smRLFijkB8uoKe9vaoyQ3LMrDUJoxPFzqkI2RwkB0z6 R9RU2BzDWnAX5SxteH45tG7q8xhE/wLXa5my/S0baMDTRwtHoClth3R6Y2WPVEwvklD7 eG2FbhxTB883sGERwqsk4ZHomZ+QzTKFqiBX6rpyM3giDJJdO92nRxckmfLzvFDlzMFP GVDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=PTIREmLd; 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 r27-20020aa79edb000000b0063d67f6ec91si1575614pfq.282.2023.04.20.06.20.31; Thu, 20 Apr 2023 06:20:48 -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=PTIREmLd; 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 S230477AbjDTNNj (ORCPT + 99 others); Thu, 20 Apr 2023 09:13:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231476AbjDTNN3 (ORCPT ); Thu, 20 Apr 2023 09:13:29 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DFF8B49CE; Thu, 20 Apr 2023 06:13:27 -0700 (PDT) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33KAojwb011149; Thu, 20 Apr 2023 13:13:25 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=pBmUyE2rykBLWlH3uCf353d+zAx+TbY9zw1OUF+b1os=; b=PTIREmLde3Rgn2WNHe2yMEAA9OzJ/UsUZ62kHJ3pa7VxmwdepMQ8yVRaPq/BmDO1eSQC o2ph0CvSbJ0wVUEv9ueDZ9xxSL/uwbjTQmY7hbjd3WuPmGc2G/bgnhiGbXLgHhOFFVx0 WKs9GxoTcUNvSJ8NRnYWnPsDKCT4zpLKKqIuKQDPbIb4KKO97No0oNArVQ/KNc4mZFiK uAsGqPdyzjQGivIm3eWjzu/w+8HRSZGixzXQZQs8/z2t1KZZr3utXKMeDz6ex5U2BC8v bCHBktASTRSCE5D3pjV1i58k68jCdR1L0b31vltf6zBPLgy7TtHdYJJlUKK8W/GYxTbW YQ== 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 3q32cnrh4d-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 20 Apr 2023 13:13:24 +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 33KDDL0X012069; Thu, 20 Apr 2023 13:13:21 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTP id 3pyn0kkgq1-1; Thu, 20 Apr 2023 13:13:21 +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 33KDDKvQ012063; Thu, 20 Apr 2023 13:13:21 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 33KDDKSq012062; Thu, 20 Apr 2023 13:13:20 +0000 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 3994820) id 2BAF447A4; Thu, 20 Apr 2023 18:43:20 +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 2/5] arm64: dts: qcom: sc7180: Add stream-id of qspi to iommus Date: Thu, 20 Apr 2023 18:43:11 +0530 Message-Id: <1681996394-13099-3-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-GUID: s7p2jh_lleRfa2Cxvo0OB3eYGF0f39DT X-Proofpoint-ORIG-GUID: s7p2jh_lleRfa2Cxvo0OB3eYGF0f39DT 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 mlxscore=0 lowpriorityscore=0 adultscore=0 bulkscore=0 spamscore=0 phishscore=0 clxscore=1015 malwarescore=0 suspectscore=0 priorityscore=1501 impostorscore=0 mlxlogscore=576 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?1763701526941831481?= X-GMAIL-MSGID: =?utf-8?q?1763701526941831481?= As part of DMA mode support to qspi driver. Signed-off-by: Vijaya Krishna Nivarthi Reviewed-by: Douglas Anderson --- arch/arm64/boot/dts/qcom/sc7180.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi index ea1ffade..4c1bec7 100644 --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi @@ -2691,6 +2691,7 @@ qspi: spi@88dc000 { compatible = "qcom,sc7180-qspi", "qcom,qspi-v1"; reg = <0 0x088dc000 0 0x600>; + iommus = <&apps_smmu 0x20 0x0>; #address-cells = <1>; #size-cells = <0>; interrupts = ;