From patchwork Mon Feb 16 22:59:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 5834761 X-Patchwork-Delegate: horms@verge.net.au 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 37A6C9F380 for ; Mon, 16 Feb 2015 22:59:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6BC27201E4 for ; Mon, 16 Feb 2015 22:59:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8F4FF201FE for ; Mon, 16 Feb 2015 22:59:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750999AbbBPW7I (ORCPT ); Mon, 16 Feb 2015 17:59:08 -0500 Received: from mail-la0-f44.google.com ([209.85.215.44]:38217 "EHLO mail-la0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750770AbbBPW7H (ORCPT ); Mon, 16 Feb 2015 17:59:07 -0500 Received: by lamq1 with SMTP id q1so32541168lam.5 for ; Mon, 16 Feb 2015 14:59:05 -0800 (PST) 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=3Iz9GOqQ+miiboeCt+06Doxsw7tsezxQbs0C99dqb+Y=; b=Swy4ehDC/ci38A/Z07pQ5dgJ988H4QMJp+jDuPopXi1Ed0jxIahLNRcZwQJSqac3sJ SVwRCx2K6m3aeQQzoV9m5vvvGkt/DAbEvVVfljHJwpOIYAg0xYOW/ewsRzKTRi/hKpuK xlKZS/K8y9zcfk9Z0SK2WxFIQ+4kKLPYTUUycwoKRYG0ayI4kSO5Pl/S5x1Awc0v4YxE gBwrAgkTdasOW1AI5vAuMiwNyJD7zXvW+bhAT76/R2Yr+qIgikLgShlByUPbbaLcbfaN JA8E/I33tdNdcBLud8GfXlYnMYP5bD9ALZbul7ep3RDa3yJyLaOKxdrjTGo95GtCpMlq oj6A== X-Gm-Message-State: ALoCoQm8nT0rMDnEs5ybpTaWBIy6KX+9s+tZ0hpJGXl+lmBih2Xrew49LvwigWZjnkkehGPDd5im X-Received: by 10.152.9.2 with SMTP id v2mr25260805laa.67.1424127545087; Mon, 16 Feb 2015 14:59:05 -0800 (PST) Received: from wasted.cogentembedded.com (ppp83-237-56-86.pppoe.mtu-net.ru. [83.237.56.86]) by mx.google.com with ESMTPSA id n8sm3207925lbd.1.2015.02.16.14.59.03 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Feb 2015 14:59:04 -0800 (PST) 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 1/2] ARM: shmobile: r8a7794: add MMCIF DT support Date: Tue, 17 Feb 2015 01:59:02 +0300 Message-ID: <4040756.88Rqm1nt32@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.4 (Linux/3.18.5-101.fc20.x86_64; KDE/4.14.4; x86_64; ; ) In-Reply-To: <29687119.ELU9MoH02q@wasted.cogentembedded.com> References: <29687119.ELU9MoH02q@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=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 Define the generic R8A7794 part of the MMCIF0 device node. Based on the orginal patch by Shinobu Uehara . Signed-off-by: Sergei Shtylyov --- 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 @@ -346,6 +346,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"; + }; + clocks { #address-cells = <2>; #size-cells = <2>;