From patchwork Fri Jul 13 16:27:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thor Thayer X-Patchwork-Id: 10523815 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 83DA0602A0 for ; Fri, 13 Jul 2018 16:25:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 71494284CE for ; Fri, 13 Jul 2018 16:25:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6534C28692; Fri, 13 Jul 2018 16:25:55 +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 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 1F479284CE for ; Fri, 13 Jul 2018 16:25:55 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=6XWHGPsYWtQnkV6b0XViyRudM2lAdexrI+I0k9eSUpI=; b=BfFlB2VWx1hfge7eggn/DIN3rf GfESKMdWRB5cPPJKuk4QQ4EHOHWPCsgg03wrvG7ZgIWL0yi8QfEeC+VRrgh1BQxj6qPOTkochXrO9 JXV7Tk5H/Mw/s/Lv2m3rWM4tMuHaH05jD8zqKlKA2INbYTWRUcl4vzEmqTJK2aW1cCiEzPIvpflP7 Umk4ZfCtwty9DPEBeAkVBCBdmXnpQMsXUASe80P6BHK4OuzYgv+g1UKzJInpGmV799S3+umyBRkH8 bgXuoZObr5Q2DfmCDIvqKSkiZboAk0UshMmBgDkoUkb2DhRfK2zCN3NoFz6FlSqLIwPHEIhFgqUuH A7x1oBiA==; 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 1fe0tB-0003XY-Ma; Fri, 13 Jul 2018 16:25:49 +0000 Received: from mga05.intel.com ([192.55.52.43]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fe0t0-0003Hu-6a for linux-arm-kernel@lists.infradead.org; Fri, 13 Jul 2018 16:25:39 +0000 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Jul 2018 09:25:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,348,1526367600"; d="scan'208";a="56665378" Received: from tthayer-hp-z620-workstation.an.intel.com ([10.122.105.144]) by orsmga008.jf.intel.com with ESMTP; 13 Jul 2018 09:25:26 -0700 From: thor.thayer@linux.intel.com To: dinguyen@kernel.org, robh+dt@kernel.org, joro@8bytes.org, mark.rutland@arm.com, robin.murphy@arm.com Subject: [PATCH 1/3] Docs: dt: arm-smmu: Add optional clock parameter Date: Fri, 13 Jul 2018 11:27:56 -0500 Message-Id: <1531499278-32132-2-git-send-email-thor.thayer@linux.intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1531499278-32132-1-git-send-email-thor.thayer@linux.intel.com> References: <1531499278-32132-1-git-send-email-thor.thayer@linux.intel.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180713_092538_257567_12A75FEB X-CRM114-Status: GOOD ( 10.06 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Thor Thayer , catalin.marinas@arm.com, will.deacon@arm.com, iommu@lists.linux-foundation.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Thor Thayer Add a clock to the SMMU node bindings. Signed-off-by: Thor Thayer --- Documentation/devicetree/bindings/iommu/arm,smmu.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.txt b/Documentation/devicetree/bindings/iommu/arm,smmu.txt index 8a6ffce12af5..356fd9f41e1b 100644 --- a/Documentation/devicetree/bindings/iommu/arm,smmu.txt +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.txt @@ -71,6 +71,8 @@ conditions. or using stream matching with #iommu-cells = <2>, and may be ignored if present in such cases. +- clock: clock provider specifier + ** Deprecated properties: - mmu-masters (deprecated in favour of the generic "iommus" binding) : @@ -137,3 +139,17 @@ conditions. iommu-map = <0 &smmu3 0 0x400>; ... }; + + /* ARM MMU-500 with clock node */ + smmu4: iommu { + compatible = "arm,mmu-500", "arm,smmu-v2"; + clocks = <&clkmgr STRATIX10_L4_MAIN_CLK>; + ... + #iommu-cells = <1>; + }; + + /* device with stream ID 1 */ + master4 { + iommus = <&smmu4 1>; + }; +