From patchwork Fri Sep 21 09:09:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Govind Singh X-Patchwork-Id: 10609421 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 CC6E214DA for ; Fri, 21 Sep 2018 09:10:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BCF902D61A for ; Fri, 21 Sep 2018 09:10:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B02532DCB0; Fri, 21 Sep 2018 09:10:43 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 361552D61A for ; Fri, 21 Sep 2018 09:10:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=2kwVCJP5h1dK0ZJvcoRMqDfkRwM2Er/GxvxIyzw2fhs=; b=dOSEfdrZLRy4m0 bmFVGsN/tj8mw8laXsOxNPQ4m35Ge7zmfobG6z1QLf1p36pSpQ6uT50tew+tXefsNENHBHxDGzuNn pyc3ENhOHgkEuBWswVCVoXEE/+0FTHYHwqWQ2Crt20B718PmdTu+K73z0MEMY6fDlIY4d1m70zzX7 Ld/uiXlZqh7g/9Acc6a2RB95I3hKvoAgT6Bwvwp6ZxvqZXg9cgitTTu7erWs3SeYkPuzpu/lX4rDy H6LV7FqRkaqTkvrP/JqfT53nO8d88Agf1KXhdVH11kmbwyJRy/3L/Il5ih53yzlnUr2YfzPrKDEsh omNIrNfxfR0uAZZ5uQbw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g3HSO-0005SN-TG; Fri, 21 Sep 2018 09:10:36 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g3HRf-0003pa-7z for ath10k@lists.infradead.org; Fri, 21 Sep 2018 09:09:57 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id A20C561306; Fri, 21 Sep 2018 09:09:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1537520980; bh=0ZWMm6g1Jqd36CM3MPBsM5ezOPT7OxHZ5QcAXUBbBoA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hhjPnT7Hoy2xjBC9elx74Rs/uebKkiol6DYJ3kbLqlcv7sj8KzvRy39zCXEn1ZpTS hIM+i5dh0Ue1UhVy0NKIFC1Po9fTAcGPU//oneg+rdkBfFc8PN6uly1F1yYPUQBRD+ r/QSlVsOTDMtwm0crM4ShnwBm6NUGhcy2djNdgbQ= 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 36EDC6130F; Fri, 21 Sep 2018 09:09:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1537520978; bh=0ZWMm6g1Jqd36CM3MPBsM5ezOPT7OxHZ5QcAXUBbBoA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nRfnTGjOoiATuJZP23hRKH6y+c7B+VivXpD5odSWH/fCEuphaOzur7m/AqtA9q7F/ Hr7Clk/bHa9G/bWmaCAotG4eRjn0Ya2c6c8MzcfY1L+WZA4Df10ACa5vZcKLqhQv+t UQR/P+ZZIUnACrSrPhgyJbrT9/5h4HIyrb1QZNXA= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 36EDC6130F 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: ath10k@lists.infradead.org, robh+dt@kernel.org, andy.gross@linaro.org, devicetree@vger.kernel.org Subject: [PATCH 4/4] dts: arm64/sdm845: Enable iommu for WCN3990 wifi module device node Date: Fri, 21 Sep 2018 14:39:07 +0530 Message-Id: <20180921090907.25937-5-govinds@codeaurora.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180921090907.25937-1-govinds@codeaurora.org> References: <20180921090907.25937-1-govinds@codeaurora.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180921_020951_352882_0A413E5D X-CRM114-Status: UNSURE ( 8.59 ) X-CRM114-Notice: Please train this message. X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Govind Singh , briannorris@chromium.org, linux-wireless@vger.kernel.org Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.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 b0b107641e74..5f5848cb1699 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -1224,6 +1224,7 @@ <0 423 0 /* CE9 */ >, <0 424 0 /* CE10 */ >, <0 425 0 /* CE11 */ >; + iommus = <&apps_smmu 0x0040 0x1>; }; }; };