Received: by 10.223.185.116 with SMTP id b49csp7252314wrg; Thu, 1 Mar 2018 02:25:29 -0800 (PST) X-Google-Smtp-Source: AG47ELuAkzAhj+QHGXocQpg7GqNArvFO4L3cIVjh0Xt511FXXad9NI3BxdfC5Pc747YmZd59eE9K X-Received: by 2002:a17:902:20eb:: with SMTP id v40-v6mr1469880plg.360.1519899929247; Thu, 01 Mar 2018 02:25:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519899929; cv=none; d=google.com; s=arc-20160816; b=M4VuSWvcqSI1AMtQwbFbT2yAZWxXUl9EYu5VCVgH0RTjXO+5VQHHDuy3fMr8MphIg0 +t+/u7qui0Cqi4RZCgcChcQg8lyg1b7WzSLpV6Rc8UQBQ10vyEXX+qhCyjx8s6u92dZk M8bq747M/jicbWpIxkkkXN472HFsiWLOEf2MZX9FNEJRjF+CzdLnLYEGv9GNzfCmMZU6 zRPZhOENFnHEZgOR/MgNvB2IPS4NEUihkLShlePhX9t4Gg5Tu7DZKnJa6gtKlvdUM6Wz q8FoB6TRsslQ0Jue4/HRpAmwi0gdZqoh4OVF56Eak1LjYrl+al1h3zYp0vtR4Luqbecl ULYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=a7VAIgo22UX/yzYsbd/1VjdYB3uLa3x/0AhdBJSu6A0=; b=Iri74//OzNi35aokbXU5vOc46UE6HK4t560Oj7FiJeoYt/PKxqB+RmVcUAYEi6MOlO vi07Qk3QHgQ2uzL4CPWeyRZz4qtoM8pfT+FUM3T/j2jr89KvZS9MRsqfb7HpLCjMA9iH uUYLhKfC3zW3oFbwUAVkG6z/OeiMUOBANtoH+GH/d3d1TvGZU9J+ecU8xRhYlcaFynfr 3eenrt6GQa7hXmWf4/RVoAzbfCJGpzk6UHdwNai4yhJ+CGkrmybZRZO8YY3bT8n00BVh FboEMZFUx7UPanvz8IOVeW86NJdhFkkbbgdR1vP9nLGoMp2KyIKbIba5aY8yCJuRubcY mf3Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 88-v6si2863991plc.131.2018.03.01.02.25.14; Thu, 01 Mar 2018 02:25:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966722AbeCAKUZ (ORCPT + 99 others); Thu, 1 Mar 2018 05:20:25 -0500 Received: from regular1.263xmail.com ([211.150.99.131]:57004 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935484AbeCAKUS (ORCPT ); Thu, 1 Mar 2018 05:20:18 -0500 Received: from jeffy.chen?rock-chips.com (unknown [192.168.167.29]) by regular1.263xmail.com (Postfix) with ESMTP id E5EC261EB; Thu, 1 Mar 2018 18:20:13 +0800 (CST) X-263anti-spam: KSV:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ABS-CHECKED: 4 Received: from localhost (localhost [127.0.0.1]) by smtp.263.net (Postfix) with ESMTPA id 6FE0F3AA; Thu, 1 Mar 2018 18:20:09 +0800 (CST) X-RL-SENDER: jeffy.chen@rock-chips.com X-FST-TO: linux-kernel@vger.kernel.org X-SENDER-IP: 103.29.142.67 X-LOGIN-NAME: jeffy.chen@rock-chips.com X-UNIQUE-TAG: X-ATTACHMENT-NUM: 0 X-SENDER: cjf@rock-chips.com X-DNS-TYPE: 0 Received: from localhost (unknown [103.29.142.67]) by smtp.263.net (Postfix) whith ESMTP id 155315TJFMS; Thu, 01 Mar 2018 18:20:14 +0800 (CST) From: Jeffy Chen To: linux-kernel@vger.kernel.org Cc: jcliang@chromium.org, robin.murphy@arm.com, xxm@rock-chips.com, tfiga@chromium.org, Jeffy Chen , devicetree@vger.kernel.org, Heiko Stuebner , linux-rockchip@lists.infradead.org, iommu@lists.linux-foundation.org, Rob Herring , Mark Rutland , Joerg Roedel , linux-arm-kernel@lists.infradead.org Subject: [RESEND PATCH v6 09/14] dt-bindings: iommu/rockchip: Add clock property Date: Thu, 1 Mar 2018 18:18:32 +0800 Message-Id: <20180301101837.27969-10-jeffy.chen@rock-chips.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180301101837.27969-1-jeffy.chen@rock-chips.com> References: <20180301101837.27969-1-jeffy.chen@rock-chips.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add clock property, since we are going to control clocks in rockchip iommu driver. Signed-off-by: Jeffy Chen --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None Documentation/devicetree/bindings/iommu/rockchip,iommu.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/iommu/rockchip,iommu.txt b/Documentation/devicetree/bindings/iommu/rockchip,iommu.txt index 2098f7732264..6ecefea1c6f9 100644 --- a/Documentation/devicetree/bindings/iommu/rockchip,iommu.txt +++ b/Documentation/devicetree/bindings/iommu/rockchip,iommu.txt @@ -14,6 +14,11 @@ Required properties: "single-master" device, and needs no additional information to associate with its master device. See: Documentation/devicetree/bindings/iommu/iommu.txt +- clocks : A list of clocks required for the IOMMU to be accessible by + the host CPU. +- clock-names : Should contain the following: + "iface" - Main peripheral bus clock (PCLK/HCL) (required) + "aclk" - AXI bus clock (required) Optional properties: - rockchip,disable-mmu-reset : Don't use the mmu reset operation. @@ -27,5 +32,7 @@ Example: reg = <0xff940300 0x100>; interrupts = ; interrupt-names = "vopl_mmu"; + clocks = <&cru ACLK_VOP1>, <&cru HCLK_VOP1>; + clock-names = "aclk", "iface"; #iommu-cells = <0>; }; -- 2.11.0