[PATCHv7 11/21] TEMP: ARM: OMAP3: beagle rev-c4: enable OPP6

2012-09-25 Thread Tero Kristo
Beagleboard rev-c4 has a speed sorted OMAP3530 chip which can run at 720MHz. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/board-omap3beagle.c | 29 + arch/arm/mach-omap2/opp3xxx_data.c |4 2 files changed, 33 insertions(+), 0

[PATCHv7 10/21] ARM: OMAP: TWL: change the vddmin / vddmax voltages to spec

2012-09-25 Thread Tero Kristo
As vddmin / vddmax voltages for the pmic only describe the pmic capabilities now, change the voltages to be according to spec. TWL data manuals give following values: TWL4030 (SWCS019L) : VDD1: 600mV ... 1450mV, VDD2: 600mV ... 1500mV TWL5030 (SWCS030E) : VDD1: 600mV ... 1450mV, VDD2: 600mV ...

[PATCHv7 12/21] ARM: OMAP: beagle: set oscillator startup time to 10ms for rev c4

2012-09-25 Thread Tero Kristo
Based on the oscillator datasheet for this device. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/board-omap3beagle.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c

[PATCHv7 15/21] ARM: OMAP4: vc: fix channel configuration

2012-09-25 Thread Tero Kristo
RACEN bit should only be set if the voltage and command register addresses are the same. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/vc.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/vc.c b/arch/arm/mach-omap2/vc.c index

[PATCHv7 14/21] ARM: OMAP3+: voltage: remove unused volt_setup_time parameter

2012-09-25 Thread Tero Kristo
This is no longer needed as the ramp times are calculated from voltage deltas + slew rates. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/omap_twl.c |5 - arch/arm/mach-omap2/voltage.h |1 - 2 files changed, 0 insertions(+), 6 deletions(-) diff --git

[PATCHv7 16/21] ARM: OMAP4: VC: setup I2C parameters based on board data

2012-09-25 Thread Tero Kristo
VC code now provides a table of pre-calculated I2C setup parameters, which will be used based on the capacitance value calculated for the I2C trace on the PCB. A default trace length of 6.3cm is used unless board defines its own value during init. The parameters set will be the I2C internal pull

[PATCHv7 17/21] ARM: OMAP4: TWL: enable high speed mode for PMIC communication

2012-09-25 Thread Tero Kristo
With the new parameters, I2C can now be put to high speed mode for better performance. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/omap_twl.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/omap_twl.c

[PATCHv7 13/21] ARM: OMAP3: vc: auto_ret / auto_off support

2012-09-25 Thread Tero Kristo
Voltage code will now enable / disable auto_ret / auto_off dynamically according to the voltagedomain usecounts. This is accomplished via the usage of the voltdm callback functions for sleep / wakeup. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/vc.c | 139

[PATCHv7 06/21] ARM: OMAP4: VC: calculate ramp times

2012-09-25 Thread Tero Kristo
OMAP4 VC code now uses voltage deltas + slew rates for calculating actual ramp times for voltage changes. Both retention / sleep + off mode voltage ramp times are setup at the same time during initialization. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/vc.c | 94

[PATCHv7 19/21] ARM: OMAP3+: PM: introduce a central pmic control

2012-09-25 Thread Tero Kristo
From: Nishanth Menon n...@ti.com Since we are starting to use multiple PMICs in various combinations, use the existing .omap_chip = OMAP_CHIP_INIT() to mark the structures we are interested in using per OMAP device we are currently running on. This mapping is based on the default device

[PATCHv7 18/21] ARM: OMAP4: OPP: add OMAP4460 definitions

2012-09-25 Thread Tero Kristo
From: Vishwanath Sripathy vishwanath...@ti.com Add OMAP4460 OPP definitions for voltage and frequencies based on OMAP4460 ES1.0 DM Operating Condition Addendum Version 0.1 The following exceptions are present: * Smartreflex support is still on experimental mode: the gains and min limits are

[PATCHv7 21/21] ARM: OMAP4: vc: auto retention support

2012-09-25 Thread Tero Kristo
This patch adds callbacks for the voltdm sleep / wakeups, which are now used for enabling / disabling auto retention voltage control. Once a voltage domain is ready to idle, its auto retention mode is enabled. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/prm-regbits-44xx.h

[PATCHv7 20/21] ARM: OMAP2+ PM: Add support for TPS62361

2012-09-25 Thread Tero Kristo
From: Vishwanath BS vishwanath...@ti.com TPS62361 is a new PMIC used with OMAP4460 on SDP4430 platform and panda board ES to supply MPU VDD. Rest of the VDDs continue to be supplied via TWL6030. As part of this, the following have been moved to common location in voltage.h

Re: Powering OMAP's pins

2012-09-25 Thread Tomi Valkeinen
On Tue, 2012-09-25 at 08:38 -0700, Tony Lindgren wrote: * Tomi Valkeinen tomi.valkei...@ti.com [120925 03:22]: Hi Tony, Each pin of OMAP requires a particular power to be enabled for the pin to function (Ball Characteristics table from data manual). Is there a plan how this is managed

Re: tidspbridge build fails

2012-09-25 Thread Selso LIBERADO
Hi ! Here what's happening when applying the patch : sli@SLI-V420:~/developpement/INTERNE/BEAGLEBOARD/logiciel/linux-omap$ git apply --check ../../archive/10-17-staging-tidspbridge-Prepare-for-irqs.h-removal.patch error: patch failed: drivers/staging/tidspbridge/core/wdt.c:25 error:

Re: [PATCHv2 1/4] mfd: smsc: Add support for smsc gpio io/keypad driver

2012-09-25 Thread Mark Brown
On Wed, Sep 05, 2012 at 05:06:04PM +0530, Sourav Poddar wrote: +static struct regmap_config smsc_regmap_config = { + .reg_bits = 8, + .val_bits = 8, + .max_register = SMSC_MAX_REGISTER - 1; + .cache_type = REGCACHE_COMPRESSED, +}; That

Re: [PATCHv2 1/4] mfd: smsc: Add support for smsc gpio io/keypad driver

2012-09-25 Thread Poddar, Sourav
Hi, On Tue, Sep 25, 2012 at 11:22 PM, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Wed, Sep 05, 2012 at 05:06:04PM +0530, Sourav Poddar wrote: +static struct regmap_config smsc_regmap_config = { + .reg_bits = 8, + .val_bits = 8, +

[PATCH] of: dma: fix potential deadlock when requesting a slave channel

2012-09-25 Thread Jon Hunter
In the latest version of the OF dma handlers I added support (rather hastily) to exhaustively search for an available dma slave channel, for the use-case where we have alternative slave channels that can be used. In the current implementation a deadlock scenario can occur causing the CPU to loop

Re: Powering OMAP's pins

2012-09-25 Thread Tony Lindgren
* Tomi Valkeinen tomi.valkei...@ti.com [120925 10:06]: On Tue, 2012-09-25 at 08:38 -0700, Tony Lindgren wrote: * Tomi Valkeinen tomi.valkei...@ti.com [120925 03:22]: Hi Tony, Each pin of OMAP requires a particular power to be enabled for the pin to function (Ball Characteristics

Re: CPU_IDLE causes random reboots on custom 4430

2012-09-25 Thread Christian Hoffmann
On 09/23/2012 06:11 PM, Shilimkar, Santosh wrote: On Sat, Sep 22, 2012 at 10:41 PM, Chris Hoffmann chrmhoffm...@gmail.com wrote: On 09/22/2012 07:45 AM, Shilimkar, Santosh wrote: On Sat, Sep 22, 2012 at 4:19 AM, Chris Hoffmann chrmhoffm...@gmail.com wrote: Hi, We're trying to get a custom

Re: tidspbridge build fails

2012-09-25 Thread Omar Ramirez Luna
Hi, On Tue, Sep 25, 2012 at 12:39 PM, Selso LIBERADO s...@cioinfoindus.fr wrote: Hi ! Here what's happening when applying the patch : sli@SLI-V420:~/developpement/INTERNE/BEAGLEBOARD/logiciel/linux-omap$ git apply --check

Re: [PATCHv5 00/10] ARM: OMAP: PM usecounting changes

2012-09-25 Thread Rajendra Nayak
On Tuesday 25 September 2012 07:47 PM, Tero Kristo wrote: Actually I think I accidentally fixed this problem with the latest rev, due to the fact that I am using generic clkdm_clk_enable / disable calls from iclk now. I also just tested this (while fixing the complaint from Russell), and it

[PATCH V2 0/2] OMAPDSS: Enable dynamic debug printing

2012-09-25 Thread Chandrabhanu Mahapatra
Hi everyone, this patch series aims at cleaning up of DSS of printk()'s enabled with dss_debug and replace them with generic dynamic debug printing. The 1st patch * replaces printk() in DSSDBG definition with pr_debug() * removes DSSDBGF definition and replaces its instances with DSSDBG() The

[PATCH V2 1/2] OMAPDSS: Cleanup DSSDBG with dynamic pr_debug function

2012-09-25 Thread Chandrabhanu Mahapatra
The printk in DSSDBG function definition is replaced with dynamic debug enabled pr_debug(). The use of dynamic debugging provides more flexibility as each debug statement can be enabled or disabled dynamically on basis of source filename, line number, module name etc. by writing to a control file

[PATCH V2 2/2] OMAPDSS: Remove dss_debug variable

2012-09-25 Thread Chandrabhanu Mahapatra
The debug prints in omap_dispc_unregister_isr() and _dsi_print_reset_status() are replaced with dynamic debug enabled pr_debug(). So, as the final dependency on dss_debug variable is replaced with dyndbg, the dss_debug variable is removed. Signed-off-by: Chandrabhanu Mahapatra cmahapa...@ti.com

Re: [PATCH v2 16/18] OMAPDSS: DISPC: Configure writeback FIFOs

2012-09-25 Thread Archit Taneja
On Tuesday 25 September 2012 08:20 PM, Tomi Valkeinen wrote: On Tue, 2012-09-25 at 11:49 +0530, Archit Taneja wrote: Extend the DISPC fifo functions to also configure the writeback FIFO thresholds. The most optimal configuration for writeback is to push out data to the interconnect the moment

Re: [PATCH 4/4] usb: phy: omap-usb2: enable 960Mhz clock for omap5

2012-09-25 Thread ABRAHAM, KISHON VIJAY
Hi, On Wed, Sep 19, 2012 at 5:26 PM, Felipe Balbi ba...@ti.com wrote: On Wed, Sep 19, 2012 at 05:00:29PM +0530, Kishon Vijay Abraham I wrote: usb_otg_ss_refclk960m is needed by usb2 phy present in omap5. For omap4, the clk_get of this clock will fail since it does not have this clock.

Re: [PATCH 1/1] usb: Include generic_interrupt for OMAP2_PLUS

2012-09-25 Thread Praveena Nadahally
On Tue, Sep 25, 2012 at 2:39 PM, Philippe De Swert philippedesw...@gmail.com wrote: Hi, On 25/09/2012, Felipe Balbi ba...@ti.com wrote: Then maybe it's best to just remove the ifdefs and always provide generic_interrupt() ? Anyone against it ? Providing generic_interrupt seems fine. Well

<    1   2