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: 943730 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.intel.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 41RypL0MjXz9s3T for ; Sat, 14 Jul 2018 02:25:30 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731210AbeGMQks (ORCPT ); Fri, 13 Jul 2018 12:40:48 -0400 Received: from mga02.intel.com ([134.134.136.20]:57975 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731620AbeGMQks (ORCPT ); Fri, 13 Jul 2018 12:40:48 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga101.jf.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 Cc: catalin.marinas@arm.com, will.deacon@arm.com, iommu@lists.linux-foundation.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Thor Thayer 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> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: 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>; + }; +