Done in preparation to move CM to be a driver of its own. This patch causes
currently a build breakage which will be addressed in next patches.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/cm2xxx.c |1 +
arch/arm/mach-omap2/cm2xxx_3xxx.h | 48
Done in preparation to make the prm an individual driver.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/pm34xx.c | 60 +
arch/arm/mach-omap2/prm3xxx.c | 53
arch/arm/mach-omap2/prm3xxx.h |1 +
3 files
Done in preparation to move cm/prm to drivers. These will still use
omap_test_timeout, but will not have access to common.h header under
mach-omap2 anymore.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/prcm-common.h | 20
1 file changed, 20 insertions(+)
diff --git
Removed exported prototypes from the public header file for the direct
register access. Also made a new driver API for clearing mpuss previous
logic powerstate so that the register APIs are no longer needed.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/omap-mpuss-lowpower.c | 15
Done in preparation to move PRM into its own driver.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/pm34xx.c | 15 ---
arch/arm/mach-omap2/prm3xxx.c |7 +++
2 files changed, 7 insertions(+), 15 deletions(-)
diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach
This isolates the PRM register access within the PRM driver.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/control.c |6 +-
arch/arm/mach-omap2/prm3xxx.c | 20
arch/arm/mach-omap2/prm3xxx.h |1 +
3 files changed, 22 insertions(+), 5 deletions(-)
diff
Remove a few OMAP34XX_CM_REGADDR defines and replace these with offset
based register accesses instead.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/cm3xxx.c | 12
arch/arm/mach-omap2/cm3xxx.h |6 ++
2 files changed, 10 insertions(+), 8 deletions(-)
diff --git a
Done to isolate the PRM as its own driver.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/pm24xx.c | 34 +
arch/arm/mach-omap2/prm2xxx.c | 42 +
arch/arm/mach-omap2/prm2xxx.h |1 +
3 files changed, 44
Hi,
This set cleans up the CM/PRM codebase a bit, removing the need for direct
CM/PRM register access macros outside CM/PRM drivers. This is done in
preparation to isolate these drivers into its own driver directory.
Currently my plan is to create a single PRCM driver, which will contain
both, and
This helps to isolate the PRM into its own driver.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/pm24xx.c | 31 +--
arch/arm/mach-omap2/prm2xxx.c | 18 ++
arch/arm/mach-omap2/prm2xxx.h |1 +
3 files changed, 32 insertions(+), 18
Done in preparation to move the CM driver to its own driver folder.
These drivers will not have access to functionality under mach-omap2 anymore.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/cm2xxx.c | 15 ++-
arch/arm/mach-omap2/cm3xxx.c | 13 +
2 files
This is a more proper isolation of the code. Done in preparation of making
PRM an individual driver.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/pm34xx.c |5 +
arch/arm/mach-omap2/prm3xxx.c | 15 +++
arch/arm/mach-omap2/prm3xxx.h |1 +
3 files changed, 17
Helps to isolate the PRM driver.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/pm34xx.c | 71 +---
arch/arm/mach-omap2/prm3xxx.c | 90 +
arch/arm/mach-omap2/prm3xxx.h |1 +
3 files changed, 92 insertions(+), 70
This patch moves the functionality from PM core to control driver.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/control.c | 26 ++
arch/arm/mach-omap2/control.h |1 +
arch/arm/mach-omap2/pm34xx.c | 15 +--
3 files changed, 28 insertions(+), 14
Control module related PM initializations are now moved within control
module driver. Done in preparation to isolate the code to its own driver.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/control.c | 19 +--
arch/arm/mach-omap2/control.h |3 +--
arch/arm/mach-omap2
On 03/04/2014 07:32 PM, Tony Lindgren wrote:
* Tero Kristo [140304 01:22]:
This is no longer needed as clock data is provided through DT.
Looks like there's a new error even before applying this patch in
the series as I'm now getting the following oops on n8x0. So cannot
test this
On 03/04/2014 07:32 PM, Tony Lindgren wrote:
* Tero Kristo [140304 01:22]:
This is no longer needed as clock data is provided through DT.
And this one we cannot apply yet until omap3 is booting in device tree
only mode.
What is missing to achieve this? Some boards are not booting in DT
On 03/04/2014 11:28 PM, Tony Lindgren wrote:
* Tero Kristo [140304 10:58]:
On 03/04/2014 07:32 PM, Tony Lindgren wrote:
* Tero Kristo [140304 01:22]:
This is no longer needed as clock data is provided through DT.
Looks like there's a new error even before applying this patch in
the s
On 03/05/2014 10:35 AM, Tomi Valkeinen wrote:
Hi Tero,
What about the dts fixes in this series? DSS DT depends on those fixes.
I'd like the dts fixes to be either merged for v3.14, or I can add them
to my DSS DT series (with acks).
Well, I am not a maintainer of any sort, so you are asking wro
On 03/01/2014 12:37 AM, Tony Lindgren wrote:
* Christoph Fritz [140214 06:24]:
Full device tree support for clock control, especially to set frequencies,
is not yet accomplished. Until then, configure the 24Mhz of sys_clkout2 to
feed an USB-Hub here.
Hmm would like to see Tero's comments on t
Ping.
Mike, any feedback on this?
-Tero
On 02/13/2014 11:00 AM, Tero Kristo wrote:
Hi,
This set is a mix-match of new DT properties for generic and TI specific
clock drivers. Basically provided for commenting purposes. The patches
provide a way to configure clock parents / rates during boot
On 03/05/2014 08:10 PM, Tony Lindgren wrote:
* Tony Lindgren [140305 09:12]:
* Tero Kristo [140305 00:17]:
On 03/04/2014 11:28 PM, Tony Lindgren wrote:
* Tero Kristo [140304 10:58]:
On 03/04/2014 07:32 PM, Tony Lindgren wrote:
* Tero Kristo [140304 01:22]:
This is no longer needed as
On 03/07/2014 03:09 PM, Roger Quadros wrote:
USB_DPLL must be initialized and locked at boot so that
USB modules can work.
Also program USB_DLL_M2 output to half rate.
CC: Mike Turquette
CC: Tero Kristo
Signed-off-by: Roger Quadros
---
drivers/clk/ti/clk-7xx.c | 11 +++
1 file
usb_otg_ss1_refclk960m and
usb_otg_ss2_refclk960m.
CC: Tero Kristo
Signed-off-by: Roger Quadros
---
arch/arm/boot/dts/dra7xx-clocks.dtsi | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/dra7xx-clocks.dtsi
b/arch/arm/boot/dts/dra7xx-clocks.dtsi
index
On 03/10/2014 02:49 PM, Roger Quadros wrote:
USB_DPLL must be initialized and locked at boot so that
USB modules can work.
Program USB_DLL_M2 output to half rate as well.
Patch depends on
https://www.mail-archive.com/linux-omap@vger.kernel.org/msg101300.html
CC: Mike Turquette
CC: Tero
On 03/14/2014 01:36 AM, Joel Fernandes wrote:
On 03/13/2014 04:52 PM, Rob Herring wrote:
On Thu, Mar 13, 2014 at 3:35 PM, Joel Fernandes wrote:
Introduce a generic omap timer initialization function that can
be used by all SoCs for which support is available in the clocksource
driver introduce
On 03/13/2014 10:35 PM, Joel Fernandes wrote:
Signed-off-by: Joel Fernandes
---
arch/arm/boot/dts/am33xx.dtsi |2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index 4e6c959..51b7008 100644
--- a/arch/arm/boot/dts/am33xx.dts
On 03/18/2014 10:32 AM, Peter Ujfalusi wrote:
On 03/17/2014 04:09 PM, Tomi Valkeinen wrote:
Hi,
I noticed that my omap4 panda does not boot with today's linux-next
(8808b950581f71e3ee4cf8e6cae479f4c7106405). I didn't have much time to study
it, but I didn't find any posts about the issue with a
On 03/20/2014 11:23 PM, Mike Turquette wrote:
Quoting Tero Kristo (2014-03-05 05:10:17)
Ping.
Mike, any feedback on this?
Hi Tero,
Have you seen Sylwester's approach[1]? I prefer it since it is more
device-oriented and less "centralized". The clock consumer enumerates
the de
On 03/26/2014 12:36 AM, Tony Lindgren wrote:
* Tero Kristo [140304 08:23]:
There is a solitary write to this register every wakeup from off-mode,
which isn't doing anything, so remove it.
Argh, this chunk of code is for sure the the thing that's blocking all
the voltage scalin
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-omap&m=139395000918201&w=2
OMAP2 clock DT set:
http://comments.gmane.org/gmane.linux.ports.a
OMAP44XX_CM*_REGADDR macros should be avoided, instead use the cm_base*
iomaps.
Signed-off-by: Tero Kristo
---
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
index 535d66e
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
---
arch/arm/mach-omap2/prm.h|2 ++
arch/arm/mach-omap2
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
---
arch/arm/mach-omap2/prm_common.c
Done in preparation to make CM a standalone driver.
Signed-off-by: Tero Kristo
---
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 4c29f63..e74484a 100644
Done in preparation to make PRM a standalone driver.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/prm44xx.c | 33 -
arch/arm/mach-omap2/prminst44xx.c |3 ++-
2 files changed, 34 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-omap2
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
---
arch/arm/mach-omap2/io.c | 17 +
arch/arm/mach-omap2/prm.h | 11 +++
arch/arm/mach-omap2
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
---
arch/arm/mach-omap2/prm.h |1 +
arch/arm/mach-omap2/prm44xx.c | 20 +---
arch/arm/mach
Done in preparation to make PRCM a standalone driver.
Signed-off-by: Tero Kristo
---
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 deletions
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
---
arch/arm/mach-omap2/prm.h|8
arch/arm/mach-omap2/prm3xxx.c|8 +++-
arch/arm
Done in preparation to make PRM a separate driver.
Signed-off-by: Tero Kristo
---
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 --
arch/arm/mach-omap2
Some of the includes are totally unnecessary, remove some others in
preparation to make the PRCM its own driver.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/clockdomain.h |3 ++-
arch/arm/mach-omap2/cm33xx.h |3 ---
arch/arm/mach-omap2
Done in preparation to make CM a standalone driver.
Signed-off-by: Tero Kristo
---
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 b/arch/arm/mach-omap2/cm33xx.c
Previously this was done for all modules under prm_common.c.
Signed-off-by: Tero Kristo
---
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 |4
This helps to make the PRM registration modular, and also gets rid of a
cpu type check done later.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/prcm-common.h |2 ++
arch/arm/mach-omap2/prm3xxx.c |1 +
arch/arm/mach-omap2/prm44xx.c |1 +
arch/arm/mach-omap2/prm_common.c
Done in preparation to make PRM a standalone driver.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/prm2xxx.c | 16 +++-
arch/arm/mach-omap2/prm2xxx_3xxx.c |1 -
2 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-omap2/prm2xxx.c b/arch/arm
This is done in attempt to get rid of cpu_is_X calls from the PRM core.
Signed-off-by: Tero Kristo
---
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 b/arch/arm/mach-omap2
This file needs to be accessible from the PRCM core and mach-omap2 board
support code.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/cm3xxx.c |2 +-
arch/arm/mach-omap2/cm3xxx.h | 66 +
arch/arm/mach-omap2/cm_common.c |2 +-
arch/arm/mach
Parts of this file are needed from both the driver and mach-omap2 board
code.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/am33xx-restart.c |2 +-
arch/arm/mach-omap2/cm33xx.c |3 ++-
arch/arm/mach-omap2/prm33xx.c|3 ++-
arch/arm/mach-omap2/prm33xx.h
None of these are currently used, so cleanup.
Signed-off-by: Tero Kristo
---
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
--- a/arch/arm/mach
The new name follows the naming convention of the other public CM header
files.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/cminst44xx.c |2 +-
arch/arm/mach-omap2/cminst44xx.h | 29 -
arch/arm/mach-omap2/io.c |2 +-
arch/arm/mach-omap2
Some of these are shared between the PRM driver and mach-omap2 board code.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/cm2xxx.c |4 +++-
arch/arm/mach-omap2/prm2xxx.c |2 +-
arch/arm/mach-omap2/prm2xxx.h | 20 +-
arch/arm/mach-omap2/prm_common.c
This file needs to be accessible from the PRCM core and mach-omap2 board
support code.
Signed-off-by: Tero Kristo
---
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
---
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 --
arch/arm/mach-omap2/cm2_54xx.h
Done in preparation to make PRCM a standalone driver.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/cm33xx.c |6 +-
arch/arm/mach-omap2/cm3xxx.c |8 +++-
arch/arm/mach-omap2/cminst44xx.c |6 +-
arch/arm/mach-omap2/powerdomain-common.c
Done in preparation to make PRM a standalone driver.
Signed-off-by: Tero Kristo
---
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 100644
--- a/arch
Done in preparation to make PRM a standalone driver.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/prm3xxx.c | 54 -
1 file changed, 53 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-omap2/prm3xxx.c b/arch/arm/mach-omap2/prm3xxx.c
index
This file needs to be accessible from the PRCM core and mach-omap2 board
support code.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/clkt_iclk.c |2 +-
arch/arm/mach-omap2/clock3xxx.c |2 +-
arch/arm/mach-omap2/clockdomains2420_data.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
---
arch/arm/mach-omap2/am33xx-restart.c |9 +
arch/arm/mach-omap2/prm33xx.c| 16
2 files
This file needs to be accessible from the PRCM core and mach-omap2 board
support code.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/cminst44xx.c |2 +-
arch/arm/mach-omap2/cpuidle44xx.c|2 +-
arch/arm/mach-omap2/display.c|2
These are not used outside the cminst44xx.c anymore, thus make them static.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/cminst44xx.c | 23 +++
arch/arm/mach-omap2/cminst44xx.h | 14 --
2 files changed, 11 insertions(+), 26 deletions(-)
diff --git a
This file needs to be accessible from the PRCM core and mach-omap2 board
support code.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/clock.c |2 +-
arch/arm/mach-omap2/clock2xxx.c |2 +-
arch/arm/mach-omap2/clockdomains33xx_data.c |2 +-
arch/arm
This file needs to be accessible from the PRCM core and mach-omap2 board
support code.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/clock3xxx.c |2 +-
arch/arm/mach-omap2/clockdomains2420_data.c |2 +-
arch/arm/mach-omap2/clockdomains2430_data.c |2
These are not (and should not be) used by anybody outside the PRM
driver itself.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/prm44xx.c |6 +++---
arch/arm/mach-omap2/prm44xx_54xx.h |4
2 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/arch/arm/mach-omap2
This file needs to be accessible from the PRCM core and mach-omap2 board
support code.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/cm2xxx.c |2 +-
arch/arm/mach-omap2/cm2xxx.h | 52 +--
arch/arm/mach-omap2/cm_common.c |2 +-
include/linux
Done in preparation to make PRCM a standalone driver.
Signed-off-by: Tero Kristo
---
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 changed, 7
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
---
arch/arm/mach-omap2/cm44xx.h | 26 --
arch/arm/mach-omap2/cm_common.c |3 ++-
arch/arm/mach-omap2/cminst44xx.c
Only a handful of these are currently used in the kernel, so cleanup.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/cclock3xxx_data.c | 14 -
arch/arm/mach-omap2/prm3xxx.h | 37 -
2 files changed, 9 insertions(+), 42 deletions
This file needs to be accessible from the PRCM core and mach-omap2 board
support code.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/prm3xxx.c |2 +-
arch/arm/mach-omap2/prm3xxx.h | 113 +-
arch/arm/mach-omap2/prm_common.c |2 +-
include
None of these are currently used, so cleanup.
Signed-off-by: Tero Kristo
---
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 d92a840..b971af5 100644
None of these are currently used, so cleanup.
Signed-off-by: Tero Kristo
---
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 7db2422..7fc277b 100644
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
---
arch/arm/mach-omap2/prm3xxx.c |1 -
arch/arm/mach-omap2/prm44xx.c |1 -
arch/arm/mach-omap2/vp.h |9 -
include
This file needs to be accessible from the PRCM core and mach-omap2 board
support code.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/clockdomains43xx_data.c |1 -
arch/arm/mach-omap2/clockdomains44xx_data.c |2 +-
arch/arm/mach-omap2/clockdomains54xx_data.c |2 +-
arch
These are not needed for anything.
Signed-off-by: Tero Kristo
---
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 506974b..14d8256 100644
--- a
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
---
arch/arm/mach-omap2/io.c |1 -
arch/arm/mach-omap2/omap-mpuss-lowpower.c |1 -
arch/arm/mach-omap2
Parts of this file are needed from both the driver and mach-omap2 board
code.
Signed-off-by: Tero Kristo
---
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 | 394
Parts of this file are needed by both the driver and mach-omap2 board
code.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/prm44xx.c |2 +-
arch/arm/mach-omap2/prm54xx.h | 371 +-
arch/arm/mach-omap2/prminst44xx.c |2 +-
include/linux
This file needs to be accessible from the PRCM core and mach-omap2 board
support code.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/clock.c |2 +-
arch/arm/mach-omap2/clockdomain.c|3 +-
arch/arm/mach-omap2/clockdomain.h| 237
This file needs to be accessible from the PRCM core and mach-omap2 board
support code.
Signed-off-by: Tero Kristo
---
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
---
arch/arm/mach-omap2/cm_common.c| 57 ---
arch/arm/mach-omap2/control.c | 36 ++--
arch/arm
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
---
arch/arm/mach-omap2/cminst44xx.c |1 -
arch/arm/mach-omap2/prcm_mpu_44xx_54xx.h |2 --
arch/arm/mach
This file needs to be accessible from the PRCM core and mach-omap2 board
support code.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/clockdomain.c|2 +-
arch/arm/mach-omap2/cm2xxx.c |2 +-
arch/arm/mach-omap2/cm3xxx.c |2
This file needs to be accessible from the PRCM core and mach-omap2 board
support code.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/cm2xxx.c |2 +-
arch/arm/mach-omap2/cm2xxx.h |2 +-
arch/arm/mach-omap2/cm33xx.c |2
On 04/01/2014 01:09 AM, Tony Lindgren wrote:
* Tero Kristo [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-omap&a
On 04/02/2014 04:46 PM, Peter Ujfalusi wrote:
The correct bit is 24 for AHCLKX.
Signed-off-by: Peter Ujfalusi
Yes, thats a clear bug in the data.
Acked-by: Tero Kristo
---
arch/arm/boot/dts/dra7xx-clocks.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm
On 04/02/2014 04:48 PM, Peter Ujfalusi wrote:
ABE DPLL frequency need to be lowered from 361267200
to 180633600 to facilitate the ATL requironments.
The dpll_abe_m2x2_ck clock need to be set to double
of ABE DPLL rate in order to have correct clocks
for audio.
Do you have some sort of TRM refer
d sys_off_mode pins, so
> the fixes are needed to fix monitoring of PM states with LEDs or
> an oscilloscope.
>
> Cc: Kevin Hilman
> Cc: Nishanth Menon
> Cc: Paul Walmsley
> Cc: Tero Kristo
> Signed-off-by: Tony Lindgren
> ---
> arch/arm/mach-om
On 04/01/2014 08:13 PM, Tony Lindgren wrote:
* Tero Kristo [140401 01:38]:
On 04/01/2014 01:09 AM, Tony Lindgren wrote:
We don't want to make access to these registers available without
proper frameworks as that will lead into misuse by various drivers.
And cleaning up that mess later
On 03/04/2014 06:19 PM, Tero Kristo wrote:
Hi,
This set cleans up the CM/PRM codebase a bit, removing the need for direct
CM/PRM register access macros outside CM/PRM drivers. This is done in
preparation to isolate these drivers into its own driver directory.
Currently my plan is to create a
On 04/16/2014 07:14 AM, Lokesh Vutla wrote:
WDT1 module can take one of the below clocks as input functional
clock -
- On-Chip 32K RC Osc [default/reset]
- 32K from PRCM
The On-Chip 32K RC Osc clock is not an accurate clock-source as per
the design/spec, so as a result, for examp
On 04/22/2014 01:25 PM, Sourav Poddar wrote:
We need "tblclk" clock data for the functioning of ehrpwm
module. Hence, populating the required clock information
in clock dts file.
Signed-off-by: Sourav Poddar
---
arch/arm/boot/dts/am43xx-clocks.dtsi | 84 ++
On 04/12/2014 06:02 PM, Tony Lindgren wrote:
* Tero Kristo [140412 02:01]:
On 04/11/2014 02:47 AM, Tony Lindgren wrote:>
@@ -282,6 +283,7 @@ void omap_sram_idle(void)
/* CORE */
if (core_next_state < PWRDM_POWER_ON) {
+ omap3_vc_set_pmic_sig
On 04/24/2014 12:11 PM, Peter Ujfalusi wrote:
Mike, Tero,
On 04/03/2014 09:29 AM, Peter Ujfalusi wrote:
On 04/02/2014 05:12 PM, Tero Kristo wrote:
On 04/02/2014 04:48 PM, Peter Ujfalusi wrote:
ABE DPLL frequency need to be lowered from 361267200
to 180633600 to facilitate the ATL
On 04/25/2014 08:42 AM, sourav wrote:
Hi Tero,
On Tuesday 22 April 2014 06:11 PM, Tero Kristo wrote:
On 04/22/2014 01:25 PM, Sourav Poddar wrote:
We need "tblclk" clock data for the functioning of ehrpwm
module. Hence, populating the required clock information
in clock dts file.
On 04/25/2014 11:55 AM, Sourav Poddar wrote:
tbclk does not need to be a composite clock, we can simply
use gate clock for this purpose.
Signed-off-by: Sourav Poddar
---
arch/arm/boot/dts/am33xx-clocks.dtsi | 42 ++
1 file changed, 12 insertions(+), 30 delet
On 04/25/2014 11:55 AM, Sourav Poddar wrote:
We need "tbclk" clock data for the functioning of ehrpwm
module. Hence, populating the required clock information
in clock dts file.
Signed-off-by: Sourav Poddar
---
arch/arm/boot/dts/am43xx-clocks.dtsi | 48 ++
d
On 04/29/2014 11:34 AM, Sourav Poddar wrote:
We need "tbclk" clock data for the functioning of ehrpwm
module. Hence, populating the required clock information
in clock dts file.
Signed-off-by: Sourav Poddar
---
v1->v2:
change compatible according to mainline.
arch/arm/boot/dts/am43xx-clocks.d
On 04/29/2014 11:34 AM, Sourav Poddar wrote:
tbclk does not need to be a composite clock, we can simply
use gate clock for this purpose.
Signed-off-by: Sourav Poddar
Looks good to me so:
Acked-by: Tero Kristo
---
v1->v2:
change compatible string according to mainline.
arch/arm/boot/
On 04/29/2014 05:15 PM, Sourav Poddar wrote:
We need "tbclk" clock data for the functioning of ehrpwm
module. Hence, populating the required clock information
in clock dts file.
Signed-off-by: Sourav Poddar
Acked-by: Tero Kristo
---
v2->v3
- correct bitshifting
arch
On 04/30/2014 02:41 PM, Peter Ujfalusi wrote:
In OMAP5 bit 8 in PRCM registers are not defined (Reserved) unlike their
counterpart in OMAP4.
It is better to not write to these bits.
Yeah, looks like this bug was copied over from the legacy clock data.
Acked-by: Tero Kristo
Signed-off-by
1601 - 1700 of 2362 matches
Mail list logo