From patchwork Tue Jul 12 21:11:12 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 9226237 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B708960868 for ; Tue, 12 Jul 2016 21:12:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A308627569 for ; Tue, 12 Jul 2016 21:12:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 934A427D5D; Tue, 12 Jul 2016 21:12:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7D2B427569 for ; Tue, 12 Jul 2016 21:12:57 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bN4xw-0003OI-8s; Tue, 12 Jul 2016 21:11:40 +0000 Received: from mail-lf0-x22b.google.com ([2a00:1450:4010:c07::22b]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bN4xs-0003D6-Rn for linux-arm-kernel@lists.infradead.org; Tue, 12 Jul 2016 21:11:37 +0000 Received: by mail-lf0-x22b.google.com with SMTP id b199so23907346lfe.0 for ; Tue, 12 Jul 2016 14:11:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=V0yfUpSHrCHTbBVh3YppmbsXBGEpvtK3C3uhyAORQb0=; b=FCCkgvgE2WWKC+i06lO9tyCsvKh0R29gDGEW3CrR9tLjNWxKnNojDORp+YXYGEcnu4 FxRBRQ2FxG8hoEQO5Xqy2WD6R/V56KTpe777PrhMefedTxLfm9+Sl2v7JjXrjAtldGnQ V2whxrahxFXhg2MoMIPK1LWNMmQoxanTdjRy3s4zwyqzcoXQy/GZ2yRlvLVwBDVF7R7W epI1cPFcRrr75yXlz7uYEPgt1T7UwOCA3Qab76UXb30Rd27tqIKb4o4h58NKnhyux6Bc nBwjrRK5AYIck9pXlnVD3fKOaC063Vt0yM8N9pmKdG3ptcjE9YDBwqKSAH1arEEBzk1H rUgQ== 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; bh=V0yfUpSHrCHTbBVh3YppmbsXBGEpvtK3C3uhyAORQb0=; b=IcKksBF8cmKNVbBE5M4GrQ+eNoEl4cmqSkA3prM+dBylAnp3BxfJ2O9x9lp4NwozZY X3W3BDxkRH5V0MmpAvMP2XTAEFs8sPYlopVF39WQj2GYDO9WlleErO3RhcasepMFFGXz blcWLil6KF5rtDahQDnQ2H+EAx5F8tEsgGztyQii9GEciFpk5gsn7KjPM5oiAS+77Jxv 30UsxVlyUyPa5kQ4xRVsbKmxawzR5cs2GzmO8K2edojkQ+RPOQBhadkCPSrglvTrBqjx xVDw6xjnXXd4V2gLwMJoFDH6fAai9CXgdhUkg5k5fit3kCV7JhZf4RnsjxkJk550/WGh nuAA== X-Gm-Message-State: ALyK8tKo8XxPyfRtLHSc7/MHpTCukGIPSvqRLUov6jNjx0i2YXfmqtA+cPpjO9pUdBL8ug== X-Received: by 10.25.89.8 with SMTP id n8mr2281046lfb.225.1468357874137; Tue, 12 Jul 2016 14:11:14 -0700 (PDT) Received: from wasted.cogentembedded.com ([31.173.81.138]) by smtp.gmail.com with ESMTPSA id j12sm13232712lfb.37.2016.07.12.14.11.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Jul 2016 14:11:13 -0700 (PDT) From: Sergei Shtylyov To: horms@verge.net.au, linux-renesas-soc@vger.kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org Subject: [PATCH 2/2] ARM: dts: r8a7792: add SDHI support Date: Wed, 13 Jul 2016 00:11:12 +0300 Message-ID: <8030361.FnpbGzHVP8@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.10 (Linux/4.4.13-200.fc22.x86_64; KDE/4.14.17; x86_64; ; ) In-Reply-To: <2441635.ESeLhIjWEX@wasted.cogentembedded.com> References: <2441635.ESeLhIjWEX@wasted.cogentembedded.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160712_141137_143175_40712585 X-CRM114-Status: UNSURE ( 9.98 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux@arm.linux.org.uk, magnus.damm@gmail.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Define the generic R8A7792 part of the SDHI0 device node. Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven --- arch/arm/boot/dts/r8a7792.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) Index: renesas/arch/arm/boot/dts/r8a7792.dtsi =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7792.dtsi +++ renesas/arch/arm/boot/dts/r8a7792.dtsi @@ -435,6 +435,18 @@ status = "disabled"; }; + sdhi0: sd@ee100000 { + compatible = "renesas,sdhi-r8a7792"; + reg = <0 0xee100000 0 0x200>; + interrupts = <0 165 IRQ_TYPE_LEVEL_HIGH>; + dmas = <&dmac0 0xcd>, <&dmac0 0xce>, + <&dmac1 0xcd>, <&dmac1 0xce>; + dma-names = "tx", "rx", "tx", "rx"; + clocks = <&mstp3_clks R8A7792_CLK_SDHI0>; + power-domains = <&sysc R8A7792_PD_ALWAYS_ON>; + status = "disabled"; + }; + jpu: jpeg-codec@fe980000 { compatible = "renesas,jpu-r8a7792", "renesas,rcar-gen2-jpu";