From patchwork Tue Nov 17 03:53:20 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 7632591 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C95D5BF90C for ; Tue, 17 Nov 2015 03:52:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EFDAA20498 for ; Tue, 17 Nov 2015 03:52:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F1B6E2049C for ; Tue, 17 Nov 2015 03:52:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751768AbbKQDwO (ORCPT ); Mon, 16 Nov 2015 22:52:14 -0500 Received: from mail-pa0-f47.google.com ([209.85.220.47]:33124 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751543AbbKQDwN (ORCPT ); Mon, 16 Nov 2015 22:52:13 -0500 Received: by pabfh17 with SMTP id fh17so200022573pab.0; Mon, 16 Nov 2015 19:52:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:subject; bh=7n6Ai6ZUQI9VxkQG+3rFZw/o956kfp46NP6uKkUO0lc=; b=nbXYMqq6nzRPPGEQDM8hedxlS9aJFDHOxikOUFY4YI65fLITvnbU0D6zaigFAgy05O +XQo1r1YACPrc00AZC5UlDNHNrd6c9NuFXh+VLcA2wdx+MyZltnoH/viQrDV+jiUEZBj R8M9kv2eq222Sn5Aw1Nns5N9dzezYpx9fFUfrrgSmIBgWfnB+FAVWL2aTZJdGi5PfAJ1 EF2PmGcgBb3mtfnrKdyvPxl1vaz2FdZ5Y7pwNVFprhMffIms+hmrmjkj/EMWBFlcz0kW urukJOYnV4uFYe4mnXyoE27yNAESO0O0uUPEq5L3FiBztl87ZExDGSWnloVYeDraccL8 CVVg== X-Received: by 10.66.101.40 with SMTP id fd8mr51658854pab.91.1447732332865; Mon, 16 Nov 2015 19:52:12 -0800 (PST) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by smtp.gmail.com with ESMTPSA id xi8sm565054pab.9.2015.11.16.19.52.09 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Nov 2015 19:52:11 -0800 (PST) From: Magnus Damm To: devicetree@vger.kernel.org Cc: mark.rutland@arm.com, laurent.pinchart+renesas@ideasonboard.com, geert+renesas@glider.be, pawel.moll@arm.com, ijc+devicetree@hellion.org.uk, joro@8bytes.org, linux-sh@vger.kernel.org, iommu@lists.linux-foundation.org, robh+dt@kernel.org, galak@codeaurora.org, horms+renesas@verge.net.au, Magnus Damm Date: Tue, 17 Nov 2015 12:53:20 +0900 Message-Id: <20151117035320.30676.88818.sendpatchset@little-apple> Subject: [PATCH v2] iommu/ipmmu-vmsa: Include SoC part number in DT binding docs Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Magnus Damm Add part numbers for APE6 and current set of R-Car Gen2 SoCs to the IPMMU DT binding documentation. The example is also updated to show how the generic compatible string may be used as fallback. Signed-off-by: Magnus Damm Acked-by: Simon Horman Acked-by: Rob Herring --- Changes since V1: - Updated compat string section to the following: "Must contain SoC-specific and generic entries from below." Thanks to Laurent for feedback! Documentation/devicetree/bindings/iommu/renesas,ipmmu-vmsa.txt | 12 ++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 0001/Documentation/devicetree/bindings/iommu/renesas,ipmmu-vmsa.txt +++ work/Documentation/devicetree/bindings/iommu/renesas,ipmmu-vmsa.txt 2015-11-17 12:45:26.080513000 +0900 @@ -7,7 +7,15 @@ connected to the IPMMU through a port ca Required Properties: - - compatible: Must contain "renesas,ipmmu-vmsa". + - compatible: Must contain SoC-specific and generic entries from below. + + - "renesas,ipmmu-r8a73a4" for the R8A73A4 (R-Mobile APE6) IPMMU. + - "renesas,ipmmu-r8a7790" for the R8A7790 (R-Car H2) IPMMU. + - "renesas,ipmmu-r8a7791" for the R8A7791 (R-Car M2-W) IPMMU. + - "renesas,ipmmu-r8a7793" for the R8A7793 (R-Car M2-N) IPMMU. + - "renesas,ipmmu-r8a7794" for the R8A7794 (R-Car E2) IPMMU. + - "renesas,ipmmu-vmsa" for generic R-Car Gen2 VMSA-compatible IPMMU. + - reg: Base address and size of the IPMMU registers. - interrupts: Specifiers for the MMU fault interrupts. For instances that support secure mode two interrupts must be specified, for non-secure and @@ -27,7 +35,7 @@ node with the following property: Example: R8A7791 IPMMU-MX and VSP1-D0 bus master ipmmu_mx: mmu@fe951000 { - compatible = "renasas,ipmmu-vmsa"; + compatible = "renasas,ipmmu-r8a7791", "renasas,ipmmu-vmsa"; reg = <0 0xfe951000 0 0x1000>; interrupts = <0 222 IRQ_TYPE_LEVEL_HIGH>, <0 221 IRQ_TYPE_LEVEL_HIGH>;