From patchwork Mon Oct 1 11:26:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Govind Singh X-Patchwork-Id: 10621873 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EC62415A7 for ; Mon, 1 Oct 2018 11:26:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DC02F293B8 for ; Mon, 1 Oct 2018 11:26:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D059A293C4; Mon, 1 Oct 2018 11:26:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7C922293B8 for ; Mon, 1 Oct 2018 11:26:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729211AbeJASER (ORCPT ); Mon, 1 Oct 2018 14:04:17 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:41954 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729147AbeJASER (ORCPT ); Mon, 1 Oct 2018 14:04:17 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id B96B960C1D; Mon, 1 Oct 2018 11:26:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1538393218; bh=KhZIF3OEWxgnSNtRbp2Vp8evAqUZfrfcDXk5w2fQ/9w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eoHq/16CuF72yJ2dBUNIbFMt5gSCprBLtlax/IxJ69mSnGNQJgAXNpsvyISzKXT0p tK1xcryhU+CZn4dHINn8e5xQu/cXl/PMzLJiv2hi7BQNId4+lfxyOQjF3QjgTge+bh bAwnO/bXoe5QUcnaXogISIYQWIPrl3FcXGsKv0sg= Received: from govinds-linux.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: govinds@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 7758860C7D; Mon, 1 Oct 2018 11:26:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1538393216; bh=KhZIF3OEWxgnSNtRbp2Vp8evAqUZfrfcDXk5w2fQ/9w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Lj5edn3JYkKrAhPVOE3OdyY7dfhLrdBxAlQRwUIpzvhvax+D66SDQa3mbqe1OBCB+ hPpcCN/FCNcceH/jYNQs7nUkeyW9AXwWYYtU0c+pjykqgahDLMq9htw0YPpnCW1StQ PZJVzS+PEmpxjhd8ofYuqQ7zrF0R0UU0VAL4O5wc= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 7758860C7D Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=govinds@codeaurora.org From: Govind Singh To: robh+dt@kernel.org, devicetree@vger.kernel.org, andy.gross@linaro.org, briannorris@chromium.org Cc: ath10k@lists.infradead.org, linux-wireless@vger.kernel.org, Govind Singh Subject: [PATCH v2 4/4] dts: arm64/sdm845: Enable iommu for WCN3990 wifi module device node Date: Mon, 1 Oct 2018 16:56:36 +0530 Message-Id: <20181001112636.31715-5-govinds@codeaurora.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181001112636.31715-1-govinds@codeaurora.org> References: <20181001112636.31715-1-govinds@codeaurora.org> MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP WCN3990 wifi module can optionally make use of the IOMMU. Add phandle to the iommu and stream id of wifi iommu block. Signed-off-by: Govind Singh --- 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 36c716cf3a0c..f02da46542cc 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -1225,6 +1225,7 @@ <0 423 0 /* CE9 */ >, <0 424 0 /* CE10 */ >, <0 425 0 /* CE11 */ >; + iommus = <&apps_smmu 0x0040 0x1>; }; }; };