From patchwork Thu Apr 14 09:17:29 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chander Kashyap X-Patchwork-Id: 1015 Return-Path: Delivered-To: unknown Received: from imap.gmail.com (74.125.159.109) by localhost6.localdomain6 with IMAP4-SSL; 08 Jun 2011 14:48:19 -0000 Delivered-To: patches@linaro.org Received: by 10.68.59.138 with SMTP id z10cs23940pbq; Thu, 14 Apr 2011 02:18:19 -0700 (PDT) Received: by 10.216.64.16 with SMTP id b16mr566192wed.5.1302772698108; Thu, 14 Apr 2011 02:18:18 -0700 (PDT) Received: from mail-wy0-f178.google.com (mail-wy0-f178.google.com [74.125.82.178]) by mx.google.com with ESMTPS id p4si2592538wer.81.2011.04.14.02.18.16 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 14 Apr 2011 02:18:17 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.178 is neither permitted nor denied by best guess record for domain of chander.kashyap@linaro.org) client-ip=74.125.82.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.178 is neither permitted nor denied by best guess record for domain of chander.kashyap@linaro.org) smtp.mail=chander.kashyap@linaro.org Received: by wyb33 with SMTP id 33so1469306wyb.37 for ; Thu, 14 Apr 2011 02:18:16 -0700 (PDT) Received: by 10.216.22.79 with SMTP id s57mr3078880wes.94.1302772695901; Thu, 14 Apr 2011 02:18:15 -0700 (PDT) Received: from chander-ubuntu ([115.113.119.130]) by mx.google.com with ESMTPS id z13sm855966wbd.63.2011.04.14.02.18.09 (version=SSLv3 cipher=OTHER); Thu, 14 Apr 2011 02:18:14 -0700 (PDT) From: Chander Kashyap To: u-boot@lists.denx.de Cc: mk7.kang@samsung.com, bjlee@samsung.com, patches@linaro.org, samsung@lists.linaro.org, linaro-dev@lists.linaro.org, Chander Kashyap Subject: [PATCH] S5PC2XX: GPIO Macro Values Corrected. Date: Thu, 14 Apr 2011 14:47:29 +0530 Message-Id: <1302772649-5944-1-git-send-email-chander.kashyap@linaro.org> X-Mailer: git-send-email 1.7.1 Macro values for Pull Up and Driver Strength were wrong. Signed-off-by: Chander Kashyap --- arch/arm/include/asm/arch-s5pc2xx/gpio.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/include/asm/arch-s5pc2xx/gpio.h b/arch/arm/include/asm/arch-s5pc2xx/gpio.h index 05e5b3e..7bfa8e8 100644 --- a/arch/arm/include/asm/arch-s5pc2xx/gpio.h +++ b/arch/arm/include/asm/arch-s5pc2xx/gpio.h @@ -99,12 +99,12 @@ void gpio_set_rate(struct s5p_gpio_bank *bank, int gpio, int mode); /* Pull mode */ #define GPIO_PULL_NONE 0x0 #define GPIO_PULL_DOWN 0x1 -#define GPIO_PULL_UP 0x2 +#define GPIO_PULL_UP 0x3 /* Drive Strength level */ #define GPIO_DRV_1X 0x0 -#define GPIO_DRV_2X 0x1 -#define GPIO_DRV_3X 0x2 +#define GPIO_DRV_2X 0x2 +#define GPIO_DRV_3X 0x1 #define GPIO_DRV_4X 0x3 #define GPIO_DRV_FAST 0x0 #define GPIO_DRV_SLOW 0x1