From patchwork Wed Aug 10 12:17:11 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 3351 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 73E37241D9 for ; Wed, 10 Aug 2011 12:17:25 +0000 (UTC) Received: from mail-qw0-f52.google.com (mail-qw0-f52.google.com [209.85.216.52]) by fiordland.canonical.com (Postfix) with ESMTP id 4361BA182F7 for ; Wed, 10 Aug 2011 12:17:25 +0000 (UTC) Received: by mail-qw0-f52.google.com with SMTP id 8so746446qwb.11 for ; Wed, 10 Aug 2011 05:17:25 -0700 (PDT) Received: by 10.229.44.195 with SMTP id b3mr6393629qcf.7.1312978645001; Wed, 10 Aug 2011 05:17:25 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.229.190.71 with SMTP id dh7cs78426qcb; Wed, 10 Aug 2011 05:17:24 -0700 (PDT) Received: from mr.google.com ([10.213.20.84]) by 10.213.20.84 with SMTP id e20mr159743ebb.85.1312978644678 (num_hops = 1); Wed, 10 Aug 2011 05:17:24 -0700 (PDT) Received: by 10.213.20.84 with SMTP id e20mr122492ebb.85.1312978644151; Wed, 10 Aug 2011 05:17:24 -0700 (PDT) Received: from eu1sys200aog103.obsmtp.com (eu1sys200aog103.obsmtp.com [207.126.144.115]) by mx.google.com with SMTP id t52si593213eeb.213.2011.08.10.05.17.16 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 10 Aug 2011 05:17:24 -0700 (PDT) Received-SPF: neutral (google.com: 207.126.144.115 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) client-ip=207.126.144.115; Authentication-Results: mx.google.com; spf=neutral (google.com: 207.126.144.115 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) smtp.mail=linus.walleij@stericsson.com Received: from beta.dmz-us.st.com ([167.4.1.35]) (using TLSv1) by eu1sys200aob103.postini.com ([207.126.147.11]) with SMTP ID DSNKTkJ2zM7geaxLz9qjrISGAKh71ucYhvbb@postini.com; Wed, 10 Aug 2011 12:17:24 UTC Received: from zeta.dmz-us.st.com (ns4.st.com [167.4.16.71]) by beta.dmz-us.st.com (STMicroelectronics) with ESMTP id 40B4549; Wed, 10 Aug 2011 12:17:15 +0000 (GMT) Received: from relay1.stm.gmessaging.net (unknown [10.230.100.17]) by zeta.dmz-us.st.com (STMicroelectronics) with ESMTP id CC1D46D; Wed, 10 Aug 2011 12:17:14 +0000 (GMT) Received: from exdcvycastm003.EQ1STM.local (alteon-source-exch [10.230.100.61]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "exdcvycastm003", Issuer "exdcvycastm003" (not verified)) by relay1.stm.gmessaging.net (Postfix) with ESMTPS id D08F424C075; Wed, 10 Aug 2011 14:17:07 +0200 (CEST) Received: from localhost.localdomain (10.230.100.153) by smtp.stericsson.com (10.230.100.1) with Microsoft SMTP Server (TLS) id 8.3.83.0; Wed, 10 Aug 2011 14:17:14 +0200 From: Linus Walleij To: Grant Likely , , Cc: Lee Jones , Linus Walleij , Sekhar Nori , Kevin Hilman Subject: [PATCH 07/19] mach-davinci: move GPIO driver to GPIO subsystem Date: Wed, 10 Aug 2011 14:17:11 +0200 Message-ID: <1312978631-18306-1-git-send-email-linus.walleij@stericsson.com> X-Mailer: git-send-email 1.7.3.2 MIME-Version: 1.0 From: Linus Walleij As per example from the other ARM boards, push the DaVinci GPIO driver down to the GPIO subsystem so it can be consolidated. Cc: Sekhar Nori Cc: Kevin Hilman Signed-off-by: Linus Walleij --- arch/arm/mach-davinci/Makefile | 2 +- drivers/gpio/Makefile | 1 + .../gpio.c => drivers/gpio/gpio-davinci.c | 0 3 files changed, 2 insertions(+), 1 deletions(-) rename arch/arm/mach-davinci/gpio.c => drivers/gpio/gpio-davinci.c (100%) diff --git a/arch/arm/mach-davinci/gpio.c b/drivers/gpio/gpio-davinci.c similarity index 100% rename from arch/arm/mach-davinci/gpio.c rename to drivers/gpio/gpio-davinci.c diff --git a/arch/arm/mach-davinci/Makefile b/arch/arm/mach-davinci/Makefile index 0b87a1c..8f3c8ee 100644 --- a/arch/arm/mach-davinci/Makefile +++ b/arch/arm/mach-davinci/Makefile @@ -5,7 +5,7 @@ # Common objects obj-y := time.o clock.o serial.o io.o psc.o \ - gpio.o dma.o usb.o common.o sram.o aemif.o + dma.o usb.o common.o sram.o aemif.o obj-$(CONFIG_DAVINCI_MUX) += mux.o diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile index 27295cb..a26fffa 100644 --- a/drivers/gpio/Makefile +++ b/drivers/gpio/Makefile @@ -14,6 +14,7 @@ obj-$(CONFIG_GPIO_ADP5588) += gpio-adp5588.o obj-$(CONFIG_GPIO_BT8XX) += gpio-bt8xx.o obj-$(CONFIG_GPIO_CS5535) += gpio-cs5535.o obj-$(CONFIG_GPIO_DA9052) += gpio-da9052.o +obj-$(CONFIG_ARCH_DAVINCI) += gpio-davinci.o obj-$(CONFIG_GPIO_EP93XX) += gpio-ep93xx.o obj-$(CONFIG_GPIO_EXYNOS4) += gpio-exynos4.o obj-$(CONFIG_GPIO_IT8761E) += gpio-it8761e.o