From patchwork Fri Sep 21 09:09:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Govind Singh X-Patchwork-Id: 10609417 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 D6E8614DA for ; Fri, 21 Sep 2018 09:10:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B38FC2D624 for ; Fri, 21 Sep 2018 09:10:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B1D632D6B8; Fri, 21 Sep 2018 09:10:08 +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 1DFCB2D616 for ; Fri, 21 Sep 2018 09:10:08 +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=/REVYyNlsjzgmrgVlqH7T3Hp34jfzqyzQxpCZm89FaM=; b=JqDtl1xPMA8YJl P97zNGdXo/IWk0AjdbCEwxMmL9eI9cL5AKAy6wsmJVw1lFWS97fnJv6p+YYkfK1VtRegoNwJxp4fo o/lRWRLagaMbtEGeE0yR5d7niBlFPAsRWESO6HcMLGQN3vqInM7KFp2wOutFQJTkLuQhTgCXYDngr 9xVxvGK8fonq86V9is23DAae8yObILh3wK1uj+4gHGs7LcvfLijzIj96AKunT8MHsqEHQ6nGnoxjY ChL+CA3aL5/4b1GS2ucWx8C+ga/ZQ93d0BvkmZnBux/0XySk/vftCa8ucSmGzAP4ZoKoLzbqAJxoK f8ucGxzaqgD6QqceEdpA==; 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 1g3HRm-0003wb-LZ; Fri, 21 Sep 2018 09:09:58 +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 1g3HRS-0003o0-6E for ath10k@lists.infradead.org; Fri, 21 Sep 2018 09:09:42 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 492956131C; Fri, 21 Sep 2018 09:09:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1537520976; bh=I7E+Jcss6WTbfkkAv7hs+Jk5dJVRyJV8hQb4OQ5Gazs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=g1KdsR4mTRoU9UOJyc9gDf8/0skvFB/luhMUWNcFPy5v0fdL/Ml2MGmGzHUsdRPgo pE/3/thqJb6gBW42lKWLUD+ZSt51yjj6Jwh/QJzoVRe2pVnCnET5FIemHSMYp+KspZ nwrUf1sVz8HwHGrzG6J4v52SurS17WefeUqpgt8s= 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 2BFC56130F; Fri, 21 Sep 2018 09:09:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1537520975; bh=I7E+Jcss6WTbfkkAv7hs+Jk5dJVRyJV8hQb4OQ5Gazs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QilUdgFcETTBVb4WlNgGvGA4hLyg2HMGSU5663n6YFgi8u8oEwxsiLF9Xxrsscw0w N+CHpBvkDyBckz53iRJXfG3FfxNKo5EGcb8YG9ShS7S1vkSTm99uow469TrJuez+E5 362iV5ZPLcYo9n/uBjQaAmP3okHyCMB9f9JR2x70= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 2BFC56130F 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 3/4] dt: bindings: add bindings for wifi iommu node Date: Fri, 21 Sep 2018 14:39:06 +0530 Message-Id: <20180921090907.25937-4-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_020938_262261_B890C626 X-CRM114-Status: UNSURE ( 8.85 ) 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 binding documentation for phandle to the IOMMU and the stream id of wifi iommu block. Signed-off-by: Govind Singh --- .../devicetree/bindings/net/wireless/qcom,ath10k.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt b/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt index 22dea7d83ee8..07e58008c665 100644 --- a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt +++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt @@ -59,6 +59,10 @@ Optional properties: - -supply: handle to the regulator device tree node optional "supply-name" are "vdd-0.8-cx-mx", "vdd-1.8-xo", "vdd-1.3-rfa" and "vdd-3.3-ch0". +- iommus: + Usage: optional + Value type: + Definition: A list of phandle and IOMMU specifier pairs. Example (to supply the calibration data alone): @@ -157,4 +161,5 @@ wifi@18000000 { vdd-1.8-xo-supply = <&vreg_l7a_1p8>; vdd-1.3-rfa-supply = <&vreg_l17a_1p3>; vdd-3.3-ch0-supply = <&vreg_l25a_3p3>; + iommus = <&apps_smmu 0x0040 0x1>; };