From patchwork Mon Apr 18 04:01:24 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chander Kashyap X-Patchwork-Id: 1064 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:45 -0000 Delivered-To: patches@linaro.org Received: by 10.224.67.148 with SMTP id r20cs21116qai; Sun, 17 Apr 2011 21:01:44 -0700 (PDT) Received: by 10.227.202.15 with SMTP id fc15mr4471245wbb.214.1303099303214; Sun, 17 Apr 2011 21:01:43 -0700 (PDT) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx.google.com with ESMTPS id h47si9274361wer.76.2011.04.17.21.01.42 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 17 Apr 2011 21:01:43 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.50 is neither permitted nor denied by best guess record for domain of chander.kashyap@linaro.org) client-ip=74.125.82.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.50 is neither permitted nor denied by best guess record for domain of chander.kashyap@linaro.org) smtp.mail=chander.kashyap@linaro.org Received: by wwc33 with SMTP id 33so5065749wwc.31 for ; Sun, 17 Apr 2011 21:01:42 -0700 (PDT) Received: by 10.216.232.8 with SMTP id m8mr4470018weq.22.1303099302388; Sun, 17 Apr 2011 21:01:42 -0700 (PDT) Received: from chander-ubuntu ([115.113.119.130]) by mx.google.com with ESMTPS id d6sm2364209wer.2.2011.04.17.21.01.36 (version=SSLv3 cipher=OTHER); Sun, 17 Apr 2011 21:01:41 -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: Mon, 18 Apr 2011 09:31:24 +0530 Message-Id: <1303099284-2338-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 | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) -- 1.7.1 diff --git a/arch/arm/include/asm/arch-s5pc2xx/gpio.h b/arch/arm/include/asm/arch-s5pc2xx/gpio.h index 05e5b3e..e49edd4 100644 --- a/arch/arm/include/asm/arch-s5pc2xx/gpio.h +++ b/arch/arm/include/asm/arch-s5pc2xx/gpio.h @@ -99,14 +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_3X 0x1 +#define GPIO_DRV_2X 0x2 #define GPIO_DRV_4X 0x3 -#define GPIO_DRV_FAST 0x0 -#define GPIO_DRV_SLOW 0x1 #endif