From patchwork Wed Apr 12 15:29:46 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: 82544 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp424491vqo; Wed, 12 Apr 2023 08:44:50 -0700 (PDT) X-Google-Smtp-Source: AKy350bWkx689vhDJbNZDILI9GmaD+MmNzrbyw5f2SVntTjgjhT9Cfzo7ZXDbr25DezCyYX2cG5S X-Received: by 2002:a17:906:90b:b0:93f:505b:9742 with SMTP id i11-20020a170906090b00b0093f505b9742mr13288458ejd.65.1681314290213; Wed, 12 Apr 2023 08:44:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681314290; cv=none; d=google.com; s=arc-20160816; b=WWtxEkovIT+j0gsZRdWMSmBoQN/wLrQ6KnBxLPFetxnO3OE6t9RSNsqSI8o+VXl7rW S8PMnRVM/9Qu+33kRk1S7T9bje56XT2Ax+u7Ynf86VM3HVxrHOpLLG8RzJs4Fpq2ZU6I BNxdCWnkb7POafbPlZatBYIDFJgxyBx6i67FcmoU/ThZ0/a4Vbqf/3R8W4vvdQjHR1q1 6fBjvBecvcY0JctRki9fFejIWGZDfzkEsNNlJsj+U9PjbtVm//cNLU7HGzqMP8M9ybGr LpY2oWpe4ietF+RjJbiJ+4twvrwqn4QMazijUdh7FyYkbRvV8ZsN2Y1UAHb5rpX3MpJV 5MSg== 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=FP1f9XDb67vNTV1/h8Rx/XKWcdtHfj82V+fFLAeNf+s=; b=pcLANBQcmoCbuwLJWlq9M9Qp8ph+PtDcnmOvc3ENs38JmpPd+rluvKh10hLyj2jFXb 156hj391A9vt4289Pk1r1HaTkIYV+wnduBmJEe+9QYpDDXkxKMOFYm0o/pPNAUQTIJxo qochEiZjXIKK32DS2P9/LTlN7eSzziWQaOIjNGtqGK+U9K14U+9hv4scdPti5q6VLbtU ER9Mcimw9YHzXiYyQ1W1USM8Ebge3qPKqRrxkUdLU13DNX9Fs00QrR1JhjtVuuUxA7lk 3EDh8pTsjHb7I/0ayaQQYdsvahB1D+ib8zY2EBcwF+wr6Yn5dXq7MNKcsn53kaoBh9gA B7EA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=kovey9BB; 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 xa8-20020a170906fd8800b0094a6d8e9961si7093512ejb.245.2023.04.12.08.44.26; Wed, 12 Apr 2023 08:44:50 -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=kovey9BB; 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 S231511AbjDLPaa (ORCPT + 99 others); Wed, 12 Apr 2023 11:30:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229549AbjDLPaX (ORCPT ); Wed, 12 Apr 2023 11:30:23 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33EAD9038; Wed, 12 Apr 2023 08:30:00 -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 33CBV9tW002985; Wed, 12 Apr 2023 15:29:56 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=FP1f9XDb67vNTV1/h8Rx/XKWcdtHfj82V+fFLAeNf+s=; b=kovey9BBj53RO6geSBmo/eE1RsDdY8OqtL1hWGjoDAbw+x3iVfkP9p3KI+YkUsJzhlkx kC2v9Cui5KfklUsQyW0hGKgPVCN/tf9NEVYGtmUvJ3Tt8/KNQaUaakth0kHK8NuM3R9Y oTZRRwKpeQRPr2lduK/monqT0TAg7NUcrsQ1qXR8PDqqSu8EsjSQnRyO9XG5RJul7abQ hrmusd1wfyBj8IlHe3iz60z7b/uBFKMWwdar8CqXlTwviwYhrUTTyitE2yW4Z6wZk5Hi aN2jfpEFdqy1EUMmjyMfe2Kwdp1RwYSNgXlUW2YZcWknTULBsgoLiKqDz7AXUvYLARyu qg== Received: from apblrppmta01.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3pw9b9jxcn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 12 Apr 2023 15:29:56 +0000 Received: from pps.filterd (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 33CFTr3T027912; Wed, 12 Apr 2023 15:29:53 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTPS id 3pu1bksuh0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 12 Apr 2023 15:29:53 +0000 Received: from APBLRPPMTA01.qualcomm.com (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 33CFToPd027866; Wed, 12 Apr 2023 15:29:52 GMT Received: from hu-sgudaval-hyd.qualcomm.com (hu-vnivarth-hyd.qualcomm.com [10.213.111.166]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 33CFTqWG027906; Wed, 12 Apr 2023 15:29:52 +0000 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 3994820) id 12D07453F; Wed, 12 Apr 2023 20:59:52 +0530 (+0530) From: Vijaya Krishna Nivarthi To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, broonie@kernel.org, vkoul@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-spi@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: [V2 2/3] arm64: dts: qcom: sc7280: Add stream-id of qspi to iommus Date: Wed, 12 Apr 2023 20:59:46 +0530 Message-Id: <1681313387-8376-3-git-send-email-quic_vnivarth@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1681313387-8376-1-git-send-email-quic_vnivarth@quicinc.com> References: <1681313387-8376-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: 7OZSYpOX3Vz41Oymz8ZIIKmbvX3G6wvc X-Proofpoint-ORIG-GUID: 7OZSYpOX3Vz41Oymz8ZIIKmbvX3G6wvc 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-12_07,2023-04-12_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 mlxscore=0 phishscore=0 priorityscore=1501 bulkscore=0 malwarescore=0 suspectscore=0 mlxlogscore=597 impostorscore=0 adultscore=0 spamscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304120136 X-Spam-Status: No, score=-2.4 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,URIBL_BLOCKED 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?1762985813324611431?= X-GMAIL-MSGID: =?utf-8?q?1762985813324611431?= This is done as part of adding DMA support to qspi driver. Signed-off-by: Vijaya Krishna Nivarthi --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index 31728f4..03a55b8 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -3432,6 +3432,7 @@ qspi: spi@88dc000 { compatible = "qcom,sc7280-qspi", "qcom,qspi-v1"; reg = <0 0x088dc000 0 0x1000>; + iommus = <&apps_smmu 0x20 0x0>; #address-cells = <1>; #size-cells = <0>; interrupts = ;