Re: [PATCH 2/3] Add pm-debug counters

2008-10-15 Thread Högander Jouni
ext Peter 'p2' De Schrijver [EMAIL PROTECTED] writes: This patch provides the debugfs entries and a function which will be called by the PM code to register the time spent per domain per state. Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/pm-debug.c

Re: [PATCH 1/3] clk: introduce omap_clk_associate

2008-10-15 Thread Högander Jouni
ext Tony Lindgren [EMAIL PROTECTED] writes: * Igor Stoppa [EMAIL PROTECTED] [081014 14:12]: On Tue, 2008-10-14 at 13:59 -0700, ext Tony Lindgren wrote: And that we can use same naming in the driver no matter which omap :) Wasn't that one of the main features of the clock FW, when it was

Re: [PATCH 6/8] tsl2563: move tsl2563 to drivers/hwmon

2008-10-15 Thread Jean Delvare
Hi Felipe, David, On Tue, 14 Oct 2008 14:44:51 -0700, David Brownell wrote: On Tuesday 14 October 2008, Felipe Balbi wrote: I'd say that if it goes to the wrong place and doesn't bother anyone, will get forgotten. Just like the whole bunch of other drivers sitting in linux-omap... You're

[PATCH 0/6] Integrate the twl4030 power code into new twl4030 mfd

2008-10-15 Thread Peter 'p2' De Schrijver
This patchset integrates the twl4030 power code into the new twl4030 mfd framework. The scripts will be moved to the board specific data. Peter 'p2' De Schrijver (6): Add defines and data types for twl4030. Move existing TWL4030 code to drivers/mfd Hook twl4030 power code into twl4030

[PATCH 5/6] Generic twl4030 power script for 3430 based boards.

2008-10-15 Thread Peter 'p2' De Schrijver
This is a generic twl4030 power script for 3430 based boards. It handles sleep and wakeup events. In case of a sleep event it will first put the Reset and Control (RC) resources to sleep and then put the voltage regulators to sleep. In case of a wakeup event, the system clock will be started

[PATCH 3/6] Hook twl4030 power code into twl4030 core.

2008-10-15 Thread Peter 'p2' De Schrijver
This patch makes twl4030 core call the power code in case the scripts are present in the platform data. Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- drivers/mfd/Kconfig|9 + drivers/mfd/Makefile |1 + drivers/mfd/twl4030-core.c | 11 +++ 3

[PATCH 6/6] omap3 evm, beagle and overo use the generic twl4030 script

2008-10-15 Thread Peter 'p2' De Schrijver
Make omap3 evm, beagle and overo use the generic twl4030 script. Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/Makefile|9 ++--- arch/arm/mach-omap2/board-omap3beagle.c |4 ++-- arch/arm/mach-omap2/board-omap3evm.c|4 ++--

[PATCH 4/6] 3430sdp and ldp use custom twl4030 power scripts.

2008-10-15 Thread Peter 'p2' De Schrijver
The TI 3430dsp and ldp boards have a custom power script to handle sleep and off modes. Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/board-3430sdp.c | 84 +++ arch/arm/mach-omap2/board-ldp.c | 84

[PATCH 2/6] Move existing TWL4030 code to drivers/mfd

2008-10-15 Thread Peter 'p2' De Schrijver
This patches moves the twl4030 power sequencer code to drivers/mfd and updates the code for the new twl4030 framework. The code handles downloading the scripts provided by the board configuration and configuring the chip to call the relevant script for each event (processor group 1 and 2 sleep,

Re: [PATCH 3/3] Hook into powerdomain code

2008-10-15 Thread Peter 'p2' De Schrijver
On Tue, Oct 14, 2008 at 01:55:07PM -0600, ext Paul Walmsley wrote: On Tue, 14 Oct 2008, Peter 'p2' De Schrijver wrote: @@ -179,9 +183,12 @@ void pwrdm_init(struct powerdomain **pwrdm_list) { struct powerdomain **p = NULL; - if (pwrdm_list) - for (p = pwrdm_list;

[PATCH 1/2] PM counter infrastructure.

2008-10-15 Thread Peter 'p2' De Schrijver
This patch provides the infrastructure to count how many times a powerdomain entered a given power state (on, inactive, retention, off). A number of functions are provided which will be called by the chip specific powerdomain and clockdomain code whenever a transition might have happened.

[PATCH 0/2] PM counters

2008-10-15 Thread Peter 'p2' De Schrijver
This patch introduces counters for the various PM states in OMAP3. Peter 'p2' De Schrijver (2): PM counter infrastructure. Hook into PM counters arch/arm/mach-omap2/clock.c |2 + arch/arm/mach-omap2/clockdomain.c |4 + arch/arm/mach-omap2/pm34xx.c

[PATCH 2/2] Hook into PM counters

2008-10-15 Thread Peter 'p2' De Schrijver
This patch modifies the clock, clockdomain and OMAP3 specific powerdomain code to call the PM counter infrastructure whenever one or more powerdomains might have changed state. Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/clock.c |2 ++

[PATCH 1/3] Add closures to clkdm_for_each and pwrdm_for_each.

2008-10-15 Thread Peter 'p2' De Schrijver
First add some infrastructure to easily iterate over clock and power domains. Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/clockdomain.c |5 +++-- arch/arm/mach-omap2/pm34xx.c |8

[PATCH 2/3] Add pm-debug counters

2008-10-15 Thread Peter 'p2' De Schrijver
This patch provides the debugfs entries and a function which will be called by the PM code to register the time spent per domain per state. Also some new fields are added to the powerdomain struct to keep the time information. Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] ---

[PATCH 0/3] debugfs entries for PM counters

2008-10-15 Thread Peter 'p2' De Schrijver
This patchset adds 2 debugfs entries for power management counters. pm_debug/count indicates how many times each powerdomain entered each state (On, Inactive, Retention, Off). pm_debug/time indicates how much time each powerdomain spent per state. Peter 'p2' De Schrijver (3): Add closures to

[PATCH 3/3] Hook into powerdomain code

2008-10-15 Thread Peter 'p2' De Schrijver
Make the powerdomain code call the new hook for updating the time. Also implement the updated pwrdm_for_each. Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/powerdomain.c | 17 +++-- 1 files changed, 11 insertions(+), 6 deletions(-) diff --git

Re: [PATCH 2/7] input: tsc2005: move to gpiolib

2008-10-15 Thread Felipe Balbi
On Tue, Oct 14, 2008 at 04:20:04PM -0700, David Brownell wrote: On Tuesday 14 October 2008, Felipe Balbi wrote: -   omap_set_gpio_direction(dav_gpio, 1); +   gpio_direction_input(dav_gpio); ts-irq = OMAP_GPIO_IRQ(dav_gpio); That should be ts-irq = gpio_to_irq(dav_gpio)

Re: [PATCH 1/3] [RFC] clk: introduce clk_associate

2008-10-15 Thread Paul Walmsley
Hello Hiroshi, On Tue, 14 Oct 2008, Hiroshi DOYU wrote: I understood both points you explained below, while I still think that standardizing clock names may be a little bit rigid. Perhaps you can help me understand - are you referring to the use of the TRM clocks, rather than creating a

Re: [PATCH 1/3] [RFC] clk: introduce clk_associate

2008-10-15 Thread Hiroshi DOYU
Hi Paul, From: ext Paul Walmsley [EMAIL PROTECTED] Subject: Re: [PATCH 1/3] [RFC] clk: introduce clk_associate Date: Wed, 15 Oct 2008 03:13:49 -0600 (MDT) Hello Hiroshi, On Tue, 14 Oct 2008, Hiroshi DOYU wrote: I understood both points you explained below, while I still think that

RE: [PATCH 1/3] clk: introduce omap_clk_associate

2008-10-15 Thread Woodruff, Richard
Wasn't that one of the main features of the clock FW, when it was designed? Yes. But we adding separate ick and fck during omap2420 confused that. Why this was originally done? I mean we have possibility to autogate interface clocks. AFAIK those could be just fine be enabled on boot

RE: [PATCH 1/3] clk: introduce omap_clk_associate

2008-10-15 Thread Woodruff, Richard
Richard is really the best person to ask about this, so he's been added to the cc. My current understanding is below. Perhaps he can respond with more detail and correct any errors. In terms of original motivation, you might want to look at 34xx TRM 4.12.2.4.3. I don't think this

Re: [PATCH 1/3] clk: introduce omap_clk_associate

2008-10-15 Thread Paul Walmsley
On Wed, 15 Oct 2008, Högander Jouni wrote: L3 and L4 are anyway on when not in wfi, because of sleep/wkdep, so no power save. This is the case at least with OMAP3 not sure about OMAP2. I thought that disabling the iclken bit still disabled some gates in the OCP interface. Richard, do you

[PATCH] OMAP3: ack spurious IRQs in get_irqnr_and_base

2008-10-15 Thread Lauri Leukkunen
This prevents spurious interrupts from repeating unacked and thus locking the system, while still allowing the spurious bad irq error message to be show on console. Signed-off-by: Lauri Leukkunen [EMAIL PROTECTED] --- arch/arm/plat-omap/include/mach/entry-macro.S | 21 - 1

RE: [PATCH 1/3] [RFC] clk: introduce clk_associate

2008-10-15 Thread Woodruff, Richard
Hi, From: [EMAIL PROTECTED] [mailto:linux-omap- [EMAIL PROTECTED] On Behalf Of Paul Walmsley between omap_clk_associate() and vclk, my preference is for the omap_clk_associate() approach. The core problem is that the vclk patches create clocks with multiple parents in a way that is hidden

RE: [PATCH 1/3] clk: introduce omap_clk_associate

2008-10-15 Thread Woodruff, Richard
From: Högander Jouni [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 15, 2008 8:04 AM L3 and L4 are anyway on when not in wfi, because of sleep/wkdep, so no power save. This is the case at least with OMAP3 not sure about OMAP2. Probably some savings inside of individual domains when they

[PATCH 1/28] [OMAPZOOM] OMAP3PM: Change CSI2 clock name

2008-10-15 Thread Aguirre Rodriguez, Sergio Alberto
From: Sergio Aguirre [EMAIL PROTECTED] OMAP3PM: Change CSI2 clock name This patch sets the name of the clock to csi2_96m_fck, to be in sync with the name of the same clock in Paul Walmsley's clock framework. Signed-off-by: Sergio Aguirre [EMAIL PROTECTED] --- arch/arm/mach-omap2/clock_34xx.h |

[PATCH 2/28] [OMAPZOOM] V4L: Remove RESUME powerstate and g_priv_mem ioctl

2008-10-15 Thread Aguirre Rodriguez, Sergio Alberto
From: Sergio Aguirre [EMAIL PROTECTED] V4L: Remove RESUME powerstate and g_priv_mem ioctl This removes the RESUME powerstate as it isn't really a state, its really a transition between powerstates. Also removes the g_priv_mem as it wasn't aprooved as a V4L change in video4linux mailing list,

[PATCH 3/28] [OMAPZOOM] OMAP: CAM: Misc Camera driver fixes

2008-10-15 Thread Aguirre Rodriguez, Sergio Alberto
From: Sergio Aguirre [EMAIL PROTECTED] OMAP: CAM: Misc Camera driver fixes This patch includes fixes for the following: - Removal of unneeded headers - Changed order of steps to execute on vbq release on active streaming. - Fixed IOCTL Name for AF Request Statistics in vidioc_default -

[PATCH 4/28] [OMAPZOOM] OMAP: CAM: ISP: USER: Misc fixes

2008-10-15 Thread Aguirre Rodriguez, Sergio Alberto
From: Sergio Aguirre [EMAIL PROTECTED] OMAP: CAM: ISP: USER: Misc fixes This patch includes fixes for the following: - Added IOCTL defines from isp.h file - Added ISP H3A limit defines - Added ISP AF limit and paxel size defines - Remove dependency from types.h header by switching to __u*

[PATCH 5/28] [OMAPZOOM] OMAP: CAM: ISP: Core Fixes

2008-10-15 Thread Aguirre Rodriguez, Sergio Alberto
From: Sergio Aguirre [EMAIL PROTECTED] OMAP: CAM: ISP: Core Fixes This patch Adds the following changes: - Removes useless headers - Add DMA cache flush for fixing green line problem on streaming - Aligns color effects handling with CDP release - Removes IRQ registers saving/restore on

[PATCH 7/28] [OMAPZOOM] OMAP: CAM: ISP: Backend Fixes

2008-10-15 Thread Aguirre Rodriguez, Sergio Alberto
From: Sergio Aguirre [EMAIL PROTECTED] OMAP: CAM: ISP: Backend Fixes This patch Adds the following changes: ISP Preview - Remove table address and data from register context save/restore. - Added PCR register to context save/restore. - Added lower boundary checking for image size in try_size

[PATCH 8/28] [OMAPZOOM] OMAP: CAM: ISP: SCM Fixes

2008-10-15 Thread Aguirre Rodriguez, Sergio Alberto
From: Sergio Aguirre [EMAIL PROTECTED] OMAP: CAM: ISP: SCM Fixes This patch Adds the following changes: ISP AF (Auto Focus) - Set Statistics Buffers as Userptr type - Added timestamp recording at interrupt time. - Fixed memory leak on isp_af_configure - Fixed un sync buffer size in

[PATCH 9/28] [OMAPZOOM] OMAP: CAM: ISP: MMU Fixes

2008-10-15 Thread Aguirre Rodriguez, Sergio Alberto
From: Sergio Aguirre [EMAIL PROTECTED] OMAP: CAM: ISP: MMU Fixes This patch removes cache flush related registers from context save. Signed-off-by: Mohit Jalori [EMAIL PROTECTED] Signed-off-by: Sergio Aguirre [EMAIL PROTECTED] --- drivers/media/video/isp/ispmmu.c |2 -- 1 file changed, 2

[PATCH 11/28] [OMAPZOOM] OMAP: CAM: ISP: Fix Silicon Revision check

2008-10-15 Thread Aguirre Rodriguez, Sergio Alberto
From: Sergio Aguirre [EMAIL PROTECTED] OMAP: CAM: ISP: Fix Silicon Revision check This patch fixes the silicon revision checking method for the latest method Signed-off-by: Sergio Aguirre [EMAIL PROTECTED] --- drivers/media/video/isp/isp.c|4 ++-- drivers/media/video/isp/ispccdc.c

[PATCH 12/28] [OMAPZOOM] OMAP3430: SDP: CAM: Fix Capture mem boundary

2008-10-15 Thread Aguirre Rodriguez, Sergio Alberto
From: Sergio Aguirre [EMAIL PROTECTED] OMAP3430: SDP: CAM: Fix Capture mem boundary This patch specifies the capture_mem boundary in sensor hw info struct, cleans up the I2C buffer registration, and removes the v4l2_ifparm, as we don't longer need it. Signed-off-by: Sergio Aguirre [EMAIL

[PATCH 13/28] [OMAPZOOM] OMAP: CAM: MT9P012: Misc Fixes

2008-10-15 Thread Aguirre Rodriguez, Sergio Alberto
From: Sergio Aguirre [EMAIL PROTECTED] OMAP: CAM: MT9P012: Misc Fixes This patch adds the following changes: - Removal of v4l2_ifparm use, as it is no longer needed. - Fix I2C writing of stream_off commands while XCLK wasn't available. - Fix for 30 fps capture on sizes lower than 3MP.

[PATCH 14/28] [OMAPZOOM] OMAP: CAM: Add LSC workaround to ISP driver

2008-10-15 Thread Aguirre Rodriguez, Sergio Alberto
From: Pallavi Kulkarni [EMAIL PROTECTED] OMAP: CAM: Add LSC workaround to ISP driver This adds software workaround for silicon errata of mutual SDRAM use of LSC and resizer. This errata was about data corruption when Lens Shading Compensation table was loaded by CCDC as the resizer was working.

[PATCH 15/28] [OMAPZOOM] V4L: Add RAW10 Pattern format MMS

2008-10-15 Thread Aguirre Rodriguez, Sergio Alberto
From: Sergio Aguirre [EMAIL PROTECTED] V4L: Add RAW10 Pattern format MMS This adds MMS changes to the OMAP34xx camera driver. Including: - HQ capture NOTE: Credits to MMS crew for all this. Signed-off-by: Sergio Aguirre [EMAIL PROTECTED] --- include/linux/videodev2.h |5 + 1 file

[PATCH 16/28] [OMAPZOOM] OMAP: CAM: Add MMS Kernel changes

2008-10-15 Thread Aguirre Rodriguez, Sergio Alberto
From: Sergio Aguirre [EMAIL PROTECTED] OMAP: CAM: Add MMS Kernel changes This adds MMS changes to the OMAP34xx camera driver. Including: - HQ capture NOTE: Credits to MMS crew for all this. Signed-off-by: Sergio Aguirre [EMAIL PROTECTED] --- drivers/media/video/isp/isp.c| 40

[PATCH 17/28] [OMAPZOOM] OMAP: CAM: Add MMS Kernel changes

2008-10-15 Thread Aguirre Rodriguez, Sergio Alberto
From: Sergio Aguirre [EMAIL PROTECTED] OMAP: CAM: Add MMS Kernel changes This adds MMS changes to the OMAP34xx camera driver. Including: - HQ capture NOTE: Credits to MMS crew for all this. Signed-off-by: Sergio Aguirre [EMAIL PROTECTED] --- drivers/media/video/isp/omap_previewer.c | 392

[PATCH 19/28] [OMAPZOOM] OMAP: CAM: MT9P012: RESUME Removal

2008-10-15 Thread Aguirre Rodriguez, Sergio Alberto
From: Sergio Aguirre [EMAIL PROTECTED] OMAP: CAM: MT9P012: RESUME Removal This patch removes the use of the V4L2_POWER_RESUME state, as it has been rejected in video4linux list Signed-off-by: Sergio Aguirre [EMAIL PROTECTED] --- drivers/media/video/mt9p012.c | 14 +++--- 1 file

[PATCH 20/28] [OMAPZOOM] OMAP: CAM: DW9710: RESUME Removal

2008-10-15 Thread Aguirre Rodriguez, Sergio Alberto
From: Sergio Aguirre [EMAIL PROTECTED] OMAP: CAM: DW9710: RESUME Removal This patch removes the use of the V4L2_POWER_RESUME state, as it has been rejected in video4linux list Signed-off-by: Sergio Aguirre [EMAIL PROTECTED] --- drivers/media/video/dw9710.c |6 +++---

[PATCH 21/28] [OMAPZOOM] OMAP34XX: CAM: Remove the need for RESUME state

2008-10-15 Thread Aguirre Rodriguez, Sergio Alberto
From: Sergio Aguirre [EMAIL PROTECTED] OMAP34XX: CAM: Remove the need for RESUME state In RESUME power state, we were only switching a GPIO for that, and we weren't executing again the whole POWER_ON commands. Sakari Ailus removed the RESUME power state from his patchset, rendering the RESUME

[PATCH 22/28] [OMAPZOOM] ARM: OMAP: Add CSI2 register defines.

2008-10-15 Thread Aguirre Rodriguez, Sergio Alberto
From: Sergio Aguirre [EMAIL PROTECTED] ARM: OMAP: Add CSI2 register defines. Add CSI2 register defines to ispreg.h. Signed-off-by: Sergio Aguirre [EMAIL PROTECTED] --- drivers/media/video/isp/ispreg.h | 403 ++- 1 file changed, 394 insertions(+), 9

[PATCH 24/28] [OMAPZOOM] OMAP: CAM: Add CSI2 changes to ISP driver

2008-10-15 Thread Aguirre Rodriguez, Sergio Alberto
From: Sergio Aguirre [EMAIL PROTECTED] OMAP: CAM: Add CSI2 changes to ISP driver This adds CSI2 related changes to the ISP driver. Signed-off-by: Sergio Aguirre [EMAIL PROTECTED] --- drivers/media/video/isp/isp.c| 96 --- drivers/media/video/isp/isp.h

[PATCH 26/28] [OMAPZOOM] OMAP: CAM: Add CSI2 changes to Camera driver

2008-10-15 Thread Aguirre Rodriguez, Sergio Alberto
From: Sergio Aguirre [EMAIL PROTECTED] OMAP: CAM: Add CSI2 changes to Camera driver This adds CSI2 related changes to the main OMAP34xx camera driver. Signed-off-by: Sergio Aguirre [EMAIL PROTECTED] --- drivers/media/video/omap34xxcam.c |4 +++- drivers/media/video/omap34xxcam.h | 27

[PATCH 27/28] [OMAPZOOM] OMAP34XX: CAM: Add OV3640 Sensor Support

2008-10-15 Thread Aguirre Rodriguez, Sergio Alberto
From: Sergio Aguirre [EMAIL PROTECTED] OMAP34XX: CAM: Add OV3640 Sensor Support This adds support in OMAP34xx SDP board file for OV3640 Sensor driver. Signed-off-by: Sergio Aguirre [EMAIL PROTECTED] --- arch/arm/mach-omap2/board-3430sdp.c | 217

[PATCH 28/28] [OMAPZOOM] OMAP3430: Enable Camera on 3430sdp and ldp defconfigs

2008-10-15 Thread Aguirre Rodriguez, Sergio Alberto
From: Sergio Aguirre [EMAIL PROTECTED] OMAP3430: Enable Camera on 3430sdp and ldp defconfigs This patch adds both camera sensors into omap_3430sdp_defconfig file, as well as the OMAP3 camera and ISP modules. Signed-off-by: Sergio Aguirre [EMAIL PROTECTED] ---

Re: [PATCH 1/7] input: lm8323: get rid of global pdata pointer

2008-10-15 Thread Dmitry Torokhov
Hi Felipe, On Wed, Oct 15, 2008 at 12:39:51AM +0300, Felipe Balbi wrote: From: Felipe Balbi [EMAIL PROTECTED] pdata is only used during probe to initialize a few fields from lm8323 device structure. Moving pdata pointer to probe won't harm anybody. I don't think I have these drivers. I

[patch FYI] twl4030 dumps revision info

2008-10-15 Thread David Brownell
This is a diagnostic patch, dumping the IDCODE of the TWL4030/TWL5030/... family chips. Not for merging, at least for now. Later this may be useful to make sure the reduced-functionality catalog parts (TPS series) don't go registering components that don't exist, like the battery charger. The