From patchwork Mon Apr 24 09:32:38 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: 86918 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2615240vqo; Mon, 24 Apr 2023 02:34:40 -0700 (PDT) X-Google-Smtp-Source: AKy350awNeZEUZwLQhyKpNSkvyrJIc4r9TrUvs/zpX7+heaIYIB+0ENN3AA7PLUm32ArxEW80fIB X-Received: by 2002:a17:903:25cd:b0:1a2:37fc:b591 with SMTP id jc13-20020a17090325cd00b001a237fcb591mr12340536plb.69.1682328880052; Mon, 24 Apr 2023 02:34:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682328880; cv=none; d=google.com; s=arc-20160816; b=GB52P0cRQUqoBhze/t0w9d1YIVwjXNp9utEvlxa614PGRWxiUzNxu7Q2uCic7wj7oy eTzC+EA9W3/IyuXozeRc1Mydz6G9mU7eg2EwdXUVf6yNSF5j/nBSSsg95dOa2Ws0qqnh NXdobGJuAEqvi5Zix2p//rhrnskK+Aexr3zHBQrxvkZBaVwSyaU7U3+abfskdU7fsmGR VHFGxRj2ZwzjyquxmAJyx6mDmQ0e6jIHug7tEkaOpnGbR7+dsGs4R5l7JsU9PU9MYAvb y3TtKUsfCsf580vXLtXi9M/FSrY+O4QARlByrxAH4am1W1n4O+pwb4WnuYu+NQp4x0h/ 02ew== 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=dRyzzEsTwFVpPegGND3sac6m6DzZFbXv7juQac38FZg=; b=jk+zaF33o8HOaDMLbAA55hlP63260qgd84yuUj3Cs3pIvHU83/xPQvnqeWPbq9O/ih HinHY+7tF5iV7zIKqps/rvA89KZAjzEESKwK29MDbg8t85anIU3B+Nc/ZrvyCBUyZN6s GSGwDIrpfwZ2VCP8XqPzaC5Tr4K+wfObVLl8O2lOV/1Idc/RW2Y6LTHTCeOUzWARmWS3 nS2ELxt+EWYPJP30RQF/Fm95+Lnx5Z0smeTs7ysBIp/XZKL+umXD1xhplQTo8BC9p6rM x/bDmAGmkHSPZyWhfr/xsTXPgcPrE/9EwD7YUDYwAjaCMQM9Y4WmOCr7axoduYifDPqm A9Zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Biv4N5Ji; 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 ll12-20020a170903090c00b001a643d9f1b8si10662310plb.643.2023.04.24.02.34.27; Mon, 24 Apr 2023 02:34:40 -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=Biv4N5Ji; 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 S231251AbjDXJdG (ORCPT + 99 others); Mon, 24 Apr 2023 05:33:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230511AbjDXJc6 (ORCPT ); Mon, 24 Apr 2023 05:32:58 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C40DBA9; Mon, 24 Apr 2023 02:32:55 -0700 (PDT) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33O7rBFh006013; Mon, 24 Apr 2023 09:32:49 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=dRyzzEsTwFVpPegGND3sac6m6DzZFbXv7juQac38FZg=; b=Biv4N5JiTvOKg25pTplXrsnv8B4FY0Sa7iXsjt+EZX8ElyNmv21epdImA0pMc/+dCB2o g76YHdfl39LlNiKNVbEmXsKgoUdycshK+jTosj7rpiAi9gDmm3qXpmHCXYGTpW65f1Nh 9s2SvALIQ2e9cxSTVJcOlYV6EKrK9jV74ltlFnL31VvsnqyLgD3INWqBvqx+/+3lkEzO dPQ8t74kWelJ1Im2gAjTBts7fvp8DOQ6v1szuzcTZxvGNFCpmh2K8Q42SmUeidnueJ7B bc67XnvpLdihA5IUL4BfqtJv+QRJqWmOZv49MdqoZyLRdtmpLPdxc4JvFJYM/I/YNryn CA== 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 3q489may4v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 24 Apr 2023 09:32:49 +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 33O9Wkp6021189; Mon, 24 Apr 2023 09:32:46 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTP id 3q48nkpkms-1; Mon, 24 Apr 2023 09:32:46 +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 33O9WjQi021145; Mon, 24 Apr 2023 09:32:46 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 33O9WjUf021166; Mon, 24 Apr 2023 09:32:46 +0000 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 3994820) id 596EA47CE; Mon, 24 Apr 2023 15:02:45 +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 v5 2/5] arm64: dts: qcom: sc7180: Add stream-id of qspi to iommus Date: Mon, 24 Apr 2023 15:02:38 +0530 Message-Id: <1682328761-17517-3-git-send-email-quic_vnivarth@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1682328761-17517-1-git-send-email-quic_vnivarth@quicinc.com> References: <1682328761-17517-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: hQQIVKAfj0_SqqU-WTZKA_CBijhGGz9z X-Proofpoint-GUID: hQQIVKAfj0_SqqU-WTZKA_CBijhGGz9z 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-24_06,2023-04-21_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 impostorscore=0 priorityscore=1501 mlxlogscore=483 malwarescore=0 spamscore=0 mlxscore=0 suspectscore=0 phishscore=0 clxscore=1015 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304240085 X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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?1764049687537542129?= X-GMAIL-MSGID: =?utf-8?q?1764049687537542129?= 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 = ;