From: Roger Quadros <rogerq@ti.com>
To: Tony Lindgren <tony@atomide.com>, linux-omap@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org,
Arnd Bergmann <arnd@arndb.de>,
"Vutla, Lokesh" <lokeshvutla@ti.com>,
"Nori, Sekhar" <nsekhar@ti.com>
Subject: Re: [PATCH 3/3] drivers: bus: Move omap gpmc code to live under drivers
Date: Fri, 21 Nov 2014 11:15:05 +0200 [thread overview]
Message-ID: <546F0299.1070508@ti.com> (raw)
In-Reply-To: <1416522501-14999-4-git-send-email-tony@atomide.com>
Hi Tony,
On 11/21/2014 12:28 AM, Tony Lindgren wrote:
> Just move to drivers as further clean-up can now happen there
> finally.
>
> Cc: Arnd Bergmann <arnd@arndb.de>
> Cc: Roger Quadros <rogerq@ti.com>
> Signed-off-by: Tony Lindgren <tony@atomide.com>
> ---
> arch/arm/mach-omap2/Kconfig | 1 +
> arch/arm/mach-omap2/Makefile | 2 +-
> drivers/bus/Kconfig | 3 +++
> drivers/bus/Makefile | 3 ++-
> arch/arm/mach-omap2/gpmc.c => drivers/bus/omap-gpmc.c | 0
> 5 files changed, 7 insertions(+), 2 deletions(-)
> rename arch/arm/mach-omap2/gpmc.c => drivers/bus/omap-gpmc.c (100%)
Should we move it to drivers/memory/ instead?
TI_AEMIF driver lives there. This is similar to OMAP-GPMC for but for
Davinci and Keystone platforms.
>
> diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
> index f4d06ae..3021901 100644
> --- a/arch/arm/mach-omap2/Kconfig
> +++ b/arch/arm/mach-omap2/Kconfig
> @@ -80,6 +80,7 @@ config ARCH_OMAP2PLUS
> select GENERIC_IRQ_CHIP
> select MACH_OMAP_GENERIC
> select OMAP_DM_TIMER
> + select OMAP_GPMC
> select PINCTRL
> select SOC_BUS
> select TI_PRIV_EDMA
> diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile
> index 3e824f8..bd85741 100644
> --- a/arch/arm/mach-omap2/Makefile
> +++ b/arch/arm/mach-omap2/Makefile
> @@ -6,7 +6,7 @@ ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include \
> -I$(srctree)/arch/arm/plat-omap/include
>
> # Common support
> -obj-y := id.o io.o control.o mux.o devices.o fb.o serial.o gpmc.o timer.o pm.o \
> +obj-y := id.o io.o control.o mux.o devices.o fb.o serial.o timer.o pm.o \
> common.o gpio.o dma.o wd_timer.o display.o i2c.o hdq1w.o omap_hwmod.o \
> omap_device.o sram.o drm.o
>
> diff --git a/drivers/bus/Kconfig b/drivers/bus/Kconfig
> index 603eb1b..09aacc8 100644
> --- a/drivers/bus/Kconfig
> +++ b/drivers/bus/Kconfig
> @@ -27,6 +27,9 @@ config MVEBU_MBUS
> Driver needed for the MBus configuration on Marvell EBU SoCs
> (Kirkwood, Dove, Orion5x, MV78XX0 and Armada 370/XP).
>
> +config OMAP_GPMC
> + bool
> +
Description? I had put this from a similar patch that I created earlier
+ This driver is for the General Purpose Memory Controller (GPMC)
+ present on Texas Instruments SoCs (e.g. OMAP2+). GPMC allows
+ interfacing to a variety of asynchronous as well as synchronous
+ memory drives like NOR, NAND, OneNAND, SRAM.
+
cheers,
-roger
> config OMAP_OCP2SCP
> tristate "OMAP OCP2SCP DRIVER"
> depends on ARCH_OMAP2PLUS
> diff --git a/drivers/bus/Makefile b/drivers/bus/Makefile
> index 2973c18..96e77dd 100644
> --- a/drivers/bus/Makefile
> +++ b/drivers/bus/Makefile
> @@ -5,7 +5,8 @@
> obj-$(CONFIG_BRCMSTB_GISB_ARB) += brcmstb_gisb.o
> obj-$(CONFIG_IMX_WEIM) += imx-weim.o
> obj-$(CONFIG_MVEBU_MBUS) += mvebu-mbus.o
> -obj-$(CONFIG_OMAP_OCP2SCP) += omap-ocp2scp.o
> +
> +obj-$(CONFIG_OMAP_GPMC) += omap-gpmc.o
>
> # Interconnect bus driver for OMAP SoCs.
> obj-$(CONFIG_OMAP_INTERCONNECT) += omap_l3_smx.o omap_l3_noc.o
> diff --git a/arch/arm/mach-omap2/gpmc.c b/drivers/bus/omap-gpmc.c
> similarity index 100%
> rename from arch/arm/mach-omap2/gpmc.c
> rename to drivers/bus/omap-gpmc.c
>
WARNING: multiple messages have this Message-ID (diff)
From: rogerq@ti.com (Roger Quadros)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/3] drivers: bus: Move omap gpmc code to live under drivers
Date: Fri, 21 Nov 2014 11:15:05 +0200 [thread overview]
Message-ID: <546F0299.1070508@ti.com> (raw)
In-Reply-To: <1416522501-14999-4-git-send-email-tony@atomide.com>
Hi Tony,
On 11/21/2014 12:28 AM, Tony Lindgren wrote:
> Just move to drivers as further clean-up can now happen there
> finally.
>
> Cc: Arnd Bergmann <arnd@arndb.de>
> Cc: Roger Quadros <rogerq@ti.com>
> Signed-off-by: Tony Lindgren <tony@atomide.com>
> ---
> arch/arm/mach-omap2/Kconfig | 1 +
> arch/arm/mach-omap2/Makefile | 2 +-
> drivers/bus/Kconfig | 3 +++
> drivers/bus/Makefile | 3 ++-
> arch/arm/mach-omap2/gpmc.c => drivers/bus/omap-gpmc.c | 0
> 5 files changed, 7 insertions(+), 2 deletions(-)
> rename arch/arm/mach-omap2/gpmc.c => drivers/bus/omap-gpmc.c (100%)
Should we move it to drivers/memory/ instead?
TI_AEMIF driver lives there. This is similar to OMAP-GPMC for but for
Davinci and Keystone platforms.
>
> diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
> index f4d06ae..3021901 100644
> --- a/arch/arm/mach-omap2/Kconfig
> +++ b/arch/arm/mach-omap2/Kconfig
> @@ -80,6 +80,7 @@ config ARCH_OMAP2PLUS
> select GENERIC_IRQ_CHIP
> select MACH_OMAP_GENERIC
> select OMAP_DM_TIMER
> + select OMAP_GPMC
> select PINCTRL
> select SOC_BUS
> select TI_PRIV_EDMA
> diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile
> index 3e824f8..bd85741 100644
> --- a/arch/arm/mach-omap2/Makefile
> +++ b/arch/arm/mach-omap2/Makefile
> @@ -6,7 +6,7 @@ ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include \
> -I$(srctree)/arch/arm/plat-omap/include
>
> # Common support
> -obj-y := id.o io.o control.o mux.o devices.o fb.o serial.o gpmc.o timer.o pm.o \
> +obj-y := id.o io.o control.o mux.o devices.o fb.o serial.o timer.o pm.o \
> common.o gpio.o dma.o wd_timer.o display.o i2c.o hdq1w.o omap_hwmod.o \
> omap_device.o sram.o drm.o
>
> diff --git a/drivers/bus/Kconfig b/drivers/bus/Kconfig
> index 603eb1b..09aacc8 100644
> --- a/drivers/bus/Kconfig
> +++ b/drivers/bus/Kconfig
> @@ -27,6 +27,9 @@ config MVEBU_MBUS
> Driver needed for the MBus configuration on Marvell EBU SoCs
> (Kirkwood, Dove, Orion5x, MV78XX0 and Armada 370/XP).
>
> +config OMAP_GPMC
> + bool
> +
Description? I had put this from a similar patch that I created earlier
+ This driver is for the General Purpose Memory Controller (GPMC)
+ present on Texas Instruments SoCs (e.g. OMAP2+). GPMC allows
+ interfacing to a variety of asynchronous as well as synchronous
+ memory drives like NOR, NAND, OneNAND, SRAM.
+
cheers,
-roger
> config OMAP_OCP2SCP
> tristate "OMAP OCP2SCP DRIVER"
> depends on ARCH_OMAP2PLUS
> diff --git a/drivers/bus/Makefile b/drivers/bus/Makefile
> index 2973c18..96e77dd 100644
> --- a/drivers/bus/Makefile
> +++ b/drivers/bus/Makefile
> @@ -5,7 +5,8 @@
> obj-$(CONFIG_BRCMSTB_GISB_ARB) += brcmstb_gisb.o
> obj-$(CONFIG_IMX_WEIM) += imx-weim.o
> obj-$(CONFIG_MVEBU_MBUS) += mvebu-mbus.o
> -obj-$(CONFIG_OMAP_OCP2SCP) += omap-ocp2scp.o
> +
> +obj-$(CONFIG_OMAP_GPMC) += omap-gpmc.o
>
> # Interconnect bus driver for OMAP SoCs.
> obj-$(CONFIG_OMAP_INTERCONNECT) += omap_l3_smx.o omap_l3_noc.o
> diff --git a/arch/arm/mach-omap2/gpmc.c b/drivers/bus/omap-gpmc.c
> similarity index 100%
> rename from arch/arm/mach-omap2/gpmc.c
> rename to drivers/bus/omap-gpmc.c
>
next prev parent reply other threads:[~2014-11-21 9:15 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-20 22:28 [PATCH 0/3] Move omap GPMC to live in drivers/bus Tony Lindgren
2014-11-20 22:28 ` Tony Lindgren
2014-11-20 22:28 ` [PATCH 1/3] ARM: OMAP2+: Prepare to move GPMC to drivers by platform data header Tony Lindgren
2014-11-20 22:28 ` Tony Lindgren
2014-11-21 9:28 ` Roger Quadros
2014-11-21 9:28 ` Roger Quadros
2014-11-21 16:15 ` Tony Lindgren
2014-11-21 16:15 ` Tony Lindgren
2014-11-21 16:55 ` Tony Lindgren
2014-11-21 16:55 ` Tony Lindgren
2014-11-20 22:28 ` [PATCH 2/3] ARM: OMAP2+: Move GPMC initcall to devices.c Tony Lindgren
2014-11-20 22:28 ` Tony Lindgren
2014-11-21 9:41 ` Roger Quadros
2014-11-21 9:41 ` Roger Quadros
2014-11-21 16:17 ` Tony Lindgren
2014-11-21 16:17 ` Tony Lindgren
2014-11-20 22:28 ` [PATCH 3/3] drivers: bus: Move omap gpmc code to live under drivers Tony Lindgren
2014-11-20 22:28 ` Tony Lindgren
2014-11-21 8:05 ` Lokesh Vutla
2014-11-21 8:05 ` Lokesh Vutla
2014-11-21 17:18 ` Tony Lindgren
2014-11-21 17:18 ` Tony Lindgren
2014-11-21 9:15 ` Roger Quadros [this message]
2014-11-21 9:15 ` Roger Quadros
2014-11-21 11:15 ` Arnd Bergmann
2014-11-21 11:15 ` Arnd Bergmann
2014-11-21 16:18 ` Tony Lindgren
2014-11-21 16:18 ` 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=546F0299.1070508@ti.com \
--to=rogerq@ti.com \
--cc=arnd@arndb.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-omap@vger.kernel.org \
--cc=lokeshvutla@ti.com \
--cc=nsekhar@ti.com \
--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.