From patchwork Fri Jun 26 21:35:25 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 32617 Received: from bear.ext.ti.com (bear.ext.ti.com [192.94.94.41]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n5QLc3Ec032582 for ; Fri, 26 Jun 2009 21:38:03 GMT Received: from dlep33.itg.ti.com ([157.170.170.112]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id n5QLaW7L006053; Fri, 26 Jun 2009 16:36:37 -0500 Received: from linux.omap.com (localhost [127.0.0.1]) by dlep33.itg.ti.com (8.13.7/8.13.7) with ESMTP id n5QLaW3s020180; Fri, 26 Jun 2009 16:36:32 -0500 (CDT) Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id F2A4F80636; Fri, 26 Jun 2009 16:36:15 -0500 (CDT) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflp53.itg.ti.com (dflp53.itg.ti.com [128.247.5.6]) by linux.omap.com (Postfix) with ESMTP id 5768780626 for ; Fri, 26 Jun 2009 16:35:41 -0500 (CDT) Received: from white.ext.ti.com (localhost [127.0.0.1]) by dflp53.itg.ti.com (8.13.8/8.13.8) with ESMTP id n5QLZeCL021894 for ; Fri, 26 Jun 2009 16:35:41 -0500 (CDT) Received: from mail128-dub-R.bigfish.com (mail-dub.bigfish.com [213.199.154.10]) by white.ext.ti.com (8.13.7/8.13.7) with ESMTP id n5QLZZvm022950 for ; Fri, 26 Jun 2009 16:35:40 -0500 Received: from mail128-dub (localhost.localdomain [127.0.0.1]) by mail128-dub-R.bigfish.com (Postfix) with ESMTP id 2000FC880E8 for ; Fri, 26 Jun 2009 21:35:35 +0000 (UTC) X-SpamScore: -2 X-BigFish: vps-2(z5edJzzz1202hzzz2dh62h) X-Spam-TCS-SCL: 1:0 X-MS-Exchange-Organization-Antispam-Report: OrigIP: 209.85.200.172; Service: EHS Received: by mail128-dub (MessageSwitch) id 1246052134614251_13488; Fri, 26 Jun 2009 21:35:34 +0000 (UCT) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.172]) by mail128-dub.bigfish.com (Postfix) with ESMTP id 205CB105004B for ; Fri, 26 Jun 2009 21:35:33 +0000 (UTC) Received: by wf-out-1314.google.com with SMTP id 29so170462wff.31 for ; Fri, 26 Jun 2009 14:35:33 -0700 (PDT) Received: by 10.142.82.13 with SMTP id f13mr1525048wfb.290.1246052133832; Fri, 26 Jun 2009 14:35:33 -0700 (PDT) Received: from localhost ([216.254.16.51]) by mx.google.com with ESMTPS id 32sm17811952wfa.13.2009.06.26.14.35.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 26 Jun 2009 14:35:33 -0700 (PDT) From: Kevin Hilman To: David Brownell Date: Fri, 26 Jun 2009 14:35:25 -0700 Message-Id: <1246052125-18463-4-git-send-email-khilman@deeprootsystems.com> X-Mailer: git-send-email 1.6.3.2 In-Reply-To: <1246052125-18463-3-git-send-email-khilman@deeprootsystems.com> References: <1246052125-18463-1-git-send-email-khilman@deeprootsystems.com> <1246052125-18463-2-git-send-email-khilman@deeprootsystems.com> <1246052125-18463-3-git-send-email-khilman@deeprootsystems.com> Cc: davinci-linux-open-source@linux.davincidsp.com Subject: [PATCH 3/3] musb: davinci: update GPIO used for nVBUS_DRV on 6446 EVM X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.4 Precedence: list List-Id: davinci-linux-open-source.linux.davincidsp.com List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: davinci-linux-open-source-bounces@linux.davincidsp.com Errors-To: davinci-linux-open-source-bounces@linux.davincidsp.com Now that the pcf857x GPIO expanders are used for GPIOs on the dm644x EVM board code, the GPIO numbering has changed. Update the GPIO used for nVBUS_DRV. Longer term, we need a better abstraction of board-specific setup in this code so we're not hard-coding board specific GPIOs into the driver, but for now this at least gets it back to working with mainline davinci core code. Signed-off-by: Kevin Hilman --- drivers/usb/musb/davinci.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/musb/davinci.c b/drivers/usb/musb/davinci.c index 2bf4592..4cc5364 100644 --- a/drivers/usb/musb/davinci.c +++ b/drivers/usb/musb/davinci.c @@ -42,7 +42,7 @@ #include "musb_core.h" #ifdef CONFIG_MACH_DAVINCI_EVM -#define GPIO_nVBUS_DRV 87 +#define GPIO_nVBUS_DRV 144 #endif #include "davinci.h"