From patchwork Tue Apr 10 09:26:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Stuebner X-Patchwork-Id: 896554 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=sntech.de Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 40L1zp2ZrLz9s2S for ; Tue, 10 Apr 2018 19:27:50 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752415AbeDJJ1s (ORCPT ); Tue, 10 Apr 2018 05:27:48 -0400 Received: from gloria.sntech.de ([95.129.55.99]:49160 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752410AbeDJJ1q (ORCPT ); Tue, 10 Apr 2018 05:27:46 -0400 Received: from ip9234ac09.dynamic.kabel-deutschland.de ([146.52.172.9] helo=phil.fritz.box) by gloria.sntech.de with esmtpsa (TLS1.1:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1f5pYv-0002xH-6h; Tue, 10 Apr 2018 11:27:37 +0200 From: Heiko Stuebner To: joro@8bytes.org Cc: iommu@lists.linux-foundation.org, jeffy.chen@rock-chips.com, devicetree@vger.kernel.org, tfiga@chromium.org, robh@kernel.org, mark.rutland@arm.com, robin.murphy@arm.com, tomeu@tomeuvizoso.net, linux-rockchip@lists.infradead.org, Heiko Stuebner Subject: [PATCH 1/2] dt-bindings: iommu/rockchip: Make clock properties optional Date: Tue, 10 Apr 2018 11:26:11 +0200 Message-Id: <20180410092612.2653-2-heiko@sntech.de> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180410092612.2653-1-heiko@sntech.de> References: <20180410092612.2653-1-heiko@sntech.de> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Rockchip IOMMUs are used without explicit clock handling for 4 years now, so we should keep compatibility with old devicetrees if possible. Therefore make iommu clocks optional. Fixes: 8fa9eb39c614 ("dt-bindings: iommu/rockchip: Add clock property") Signed-off-by: Heiko Stuebner --- Documentation/devicetree/bindings/iommu/rockchip,iommu.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/iommu/rockchip,iommu.txt b/Documentation/devicetree/bindings/iommu/rockchip,iommu.txt index 6ecefea1c6f9..25bfad987513 100644 --- a/Documentation/devicetree/bindings/iommu/rockchip,iommu.txt +++ b/Documentation/devicetree/bindings/iommu/rockchip,iommu.txt @@ -14,13 +14,13 @@ Required properties: "single-master" device, and needs no additional information to associate with its master device. See: Documentation/devicetree/bindings/iommu/iommu.txt + +Optional properties: - 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. Some mmu instances may produce unexpected results when the reset operation is used.