From mboxrd@z Thu Jan 1 00:00:00 1970 From: thor.thayer-VuQAYsv1563Yd54FQh9/CA@public.gmane.org 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> References: <1531499278-32132-1-git-send-email-thor.thayer@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1531499278-32132-1-git-send-email-thor.thayer-VuQAYsv1563Yd54FQh9/CA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: dinguyen-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, joro-zLv9SwRftAIdnm+yROfE0A@public.gmane.org, mark.rutland-5wv7dgnIgG8@public.gmane.org, robin.murphy-5wv7dgnIgG8@public.gmane.org Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Thor Thayer , catalin.marinas-5wv7dgnIgG8@public.gmane.org, will.deacon-5wv7dgnIgG8@public.gmane.org, iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: devicetree@vger.kernel.org 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>; + }; + -- 2.7.4