[PATCH 0/4] OMAP: hwmod prcm fixes

2010-08-04 Thread Benoit Cousson
Hi Paul Kevin, Here are a couples of fixes related to hwmod and prcm. Tested on PAB board using OMAP4 ES1.0 GP device Patches are based on lo/for-next and are available here: git://dev.omapzoom.org/pub/scm/swarch/linux-omap-adv.git for-next-fixes Regards, Benoit Benoit Cousson (2): OMAP

[PATCH 1/4] OMAP: hwmod: Rename dma_ch to dma_req

2010-08-04 Thread Benoit Cousson
The dma request line attribute was named dma channel, which leads to confusion with the real dma channel definition. Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil...@deeprootsystems.com --- arch/arm/mach-omap2/omap_hwmod.c

[PATCH 2/4] OMAP: hwmod: Do not disable clocks if hwmod already in idle

2010-08-04 Thread Benoit Cousson
-by: Benoit Cousson b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil...@deeprootsystems.com --- arch/arm/mach-omap2/omap_hwmod.c | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c

[PATCH 4/4] OMAP4: prcm: Fix global warm reset bit position

2010-08-04 Thread Benoit Cousson
headers] Signed-off-by: Benoit Cousson b-cous...@ti.com --- arch/arm/mach-omap2/prcm.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/prcm.c b/arch/arm/mach-omap2/prcm.c index c201374..96f4616 100644 --- a/arch/arm/mach-omap2/prcm.c +++ b/arch/arm/mach

[PATCH 3/4] OMAP: hwmod: Fix omap_hwmod_reset wrong state test

2010-08-04 Thread Benoit Cousson
since the _reset function is checking that as well and in addition can generate a warning Signed-off-by: Liam Girdwood l...@slimlogic.co.uk [b-cous...@ti.com: remove the wrong test, remove the re-enable] Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman

[PATCH 0/3] OMAP: hwmod: Add hardreset and softreset management

2010-08-04 Thread Benoit Cousson
: git://dev.omapzoom.org/pub/scm/swarch/linux-omap-adv.git pm-wip/hwmods-reset Regards, Benoit Benoit Cousson (3): OMAP4: prcm: Add temporarily helper functions for rmw and read inside the PRM OMAP: hwmod: Add hardreset management support OMAP: hwmod: Force a softreset during _setup

[PATCH 1/3] OMAP4: prcm: Add temporarily helper functions for rmw and read inside the PRM

2010-08-04 Thread Benoit Cousson
Since OMAP4 is using an absolute address, the current PRM accessors are not useable. OMAP4 adaptation for these API are currently ongoing, so define temp version until the proper ones are defined. Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman

[PATCH 2/3] OMAP: hwmod: Add hardreset management support

2010-08-04 Thread Benoit Cousson
.' PRM_RSTCTRL 1,1,'RST_GLOBAL_COLD_SW','RW','0','Global COLD software reset control.' 0,0,'RST_GLOBAL_WARM_SW','RW','0','Global WARM software reset control.' RM_CPU0_CPU0_RSTCTRL RM_CPU1_CPU1_RSTCTRL 0,0,'RST','RW','0','Cortex A9 CPU01 warm local reset control' Signed-off-by: Benoit Cousson b

[PATCH 3/3] OMAP: hwmod: Force a softreset during _setup

2010-08-04 Thread Benoit Cousson
Force the softreset of every IPs during the _setup phase. IPs that cannot support softreset or that should not be reset must set the HWMOD_INIT_NO_RESET flag in the hwmod struct. Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil

[RFC PATCH] OMAP: hwmod: Add debugfs support for omap_hwmod

2010-08-04 Thread Benoit Cousson
/mmu_cache - trigger a softreset in the module echo reset /sys/kernel/debug/hwmods/XXX/state Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil...@deeprootsystems.com --- arch/arm/mach-omap2/Makefile |4 +- arch/arm/mach-omap2

[PATCH v3 0/7] OMAP: hwmod: Full data set for OMAP4430 ES1 ES2

2010-08-05 Thread Benoit Cousson
class name Benoit Cousson (7): OMAP4: hwmod: Add initial data for OMAP4430 ES1 ES2 OMAP4: clock: Fix clock names and align with hwmod names OMAP4: pm: Change l3_main to l3_main_1 during bus device init OMAP4: hwmod: Add TIMER data for OMAP4430 ES1 ES2 OMAP4: hwmod: Add remaining hwmods

[PATCH v3 1/7] OMAP4: hwmod: Add initial data for OMAP4430 ES1 ES2

2010-08-05 Thread Benoit Cousson
-by: Benoit Cousson b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil...@deeprootsystems.com Cc: Rajendra Nayak rna...@ti.com --- arch/arm/mach-omap2/Makefile |1 + arch/arm/mach-omap2/io.c |7 +- arch/arm/mach-omap2/omap_hwmod_44xx_data.c

[PATCH v3 3/7] OMAP4: pm: Change l3_main to l3_main_1 during bus device init

2010-08-05 Thread Benoit Cousson
The OMAP4 L3 interconnect is split in 3 part for power saving reason. Because of that there is no l3_main like on OMAP2 3 but 3 differentes l3_main_X instances. In the case of OMAP4, query only the l3_main_1 part. The clock and voltage are shared across the 3 instances. Signed-off-by: Benoit

[PATCH v3 2/7] OMAP4: clock: Fix clock names and align with hwmod names

2010-08-05 Thread Benoit Cousson
using the old gptX_fck name until the gptimer driver is updated to omap_device framework. Timers entries in hwmods DB are still disabled until the migration if timer to platform_driver + omap_hwmod. Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Rajendra Nayak

[PATCH v3 4/7] OMAP4: hwmod: Add TIMER data for OMAP4430 ES1 ES2

2010-08-05 Thread Benoit Cousson
) - timers 2, 3, 4, 9, 10 11 are inside the PER power domain The timer was previously named gptimerX or dmtimerX, it is now simply named timerX. Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil...@deeprootsystems.com Cc: Rajendra Nayak rna

[PATCH v3 6/7] OMAP: hwmod: Temporary prevent reset during _setup for GPIOs

2010-08-05 Thread Benoit Cousson
For some reason, GPIO 2, 3, 4, 5 and 6 does not return the resetdone status after a softreset. The reset still seems to work fine becasue all the other registers are reset with the default values. Prevent the softreset until the root cause is found. Signed-off-by: Benoit Cousson b-cous...@ti.com

[PATCH v3 7/7] OMAP: hwmod: Temporary prevent reset during _setup for I2Cs

2010-08-05 Thread Benoit Cousson
For some reason, I2C 1, 2, 3 and 4 does not return the resetdone status after a softreset. Prevent the softreset until the root cause is found. Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil...@deeprootsystems.com --- arch/arm/mach-omap2

[PATCH] OMAP: hwmod: Fix softreset status check for some new OMAP4 IPs

2010-09-21 Thread Benoit Cousson
, that was used to flag IP with softreset control but without the SYSSTATUS register, with a specific SYSS_HAS_RESET_STATUS flag. - MCSPI and MMC contains both programming models, so the legacy one will be prevented by removing the syss offset field that become useless. Signed-off-by: Benoit Cousson b-cous

[PATCH] OMAP: hwmod: Fix softreset for modules with optional clocks

2010-09-21 Thread Benoit Cousson
understanding of these dependencies. Reported-by: Partha Basak p-bas...@ti.com Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil...@deeprootsystems.com --- arch/arm/mach-omap2/omap_hwmod.c | 51 +++--- arch/arm/plat

[PATCH] OMAP: hwmod: softreset fixes with opt clocks

2010-09-21 Thread Benoit Cousson
to l-o / linux-arm-kernel. Thanks, Benoit Benoit Cousson (2): OMAP: hwmod: Fix softreset for modules with optional clocks OMAP: hwmod: Fix softreset status check for some new OMAP4 IPs arch/arm/mach-omap2/omap_hwmod.c | 73 ++ arch/arm/plat-omap/include

[PATCH] OMAP: hwmod: Handle opt clocks node using clk_add_alias

2010-09-21 Thread Benoit Cousson
-by: Charulatha V ch...@ti.com Signed-off-by: Basak, Partha p-bas...@ti.com Signed-off-by: Benoit Cousson b-cous...@ti.com Signed-off-by: Rajendra Nayak rna...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil...@deeprootsystems.com --- arch/arm/plat-omap/omap_device.c | 39

[PATCH] OMAP4: clock: Fix missing optional clocks

2010-09-21 Thread Benoit Cousson
a better diff with git. Thanks, Benoit Benoit Cousson (1): OMAP4: clock: Add optional clock nodes arch/arm/mach-omap2/clock44xx_data.c | 893 -- 1 files changed, 625 insertions(+), 268 deletions(-) -- To unsubscribe from this list: send the line unsubscribe

[PATCH] OMAP4: clocks: Fix ES2 clock issues

2010-09-22 Thread Benoit Cousson
- usim optional clock are its parent had the same name, rename the parent usim_fclk - usim_ck - OPTFCLKEN_CLK32K is not handled anymore by the USBPHYOCP2SCP module in ES2 Create a new clock that belongs to CM_ALWON_USBPHY_CLKCTRL register Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Paul

[RFC 0/5] OMAP4: mux: Add the OMAP4430 ES1 support

2010-09-24 Thread Benoit Cousson
-pm/linux.git ctrl-wip/mux-omap4 Regards, Benoit Benoit Cousson (5): OMAP: mux: Add support for control module split in several partitions OMAP: mux: Make low level function private OMAP4: mux: Add data for OMAP4430 ES1 OMAP4: mux: Select CBL package for SDP4430 with ES1 OMAP4: mux

[RFC 1/5] OMAP: mux: Add support for control module split in several partitions

2010-09-24 Thread Benoit Cousson
for each mux entry in order to identify the proper partition and thus the correct base address. Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil...@deeprootsystems.com Cc: Santosh Shilimkar santosh.shilim

[RFC 2/5] OMAP: mux: Make low level function private

2010-09-24 Thread Benoit Cousson
omap_mux_read / omap_mux_write should not be accessed directly outside the mux framework. Do we really have use case that require dynamic mux change beside GPIO? Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman

[RFC 5/5] OMAP4: mux: Temporary initial SDP4430 mux settings

2010-09-24 Thread Benoit Cousson
Mux settings will have to go in per device init file for the long term. Until someone does it, apply the same mux settings than X-loader, minus the OFF mode. Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil

[RFC v2 0/7] OMAP4: mux: Add the OMAP4430 ES1 ES2 support

2010-10-19 Thread Benoit Cousson
/msg37158.html Benoit Cousson (7): OMAP: mux: Replace printk with pr_xxx macros OMAP3: RX-51: Temporary disable dynamic mux change for eMMC OMAP: mux: Add support for control module split in several partitions OMAP4: mux: Add CBL package data for OMAP4430 ES1 OMAP4: mux: Select CBL

[RFC v2 1/7] OMAP: mux: Replace printk with pr_xxx macros

2010-10-19 Thread Benoit Cousson
Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil...@deeprootsystems.com --- arch/arm/mach-omap2/mux.c | 38 +++--- 1 files changed, 19 insertions(+), 19 deletions(-) diff

[RFC v2 2/7] OMAP3: RX-51: Temporary disable dynamic mux change for eMMC

2010-10-19 Thread Benoit Cousson
-by: Benoit Cousson b-cous...@ti.com --- arch/arm/mach-omap2/board-rx51-peripherals.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c index 25a273d..56a49a0 100644 --- a/arch/arm

[RFC v2 3/7] OMAP: mux: Add support for control module split in several partitions

2010-10-19 Thread Benoit Cousson
depending of Soc partitioning. Add some init flags as well in order to avoid explicit Soc version check inside the mux core code. Note that this implementation change will make the mux_read, mux_write and omap_mux_write_array accessors unusable outside the mux code. Signed-off-by: Benoit Cousson b

[RFC v2 5/7] OMAP4: mux: Select CBL package for SDP4430 with ES1

2010-10-19 Thread Benoit Cousson
Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil...@deeprootsystems.com --- arch/arm/mach-omap2/Kconfig |1 + arch/arm/mach-omap2/board-4430sdp.c | 10 ++ 2 files changed, 11 insertions

[RFC v2 7/7] OMAP4: mux: Select CBS package for SDP4430 with ES2

2010-10-19 Thread Benoit Cousson
Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Paul Walmsley p...@pwsan.com Cc: Santosh Shilimkar santosh.shilim...@ti.com Cc: Anand Gadiyar gadi...@ti.com --- arch/arm/mach-omap2/Kconfig |1 + arch/arm/mach-omap2/board-4430sdp.c |6 +- 2

[RFC v2 6/7] OMAP4: mux: Add CBS package data for OMAP4430 ES2

2010-10-19 Thread Benoit Cousson
more memory at boot time. Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Paul Walmsley p...@pwsan.com Cc: Santosh Shilimkar santosh.shilim...@ti.com Cc: Anand Gadiyar gadi...@ti.com --- arch/arm/mach-omap2/Kconfig |3 + arch/arm/mach-omap2/mux.h

[PATCH 0/7] OMAP4: mux: Add the OMAP4430 ES1.0 ES2.x support

2010-11-11 Thread Benoit Cousson
a couple of flags during partition init. RFC v1: http://www.spinics.net/lists/linux-omap/msg37158.html Benoit Cousson (6): OMAP: mux: Replace printk with pr_xxx macros OMAP: mux: Add support for control module split in several partitions OMAP4: mux: Add CBL package data for OMAP4430 ES1

[PATCH 1/7] OMAP: mux: Replace printk with pr_xxx macros

2010-11-11 Thread Benoit Cousson
Replace all the printk(KERN_XXX... with pr_xxx macros. Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil...@deeprootsystems.com --- arch/arm/mach-omap2/mux.c | 38 +++--- 1

[PATCH 2/7] OMAP: mux: Add support for control module split in several partitions

2010-11-11 Thread Benoit Cousson
for the following improvements: - Add omap_mux_get for getting the partition data so platform level device code can use it. - Fix the rx51 board code to use the new API. Thanks to Dan Murphy dmur...@ti.com for testing on OMAP4 and reporting a couple of bugs. Signed-off-by: Benoit Cousson b-cous...@ti.com

[PATCH 4/7] OMAP4: sdp4430: Select CBL package for ES1 and initialize mux

2010-11-11 Thread Benoit Cousson
Select the CBL package if SDP4430 is enabled during config. Initialize the mux framework during the board init. Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil...@deeprootsystems.com --- arch/arm/mach-omap2

[PATCH 6/7] OMAP4: sdp4430: Select CBS package for ES2

2010-11-11 Thread Benoit Cousson
Select the CBS package if SDP4430 is enabled during config. Use the proper package (CBL or CBS) based on chip revision. Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Paul Walmsley p...@pwsan.com Cc: Santosh Shilimkar santosh.shilim...@ti.com Cc: Anand

[PATCH 5/7] OMAP4: mux: Add CBS package data for OMAP4430 ES2

2010-11-11 Thread Benoit Cousson
more memory at boot time. Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Paul Walmsley p...@pwsan.com Cc: Santosh Shilimkar santosh.shilim...@ti.com Cc: Anand Gadiyar gadi...@ti.com --- arch/arm/mach-omap2/Kconfig |3 + arch/arm/mach-omap2/mux.h

[PATCH 7/7] OMAP4: pandaboard: Select CBL CBS package and initialize mux

2010-11-11 Thread Benoit Cousson
init for panda boards. Signed-off-by: sricharan r.sricha...@ti.com Acked-by: Anand Gadiyar gadi...@ti.com Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Santosh Shilimkar santosh.shilim...@ti.com --- arch/arm/mach-omap2/Kconfig|2 ++ arch/arm/mach-omap2/board-omap4panda.c | 16

[PATCH v2 0/8] OMAP4: mux: Add the OMAP4430 ES1.0 ES2.x support

2010-11-16 Thread Benoit Cousson
a couple of flags during partition init. RFC v1: http://www.spinics.net/lists/linux-omap/msg37158.html Benoit Cousson (6): OMAP: mux: Replace printk with pr_xxx macros OMAP: mux: Add support for control module split in several partitions OMAP4: mux: Add CBL package data for OMAP4430

[PATCH v2 1/8] OMAP: mux: Replace printk with pr_xxx macros

2010-11-16 Thread Benoit Cousson
Replace all the printk(KERN_XXX... with pr_xxx macros. Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil...@deeprootsystems.com --- arch/arm/mach-omap2/mux.c | 38 +++--- 1

[PATCH v2 2/8] OMAP: mux: Add support for control module split in several partitions

2010-11-16 Thread Benoit Cousson
on OMAP4 and reporting a couple of bugs. Thanks to Anand Gadiyar gadi...@ti.com for testing on OMAP3 zoom and bug report. Signed-off-by: Benoit Cousson b-cous...@ti.com Signed-off-by: Tony Lindgren t...@atomide.com Tested-by: Murphy Dan dmur...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman

[PATCH v2 4/8] OMAP4: sdp4430: Select CBL package for ES1 and initialize mux

2010-11-16 Thread Benoit Cousson
Select the CBL package if SDP4430 is enabled during config. Initialize the mux framework during the board init. Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil...@deeprootsystems.com --- arch/arm/mach-omap2

[PATCH v2 8/8] OMAP: mux: Add __func__ macro to pr_xxx macros

2010-11-16 Thread Benoit Cousson
From: Dan Murphy dmur...@ti.com Removed mux: and added the __func__ macro to make debugging easier. Signed-off-by: Dan Murphy dmur...@ti.com Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/mux.c | 30

[PATCH v2 6/8] OMAP4: sdp4430: Select CBS package for ES2

2010-11-16 Thread Benoit Cousson
Select the CBS package if SDP4430 is enabled during config. Use the proper package (CBL or CBS) based on chip revision. Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Paul Walmsley p...@pwsan.com Cc: Santosh Shilimkar santosh.shilim...@ti.com Cc: Anand

[PATCH v2 5/8] OMAP4: mux: Add CBS package data for OMAP4430 ES2

2010-11-16 Thread Benoit Cousson
more memory at boot time. Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Paul Walmsley p...@pwsan.com Cc: Santosh Shilimkar santosh.shilim...@ti.com Cc: Anand Gadiyar gadi...@ti.com --- arch/arm/mach-omap2/Kconfig |3 + arch/arm/mach-omap2/mux.h

[PATCH v2 7/8] OMAP4: pandaboard: Select CBL CBS package and initialize mux

2010-11-16 Thread Benoit Cousson
init for panda boards. Signed-off-by: sricharan r.sricha...@ti.com Acked-by: Anand Gadiyar gadi...@ti.com Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Santosh Shilimkar santosh.shilim...@ti.com --- arch/arm/mach-omap2/Kconfig|2 ++ arch/arm/mach-omap2/board-omap4panda.c | 16

[PATCH 0/4] OMAP: hwmod core fix and cleanup for 2.6.38

2010-11-22 Thread Benoit Cousson
on mainline (2.6.37-rc2) and is available here: git://gitorious.org/omap-pm/linux.git for_2.6.38/hwmod Tested on SDP4430 ES2.0 with omap2plus_defconfig. It still requires some test on OMAP3 and OMAP2. Regards, Benoit Benoit Cousson (3): OMAP: hwmod: Make omap_hwmod_register private and remove

[PATCH 1/4] OMAP: hwmod: Make omap_hwmod_register private and remove omap_hwmod_unregister

2010-11-22 Thread Benoit Cousson
Do not allow omap_hwmod_register to be used outside the core hwmod code. An omap_hwmod should be register only at init time. Remove the omap_hwmod_unregister that is not used today since the hwmod list will be build once at init time and never be modified at runtime. Signed-off-by: Benoit Cousson

[PATCH 2/4] OMAP: hwmod: Mark functions used only during initialization with __init

2010-11-22 Thread Benoit Cousson
_register, _find_mpu_port_index and _find_mpu_rt_base are static APIs that will be used only during the omap_hwmod initialization phase. There is no need to keep them for runtime. Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil

[PATCH 3/4] OMAP: hwmod: Remove omap_hwmod_mutex

2010-11-22 Thread Benoit Cousson
The hwmod list will be built are init time and never modified at runtime. There is no need anymore to protect the list from concurrent access using the mutex. Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil...@deeprootsystems.com --- arch/arm

[PATCH 4/4] OMAP: hwmod: Disable clocks when hwmod enable fails

2010-11-22 Thread Benoit Cousson
rna...@ti.com Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil...@deeprootsystems.com --- arch/arm/mach-omap2/omap_hwmod.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach

[PATCH 0/6] OMAP34: clock data: Fixes and add new clocks nodes

2010-12-02 Thread Benoit Cousson
://gitorious.org/omap-pm/linux.git for_2.6.38/clock Regards, Benoit Benoit Cousson (2): OMAP4: clock data: Add control for pad_clks_ck and slimbus_clk OMAP3: clock data: Add wkup_clkdm in sr1_fck and sr2_fck Jonathan Bergsagel (1): OMAP4: clock data: Add missing fields in iva_hsd_byp_clk_mux_ck

[PATCH 1/6] OMAP4: clock data: Add control for pad_clks_ck and slimbus_clk

2010-12-02 Thread Benoit Cousson
/ disable this SW gating in the pad_clks_ck and slimbus_clk clock node. Signed-off-by: Benoit Cousson b-cous...@ti.com Signed-off-by: Sebastien Guiriec s-guir...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Rajendra Nayak rna...@ti.com --- arch/arm/mach-omap2/clock44xx_data.c |8 ++-- 1 files

[PATCH 2/6] OMAP3: clock data: Add wkup_clkdm in sr1_fck and sr2_fck

2010-12-02 Thread Benoit Cousson
in srX_fck clock nodes was reported by Kevin during the discussion about smartreflex on OMAP3: https://patchwork.kernel.org/patch/199342/ Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil...@deeprootsystems.com --- arch/arm/mach-omap2

[PATCH 3/6] OMAP4: clock data: Add missing DPLL x2 clock nodes

2010-12-02 Thread Benoit Cousson
by Benoit Cousson. Signed-off-by: Benoit Cousson b-cous...@ti.com Signed-off-by: Thara Gopinath th...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Rajendra Nayak rna...@ti.com --- arch/arm/mach-omap2/clock44xx_data.c | 423 -- 1 files changed, 248 insertions(+), 175

[PATCH 4/6] OMAP4: clock data: Add missing fields in iva_hsd_byp_clk_mux_ck

2010-12-02 Thread Benoit Cousson
From: Jonathan Bergsagel jbergsa...@ti.com Add register address, mask and link to the clksel structure that were missing in the IVA DPLL mux clock node. Signed-off-by: Jonathan Bergsagel jbergsa...@ti.com Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc

[PATCH 5/6] OMAP4: clock data: Add SCRM auxiliary clock nodes

2010-12-02 Thread Benoit Cousson
From: Rajendra Nayak rna...@ti.com Add support for auxiliary clocks nodes which are part of SCRM. Add the header file with scrm registers offset and bitfield. Signed-off-by: Rajendra Nayak rna...@ti.com Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com --- arch/arm

[PATCH 6/6] OMAP4: clock data: Export control to enable/disable CORE/PER M3 clocks

2010-12-02 Thread Benoit Cousson
clocks (dpll post dividers) should be managed by SW and explicitly enabled/disabled. Add control in clock framework to handle that. Signed-off-by: Rajendra Nayak rna...@ti.com Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com --- arch/arm/mach-omap2/clock44xx_data.c

[PATCH 0/3] OMAP: I2C and UART device name cleanup

2010-12-06 Thread Benoit Cousson
/linux.git for_2.6.38/device_name Regards, Benoit Benoit Cousson (3): OMAP: clock: Change device name in clock nodes: i2c_omap - omap_i2c OMAP: i2c: Change device name: i2c_omap - omap_i2c OMAP: serial: Change device name: omap-hsuart - omap_uart arch/arm/mach-omap1/clock_data.c

[PATCH 1/3] OMAP: clock: Change device name in clock nodes: i2c_omap - omap_i2c

2010-12-06 Thread Benoit Cousson
The convention for omap device naming is omap_XXX. Rename the device name used in clock dev noded in order to stick to this naming convention. Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Rajendra Nayak rna...@ti.com --- arch/arm/mach-omap1/clock_data.c

[PATCH 3/3] OMAP: serial: Change device name: omap-hsuart - omap_uart

2010-12-06 Thread Benoit Cousson
The naming convention for omap_device is omap_XXX. Rename the device and driver name in order to stick to this naming convention. Remove the hs prefix that is implicit for every OMAP uarts. Signed-off-by: Benoit Cousson b-cous...@ti.com Acked-by: Govindraj Raja govindraj.r...@ti.com Cc: Paul

[PATCH 2/3] OMAP: i2c: Change device name: i2c_omap - omap_i2c

2010-12-06 Thread Benoit Cousson
The convention for omap device naming is omap_XXX. Rename the device and driver name in order to stick to this naming convention. Signed-off-by: Benoit Cousson b-cous...@ti.com c: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil...@deeprootsystems.com Cc: Rajendra Nayak rna...@ti.com Cc: Ben

[PATCH v2 0/2] OMAP: I2C and UART device name cleanup

2010-12-09 Thread Benoit Cousson
/linux.git for_2.6.38/device_name Regards, Benoit v1 http://www.spinics.net/lists/linux-omap/msg41474.html Merge previous patch #1 and #2 as suggested by Kevin to change the driver name at the same time with the device name in the clockdev. Benoit Cousson (2): I2C: i2c-omap

[PATCH v2 2/2] OMAP: serial: Change device name: omap-hsuart - omap_uart

2010-12-09 Thread Benoit Cousson
The naming convention for omap_device is omap_XXX. Rename the device and driver name in order to stick to this naming convention. Remove the hs prefix that is implicit for every OMAP uarts. Signed-off-by: Benoit Cousson b-cous...@ti.com Acked-by: Govindraj Raja govindraj.r...@ti.com Cc: Paul

[PATCH v2 1/2] I2C: i2c-omap: Change device name: i2c_omap - omap_i2c

2010-12-09 Thread Benoit Cousson
The convention for omap device naming is omap_XXX. Rename the device and driver name in order to stick to this naming convention. Change device name in clock nodes as well. Signed-off-by: Benoit Cousson b-cous...@ti.com c: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil

[PATCH v2 0/8] OMAP34: clock data: Fixes and add new clocks nodes

2010-12-09 Thread Benoit Cousson
, the clocks rate are now accurate and the func_48m_fclk does report 48MHz now! Cool isn't it? Tested on sdp4430 + ES2.0. The series is based on 2.6.37-rc5 and is available here: git://gitorious.org/omap-pm/linux.git for_2.6.38/clock Regards, Benoit Benoit Cousson (3): OMAP4: clock data: Add

[PATCH v2 1/8] OMAP4: clock data: Add control for pad_clks_ck and slimbus_clk

2010-12-09 Thread Benoit Cousson
/ disable this SW gating in the pad_clks_ck and slimbus_clk clock node. Signed-off-by: Benoit Cousson b-cous...@ti.com Signed-off-by: Sebastien Guiriec s-guir...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Rajendra Nayak rna...@ti.com --- arch/arm/mach-omap2/clock44xx_data.c |8 ++-- 1 files

[PATCH v2 2/8] OMAP3: clock data: Add wkup_clkdm in sr1_fck and sr2_fck

2010-12-09 Thread Benoit Cousson
in srX_fck clock nodes was reported by Kevin during the discussion about smartreflex on OMAP3: https://patchwork.kernel.org/patch/199342/ Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil...@deeprootsystems.com --- arch/arm/mach-omap2

[PATCH v2 4/8] OMAP4: clock data: Add missing fields in iva_hsd_byp_clk_mux_ck

2010-12-09 Thread Benoit Cousson
From: Jonathan Bergsagel jbergsa...@ti.com Add register address, mask and link to the clksel structure that were missing in the IVA DPLL mux clock node. Signed-off-by: Jonathan Bergsagel jbergsa...@ti.com Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc

[PATCH v2 3/8] OMAP4: clock data: Add missing DPLL x2 clock nodes

2010-12-09 Thread Benoit Cousson
by Benoit Cousson. Signed-off-by: Benoit Cousson b-cous...@ti.com Signed-off-by: Thara Gopinath th...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Rajendra Nayak rna...@ti.com --- arch/arm/mach-omap2/clock44xx_data.c | 423 -- 1 files changed, 248 insertions(+), 175

[PATCH v2 5/8] OMAP4: PRCM: Add SCRM header file

2010-12-09 Thread Benoit Cousson
Add the header file with scrm registers absolute address, offset and bitfields. Signed-off-by: Benoit Cousson b-cous...@ti.com Signed-off-by: Rajendra Nayak rna...@ti.com Cc: Paul Walmsley p...@pwsan.com --- arch/arm/mach-omap2/scrm44xx.h | 176 1 files

[PATCH v2 6/8] OMAP4: clock data: Add SCRM auxiliary clock nodes

2010-12-09 Thread Benoit Cousson
From: Rajendra Nayak rna...@ti.com Add support for auxiliary clocks nodes which are part of SCRM. Signed-off-by: Rajendra Nayak rna...@ti.com Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com --- arch/arm/mach-omap2/clock44xx_data.c | 175

[PATCH v2 8/8] OMAP4: clock data: Add missing fixed divisors

2010-12-09 Thread Benoit Cousson
...@ti.com Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil...@deeprootsystems.com Cc: Rajendra Nayak rna...@ti.com --- arch/arm/mach-omap2/clock44xx_data.c | 33 ++--- 1 files changed, 22 insertions(+), 11 deletions

[PATCH v2 7/8] OMAP4: clock data: Export control to enable/disable CORE/PER M3 clocks

2010-12-09 Thread Benoit Cousson
clocks (dpll post dividers) should be managed by SW and explicitly enabled/disabled. Add control in clock framework to handle that. Signed-off-by: Rajendra Nayak rna...@ti.com Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com --- arch/arm/mach-omap2/clock44xx_data.c

[PATCH 0/5] OMAP4: hwmod data fixes and update

2010-12-09 Thread Benoit Cousson
://patchwork.kernel.org/patch/396612/ Tested on sdp4430 + ES2.0/ES2.1. Regards, Benoit Benoit Cousson (5): OMAP4: hwmod data: Fix hwmod entries order OMAP4: hwmod data: Add SYSS_HAS_RESET_STATUS flag OMAP4: hwmod data: Fix missing address in DMM and EMIF_FW OMAP4: hwmod data: Add IVA and DSP

[PATCH 1/5] OMAP4: hwmod data: Fix hwmod entries order

2010-12-09 Thread Benoit Cousson
of the progress. Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Rajendra Nayak rna...@ti.com Cc: Govindraj.R govindraj.r...@ti.com Cc: Charulatha V ch...@ti.com Cc: Kevin Hilman khil...@deeprootsystems.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 1002

[PATCH 3/5] OMAP4: hwmod data: Fix missing address in DMM and EMIF_FW

2010-12-09 Thread Benoit Cousson
The DMM is a piece of interconnect that need to be configured properly for the tiler functionnality. It thus exposes some configuration registers that were missing previously. Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com --- arch/arm/mach-omap2

[PATCH 2/5] OMAP4: hwmod data: Add SYSS_HAS_RESET_STATUS flag

2010-12-09 Thread Benoit Cousson
, but the hwmod core code will not wait for the reset completion to continue its excecution. Signed-off-by: Benoit Cousson b-cous...@ti.com Tested-by: Charulatha V ch...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Rajendra Nayak rna...@ti.com Cc: Govindraj.R govindraj.r...@ti.com Cc: Kevin Hilman khil

[PATCH 4/5] OMAP4: hwmod data: Add IVA and DSP

2010-12-09 Thread Benoit Cousson
-by: Benoit Cousson b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil...@deeprootsystems.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 243 +++- 1 files changed, 241 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2

[PATCH 5/5] OMAP4: hwmod clock data: Fix GPIO opt_clks and ocp_if iclk

2010-12-09 Thread Benoit Cousson
Fix opt clocks name in clock framework and hwmod. Add the missing iclk in the ocp_if structure. Add the HWMOD_CONTROL_OPT_CLKS_IN_RESET flag to ensure the the GPIO optional clock is enable during reset. Signed-off-by: Benoit Cousson b-cous...@ti.com Tested-by: Charulatha V ch...@ti.com Cc: Paul

[PATCH 0/5] OMAP34: Fixes in setup/suspend/powerdomain

2010-12-13 Thread Benoit Cousson
Hi Paul, This is a series of fixes on OMAP3/4 in setup apis, in the suspend framework and in powerdomain modelling for OMAP4. The series is based on your power domain series and is available here: git://gitorious.org/omap-pm/linux.git for_2.6.38/power Tested on 4430sdp + ES2.0 with

[PATCH 1/5] OMAP4: PM: Use the lowpwrstatechange feature on OMAP4

2010-12-13 Thread Benoit Cousson
From: Rajendra Nayak rna...@ti.com For pwrdm's which support lowperstatechange, do not try waking up the domain to put it back to deeper sleep state. Signed-off-by: Rajendra Nayak rna...@ti.com Signed-off-by: Santosh Shilimkar santosh.shilim...@ti.com Acked-by: Benoit Cousson b-cous...@ti.com

[PATCH 4/5] OMAP4: powerdomain: Remove L3INIT_PD OFF state

2010-12-13 Thread Benoit Cousson
-by: Santosh Shilimkar santosh.shilim...@ti.com [b-cous...@ti.com: update the changelog with next OMAP info] Signed-off-by: Benoit Cousson b-cous...@ti.com --- arch/arm/mach-omap2/powerdomains44xx_data.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2

[PATCH 2/5] OMAP4: PM: Do not assume clkdm supports hw transitions

2010-12-13 Thread Benoit Cousson
santosh.shilim...@ti.com Acked-by: Benoit Cousson b-cous...@ti.com --- arch/arm/mach-omap2/pm.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-omap2/pm.c b/arch/arm/mach-omap2/pm.c index dc68044..a2a70e1 100644 --- a/arch/arm/mach-omap2/pm.c +++ b/arch/arm/mach

[PATCH 3/5] OMAP4: powerdomain: l4per pwrdm does not support OFF

2010-12-13 Thread Benoit Cousson
From: Rajendra Nayak rna...@ti.com The l4per power domain in ES2.0 does support only RET and ON states. The previous ES1.0 HW database was wrong and thus fixed on ES2. Change the pwrsts field to reflect that. Signed-off-by: Rajendra Nayak rna...@ti.com Acked-by: Benoit Cousson b-cous...@ti.com

[PATCH 5/5] OMAP4: clock data: Keep L3INSTR clock domain modulemode under HW control

2010-12-13 Thread Benoit Cousson
control. Signed-off-by: Rajendra Nayak rna...@ti.com Signed-off-by: Santosh Shilimkar santosh.shilim...@ti.com Acked-by: Benoit Cousson b-cous...@ti.com --- arch/arm/mach-omap2/clock44xx_data.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2

[PATCH v2 0/7] OMAP4: hwmod data fixes and update

2010-12-15 Thread Benoit Cousson
- Fix the order of the dsp hwmod data - Fix OMAP2430 i2c dev_attr warning (minor fix, but not tested) - Include Kevin's patch to fix wakeup in hwmod core Benoit Cousson (6): OMAP4: hwmod data: Fix hwmod entries order OMAP4: hwmod data: Add SYSS_HAS_RESET_STATUS flag OMAP4: hwmod data

[PATCH v2 1/7] OMAP4: hwmod data: Fix hwmod entries order

2010-12-15 Thread Benoit Cousson
diffs. The goal is to stay in sync with the autogenerated data from now on. Add a comment that does contain all the IPs that can have a hwmod, but do not have it in the file for the moment. It gives a good indication of the progress. Signed-off-by: Benoit Cousson b-cous...@ti.com [p...@pwsan.com

[PATCH v2 2/7] OMAP4: hwmod data: Add SYSS_HAS_RESET_STATUS flag

2010-12-15 Thread Benoit Cousson
, but the hwmod core code will not wait for the reset completion to continue its excecution. Signed-off-by: Benoit Cousson b-cous...@ti.com Tested-by: Charulatha V ch...@ti.com Signed-off-by: Paul Walmsley p...@pwsan.com Cc: Rajendra Nayak rna...@ti.com Cc: Govindraj.R govindraj.r...@ti.com Cc: Kevin

[PATCH v2 4/7] OMAP4: hwmod data: Add IVA and DSP

2010-12-15 Thread Benoit Cousson
-by: Benoit Cousson b-cous...@ti.com Signed-off-by: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil...@deeprootsystems.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 243 +++- 1 files changed, 241 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2

[PATCH v2 3/7] OMAP4: hwmod data: Fix missing address in DMM and EMIF_FW

2010-12-15 Thread Benoit Cousson
The DMM is a piece of interconnect that need to be configured properly for the tiler functionnality. It thus exposes some configuration registers that were missing previously. Signed-off-by: Benoit Cousson b-cous...@ti.com Signed-off-by: Paul Walmsley p...@pwsan.com --- arch/arm/mach-omap2

[PATCH v2 7/7] OMAP2430: hwmod data: Use common dev_attr for i2c1 and i2c2

2010-12-15 Thread Benoit Cousson
Since i2c1 and i2c2 are using the same data, remove the two previous instances and use a common i2c_dev_attr one. Moreover, that will fix the following warning: arch/arm/mach-omap2/omap_hwmod_2430_data.c:485: warning: 'i2c_dev_attr' defined but not used Signed-off-by: Benoit Cousson b-cous

[PATCH v2 5/7] OMAP4: hwmod clock data: Fix GPIO opt_clks and ocp_if iclk

2010-12-15 Thread Benoit Cousson
Fix opt clocks name in clock framework and hwmod. Add the missing iclk in the ocp_if structure. Add the HWMOD_CONTROL_OPT_CLKS_IN_RESET flag to ensure the the GPIO optional clock is enable during reset. Signed-off-by: Benoit Cousson b-cous...@ti.com Tested-by: Charulatha V ch...@ti.com Signed

[PATCH v2 6/7] OMAP2+: omap_hwmod: fix wakeup enable/disable for consistency

2010-12-15 Thread Benoit Cousson
); _write_sysconfig(v, oh); } And here, SYSCONFIG is updated again using 'v', which does not have wakeups enabled, resulting in ENAWAKEUP being cleared. Special thanks to Benoit Cousson for pointing out that wakeups were supposed to be automatically enabled when a hwmod is enabled, and thus helping

[PATCH v2 0/6] OMAP: hwmod core fix and cleanup for 2.6.38

2010-12-15 Thread Benoit Cousson
. Thanks to Seb Guiriec for testing the SIDLE_SMART_WKUP fix. Regards, Benoit Changes since v1: http://www.spinics.net/lists/linux-omap/msg40580.html: - Add SIDLE_SMART_WKUP flag support for OMAP4 Benoit Cousson (5): OMAP2+: hwmod: Make omap_hwmod_register private and remove

[PATCH v2 1/6] OMAP2+: hwmod: Make omap_hwmod_register private and remove omap_hwmod_unregister

2010-12-15 Thread Benoit Cousson
Do not allow omap_hwmod_register to be used outside the core hwmod code. An omap_hwmod should be registered only at init time. Remove the omap_hwmod_unregister that is not used today since the hwmod list will be built once at init time and never be modified at runtime. Signed-off-by: Benoit

[PATCH v2 2/6] OMAP2+: hwmod: Mark functions used only during initialization with __init

2010-12-15 Thread Benoit Cousson
_register, _find_mpu_port_index and _find_mpu_rt_base are static APIs that will be used only during the omap_hwmod initialization phase. There is no need to keep them for runtime. Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil

  1   2   3   4   5   6   7   8   9   10   >