On Fri, Mar 28, 2014 at 03:21:59PM -0700, Tony Lindgren wrote:
* Russell King - ARM Linux li...@arm.linux.org.uk [140328 14:13]:
On Fri, Mar 28, 2014 at 09:03:59AM -0700, Tony Lindgren wrote:
* Russell King rmk+ker...@arm.linux.org.uk [140328 08:22]:
Missing description?
No, I
Hi,
This set is continuation for the work started earlier to cleanup the CM/PRM
and attempt to make it a separate driver. This set depends on these
two sets:
CM/PRM cleanup set:
http://marc.info/?l=linux-omapm=139395000918201w=2
OMAP2 clock DT set:
OMAP44XX_CM*_REGADDR macros should be avoided, instead use the cm_base*
iomaps.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/cm44xx.c |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/mach-omap2/cm44xx.c b/arch/arm/mach-omap2/cm44xx.c
SoC specific late_init call is now registered during PRM init, and will
be called automatically by PRM core. This helps to get rid of some
redundant initcalls and cpu_is_X checks from the PRM code.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/prm.h|2 ++
Retry init is needed if clockdomains are registered before the corresponding
clocks are ready. In this case, the clockdomain info is added to a list
which will be processed once the clockdomains for next PRCM module are
processed.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
Done in preparation to make CM a standalone driver.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/cm2xxx.c | 19 ++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-omap2/cm2xxx.c b/arch/arm/mach-omap2/cm2xxx.c
index
Done in preparation to make PRM a standalone driver.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/prm44xx.c | 33 -
arch/arm/mach-omap2/prminst44xx.c |3 ++-
2 files changed, 34 insertions(+), 2 deletions(-)
diff --git
This helps to get rid of cpu_is_X checks from within the PRM driver.
Done in preparation to make PRM a separate driver.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/io.c | 17 +
arch/arm/mach-omap2/prm.h | 11 +++
This is different for OMAP4, OMAP5 and DRA7, and is currently checked
runtime with a cpu_is_X check. Replace this with an init time setting.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/prm.h |1 +
arch/arm/mach-omap2/prm44xx.c | 20 +---
Done in preparation to make PRCM a standalone driver.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/cm44xx.c |1 -
arch/arm/mach-omap2/cminst44xx.c |8 +++-
arch/arm/mach-omap2/powerdomain-common.c |1 -
3 files changed, 7 insertions(+), 3
prm_features flag will contain SoC specific feature enabler flags. Initially
IO wakeup is added under this. Helps to get rid of runtime cpu_is_X checks.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/prm.h|8
arch/arm/mach-omap2/prm3xxx.c|8
Done in preparation to make PRM a separate driver.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/prcm-common.h |1 +
arch/arm/mach-omap2/prm3xxx.c |4 +---
arch/arm/mach-omap2/prm44xx.c |5 ++---
arch/arm/mach-omap2/prm_common.c |2 --
Some of the includes are totally unnecessary, remove some others in
preparation to make the PRCM its own driver.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/clockdomain.h |3 ++-
arch/arm/mach-omap2/cm33xx.h |3 ---
Done in preparation to make CM a standalone driver.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/cm33xx.c |9 -
arch/arm/mach-omap2/cm33xx.h |1 -
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-omap2/cm33xx.c
Previously this was done for all modules under prm_common.c.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/cm_common.c | 18 +
arch/arm/mach-omap2/control.c | 15 +++
arch/arm/mach-omap2/control.h |1 +
arch/arm/mach-omap2/io.c
This helps to make the PRM registration modular, and also gets rid of a
cpu type check done later.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/prcm-common.h |2 ++
arch/arm/mach-omap2/prm3xxx.c |1 +
arch/arm/mach-omap2/prm44xx.c |1 +
Done in preparation to make PRM a standalone driver.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/prm2xxx.c | 16 +++-
arch/arm/mach-omap2/prm2xxx_3xxx.c |1 -
2 files changed, 15 insertions(+), 2 deletions(-)
diff --git
This is done in attempt to get rid of cpu_is_X calls from the PRM core.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/prm.h |1 +
arch/arm/mach-omap2/prm44xx.c |4 +++-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-omap2/prm.h
Parts of this file are needed from both the driver and mach-omap2 board
code.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/am33xx-restart.c |2 +-
arch/arm/mach-omap2/cm33xx.c |3 ++-
arch/arm/mach-omap2/prm33xx.c|3 ++-
None of these are currently used, so cleanup.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/prm54xx.h | 18 --
1 file changed, 18 deletions(-)
diff --git a/arch/arm/mach-omap2/prm54xx.h b/arch/arm/mach-omap2/prm54xx.h
index e441101..3f1b383 100644
---
The new name follows the naming convention of the other public CM header
files.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/cminst44xx.c |2 +-
arch/arm/mach-omap2/cminst44xx.h | 29 -
arch/arm/mach-omap2/io.c |2 +-
Some of these are shared between the PRM driver and mach-omap2 board code.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/cm2xxx.c |4 +++-
arch/arm/mach-omap2/prm2xxx.c |2 +-
arch/arm/mach-omap2/prm2xxx.h | 20 +-
This file needs to be accessible from the PRCM core and mach-omap2 board
support code.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/cm33xx.c |2 +-
arch/arm/mach-omap2/cm33xx.h | 50 +--
include/linux/power/omap/cm33xx.h | 68
This is not used for anything, so removed.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/cm1_44xx.h |2 --
arch/arm/mach-omap2/cm1_54xx.h |2 --
arch/arm/mach-omap2/cm1_7xx.h |2 --
arch/arm/mach-omap2/cm2_44xx.h |2 --
Done in preparation to make PRCM a standalone driver.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/cm33xx.c |6 +-
arch/arm/mach-omap2/cm3xxx.c |8 +++-
arch/arm/mach-omap2/cminst44xx.c |6 +-
Done in preparation to make PRM a standalone driver.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/prm33xx.c |8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-omap2/prm33xx.c b/arch/arm/mach-omap2/prm33xx.c
index 0660105..877d7c7
Done in preparation to make PRM a standalone driver.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/prm3xxx.c | 54 -
1 file changed, 53 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-omap2/prm3xxx.c
This file needs to be accessible from the PRCM core and mach-omap2 board
support code.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/clkt_iclk.c |2 +-
arch/arm/mach-omap2/clock3xxx.c |2 +-
Moved the implementation from am33xx-restart.c to the prm33xx.c file to
isolate the PRM register accesses to be private for PRM driver.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/am33xx-restart.c |9 +
arch/arm/mach-omap2/prm33xx.c| 16
This file needs to be accessible from the PRCM core and mach-omap2 board
support code.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/cminst44xx.c |2 +-
arch/arm/mach-omap2/cpuidle44xx.c|2 +-
arch/arm/mach-omap2/display.c
These are not used outside the cminst44xx.c anymore, thus make them static.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/cminst44xx.c | 23 +++
arch/arm/mach-omap2/cminst44xx.h | 14 --
2 files changed, 11 insertions(+), 26 deletions(-)
This file needs to be accessible from the PRCM core and mach-omap2 board
support code.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/clock.c |2 +-
arch/arm/mach-omap2/clock2xxx.c |2 +-
arch/arm/mach-omap2/clockdomains33xx_data.c |2
This file needs to be accessible from the PRCM core and mach-omap2 board
support code.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/clock3xxx.c |2 +-
arch/arm/mach-omap2/clockdomains2420_data.c |2 +-
These are not (and should not be) used by anybody outside the PRM
driver itself.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/prm44xx.c |6 +++---
arch/arm/mach-omap2/prm44xx_54xx.h |4
2 files changed, 3 insertions(+), 7 deletions(-)
diff --git
This file needs to be accessible from the PRCM core and mach-omap2 board
support code.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/cm2xxx.c |2 +-
arch/arm/mach-omap2/cm2xxx.h | 52 +--
arch/arm/mach-omap2/cm_common.c |2 +-
Done in preparation to make PRCM a standalone driver.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/clockdomain.c |1 -
arch/arm/mach-omap2/clockdomain.h |2 +-
arch/arm/mach-omap2/prcm-common.h |2 ++
arch/arm/mach-omap2/prm_common.c | 11 ---
4 files
Contains only two defines used by a single source code file, so move the
definitions over and delete the file.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/cm44xx.h | 26 --
arch/arm/mach-omap2/cm_common.c |3 ++-
Only a handful of these are currently used in the kernel, so cleanup.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/cclock3xxx_data.c | 14 -
arch/arm/mach-omap2/prm3xxx.h | 37 -
2 files changed, 9 insertions(+), 42
This file needs to be accessible from the PRCM core and mach-omap2 board
support code.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/prm3xxx.c |2 +-
arch/arm/mach-omap2/prm3xxx.h | 113 +-
arch/arm/mach-omap2/prm_common.c |2
None of these are currently used, so cleanup.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/prm7xx.h | 77 --
1 file changed, 77 deletions(-)
diff --git a/arch/arm/mach-omap2/prm7xx.h b/arch/arm/mach-omap2/prm7xx.h
index
None of these are currently used, so cleanup.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/prm44xx.h | 318 -
1 file changed, 318 deletions(-)
diff --git a/arch/arm/mach-omap2/prm44xx.h b/arch/arm/mach-omap2/prm44xx.h
index
vp.h is not publicly available, however the PRM driver requires access to
these so moved to prm public headers.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/prm3xxx.c |1 -
arch/arm/mach-omap2/prm44xx.c |1 -
arch/arm/mach-omap2/vp.h |9
This file needs to be accessible from the PRCM core and mach-omap2 board
support code.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/clockdomains43xx_data.c |1 -
arch/arm/mach-omap2/clockdomains44xx_data.c |2 +-
arch/arm/mach-omap2/clockdomains54xx_data.c |
These are not needed for anything.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/cm44xx.c |2 --
arch/arm/mach-omap2/cminst44xx.c |2 --
2 files changed, 4 deletions(-)
diff --git a/arch/arm/mach-omap2/cm44xx.c b/arch/arm/mach-omap2/cm44xx.c
index
Only contains a few function prototypes, so move these to the public
prm44xx.h header and remove the now unnecessary prminst44xx.h.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/io.c |1 -
arch/arm/mach-omap2/omap-mpuss-lowpower.c |1 -
Parts of this file are needed from both the driver and mach-omap2 board
code.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/cminst44xx.c |3 +-
arch/arm/mach-omap2/powerdomain.c |3 +-
arch/arm/mach-omap2/prm44xx.c |2 +-
arch/arm/mach-omap2/prm44xx.h
Parts of this file are needed by both the driver and mach-omap2 board
code.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/prm44xx.c |2 +-
arch/arm/mach-omap2/prm54xx.h | 371 +-
arch/arm/mach-omap2/prminst44xx.c |2 +-
This file needs to be accessible from the PRCM core and mach-omap2 board
support code.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/clock.c |2 +-
arch/arm/mach-omap2/clockdomain.c|3 +-
arch/arm/mach-omap2/clockdomain.h
This file needs to be accessible from the PRCM core and mach-omap2 board
support code.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/prm44xx.c |2 +-
arch/arm/mach-omap2/prm44xx.h |2 +-
arch/arm/mach-omap2/prm44xx_54xx.h | 61
This parses the prm, cm and scrm base addresses from DT if available,
avoiding the need for various omap2_set_globals_* calls.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/cm_common.c| 57 ---
arch/arm/mach-omap2/control.c | 36
Needed from both PRCM core code and mach-omap2 board code. This gets
rid of need to include the prcm_mpu_44xx_54xx.h header to the PRCM
core code.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/cminst44xx.c |1 -
arch/arm/mach-omap2/prcm_mpu_44xx_54xx.h |2 --
This file needs to be accessible from the PRCM core and mach-omap2 board
support code.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/clockdomain.c|2 +-
arch/arm/mach-omap2/cm2xxx.c |2 +-
arch/arm/mach-omap2/cm3xxx.c
This file needs to be accessible from the PRCM core and mach-omap2 board
support code.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/cm2xxx.c |2 +-
arch/arm/mach-omap2/cm2xxx.h |2 +-
arch/arm/mach-omap2/cm33xx.c
On Mon, Mar 31, 2014 at 06:15:40PM +0300, Tero Kristo wrote:
OMAP44XX_CM*_REGADDR macros should be avoided, instead use the cm_base*
iomaps.
Signed-off-by: Tero Kristo t-kri...@ti.com
---
arch/arm/mach-omap2/cm44xx.c |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff
Hi,
On Mon, Mar 31, 2014 at 06:15:46PM +0300, Tero Kristo wrote:
diff --git a/arch/arm/mach-omap2/prm44xx_54xx.h
b/arch/arm/mach-omap2/prm44xx_54xx.h
index 8d95aa5..73734b2 100644
--- a/arch/arm/mach-omap2/prm44xx_54xx.h
+++ b/arch/arm/mach-omap2/prm44xx_54xx.h
@@ -57,7 +57,7 @@ extern
On 03/31/2014 10:15 AM, Tero Kristo wrote:
Hi,
This set is continuation for the work started earlier to cleanup the CM/PRM
and attempt to make it a separate driver. This set depends on these
two sets:
CM/PRM cleanup set:
http://marc.info/?l=linux-omapm=139395000918201w=2
OMAP2 clock
On 03/31/2014 11:47 AM, Nishanth Menon wrote:
On 03/31/2014 10:15 AM, Tero Kristo wrote:
Hi,
This set is continuation for the work started earlier to cleanup the CM/PRM
and attempt to make it a separate driver. This set depends on these
two sets:
CM/PRM cleanup set:
Hi,
On Mon, Mar 31, 2014 at 06:15:39PM +0300, Tero Kristo wrote:
This set is continuation for the work started earlier to cleanup the CM/PRM
and attempt to make it a separate driver. This set depends on these
two sets:
CM/PRM cleanup set:
http://marc.info/?l=linux-omapm=139395000918201w=2
On Thu, Mar 27, 2014 at 06:54:14PM +0100, Paolo Pisati wrote:
I've been experiencing hangs on reboot on two different panda boards (es rev1
and vanilla rev a1) with v3.14-rc8 (but reproducible in 3.13 too):
toolchanin: gcc version 4.8.1 (Ubuntu/Linaro 4.8.1-10ubuntu7)
the config is a
* Tero Kristo t-kri...@ti.com [140331 08:20]:
Hi,
This set is continuation for the work started earlier to cleanup the CM/PRM
and attempt to make it a separate driver. This set depends on these
two sets:
CM/PRM cleanup set:
http://marc.info/?l=linux-omapm=139395000918201w=2
OMAP2
On 03/18/2014 08:35 AM, Ohad Ben-Cohen wrote:
Hi Suman,
On Tue, Mar 18, 2014 at 1:46 AM, Suman Anna s-a...@ti.com wrote:
So far, we have not come across multiple controllers. I see your point,
and I think this also depends on the semantics of how you exchange the
lock id number. The
61 matches
Mail list logo