From patchwork Mon Oct 19 03:10:03 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 7432811 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 7FBA69F37F for ; Mon, 19 Oct 2015 03:09:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 83951206C0 for ; Mon, 19 Oct 2015 03:09:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8E52E2065B for ; Mon, 19 Oct 2015 03:09:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752674AbbJSDJa (ORCPT ); Sun, 18 Oct 2015 23:09:30 -0400 Received: from mail-pa0-f50.google.com ([209.85.220.50]:36401 "EHLO mail-pa0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752668AbbJSDJ3 (ORCPT ); Sun, 18 Oct 2015 23:09:29 -0400 Received: by pacfv9 with SMTP id fv9so80011269pac.3; Sun, 18 Oct 2015 20:09:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:subject; bh=SVv5kdvFLaVkJt8P5ka3sRx7U1YT8qfOIS7H4UYA+b4=; b=uC6V6P5rvQ+Ar6mcbL5wrZrZwjDP7B5CPjpho7QX7/8cqd3f4fj21INm2Y2Pr5X7nQ uIkxC2bcIGqZX+c+mstEI9UJSWscPbr+ppYd1k+B6fh/pz5W5jBTIPa0wJn0hrUafBY4 3/2l/3nI2edy63KlyV0v1gC4oaq2AShfJ6Vt7/6wGvD6A51Acsbb3SBBfO72xBpanIDq dy1QrX8fEOIfteEHRoIqUlUdK7Uzm+BBbMFRyol3TVATl2DTSQo+XVSLrkU1+OpaA0+q cUltxskz2a6k7XN5krFtkuX4dFFr0lVVCCYXrTPzQKCS70B9F8uuEiPH9ydaRYZSjz8u 4M0Q== X-Received: by 10.66.155.231 with SMTP id vz7mr31273176pab.58.1445224168817; Sun, 18 Oct 2015 20:09:28 -0700 (PDT) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by smtp.gmail.com with ESMTPSA id sz9sm1772935pab.13.2015.10.18.20.09.25 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Oct 2015 20:09:27 -0700 (PDT) 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: Mon, 19 Oct 2015 12:10:03 +0900 Message-Id: <20151019031003.7878.28510.sendpatchset@little-apple> Subject: [PATCH] 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=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 --- 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-10-18 15:53:08.850513000 +0900 @@ -7,7 +7,15 @@ connected to the IPMMU through a port ca Required Properties: - - compatible: Must contain "renesas,ipmmu-vmsa". + - compatible: Must contain one of the following: + + - "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>;