[PATCH 6/6] OMAP2+: hwmod: Fix the HW reset management

2011-06-23 Thread Benoit Cousson
when the clocks are disabled. Signed-off-by: Benoit Cousson Cc: Paul Walmsley --- arch/arm/mach-omap2/omap_hwmod.c | 32 1 files changed, 16 insertions(+), 16 deletions(-) diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c index

[PATCH 5/6] OMAP2+: hwmod: Remove _populate_mpu_rt_base warning

2011-06-23 Thread Benoit Cousson
It is perfectly valid for some hwmod to not have any register target address for sysconfig. This is especially true for interconnect hwmods. Remove the warning. Signed-off-by: Benoit Cousson Cc: Paul Walmsley --- arch/arm/mach-omap2/omap_hwmod.c |3 --- 1 files changed, 0 insertions(+), 3

[PATCH 4/6] OMAP2+: hwmod: Do not write the enawakeup bit if SYSC_HAS_ENAWAKEUP is not set

2011-06-23 Thread Benoit Cousson
The Type 2 type of IPs will not have any enawakeup bit in their sysconfig. Writing to that bit will instead trigger a softreset. Check the flag to write this bit only if the module supports it. Reported-by: Miguel Vadillo Signed-off-by: Benoit Cousson Cc: Paul Walmsley --- arch/arm/mach-omap2

[PATCH 3/6] OMAP2+: hwmod: Enable module in shutdown to access sysconfig

2011-06-23 Thread Benoit Cousson
From: Miguel Vadillo When calling the shutdown, the module may be already in idle. Accessing the sysconfig register will then lead to a crash. In that case, re-enable the module in order to allow the access to the sysconfig register. Signed-off-by: Miguel Vadillo Signed-off-by: Benoit Cousson

[PATCH 2/6] OMAP4: hwmod data: Add MSTANDBY_SMART_WKUP flag

2011-06-23 Thread Benoit Cousson
Add the flag to every IPs that support it to allow the framework to enable it instead of the SMART_STANDBY default mode. Without that, an IP with busmaster capability will not be able to wakeup the interconnect at all. Signed-off-by: Benoit Cousson Cc: Paul Walmsley --- arch/arm/mach-omap2

[PATCH 1/6] OMAP2+: hwmod: Fix smart-standby + wakeup support

2011-06-23 Thread Benoit Cousson
MSTANDBY_SMART_WKUP flag to mark the IPs that support this capability. Enable this new mode when applicable in _enable_wakeup, _disable_wakeup, _enable_sysc and _idle_sysc. The omap_hwmod_44xx_data.c will have to be updated to add this new flag. Signed-off-by: Benoit Cousson Signed-off-by: Djamil Elaidi Cc

[PATCH 0/6] OMAP2+: hwmod framework fixes

2011-06-23 Thread Benoit Cousson
/3_hwmod_fixes Regards, Benoit Benoit Cousson (5): OMAP2+: hwmod: Fix smart-standby + wakeup support OMAP4: hwmod data: Add MSTANDBY_SMART_WKUP flag OMAP2+: hwmod: Do not write the enawakeup bit if SYSC_HAS_ENAWAKEUP is not set OMAP2+: hwmod: Remove _populate_mpu_rt_base warning OMAP2

[PATCH 02/16] OMAP4: prcm_mpu: Fix indent in few macros

2011-06-23 Thread Benoit Cousson
Some macros were not well aligned. Re-align them. Signed-off-by: Benoit Cousson Cc: Paul Walmsley Cc: Rajendra Nayak --- arch/arm/mach-omap2/prcm_mpu44xx.h | 69 +-- 1 files changed, 34 insertions(+), 35 deletions(-) diff --git a/arch/arm/mach-omap2

[PATCH 05/16] OMAP4: clock data: Remove usb_host_fs clkdev with NULL dev

2011-06-23 Thread Benoit Cousson
usb_host_fs_fck does have a clkdev mapping with "usbhs-omap.0" and "fs_fck" alias used by the driver. The entry with NULL dev is thus not needed anymore. Signed-off-by: Benoit Cousson Cc: Paul Walmsley Cc: Felipe Balbi --- arch/arm/mach-omap2/clock44xx_data.c |3 ---

[PATCH 12/16] OMAP4: prcm: Remove references to non-existant peripherals

2011-06-23 Thread Benoit Cousson
modules. Update TI copyright. Signed-off-by: Benoit Cousson Cc: Jon Hunter Cc: Paul Walmsley --- arch/arm/mach-omap2/cm-regbits-44xx.h | 115 ++-- arch/arm/mach-omap2/cm2_44xx.h | 32 - arch/arm/mach-omap2/prm-regbits-44xx.h | 108

[PATCH 16/16] OMAP4: hwmod data: Replace CHIP_IS_OMAP4430 by OMAP44XX

2011-06-23 Thread Benoit Cousson
In order to make hwmod data usable for all OMAP4430 variants, rename chip macro CHIP_IS_OMAP44XX. Create the macro as well in cpu.h Signed-off-by: Benoit Cousson Cc: Paul Walmsley --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 164 ++-- arch/arm/plat-omap/include

[PATCH 14/16] OMAP4: hwmod data: Remove un-needed parens

2011-06-23 Thread Benoit Cousson
A couple of parens were added around some flags. Remove them, since they are not needed and not used for any other hwmods. Signed-off-by: Benoit Cousson Cc: Paul Walmsley --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a

[PATCH 15/16] OMAP4: hwmod data: Fix typo and alignement

2011-06-23 Thread Benoit Cousson
Fix a typo in the mailbox description comment. Fix .prcm alignement and usb_otg_hs class and hwmod structures. Add a couple of more potential hwmods in the comment. Remove hsi, since it is already included in the data. Remove one blank line. Signed-off-by: Benoit Cousson Cc: Paul Walmsley

[PATCH 13/16] OMAP4: hwmod data: Fix L3 interconnect data order and alignement

2011-06-23 Thread Benoit Cousson
Change the position of the ocp_if structure to match the template. Remove unneeded comma at the end of address space flag field. Remove USER_SDMA since this ocp link is only from the l3_main_1 path that is accessible only from the MPU in that case and not the SDMA. Signed-off-by: Benoit Cousson

[PATCH 10/16] OMAP4: clock data: Remove UNIPRO clock nodes

2011-06-23 Thread Benoit Cousson
From: Jon Hunter UNIPRO was removed from OMAP4 devices from ES2.0 onwards. Since this IP was anyway non-functional and not supported, it is best to remove it completely. Signed-off-by: Jon Hunter [b-cous...@ti.com: Update the changelog] Signed-off-by: Benoit Cousson Cc: Paul Walmsley

[PATCH 11/16] OMAP4: clock data: Add missing divider selection for auxclks

2011-06-23 Thread Benoit Cousson
selection are named auxclk*_src_ck and the ones for divider selection as auxclk*_ck. Signed-off-by: Rajendra Nayak [b-cous...@ti.com: Rebase on top of clock cleanup and autogen alignement] Signed-off-by: Benoit Cousson Cc: Paul Walmsley --- arch/arm/mach-omap2/clock44xx_data.c | 176

[PATCH 09/16] OMAP4: clock data: Remove McASP2, McASP3 and MMC6 clocks

2011-06-23 Thread Benoit Cousson
Hunter [b-cous...@ti.com: Update the patch according to autogen output] Signed-off-by: Benoit Cousson --- arch/arm/mach-omap2/clock44xx_data.c | 86 ++- arch/arm/mach-omap2/cm-regbits-44xx.h | 49 ++-- arch/arm/mach-omap2/cm2_44xx.h |6

[PATCH 08/16] OMAP4: clock data: Rename clock flags from 443X to 44XX

2011-06-23 Thread Benoit Cousson
: Rajendra Nayak Signed-off-by: Benoit Cousson Cc: Paul Walmsley --- arch/arm/mach-omap2/clock44xx_data.c | 651 - arch/arm/plat-omap/include/plat/clkdev_omap.h |2 + arch/arm/plat-omap/include/plat/clock.h |1 + 3 files changed, 328 insertions

[PATCH 07/16] OMAP4: clock data: Fix max mult and div for USB DPLL

2011-06-23 Thread Benoit Cousson
to avoid unneeded indirection and provide a better readability. Remove the defines that become useless. Signed-off-by: Benoit Cousson Cc: Paul Walmsley Cc: Rajendra Nayak --- arch/arm/mach-omap2/clock44xx.h |7 --- arch/arm/mach-omap2/clock44xx_data.c| 28

[PATCH 06/16] OMAP4: clock data: Re-order some clock nodes and structure fields

2011-06-23 Thread Benoit Cousson
A couple of fields were edited manually and thus do not stick to the template used by the generator and by other structures. Move them to the correct location. Fix the wrong .ops for the dpll_unipro_x2_ck node. Signed-off-by: Benoit Cousson Cc: Paul Walmsley --- arch/arm/mach-omap2

[PATCH 04/16] OMAP4: clock data: Add sddiv to USB DPLL

2011-06-23 Thread Benoit Cousson
The USB DPLL is a J-Type DPLL with the sddiv extra parameter. On the other hand, the UNIPRO is not a J-Type and thus does not require this flag. Add it in USB DPLL and remove it in UNIPRO DPLL. Signed-off-by: Benoit Cousson Cc: Paul Walmsley --- arch/arm/mach-omap2/clock44xx_data.c |2

[PATCH 03/16] OMAP4: clockdomain data: Fix data order and wrong name

2011-06-23 Thread Benoit Cousson
MPUSS was renamed MPU and L3_D2D D2D. The rename will slightly change the order of the structure and thus generate some structures moves. Add a comment and remove a comma. Update Copyright for TI and Nokia and add back Paul in the author list. Signed-off-by: Benoit Cousson Cc: Paul Walmsley

[PATCH 00/16] OMAP4: PRCM big spring (late) cleanup

2011-06-23 Thread Benoit Cousson
clock framework + DT). Moreover, the diffstat is negative:-) The series is based on for_3.0.1/1_prcm_files_fixes and tested on OMAP4430 ES2.1 + SDP. The patches are available here: git://gitorious.org/omap-pm/linux.git for_3.0.1/2_prcm_files_cleanup Regards, Benoit Benoit Cousson (12): OMAP4

[PATCH 3/3] OMAP4: powerdomain data: Fix core mem states and missing cefuse flag

2011-06-23 Thread Benoit Cousson
missing. Add the PWRDM_HAS_LOWPOWERSTATECHANGE in flags field. Indent all previous flags to be aligned with other fields. Update the TI copyright date to 2011. Signed-off-by: Benoit Cousson Cc: Paul Walmsley Cc: Rajendra Nayak Cc: Santosh Shilimkar --- arch/arm/mach-omap2/powerdomains44xx_data.c

[PATCH 2/3] OMAP4: prm: Remove wrong clockdomain offsets

2011-06-23 Thread Benoit Cousson
ones. Signed-off-by: Benoit Cousson Cc: Paul Walmsley --- arch/arm/mach-omap2/prm44xx.h | 12 1 files changed, 0 insertions(+), 12 deletions(-) diff --git a/arch/arm/mach-omap2/prm44xx.h b/arch/arm/mach-omap2/prm44xx.h index 2aec8c8..6e53120 100644 --- a/arch/arm/mach-omap2

[PATCH 1/3] OMAP4: pcrm: Fix errors in few defines name

2011-06-23 Thread Benoit Cousson
blank line in cm2_44xx.h to align the output with the other (cm1_44xx.h, prm44xx.h) files. Replace one tab with space. Update header copyright date. Signed-off-by: Benoit Cousson Cc: Paul Walmsley Cc: Rajendra Nayak --- arch/arm/mach-omap2/cm1_44xx.h | 28 ++-- arch

[PATCH 0/3] OMAP4: PRCM fixes

2011-06-23 Thread Benoit Cousson
Hi Paul & Rajendra, Here are a couple of fixes on PRCM header files and powerdomain data. The series is based on v3.0-rc4 and tested on OMAP4430 ES2.1 + SDP. The patches are available here: git://gitorious.org/omap-pm/linux.git for_3.0.1/1_prcm_files_fixes Regards, Benoit Benoit Cousso

[PATCH 8/8] OMAP4: hwmod data: Add AESS, McPDM, bandgap, counter_32k, MMC, KBD, ISS & IPU

2011-02-17 Thread Benoit Cousson
Add more hwmod structures but keep them commented out for the moment until the driver adaptation to hwmod / omap_device is done. Signed-off-by: Benoit Cousson Cc: Paul Walmsley Cc: Kevin Hilman --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 1009 +++- 1 files changed

[PATCH 7/8] OMAP4: hwmod data: Add McBSP

2011-02-17 Thread Benoit Cousson
Add mcbsp data including a revision member in hwmod_class in order to provide mcbsp revision information in different omap. Signed-off-by: Benoit Cousson Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Charulatha V [b-cous...@ti.com: Remove the mcbsp4 memory name, re-order properly the

[PATCH 6/8] OMAP4: hwmod data: Add DMIC

2011-02-17 Thread Benoit Cousson
tails defined in HWMOD. Signed-off-by: Benoit Cousson Signed-off-by: David Lambert [b-cous...@ti.com: Change the wrong hwmod name, add missing flag and re-order structures] --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 94 +++- 1 files changed, 93 insertions(+), 1 dele

[PATCH 5/8] OMAP4: hwmod data: Add mailbox

2011-02-17 Thread Benoit Cousson
Mailbox hwmod data for omap4. Signed-off-by: Benoit Cousson Signed-off-by: Omar Ramirez Luna [b-cous...@ti.com: Re-order the structures and remove the irq line name] --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 68 +++- 1 files changed, 67 insertions(+), 1

[PATCH 3/8] OMAP4: hwmod data: Add timer

2011-02-17 Thread Benoit Cousson
e ABE (audio backend) - 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 Signed-off-by: Tarun Kanti DebBarma [b-cous...@ti.com: Fix alignement in class attribute, re-order

[PATCH 4/8] OMAP4: hwmod data: Add DSS, DISPC, DSI1&2, RFBI, HDMI and VENC

2011-02-17 Thread Benoit Cousson
: Benoit Cousson Signed-off-by: Mayuresh Janorkar Signed-off-by: Senthilvadivu Guruswamy Signed-off-by: Sumit Semwal [b-cous...@ti.com: Re-organize structures to match file convention and remove irq entry from dss_hwmod] --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 612

[PATCH 2/8] OMAP4: hwmod data: Add McSPI

2011-02-17 Thread Benoit Cousson
Update omap4 hwmod file with McSPI info. Signed-off-by: Benoit Cousson Signed-off-by: Charulatha V Signed-off-by: Govindraj.R Acked-by: Grant Likely Reviewed-by: Kevin Hilman --- [b-cous...@ti.com: Remove dev_attr to prevent dependency with device code. It will have to be re-added along with

[PATCH 1/8] OMAP4: hwmod data: Add hwspinlock

2011-02-17 Thread Benoit Cousson
Add hwspinlock hwmod data for OMAP4 chip Signed-off-by: Cousson, Benoit Signed-off-by: Hari Kanigeri Signed-off-by: Ohad Ben-Cohen Cc: Paul Walmsley [b-cous...@ti.com: Move the data to keep the original order and add missing SIDLE_SMART_WKUP flag] --- arch/arm/mach-omap2/omap_hwmod_44xx_data.

[PATCH 0/8] OMAP4: hwmod data: Add a bunch of IPs

2011-02-17 Thread Benoit Cousson
since commit 85e2efbb1db9a18d218006706d6e4fbeb0216213: Linus Torvalds (1): Linux 2.6.38-rc5 are available in the git repository at: git://gitorious.org/omap-pm/linux.git for_2.6.39/omap4_hwmod_data Benoit Cousson (8): OMAP4: hwmod data: Add hwspinlock OMAP4: hwmod data: Add McSPI

[PATCH 4/4] OMAP4: hwmod data: Fix alignment and end of line in structure fields

2010-12-23 Thread Benoit Cousson
r_disable," - Add a blank line before the first entry of the omap44xx_hwmods array. Signed-off-by: Benoit Cousson Cc: Paul Walmsley Cc: Kevin Hilman --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 43 ++- 1 files changed, 22 insertions(+), 21 deletions(-) diff --

[PATCH 3/4] OMAP4: hwmod data: Move the DMA structures

2010-12-23 Thread Benoit Cousson
The merge of the DMA series on top of the already modified omap_hwmod_data_44xx.c put the dma_system structures at the wrong position in the file. Re-order it properly. Signed-off-by: Benoit Cousson Cc: Kevin Hilman Cc: Paul Walmsley Cc: G, Manjunath Kondaiah --- arch/arm/mach-omap2

[PATCH 2/4] OMAP4: hwmod data: Move the smartreflex structures

2010-12-23 Thread Benoit Cousson
The merge of the SR series on top of the already modified omap_hwmod_data_44xx.c moved the smartreflex structures at the wrong position in the file. - Re-order the structures properly. Signed-off-by: Benoit Cousson Cc: Thara Gopinath Cc: Kevin Hilman --- arch/arm/mach-omap2

[PATCH 1/4] OMAP4: hwmod data: Fix missing SIDLE_SMART_WKUP in smartreflex sysc

2010-12-23 Thread Benoit Cousson
Add the missing SIDLE_SMART_WKUP flag in idlemodes field of the smartreflex sysconfig structure. Signed-off-by: Benoit Cousson Cc: Paul Walmsley Cc: Kevin Hilman Cc: Thara Gopinath --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions

[PATCH] OMAP4: hwmod data: Fix SR flags, structures order and field alignment

2010-12-23 Thread Benoit Cousson
tdown = &omap2_wd_timer_disable," Signed-off-by: Benoit Cousson Cc: Paul Walmsley Cc: Kevin Hilman Cc: Thara Gopinath Cc: G, Manjunath Kondaiah --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 573 ++-- 1 files changed, 285 insertions(+), 288 deletions(-) diff --git a/arch/

[PATCH v2 5/6] OMAP2+: hwmod: Add wakeup support for new OMAP4 IPs

2010-12-15 Thread Benoit Cousson
omap_hwmod_44xx_data.c will have to be updated to add this new flag. Enable this new mode when applicable in _enable_wakeup, _enable_sysc and _idle_sysc. Signed-off-by: Benoit Cousson Tested-by: Sebastien Guiriec Cc: Paul Walmsley Cc: Kevin Hilman Cc: Rajendra Nayak --- arch/arm/mach-omap2

[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 Cc: Paul Walmsley Cc: Kevin Hilman --- arch/arm/mach-omap2/omap_hwmod.c |8

[PATCH v2 4/6] OMAP2+: hwmod: Disable clocks when hwmod enable fails

2010-12-15 Thread Benoit Cousson
: Benoit Cousson Cc: Paul Walmsley Cc: Kevin Hilman --- 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-omap2/omap_hwmod.c index 91b011e..c576121 100644 --- a/arch/arm/mach-omap2

[PATCH v2 3/6] OMAP2+: hwmod: Remove omap_hwmod_mutex

2010-12-15 Thread Benoit Cousson
The hwmod list will be built are init time and never be modified at runtime. There is no need anymore to protect the list from concurrent accesses using a mutex. Signed-off-by: Benoit Cousson Cc: Paul Walmsley Cc: Kevin Hilman --- arch/arm/mach-omap2/omap_hwmod.c | 26

[PATCH v2 6/6] OMAP4: hwmod data: Add SIDLE_SMART_WKUP modes to several IPs

2010-12-15 Thread Benoit Cousson
uart, gpio, wd_timer and i2c does support the new smart-idle with wakeup added in OMAP4. Add the flag to allow the hwmod core to enable this mode when applicable. Signed-off-by: Benoit Cousson Cc: Paul Walmsley Cc: Kevin Hilman Cc: Rajendra Nayak --- arch/arm/mach-omap2

[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 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 6/7] OMAP2+: omap_hwmod: fix wakeup enable/disable for consistency

2010-12-15 Thread Benoit Cousson
_set_module_autoidle(oh, idlemode, &v); _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 wakeup

[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 Signed-off-by: Paul Walmsley --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 26

[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

[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 Tested-by: Charulatha V Signed-off-by: Paul Walmsley Cc

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

2010-12-15 Thread Benoit Cousson
those 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 [p...@pwsan.com: updated to

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

2010-12-15 Thread Benoit Cousson
the hwmod core code will not wait for the reset completion to continue its excecution. Signed-off-by: Benoit Cousson Tested-by: Charulatha V Signed-off-by: Paul Walmsley Cc: Rajendra Nayak Cc: Govindraj.R Cc: Kevin Hilman --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 12 +++- 1

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

2010-12-15 Thread Benoit Cousson
: Benoit Cousson Signed-off-by: Paul Walmsley Cc: Kevin Hilman --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 243 +++- 1 files changed, 241 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c b/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

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

2010-12-13 Thread Benoit Cousson
From: Rajendra Nayak 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 Acked-by: Benoit Cousson --- arch/arm/mach-omap2

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

2010-12-13 Thread Benoit Cousson
: Rajendra Nayak Signed-off-by: Santosh Shilimkar Acked-by: Benoit Cousson --- arch/arm/mach-omap2/clock44xx_data.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/clock44xx_data.c b/arch/arm/mach-omap2/clock44xx_data.c index 76e900b..a72f6ab

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

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

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

2010-12-13 Thread Benoit Cousson
From: Rajendra Nayak omap_set_pwrdm_state today assumes a clkdm supports hw_auto transitions and hence leaves some which do not support this in sw wkup state preventing low power transitions. Signed-off-by: Rajendra Nayak Signed-off-by: Santosh Shilimkar Acked-by: Benoit Cousson --- arch

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

2010-12-13 Thread Benoit Cousson
From: Rajendra Nayak 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 Signed-off-by: Santosh Shilimkar Acked-by: Benoit Cousson --- arch/arm/mach-omap2/pm.c |8 1 files chang

[PATCH 0/5] OMAP3&4: 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 omap2plus_def

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

2010-12-09 Thread Benoit Cousson
the hwmod core code will not wait for the reset completion to continue its excecution. Signed-off-by: Benoit Cousson Tested-by: Charulatha V Cc: Paul Walmsley Cc: Rajendra Nayak Cc: Govindraj.R Cc: Kevin Hilman --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 12 +++- 1 files

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

2010-12-09 Thread Benoit Cousson
: Benoit Cousson Cc: Paul Walmsley Cc: Kevin Hilman --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 243 +++- 1 files changed, 241 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c index

[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 Tested-by: Charulatha V Cc: Paul Walmsley Cc: Rajendra

[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 Cc: Paul Walmsley --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 26

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

2010-12-09 Thread Benoit Cousson
of the progress. Signed-off-by: Benoit Cousson Cc: Paul Walmsley Cc: Rajendra Nayak Cc: Govindraj.R Cc: Charulatha V Cc: Kevin Hilman --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 1002 +++- 1 files changed, 553 insertions(+), 449 deletions(-) diff --git a/arch

[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 v2 8/8] OMAP4: clock data: Add missing fixed divisors

2010-12-09 Thread Benoit Cousson
) - func_12m_fclk (freq = parent divided-by-16) - func_24m_clk (freq = parent divided-by-4) - func_24mc_fclk (freq = parent divided-by-8) - func_48mc_fclk (freq = divided-by-4) - lp_clk_div_ck (freq = divided-by-16) - per_abe_24m_fclk (freq = divided-by-4) Signed-off-by: Jon Hunter Signed-off-by: Benoit

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

2010-12-09 Thread Benoit Cousson
post dividers) should be managed by SW and explicitly enabled/disabled. Add control in clock framework to handle that. Signed-off-by: Rajendra Nayak Signed-off-by: Benoit Cousson Cc: Paul Walmsley --- arch/arm/mach-omap2/clock44xx_data.c |8 ++-- 1 files changed, 6 insertions(+), 2

[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 Signed-off-by: Rajendra Nayak Cc: Paul Walmsley --- arch/arm/mach-omap2/scrm44xx.h | 176 1 files changed, 176 insertions(+), 0 deletions

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

2010-12-09 Thread Benoit Cousson
From: Rajendra Nayak Add support for auxiliary clocks nodes which are part of SCRM. Signed-off-by: Rajendra Nayak Signed-off-by: Benoit Cousson Cc: Paul Walmsley --- arch/arm/mach-omap2/clock44xx_data.c | 175 ++ 1 files changed, 175 insertions(+), 0

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

2010-12-09 Thread Benoit Cousson
Cousson. Signed-off-by: Benoit Cousson Signed-off-by: Thara Gopinath Cc: Paul Walmsley Cc: Rajendra Nayak --- arch/arm/mach-omap2/clock44xx_data.c | 423 -- 1 files changed, 248 insertions(+), 175 deletions(-) diff --git a/arch/arm/mach-omap2/clock44xx_data.c b

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

2010-12-09 Thread Benoit Cousson
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 Cc: Paul Walmsley Cc: Kevin Hilman --- arch/arm/mach-omap2/clock3xxx_data.c |2 ++ 1 files changed, 2 insertions(+), 0

[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 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 Signed-off-by: Benoit Cousson Cc: Paul Walmsley Cc: Rajendra Nayak --- arch/arm/mach-omap2/clock44xx_data.c |6

[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 Signed-off-by: Sebastien Guiriec Cc: Paul Walmsley Cc: Rajendra Nayak --- arch/arm/mach-omap2/clock44xx_data.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/arm

[PATCH v2 0/8] OMAP3&4: 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

[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 Acked-by: Govindraj Raja Cc: Paul Walmsley Cc: Kevin Hilman --- arch

[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 c: Paul Walmsley Cc: Kevin Hilman Cc: Rajendra Nayak Cc: Ben Dooks --- arch/arm/mach

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

2010-12-09 Thread Benoit Cousson
orious.org/omap-pm/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

[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 Acked-by: Govindraj Raja Cc: Paul Walmsley Cc: Kevin Hilman --- arch

[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 c: Paul Walmsley Cc: Kevin Hilman Cc: Rajendra Nayak Cc: Ben Dooks --- arch/arm/plat-omap/i2c.c |2 +- drivers/i2c/busses

[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 Cc: Paul Walmsley Cc: Rajendra Nayak --- arch/arm/mach-omap1/clock_data.c |6 +++--- arch/arm/mach-omap2

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

2010-12-06 Thread Benoit Cousson
orious.org/omap-pm/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

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

2010-12-02 Thread Benoit Cousson
post dividers) should be managed by SW and explicitly enabled/disabled. Add control in clock framework to handle that. Signed-off-by: Rajendra Nayak Signed-off-by: Benoit Cousson Cc: Paul Walmsley --- arch/arm/mach-omap2/clock44xx_data.c |8 ++-- 1 files changed, 6 insertions(+), 2

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

2010-12-02 Thread Benoit Cousson
Cousson. Signed-off-by: Benoit Cousson Signed-off-by: Thara Gopinath Cc: Paul Walmsley Cc: Rajendra Nayak --- arch/arm/mach-omap2/clock44xx_data.c | 423 -- 1 files changed, 248 insertions(+), 175 deletions(-) diff --git a/arch/arm/mach-omap2/clock44xx_data.c b

[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 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 Signed-off-by: Benoit Cousson Cc: Paul Walmsley Cc: Rajendra Nayak --- arch/arm/mach-omap2/clock44xx_data.c |6

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

2010-12-02 Thread Benoit Cousson
From: Rajendra Nayak 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 Signed-off-by: Benoit Cousson Cc: Paul Walmsley --- arch/arm/mach-omap2/clock44xx_data.c | 175

[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 Signed-off-by: Sebastien Guiriec Cc: Paul Walmsley Cc: Rajendra Nayak --- arch/arm/mach-omap2/clock44xx_data.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/arm

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

2010-12-02 Thread Benoit Cousson
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 Cc: Paul Walmsley Cc: Kevin Hilman --- arch/arm/mach-omap2/clock3xxx_data.c |2 ++ 1 files changed, 2 insertions(+), 0

[PATCH 0/6] OMAP3&4: 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_

[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 Cc: Paul Walmsley Cc: Kevin Hilman --- arch/arm/mach-omap2/omap_hwmod.c |8

[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 Cc: Paul Walmsley Cc: Kevin Hilman --- arch/arm/mach-omap2/omap_hwmod.c | 26

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

2010-11-22 Thread Benoit Cousson
: Benoit Cousson Cc: Paul Walmsley Cc: Kevin Hilman --- 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-omap2/omap_hwmod.c index f221587..896012d 100644 --- a/arch/arm/mach-omap2

[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 0/4] OMAP: hwmod core fix and cleanup for 2.6.38

2010-11-22 Thread Benoit Cousson
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 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 Cc: Tony Lindgren Cc: Paul Walmsley Cc: Santosh Shilimkar Cc: Anand Gadiyar --- arch/arm/mach-omap2/Kconfig |1 + arch/arm/mach

[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 Cc: Tony Lindgren Cc: Paul Walmsley Cc: Santosh Shilimkar Cc: Anand Gadiyar --- arch/arm/mach-omap2/Kconfig |3 + arch/arm/mach-omap2/mux.h |1 + arch/arm/mach-omap2/mux44xx.c | 741

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

2010-11-16 Thread Benoit Cousson
boards. Signed-off-by: sricharan Acked-by: Anand Gadiyar Signed-off-by: Benoit Cousson Cc: Santosh Shilimkar --- arch/arm/mach-omap2/Kconfig|2 ++ arch/arm/mach-omap2/board-omap4panda.c | 16 2 files changed, 18 insertions(+), 0 deletions(-) diff --git a/arch/arm

[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 Cc: Tony Lindgren Cc: Paul Walmsley Cc: Kevin Hilman --- arch/arm/mach-omap2/Kconfig |1 + arch/arm/mach-omap2/board-4430sdp.c | 10

<    4   5   6   7   8   9   10   >