From patchwork Sat May 10 09:34:01 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans de Goede X-Patchwork-Id: 4147401 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B07B0BFF02 for ; Sat, 10 May 2014 09:34:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 00C36201BB for ; Sat, 10 May 2014 09:34:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 438AD201DC for ; Sat, 10 May 2014 09:34:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754210AbaEJJer (ORCPT ); Sat, 10 May 2014 05:34:47 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44772 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753683AbaEJJeq (ORCPT ); Sat, 10 May 2014 05:34:46 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s4A9YHbd004934 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 10 May 2014 05:34:17 -0400 Received: from shalem.localdomain.com (vpn1-5-134.ams2.redhat.com [10.36.5.134]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id s4A9Y4fr001032; Sat, 10 May 2014 05:34:15 -0400 From: Hans de Goede To: Chris Ball , Ulf Hansson Cc: =?UTF-8?q?David=20Lanzend=C3=B6rfer?= , Maxime Ripard , linux-mmc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree , linux-sunxi@googlegroups.com, Hans de Goede Subject: [PATCH v11 4/6] ARM: dts: sun5i: Add reg_vmmc0 to sun5i boards Date: Sat, 10 May 2014 11:34:01 +0200 Message-Id: <1399714443-12459-5-git-send-email-hdegoede@redhat.com> In-Reply-To: <1399714443-12459-1-git-send-email-hdegoede@redhat.com> References: <1399714443-12459-1-git-send-email-hdegoede@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts | 5 +++++ arch/arm/boot/dts/sun5i-a13-olinuxino-micro.dts | 5 +++++ arch/arm/boot/dts/sun5i-a13-olinuxino.dts | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts b/arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts index de91308..cde617a 100644 --- a/arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts +++ b/arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts @@ -38,6 +38,7 @@ mmc0: mmc@01c0f000 { pinctrl-names = "default"; pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_olinuxino_micro>; + vmmc-supply = <®_vmmc0>; bus-width = <4>; cd-gpios = <&pio 6 1 0>; /* PG1 */ cd-inverted; @@ -152,6 +153,10 @@ }; }; + reg_vmmc0: vmmc0 { + status = "okay"; + }; + reg_usb1_vbus: usb1-vbus { pinctrl-0 = <&usb1_vbus_pin_olinuxino_m>; gpio = <&pio 1 10 0>; diff --git a/arch/arm/boot/dts/sun5i-a13-olinuxino-micro.dts b/arch/arm/boot/dts/sun5i-a13-olinuxino-micro.dts index 8515f19..3fdfb60 100644 --- a/arch/arm/boot/dts/sun5i-a13-olinuxino-micro.dts +++ b/arch/arm/boot/dts/sun5i-a13-olinuxino-micro.dts @@ -24,6 +24,7 @@ mmc0: mmc@01c0f000 { pinctrl-names = "default"; pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_olinuxinom>; + vmmc-supply = <®_vmmc0>; bus-width = <4>; cd-gpios = <&pio 6 0 0>; /* PG0 */ cd-inverted; @@ -103,6 +104,10 @@ }; }; + reg_vmmc0: vmmc0 { + status = "okay"; + }; + reg_usb1_vbus: usb1-vbus { pinctrl-0 = <&usb1_vbus_pin_olinuxinom>; gpio = <&pio 6 11 0>; diff --git a/arch/arm/boot/dts/sun5i-a13-olinuxino.dts b/arch/arm/boot/dts/sun5i-a13-olinuxino.dts index 51a9438..a4e22b9 100644 --- a/arch/arm/boot/dts/sun5i-a13-olinuxino.dts +++ b/arch/arm/boot/dts/sun5i-a13-olinuxino.dts @@ -23,6 +23,7 @@ mmc0: mmc@01c0f000 { pinctrl-names = "default"; pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_olinuxino>; + vmmc-supply = <®_vmmc0>; bus-width = <4>; cd-gpios = <&pio 6 0 0>; /* PG0 */ cd-inverted; @@ -101,6 +102,10 @@ }; }; + reg_vmmc0: vmmc0 { + status = "okay"; + }; + reg_usb1_vbus: usb1-vbus { pinctrl-0 = <&usb1_vbus_pin_olinuxino>; gpio = <&pio 6 11 0>;