From patchwork Thu Jul 30 21:55:23 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 6907061 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 339B4C05AC for ; Thu, 30 Jul 2015 21:55:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 533BD2062C for ; Thu, 30 Jul 2015 21:55:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 34B3620624 for ; Thu, 30 Jul 2015 21:55:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751384AbbG3Vz1 (ORCPT ); Thu, 30 Jul 2015 17:55:27 -0400 Received: from mail-la0-f50.google.com ([209.85.215.50]:32865 "EHLO mail-la0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751263AbbG3Vz1 (ORCPT ); Thu, 30 Jul 2015 17:55:27 -0400 Received: by laah7 with SMTP id h7so33069910laa.0 for ; Thu, 30 Jul 2015 14:55:25 -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=lDGm4qBCwuNRlaLcmXIkcKmmLVwOv8ARr0vB0eaVNfc=; b=aabhOt1QHx7RZBMOcalx++OS2/08KvrxhHfGXap6AMnMtTmxgge2YHVpbdVSDK1XaF 4203/8ZIWko5UkVMm7lil+HxalNnX8AXyi23UQKWLw3oQv5BKp3yALJzxk2DbZXn0RC6 uFh7LeGU2PEFgeE2nLq2c4R24zeKzZVkSNXau+c7xxcHUfwXK8sXnlFV1WnQRROOxKZH vZE6h+18T6zfwaeOG3//bUPSn5lRe4/tykjaFiGfcIbTpHYHhk5yerK8LVupSldMJl/n J0HI3d3NAegyq5ALArmQe7oKHz9zEMN8hXzi5c97NBOnQC5f3jYULreOCllrcajZfPvK Ju1g== X-Gm-Message-State: ALoCoQkXDa69JwGv/IjODxEEet5IPAXPmTSJubkGus5YzkB3wvRhYitH2P8MYDFlPNOVg9LR9SKP X-Received: by 10.112.205.161 with SMTP id lh1mr46151873lbc.43.1438293325742; Thu, 30 Jul 2015 14:55:25 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp18-93.pppoe.mtu-net.ru. [81.195.18.93]) by smtp.gmail.com with ESMTPSA id o5sm510103lag.9.2015.07.30.14.55.24 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Jul 2015 14:55:25 -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 2/2] ARM: shmobile: silk: add eMMC DT support Date: Fri, 31 Jul 2015 00:55:23 +0300 Message-ID: <1923824.ZmtLDEU8gy@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 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"; +};