From patchwork Thu Jun 20 21:29:30 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Arnaud Patard (Rtp)" X-Patchwork-Id: 2766091 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 06F1F9F472 for ; Sat, 22 Jun 2013 20:16:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2B36B20109 for ; Sat, 22 Jun 2013 20:16:11 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F290B20106 for ; Sat, 22 Jun 2013 20:16:09 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UqUE1-0000JD-Gx; Sat, 22 Jun 2013 20:15:58 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UqUDx-0003fS-LE; Sat, 22 Jun 2013 20:15:53 +0000 Received: from lebrac.rtp-net.org ([88.191.135.105]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UqUDs-0003ev-OG for linux-arm-kernel@lists.infradead.org; Sat, 22 Jun 2013 20:15:50 +0000 Received: by lebrac.rtp-net.org (Postfix, from userid 1000) id F0F0129253; Sat, 22 Jun 2013 22:14:33 +0200 (CEST) Message-Id: <20130620212939.018670789@rtp-net.org> User-Agent: quilt/0.60-1 Date: Thu, 20 Jun 2013 23:29:30 +0200 From: Arnaud Patard (Rtp) To: linux-arm-kernel@lists.infradead.org Subject: [patch 1/1] imx53-qsb: enable usb power Content-Disposition: inline; filename=imx53-qsb-usb-power.patch X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130622_161548_888740_E73E183F X-CRM114-Status: UNSURE ( 7.37 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.8 (-) Cc: Shawn Guo X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DATE_IN_PAST_24_48, RCVD_IN_DNSWL_MED, 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 Enable usb power pin by using a fixed regulator. With this and the usb clock patch is making usb working on my loco. Signed-off-by: Arnaud Patard Index: linux-next/arch/arm/boot/dts/imx53-qsb.dts =================================================================== --- linux-next.orig/arch/arm/boot/dts/imx53-qsb.dts 2013-06-20 23:25:46.049428530 +0200 +++ linux-next/arch/arm/boot/dts/imx53-qsb.dts 2013-06-20 23:26:34.293425920 +0200 @@ -93,6 +93,15 @@ regulator-max-microvolt = <3200000>; regulator-always-on; }; + + reg_usbpwr: usbpwr { + compatible = "regulator-fixed"; + regulator-name = "usbpwr"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + gpio = <&gpio7 8 0>; + regulator-always-on; + }; }; sound { @@ -145,6 +154,7 @@ MX53_PAD_EIM_DA12__GPIO3_12 0x80000000 MX53_PAD_EIM_DA13__GPIO3_13 0x80000000 MX53_PAD_PATA_DA_0__GPIO7_6 0x80000000 + MX53_PAD_PATA_DA_2__GPIO7_8 0x80000000 MX53_PAD_GPIO_16__GPIO7_11 0x80000000 >; };