From patchwork Mon Feb 16 23:00:34 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 5834771 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 B0CCA9F380 for ; Mon, 16 Feb 2015 23:00:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E46A7201E4 for ; Mon, 16 Feb 2015 23:00:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6C8BD201FE for ; Mon, 16 Feb 2015 23:00:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750999AbbBPXAj (ORCPT ); Mon, 16 Feb 2015 18:00:39 -0500 Received: from mail-la0-f48.google.com ([209.85.215.48]:37642 "EHLO mail-la0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750770AbbBPXAi (ORCPT ); Mon, 16 Feb 2015 18:00:38 -0500 Received: by labpn19 with SMTP id pn19so32577573lab.4 for ; Mon, 16 Feb 2015 15:00:37 -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=lDGm4qBCwuNRlaLcmXIkcKmmLVwOv8ARr0vB0eaVNfc=; b=Pv6rDNhCaHFVpPHv58NFNWol1ncK2kZ0RCurwidrE/cd8acFRwZLSNYO/Vo0aVex/d PD4O+PP47Bg+8nxFYabcBP5YBSqofVkr2keoQa2U2xmv64FJacIeOGgcyzR8wUv3X5y9 pD948d2ZzKrTYdcO6lVUHt6p/7c7XrrsBeUfE2msec/HdbIE9fLcJPiE1cEdNSitADV5 TjPH3TPksutbY/tIYyHfpRuUWkhfiTwAUOWD95UAlc8xR3YJQu2aHlMrALc/DJ5lOE2d r0fwQqMvUGW8k9KK5eMuFKtqOVolYA0b+mRoYucCTsuDl6JciO91Zg9chs+PIeF0pH9e v1xw== X-Gm-Message-State: ALoCoQlP65w09SR4fBORIfQcqkzU6Deu4VhZfaQQ47BdDGYFfuXFPHXVf3pbMARMS+gkEvYn7zhH X-Received: by 10.152.4.136 with SMTP id k8mr24257445lak.103.1424127636967; Mon, 16 Feb 2015 15:00:36 -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 ba1sm2294027lab.34.2015.02.16.15.00.35 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Feb 2015 15:00:36 -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 2/2] ARM: shmobile: silk: add eMMC DT support Date: Tue, 17 Feb 2015 02:00:34 +0300 Message-ID: <3003389.IFU7VXDVjL@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 SILK board dependent part of the MMCIF device node (the board has eMMC chip) along with the necessary voltage regulator (note that the Vcc/Vccq regulator is dummy -- it's required by the MMCIF driver but doesn't actually exist on the board). Based on the original patch by Vladimir Barinov . Signed-off-by: Sergei Shtylyov --- arch/arm/boot/dts/r8a7794-silk.dts | 25 +++++++++++++++++++++++++ 1 file changed, 25 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-silk.dts =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7794-silk.dts +++ renesas/arch/arm/boot/dts/r8a7794-silk.dts @@ -30,6 +30,15 @@ device_type = "memory"; reg = <0 0x40000000 0 0x40000000>; }; + + d3_3v: regulator@0 { + compatible = "regulator-fixed"; + regulator-name = "D3.3V"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; }; &extal_clk { @@ -51,6 +60,11 @@ renesas,groups = "intc_irq8"; renesas,function = "intc"; }; + + mmcif0_pins: mmcif0 { + renesas,groups = "mmc_data8", "mmc_ctrl"; + renesas,function = "mmc"; + }; }; &scif2 { @@ -75,3 +89,14 @@ micrel,led-mode = <1>; }; }; + +&mmcif0 { + pinctrl-0 = <&mmcif0_pins>; + pinctrl-names = "default"; + + vmmc-supply = <&d3_3v>; + vqmmc-supply = <&d3_3v>; + bus-width = <8>; + non-removable; + status = "okay"; +};