From patchwork Thu Jul 30 21:54:05 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 6907051 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 6E03FC05AC for ; Thu, 30 Jul 2015 21:54:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 934EF20624 for ; Thu, 30 Jul 2015 21:54:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AC20C20625 for ; Thu, 30 Jul 2015 21:54:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751527AbbG3VyK (ORCPT ); Thu, 30 Jul 2015 17:54:10 -0400 Received: from mail-lb0-f175.google.com ([209.85.217.175]:33239 "EHLO mail-lb0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751350AbbG3VyJ (ORCPT ); Thu, 30 Jul 2015 17:54:09 -0400 Received: by lbbyj8 with SMTP id yj8so35472003lbb.0 for ; Thu, 30 Jul 2015 14:54:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=L1tAgpY+4Eykl24X3L7+A2BEcWJboBpoYl5mHAPJdHk=; b=PSqwSYHXlW/euWPyLUS8UIAKTcF8Dn6Is6/IEc3VBjbW0nWziyl7Pw7yHFtLShR/s7 H/7pvFu/sU4wFfPJ+DoBcIvZH1psDjh6EfikYOI2Vvbj8CwqvbMvcBgjK1/fxvvez+Kk 1N36+KgC+zF1V+AU57//PVBtqR8bUXkEJjz6qjyIcB1zBP9xodnnNeGyelp2az40v4q2 jkQfqixgZdxZhsOoN9x2J+IWSTRk5+6bbVtkOHEyJvHNfndNV1NvHlsSBKCfLqM+y1KX 1XbscmTcBai9oyCkwzrOlZCfd95ZHaYfynTlpx88zCrq3btBjKFCIokFLpXLoH4dX2CG pF2w== X-Gm-Message-State: ALoCoQkO88A693/B55bRgNZvKQnrL7Y6LGZ6MkAbOBPIWncWBMwuaPg2wbyQic6fv03onDqL1d/5 X-Received: by 10.112.168.102 with SMTP id zv6mr46689318lbb.45.1438293247555; Thu, 30 Jul 2015 14:54:07 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp18-93.pppoe.mtu-net.ru. [81.195.18.93]) by smtp.gmail.com with ESMTPSA id ci2sm504565lad.23.2015.07.30.14.54.06 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Jul 2015 14:54:06 -0700 (PDT) From: Sergei Shtylyov To: horms@verge.net.au, linux-sh@vger.kernel.org, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, devicetree@vger.kernel.org Cc: magnus.damm@gmail.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 1/2] ARM: shmobile: r8a7794: add MMCIF DT support Date: Fri, 31 Jul 2015 00:54:05 +0300 Message-ID: <2274701.D1UH0V9VRM@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.9 (Linux/4.0.8-200.fc21.x86_64; KDE/4.14.9; x86_64; ; ) In-Reply-To: <1546028.CFITDbxXtD@wasted.cogentembedded.com> References: <1546028.CFITDbxXtD@wasted.cogentembedded.com> MIME-Version: 1.0 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 Define the generic R8A7794 part of the MMCIF0 device node. Based on the orginal patch by Shinobu Uehara . Signed-off-by: Sergei Shtylyov --- Changes in version 2: - updated the patch due to the SDHI patch being accepted first; - refreshed the patch. arch/arm/boot/dts/r8a7794.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) -- 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 Index: renesas/arch/arm/boot/dts/r8a7794.dtsi =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7794.dtsi +++ renesas/arch/arm/boot/dts/r8a7794.dtsi @@ -383,6 +383,17 @@ status = "disabled"; }; + mmcif0: mmc@ee200000 { + compatible = "renesas,mmcif-r8a7794", "renesas,sh-mmcif"; + reg = <0 0xee200000 0 0x80>; + interrupts = <0 169 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&mstp3_clks R8A7794_CLK_MMCIF0>; + dmas = <&dmac0 0xd1>, <&dmac0 0xd2>; + dma-names = "tx", "rx"; + reg-io-width = <4>; + status = "disabled"; + }; + sdhi0: sd@ee100000 { compatible = "renesas,sdhi-r8a7794"; reg = <0 0xee100000 0 0x200>;