All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Weber <weber@corscience.de>
To: linux-omap@vger.kernel.org
Cc: tony@atomide.com, Thomas Weber <weber@corscience.de>
Subject: [PATCH 6/9] OMAP: Devkit8000: Remove unused pins
Date: Wed, 24 Mar 2010 13:52:15 +0100	[thread overview]
Message-ID: <1269435138-27192-7-git-send-email-weber@corscience.de> (raw)
In-Reply-To: <1269435138-27192-1-git-send-email-weber@corscience.de>

Old code from original patch contains beagle board pins that are
not available on the Devkit8000.

Signed-off-by: Thomas Weber <weber@corscience.de>
---
 arch/arm/mach-omap2/board-devkit8000.c |   20 --------------------
 1 files changed, 0 insertions(+), 20 deletions(-)

diff --git a/arch/arm/mach-omap2/board-devkit8000.c b/arch/arm/mach-omap2/board-devkit8000.c
index c3b5e02..f8583ce 100644
--- a/arch/arm/mach-omap2/board-devkit8000.c
+++ b/arch/arm/mach-omap2/board-devkit8000.c
@@ -268,20 +268,6 @@ static int devkit8000_twl_gpio_setup(struct device *dev,
 	devkit8000_vmmc1_supply.dev = mmc[0].dev;
 	devkit8000_vsim_supply.dev = mmc[0].dev;
 
-	/* REVISIT: need ehci-omap hooks for external VBUS
-	 * power switch and overcurrent detect
-	 */
-
-	gpio_request(gpio + 1, "EHCI_nOC");
-	gpio_direction_input(gpio + 1);
-
-	/* TWL4030_GPIO_MAX + 0 == ledA, EHCI nEN_USB_PWR (out, active low) */
-	gpio_request(gpio + TWL4030_GPIO_MAX, "nEN_USB_PWR");
-	gpio_direction_output(gpio + TWL4030_GPIO_MAX, 1);
-
-	/* TWL4030_GPIO_MAX + 1 == ledB, PMU_STAT (out, active low LED) */
-	gpio_leds[2].gpio = gpio + TWL4030_GPIO_MAX + 1;
-
 	return 0;
 }
 
@@ -664,12 +650,6 @@ static void __init devkit8000_init(void)
 
 	devkit8000_ads7846_init();
 
-	omap_mux_init_gpio(170, OMAP_PIN_INPUT);
-
-	gpio_request(170, "DVI_nPD");
-	/* REVISIT leave DVI powered down until it's needed ... */
-	gpio_direction_output(170, true);
-
 	usb_musb_init(&musb_board_data);
 	usb_ehci_init(&ehci_pdata);
 	devkit8000_flash_init();
-- 
1.6.4.4


  parent reply	other threads:[~2010-03-24 12:53 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-24 12:52 [PATCH 0/9] OMAP: Devkit8000: Fix problems with package and usb Thomas Weber
2010-03-24 12:52 ` [PATCH 1/9] OMAP: Devkit8000: Fix typo in supplies Thomas Weber
2010-04-23  0:13   ` [APPLIED] " Tony Lindgren
2010-03-24 12:52 ` [PATCH 2/9] OMAP: Devkit8000: Add missing package selection Thomas Weber
2010-03-24 12:58   ` Felipe Balbi
2010-03-24 20:29     ` Thomas Weber
2010-03-25  7:42       ` Felipe Balbi
2010-04-23  0:14   ` [APPLIED] " Tony Lindgren
2010-03-24 12:52 ` [PATCH 3/9] OMAP: Devkit8000: Fix typo in pin name Thomas Weber
2010-04-23  0:14   ` [APPLIED] " Tony Lindgren
2010-03-24 12:52 ` [PATCH 4/9] OMAP: Devkit8000: Remove unnecessary include file Thomas Weber
2010-04-23  0:15   ` [APPLIED] " Tony Lindgren
2010-03-24 12:52 ` [PATCH 5/9] OMAP: Devkit8000: Change position of init calls Thomas Weber
2010-04-23  0:15   ` [APPLIED] " Tony Lindgren
2010-03-24 12:52 ` Thomas Weber [this message]
2010-04-23  0:15   ` [APPLIED] [PATCH 6/9] OMAP: Devkit8000: Remove unused pins Tony Lindgren
2010-03-24 12:52 ` [PATCH 7/9] OMAP: Devkit8000: Fix wrong usb port on Devkit8000 Thomas Weber
2010-03-24 13:00   ` Felipe Balbi
2010-03-29 20:34     ` Felipe Balbi
2010-03-30  5:38       ` Gadiyar, Anand
2010-03-30  7:16         ` Thomas Weber
2010-03-30  6:29           ` Gadiyar, Anand
2010-04-07 17:47             ` Thomas Weber
2010-04-22 22:13   ` [APPLIED] " Tony Lindgren
2010-03-24 12:52 ` [PATCH 8/9] OMAP: Devkit8000: Add mux initialization Thomas Weber
2010-05-04 20:47   ` [APPLIED] " Tony Lindgren
2010-03-24 12:52 ` [PATCH 9/9] OMAP: Devkit8000: Update default configuration Thomas Weber
2010-05-04 20:49   ` [APPLIED] " Tony Lindgren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1269435138-27192-7-git-send-email-weber@corscience.de \
    --to=weber@corscience.de \
    --cc=linux-omap@vger.kernel.org \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.