* [PATCH 1/3] ARM: DRA7XX/AM43XX: randconfig fixes
2014-01-17 20:25 [PATCH 0/3] ARM: OMAP: clk-next-omap emergency fixes Tero Kristo
@ 2014-01-17 20:25 ` Tero Kristo
2014-01-17 20:25 ` [PATCH 2/3] ARM: DRA7XX: Add support for DRA7XX only build Tero Kristo
` (2 subsequent siblings)
3 siblings, 0 replies; 7+ messages in thread
From: Tero Kristo @ 2014-01-17 20:25 UTC (permalink / raw)
To: linux-arm-kernel
DRA7XX and AM43XX were missing common clock code from the Makefile, which
causes build breakage in DRA7XX / AM43XX only builds once clock support
for these SoCs is added. Add the missing entries to the Makefile as
preparation of this.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
---
arch/arm/mach-omap2/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile
index 088305f..96a990f 100644
--- a/arch/arm/mach-omap2/Makefile
+++ b/arch/arm/mach-omap2/Makefile
@@ -191,6 +191,9 @@ obj-$(CONFIG_ARCH_OMAP4) += dpll3xxx.o dpll44xx.o
obj-$(CONFIG_SOC_AM33XX) += $(clock-common) dpll3xxx.o
obj-$(CONFIG_SOC_OMAP5) += $(clock-common)
obj-$(CONFIG_SOC_OMAP5) += dpll3xxx.o dpll44xx.o
+obj-$(CONFIG_SOC_DRA7XX) += $(clock-common)
+obj-$(CONFIG_SOC_DRA7XX) += dpll3xxx.o dpll44xx.o
+obj-$(CONFIG_SOC_AM43XX) += $(clock-common) dpll3xxx.o
# OMAP2 clock rate set data (old "OPP" data)
obj-$(CONFIG_SOC_OMAP2420) += opp2420_data.o
--
1.7.9.5
^ permalink raw reply related [flat|nested] 7+ messages in thread* [PATCH 2/3] ARM: DRA7XX: Add support for DRA7XX only build
2014-01-17 20:25 [PATCH 0/3] ARM: OMAP: clk-next-omap emergency fixes Tero Kristo
2014-01-17 20:25 ` [PATCH 1/3] ARM: DRA7XX/AM43XX: randconfig fixes Tero Kristo
@ 2014-01-17 20:25 ` Tero Kristo
2014-01-17 20:25 ` [PATCH 3/3] clk: ti: OMAP build fixes Tero Kristo
2014-01-17 21:37 ` [PATCH 0/3] ARM: OMAP: clk-next-omap emergency fixes Mike Turquette
3 siblings, 0 replies; 7+ messages in thread
From: Tero Kristo @ 2014-01-17 20:25 UTC (permalink / raw)
To: linux-arm-kernel
SOC_DRA7XX was under wrong menu within Kconfig file, which prevented
DRA7XX only build. Fixed the kconfig options for this SoC as we are
there. voltage.c needs to be added to the DRA7XX build also, otherwise
DRA7XX only build will fail.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
---
arch/arm/mach-omap2/Kconfig | 18 ++++++++++--------
arch/arm/mach-omap2/Makefile | 1 +
2 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
index dc21df1..e65948a 100644
--- a/arch/arm/mach-omap2/Kconfig
+++ b/arch/arm/mach-omap2/Kconfig
@@ -76,6 +76,16 @@ config SOC_AM43XX
select ARM_GIC
select MACH_OMAP_GENERIC
+config SOC_DRA7XX
+ bool "TI DRA7XX"
+ depends on ARCH_MULTI_V7
+ select ARCH_OMAP2PLUS
+ select ARM_CPU_SUSPEND if PM
+ select ARM_GIC
+ select CPU_V7
+ select HAVE_SMP
+ select HAVE_ARM_ARCH_TIMER
+
config ARCH_OMAP2PLUS
bool
select ARCH_HAS_BANDGAP
@@ -128,14 +138,6 @@ config SOC_HAS_REALTIME_COUNTER
depends on SOC_OMAP5 || SOC_DRA7XX
default y
-config SOC_DRA7XX
- bool "TI DRA7XX"
- select ARM_ARCH_TIMER
- select CPU_V7
- select ARM_GIC
- select HAVE_SMP
- select COMMON_CLK
-
comment "OMAP Core Type"
depends on ARCH_OMAP2
diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile
index 96a990f..8ebe9f3 100644
--- a/arch/arm/mach-omap2/Makefile
+++ b/arch/arm/mach-omap2/Makefile
@@ -132,6 +132,7 @@ obj-$(CONFIG_SOC_AM33XX) += $(voltagedomain-common)
obj-$(CONFIG_SOC_AM43XX) += $(voltagedomain-common)
obj-$(CONFIG_SOC_OMAP5) += $(voltagedomain-common)
obj-$(CONFIG_SOC_OMAP5) += voltagedomains54xx_data.o
+obj-$(CONFIG_SOC_DRA7XX) += $(voltagedomain-common)
# OMAP powerdomain framework
powerdomain-common += powerdomain.o powerdomain-common.o
--
1.7.9.5
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 3/3] clk: ti: OMAP build fixes
2014-01-17 20:25 [PATCH 0/3] ARM: OMAP: clk-next-omap emergency fixes Tero Kristo
2014-01-17 20:25 ` [PATCH 1/3] ARM: DRA7XX/AM43XX: randconfig fixes Tero Kristo
2014-01-17 20:25 ` [PATCH 2/3] ARM: DRA7XX: Add support for DRA7XX only build Tero Kristo
@ 2014-01-17 20:25 ` Tero Kristo
2014-01-17 21:37 ` [PATCH 0/3] ARM: OMAP: clk-next-omap emergency fixes Mike Turquette
3 siblings, 0 replies; 7+ messages in thread
From: Tero Kristo @ 2014-01-17 20:25 UTC (permalink / raw)
To: linux-arm-kernel
Improper merge of TI clock driver resulted in build breakage for OMAP1 build,
and various other TI single SoC builds. This patch fixes those by adding the
missed Makefile tweaks.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
---
drivers/clk/Makefile | 2 +-
drivers/clk/ti/Makefile | 17 +++++++++--------
2 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/drivers/clk/Makefile b/drivers/clk/Makefile
index 1f3143f..13c1e91 100644
--- a/drivers/clk/Makefile
+++ b/drivers/clk/Makefile
@@ -38,7 +38,7 @@ obj-$(CONFIG_PLAT_SAMSUNG) += samsung/
obj-$(CONFIG_COMMON_CLK_XGENE) += clk-xgene.o
obj-$(CONFIG_COMMON_CLK_KEYSTONE) += keystone/
obj-$(CONFIG_ARCH_SHMOBILE_MULTI) += shmobile/
-obj-$(CONFIG_ARCH_OMAP) += ti/
+obj-$(CONFIG_ARCH_OMAP2PLUS) += ti/
obj-$(CONFIG_X86) += x86/
diff --git a/drivers/clk/ti/Makefile b/drivers/clk/ti/Makefile
index 007c3c2..4319d40 100644
--- a/drivers/clk/ti/Makefile
+++ b/drivers/clk/ti/Makefile
@@ -1,10 +1,11 @@
ifneq ($(CONFIG_OF),)
-obj-y += clk.o dpll.o autoidle.o divider.o \
- fixed-factor.o gate.o clockdomain.o \
- composite.o mux.o apll.o clk-43xx.o
-obj-$(CONFIG_SOC_AM33XX) += clk-33xx.o
-obj-$(CONFIG_ARCH_OMAP3) += interface.o clk-3xxx.o
-obj-$(CONFIG_ARCH_OMAP4) += clk-44xx.o
-obj-$(CONFIG_SOC_OMAP5) += clk-54xx.o
-obj-$(CONFIG_SOC_DRA7XX) += clk-7xx.o
+obj-y += clk.o autoidle.o clockdomain.o
+clk-common = dpll.o composite.o divider.o gate.o \
+ fixed-factor.o mux.o apll.o
+obj-$(CONFIG_SOC_AM33XX) += $(clk-common) clk-33xx.o
+obj-$(CONFIG_ARCH_OMAP3) += $(clk-common) interface.o clk-3xxx.o
+obj-$(CONFIG_ARCH_OMAP4) += $(clk-common) clk-44xx.o
+obj-$(CONFIG_SOC_OMAP5) += $(clk-common) clk-54xx.o
+obj-$(CONFIG_SOC_DRA7XX) += $(clk-common) clk-7xx.o
+obj-$(CONFIG_SOC_AM43XX) += $(clk-common) clk-43xx.o
endif
--
1.7.9.5
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 0/3] ARM: OMAP: clk-next-omap emergency fixes
2014-01-17 20:25 [PATCH 0/3] ARM: OMAP: clk-next-omap emergency fixes Tero Kristo
` (2 preceding siblings ...)
2014-01-17 20:25 ` [PATCH 3/3] clk: ti: OMAP build fixes Tero Kristo
@ 2014-01-17 21:37 ` Mike Turquette
2014-01-18 17:50 ` Tony Lindgren
3 siblings, 1 reply; 7+ messages in thread
From: Mike Turquette @ 2014-01-17 21:37 UTC (permalink / raw)
To: linux-arm-kernel
Quoting Tero Kristo (2014-01-17 12:25:37)
> Hi,
>
> Quick emergency band-aid for the build breakages introduced in clk-next
> by Mike. I didn't have time to test this out (Nishanth will provide some
> logs) and I will leave the decision whether/how to use these patches or not
> to Tony + Mike.
>
> I also pushed a test branch based on top of clk-next here:
> tree: https://github.com/t-kristo/linux-pm.git
> branch: clk-next-omap-fixes
Thanks Tero. I force updated the clk tree with the right branch, so
these should not be necessary now.
Regards,
Mike
>
> -Tero
>
^ permalink raw reply [flat|nested] 7+ messages in thread* [PATCH 0/3] ARM: OMAP: clk-next-omap emergency fixes
2014-01-17 21:37 ` [PATCH 0/3] ARM: OMAP: clk-next-omap emergency fixes Mike Turquette
@ 2014-01-18 17:50 ` Tony Lindgren
2014-01-20 7:43 ` Mike Turquette
0 siblings, 1 reply; 7+ messages in thread
From: Tony Lindgren @ 2014-01-18 17:50 UTC (permalink / raw)
To: linux-arm-kernel
* Mike Turquette <mturquette@linaro.org> [140117 13:39]:
> Quoting Tero Kristo (2014-01-17 12:25:37)
> > Hi,
> >
> > Quick emergency band-aid for the build breakages introduced in clk-next
> > by Mike. I didn't have time to test this out (Nishanth will provide some
> > logs) and I will leave the decision whether/how to use these patches or not
> > to Tony + Mike.
> >
> > I also pushed a test branch based on top of clk-next here:
> > tree: https://github.com/t-kristo/linux-pm.git
> > branch: clk-next-omap-fixes
>
> Thanks Tero. I force updated the clk tree with the right branch, so
> these should not be necessary now.
Great, and just for reference if I did not do it yet for these:
Acked-by: Tony Lindgren <tony@atomide.com>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 0/3] ARM: OMAP: clk-next-omap emergency fixes
2014-01-18 17:50 ` Tony Lindgren
@ 2014-01-20 7:43 ` Mike Turquette
0 siblings, 0 replies; 7+ messages in thread
From: Mike Turquette @ 2014-01-20 7:43 UTC (permalink / raw)
To: linux-arm-kernel
On Sat, Jan 18, 2014 at 9:50 AM, Tony Lindgren <tony@atomide.com> wrote:
> * Mike Turquette <mturquette@linaro.org> [140117 13:39]:
>> Quoting Tero Kristo (2014-01-17 12:25:37)
>> > Hi,
>> >
>> > Quick emergency band-aid for the build breakages introduced in clk-next
>> > by Mike. I didn't have time to test this out (Nishanth will provide some
>> > logs) and I will leave the decision whether/how to use these patches or not
>> > to Tony + Mike.
>> >
>> > I also pushed a test branch based on top of clk-next here:
>> > tree: https://github.com/t-kristo/linux-pm.git
>> > branch: clk-next-omap-fixes
>>
>> Thanks Tero. I force updated the clk tree with the right branch, so
>> these should not be necessary now.
>
> Great, and just for reference if I did not do it yet for these:
>
> Acked-by: Tony Lindgren <tony@atomide.com>
I applied your Ack to entire series (these fixes, clock drivers and
arch/arm changes).
Regards,
Mike
^ permalink raw reply [flat|nested] 7+ messages in thread