Re: [PATCH v2 08/13] OMAP4: hwmod: Enable omap_device build for OMAP4

2010-06-25 Thread Cousson, Benoit

Kevin,

On 6/25/2010 1:44 AM, Kevin Hilman wrote:

From: Rajendra Nayakrna...@ti.com

Enable omap_device layer support for OMAP4, so that drivers can
use them to enable/idle/shutdown devices.

Signed-off-by: Rajendra Nayakrna...@ti.com
Signed-off-by: Benoit Coussonb-cous...@ti.com
Cc: Paul Walmsleyp...@pwsan.com
Signed-off-by: Kevin Hilmankhil...@deeprootsystems.com
---
  arch/arm/plat-omap/Makefile |1 +
  1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/plat-omap/Makefile b/arch/arm/plat-omap/Makefile
index 98f0191..9405831 100644
--- a/arch/arm/plat-omap/Makefile
+++ b/arch/arm/plat-omap/Makefile
@@ -15,6 +15,7 @@ obj-$(CONFIG_ARCH_OMAP16XX) += ocpi.o
  # omap_device support (OMAP2+ only at the moment)
  obj-$(CONFIG_ARCH_OMAP2) += omap_device.o
  obj-$(CONFIG_ARCH_OMAP3) += omap_device.o
+obj-$(CONFIG_ARCH_OMAP4) += omap_device.o

  obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o
  obj-$(CONFIG_OMAP_IOMMU) += iommu.o iovmm.o


You need as well to enable omap_hwmod.c build otherwise it cannot build 
on OMAP4.


diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile 
index 8ed47ea..5de06c3 100644

--- a/arch/arm/mach-omap2/Makefile
+++ b/arch/arm/mach-omap2/Makefile
@@ -15,7 +15,7 @@ clock-common  = clock.o 
clock_common_data.o \


 obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(prcm-common) 
$(hwmod-common)
 obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(prcm-common) 
$(hwmod-common)

-obj-$(CONFIG_ARCH_OMAP4) += $(prcm-common)
+obj-$(CONFIG_ARCH_OMAP4) += $(prcm-common) $(hwmod-common)

 obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o


Benoit
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH v2 08/13] OMAP4: hwmod: Enable omap_device build for OMAP4

2010-06-25 Thread Kevin Hilman
Cousson, Benoit b-cous...@ti.com writes:

 On 6/25/2010 1:44 AM, Kevin Hilman wrote:
 From: Rajendra Nayakrna...@ti.com

 Enable omap_device layer support for OMAP4, so that drivers can
 use them to enable/idle/shutdown devices.

 Signed-off-by: Rajendra Nayakrna...@ti.com
 Signed-off-by: Benoit Coussonb-cous...@ti.com
 Cc: Paul Walmsleyp...@pwsan.com
 Signed-off-by: Kevin Hilmankhil...@deeprootsystems.com
 ---
   arch/arm/plat-omap/Makefile |1 +
   1 files changed, 1 insertions(+), 0 deletions(-)

 diff --git a/arch/arm/plat-omap/Makefile b/arch/arm/plat-omap/Makefile
 index 98f0191..9405831 100644
 --- a/arch/arm/plat-omap/Makefile
 +++ b/arch/arm/plat-omap/Makefile
 @@ -15,6 +15,7 @@ obj-$(CONFIG_ARCH_OMAP16XX) += ocpi.o
   # omap_device support (OMAP2+ only at the moment)
   obj-$(CONFIG_ARCH_OMAP2) += omap_device.o
   obj-$(CONFIG_ARCH_OMAP3) += omap_device.o
 +obj-$(CONFIG_ARCH_OMAP4) += omap_device.o

   obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o
   obj-$(CONFIG_OMAP_IOMMU) += iommu.o iovmm.o

 You need as well to enable omap_hwmod.c build otherwise it cannot
 build on OMAP4.

Doh, sorry.  Pushed an updated pm-wip/hwmods with this folded into
$SUBJECT patch.

Kevin

 diff --git a/arch/arm/mach-omap2/Makefile
 b/arch/arm/mach-omap2/Makefile index 8ed47ea..5de06c3 100644
 --- a/arch/arm/mach-omap2/Makefile
 +++ b/arch/arm/mach-omap2/Makefile
 @@ -15,7 +15,7 @@ clock-common  = clock.o
 clock_common_data.o \

  obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(prcm-common)
 $(hwmod-common)
  obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(prcm-common)
 $(hwmod-common)
 -obj-$(CONFIG_ARCH_OMAP4) += $(prcm-common)
 +obj-$(CONFIG_ARCH_OMAP4) += $(prcm-common) $(hwmod-common)

  obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o


 Benoit
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH v2 08/13] OMAP4: hwmod: Enable omap_device build for OMAP4

2010-06-24 Thread Kevin Hilman
From: Rajendra Nayak rna...@ti.com

Enable omap_device layer support for OMAP4, so that drivers can
use them to enable/idle/shutdown devices.

Signed-off-by: Rajendra Nayak rna...@ti.com
Signed-off-by: Benoit Cousson b-cous...@ti.com
Cc: Paul Walmsley p...@pwsan.com
Signed-off-by: Kevin Hilman khil...@deeprootsystems.com
---
 arch/arm/plat-omap/Makefile |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/plat-omap/Makefile b/arch/arm/plat-omap/Makefile
index 98f0191..9405831 100644
--- a/arch/arm/plat-omap/Makefile
+++ b/arch/arm/plat-omap/Makefile
@@ -15,6 +15,7 @@ obj-$(CONFIG_ARCH_OMAP16XX) += ocpi.o
 # omap_device support (OMAP2+ only at the moment)
 obj-$(CONFIG_ARCH_OMAP2) += omap_device.o
 obj-$(CONFIG_ARCH_OMAP3) += omap_device.o
+obj-$(CONFIG_ARCH_OMAP4) += omap_device.o
 
 obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o
 obj-$(CONFIG_OMAP_IOMMU) += iommu.o iovmm.o
-- 
1.7.0.2

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html