[PATCH] OMAPDSS: HDMI: Register definition cleanup and improvements

2011-09-16 Thread mythripk
From: Mythri P K mythr...@ti.com 1.Add some H/w indexable registers missed in definition. 2.Remove usage of struct hdmi_reg and use u16 instead. 3.Move the avi_infoframe parameters comments above the field. Signed-off-by: Mythri P K mythr...@ti.com --- drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c

Re: [PATCH] OMAPDSS: HDMI: Register definition cleanup and improvements

2011-09-16 Thread Tomi Valkeinen
Hi, On Fri, 2011-09-16 at 11:32 +0530, mythr...@ti.com wrote: From: Mythri P K mythr...@ti.com 1.Add some H/w indexable registers missed in definition. 2.Remove usage of struct hdmi_reg and use u16 instead. 3.Move the avi_infoframe parameters comments above the field. Please split this

[PATCH v2 1/3] OMAPDSS/OMAP_VOUT: Fix incorrect OMAP3-alpha compatibility setting

2011-09-16 Thread Archit Taneja
On OMAP3, in order to enable alpha blending for LCD and TV managers, we needed to set LCDALPHABLENDERENABLE/TVALPHABLENDERENABLE bits in DISPC_CONFIG. On OMAP4, alpha blending is always enabled by default, if the above bits are set, we switch to an OMAP3 compatibility mode where the zorder values

[PATCH v2 2/3] OMAPDSS: DISPC: VIDEO3 pipeline support

2011-09-16 Thread Archit Taneja
Add support for VIDEO3 pipeline on OMAP4: - Add VIDEO3 pipeline information in dss_features and omapdss.h - Add VIDEO3 pipeline register coefficients in dispc.h - Create a new overlay structure corresponding to VIDEO3. - Make changes in dispc.c for VIDEO3 Signed-off-by: Archit Taneja

[PATCH v2 3/3] OMAPDSS: DISPC: zorder support for DSS overlays

2011-09-16 Thread Archit Taneja
Add zorder support on OMAP4, this feature allows deciding the visibility order of the overlays based on the zorder value provided as an overlay info parameter or a sysfs attribute of the overlay object. Use the overlay cap OMAP_DSS_OVL_CAP_ZORDER to determine whether zorder is supported for the

[PATCH v2 0/3] OMAPDSS: DISPC: VIDEO3 and ZORDER support

2011-09-16 Thread Archit Taneja
This contains support for VIDEO3 pipeline and zorder support for OMAP4 Display controller. This set originally had some more miscellaneous patches. Those patches have been separated out and this set is created since it makes some trivial changes in the omap_vout driver. The patch set is based on

Re: [RFC PATCH 01/11] OMAP: TWL: Clean up mode and ops mask passed from board files

2011-09-16 Thread Rajendra Nayak
On Thursday 15 September 2011 07:02 PM, Mark Brown wrote: On Thu, Sep 15, 2011 at 04:51:57PM +0530, Rajendra Nayak wrote: The TWL driver seems to set the default .valid_modes_mask to (REGULATOR_MODE_NORMAL | REGULATOR_MODE_STANDBY) and .valid_ops_mask to (REGULATOR_CHANGE_VOLTAGE |

Re: [RFC PATCH 02/11] regulator: Fix error check in set_consumer_device_supply

2011-09-16 Thread Rajendra Nayak
On Thursday 15 September 2011 07:03 PM, Mark Brown wrote: On Thu, Sep 15, 2011 at 04:51:58PM +0530, Rajendra Nayak wrote: The parameters to set_consumer_device_supply() can be considered invalid (and hence it could return -EINVAL) if nether consumer_dev nor consumer_dev_name are passed, not

Re: [RFC PATCH 03/11] DT: regulator: Helper routine to extract regulator_init_data

2011-09-16 Thread Rajendra Nayak
On Thursday 15 September 2011 07:14 PM, Mark Brown wrote: On Thu, Sep 15, 2011 at 04:51:59PM +0530, Rajendra Nayak wrote: .../devicetree/bindings/regulator/regulator.txt| 37 + drivers/of/Kconfig |6 ++ drivers/of/Makefile

Re: [RFC PATCH 04/11] omap4: SDP: Pass regulator_init_data from DT

2011-09-16 Thread Rajendra Nayak
On Thursday 15 September 2011 07:16 PM, Mark Brown wrote: On Thu, Sep 15, 2011 at 04:52:00PM +0530, Rajendra Nayak wrote: +Required properties: +- compatible: Must be regulator,ti,twl-reg; I'd expect listings for the specific chips too. I just did'nt do that because we have just one driver

Re: [RFC PATCH 06/11] DT: regulator: Helper routine to extract fixed_voltage_config

2011-09-16 Thread Rajendra Nayak
On Thursday 15 September 2011 07:20 PM, Mark Brown wrote: On Thu, Sep 15, 2011 at 04:52:02PM +0530, Rajendra Nayak wrote: .../devicetree/bindings/regulator/regulator.txt| 19 drivers/of/of_regulator.c | 31

Re: [RFC PATCH 09/11] DT: regulator: Helper to extract regulator node based on supply name

2011-09-16 Thread Rajendra Nayak
On Friday 16 September 2011 04:33 AM, Mark Brown wrote: On Thu, Sep 15, 2011 at 04:50:35PM -0600, Grant Likely wrote: We've got two competing approaches here. For reg and interrupts, the proposal on the table that we talked about at LPC is to do reg-names and interrupts-names so as to

Re: [RFC PATCH 10/11] regulator: Implement consumer regulator mapping from device tree

2011-09-16 Thread Rajendra Nayak
On Thursday 15 September 2011 07:29 PM, Mark Brown wrote: On Thu, Sep 15, 2011 at 04:52:06PM +0530, Rajendra Nayak wrote: +#ifdef CONFIG_OF + struct device_node *node; + node = of_get_regulator(dev, id); + if (!node) + goto out; + list_for_each_entry(rdev,

Re: [RFC PATCH 11/11] DT: regulator: register regulators as platform devices

2011-09-16 Thread Rajendra Nayak
On Thursday 15 September 2011 07:51 PM, Mark Brown wrote: On Thu, Sep 15, 2011 at 04:52:07PM +0530, Rajendra Nayak wrote: of_regulator_register_devices() registers all regulators as platform devices. Use this to register all twl regulators from the twl driver probe. Regulators can be devices

Re: [RFC PATCH 03/11] DT: regulator: Helper routine to extract regulator_init_data

2011-09-16 Thread Rajendra Nayak
On Friday 16 September 2011 03:42 AM, Grant Likely wrote: On Thu, Sep 15, 2011 at 04:51:59PM +0530, Rajendra Nayak wrote: The helper routine is meant to be used by regulator drivers to extract the regulator_init_data structure passed from device tree. 'consumer_supplies' which is part of

Re: [RFC PATCH 05/11] TWL: regulator: Make twl-regulator driver extract data from DT

2011-09-16 Thread Rajendra Nayak
On Friday 16 September 2011 03:48 AM, Grant Likely wrote: On Thu, Sep 15, 2011 at 04:52:01PM +0530, Rajendra Nayak wrote: Modify the twl regulator driver to extract the regulator_init_data from device tree when passed, instead of getting it through platform_data structures (on non-DT builds)

Re: [PATCH 5/5 v9] mfd: omap: usb: Runtime PM support

2011-09-16 Thread Munegowda, Keshava
On Fri, Sep 16, 2011 at 11:17 AM, Munegowda, Keshava keshava_mgo...@ti.com wrote: On Fri, Sep 16, 2011 at 6:10 AM, Frank Rowand frank.row...@am.sony.com wrote: On 09/15/11 06:22, Keshava Munegowda wrote: From: Keshava Munegowda keshava_mgo...@ti.com The usbhs core driver does not

Re: [RFC PATCH 01/11] OMAP: TWL: Clean up mode and ops mask passed from board files

2011-09-16 Thread Mark Brown
On Fri, Sep 16, 2011 at 12:41:53PM +0530, Rajendra Nayak wrote: On Thursday 15 September 2011 07:02 PM, Mark Brown wrote: On Thu, Sep 15, 2011 at 04:51:57PM +0530, Rajendra Nayak wrote: There is no need for all the board files to pass this information additionally, when the driver already

Re: [RFC PATCH 03/11] DT: regulator: Helper routine to extract regulator_init_data

2011-09-16 Thread Mark Brown
On Fri, Sep 16, 2011 at 12:45:55PM +0530, Rajendra Nayak wrote: On Thursday 15 September 2011 07:14 PM, Mark Brown wrote: On Thu, Sep 15, 2011 at 04:51:59PM +0530, Rajendra Nayak wrote: +- apply-uV: apply uV constraint if min == max This seems a bit Linux/runtime policy specific (especially

Re: [RFC PATCH 04/11] omap4: SDP: Pass regulator_init_data from DT

2011-09-16 Thread Mark Brown
On Fri, Sep 16, 2011 at 12:47:05PM +0530, Rajendra Nayak wrote: On Thursday 15 September 2011 07:16 PM, Mark Brown wrote: On Thu, Sep 15, 2011 at 04:52:00PM +0530, Rajendra Nayak wrote: +Required properties: +- compatible: Must be regulator,ti,twl-reg; I'd expect listings for the specific

Re: [RFC PATCH 06/11] DT: regulator: Helper routine to extract fixed_voltage_config

2011-09-16 Thread Mark Brown
On Fri, Sep 16, 2011 at 12:49:17PM +0530, Rajendra Nayak wrote: On Thursday 15 September 2011 07:20 PM, Mark Brown wrote: On Thu, Sep 15, 2011 at 04:52:02PM +0530, Rajendra Nayak wrote: +# For fixed voltage regulators +- supply-name: Name of the regulator supply +- microvolts: Output voltage

Re: [RFC PATCH 10/11] regulator: Implement consumer regulator mapping from device tree

2011-09-16 Thread Mark Brown
On Fri, Sep 16, 2011 at 12:51:06PM +0530, Rajendra Nayak wrote: On Thursday 15 September 2011 07:29 PM, Mark Brown wrote: This seems wrong, why are we adding things to the regulator_map which is really only there for lookups when we already did the lookup using the device tree? I did this

Re: [RFC PATCH 01/11] OMAP: TWL: Clean up mode and ops mask passed from board files

2011-09-16 Thread Rajendra Nayak
On Friday 16 September 2011 02:27 PM, Mark Brown wrote: On Fri, Sep 16, 2011 at 12:41:53PM +0530, Rajendra Nayak wrote: On Thursday 15 September 2011 07:02 PM, Mark Brown wrote: On Thu, Sep 15, 2011 at 04:51:57PM +0530, Rajendra Nayak wrote: There is no need for all the board files to pass

Re: [RFC PATCH 04/11] omap4: SDP: Pass regulator_init_data from DT

2011-09-16 Thread Rajendra Nayak
On Friday 16 September 2011 02:30 PM, Mark Brown wrote: On Fri, Sep 16, 2011 at 12:47:05PM +0530, Rajendra Nayak wrote: On Thursday 15 September 2011 07:16 PM, Mark Brown wrote: On Thu, Sep 15, 2011 at 04:52:00PM +0530, Rajendra Nayak wrote: +Required properties: +- compatible: Must be

Re: [RFC PATCH 06/11] DT: regulator: Helper routine to extract fixed_voltage_config

2011-09-16 Thread Rajendra Nayak
On Friday 16 September 2011 02:31 PM, Mark Brown wrote: On Fri, Sep 16, 2011 at 12:49:17PM +0530, Rajendra Nayak wrote: On Thursday 15 September 2011 07:20 PM, Mark Brown wrote: On Thu, Sep 15, 2011 at 04:52:02PM +0530, Rajendra Nayak wrote: +# For fixed voltage regulators +- supply-name:

Re: [PATCH v15 06/12] OMAP: dmtimer: switch-over to platform device driver

2011-09-16 Thread DebBarma, Tarun Kanti
[...] 1. Modify the inline access functions to take the PEND and others    if needed registers as a parameter 2. Modify mach-omap2/timer.c to initialize the PEND and others    in the SoC specific timer_init function Just to make my understanding complete, need some clarifications: As we would

Re: [RFC PATCH 1/6] usb: musb: omap: Configure OTG_INTERFSEL for proper charger detection

2011-09-16 Thread Sergei Shtylyov
Hello. On 15-09-2011 18:19, Kishon Vijay Abraham I wrote: Setting OTG_INTERFSEL to UTMI interferes with charger detection resulting in incorrect detection of charger type. Hence OTG_INTERFSEL is configured to ULPI initially and changed to UTMI only after receiving USB_EVENT_ID or

Re: [RFC PATCH 03/11] DT: regulator: Helper routine to extract regulator_init_data

2011-09-16 Thread Mark Brown
On Fri, Sep 16, 2011 at 12:54:18PM +0530, Rajendra Nayak wrote: On Friday 16 September 2011 03:42 AM, Grant Likely wrote: However, I can imagine it possible for a regulator to have multiple parents. It may just be better to go with something like the gpio scheme ofphandle gpio-specifier

Re: [PATCH] iommu/omap: Fix build error with !IOMMU_SUPPORT

2011-09-16 Thread Ohad Ben-Cohen
On Thu, Sep 15, 2011 at 1:45 PM, Roedel, Joerg joerg.roe...@amd.com wrote: This doesn't work on platforms that may have more than one possible iommu driver, like x86 for example. Ok. Acked-by: Ohad Ben-Cohen o...@wizery.com (cc'ing Laurent for the VIDEO_OMAP3 part) -- To unsubscribe from this

[PATCH 0/5] [media]: OMAP_VOUT: Misc fixes and cleanup patches for 3.2

2011-09-16 Thread Archit Taneja
This set includes patches which do the following: - Fix crash if a we call dssdev-driver-update for a disabled panel. - Fix the issue of not being able to request for a buffer which is larger than what we did the last time. - Fix a small bug in omap_vout_isr() - Remove some redundant code in

[PATCH 1/5] [media]: OMAP_VOUT: Fix check in reqbuf mmap for buf_size allocation

2011-09-16 Thread Archit Taneja
The commit 383e4f69879d11c86ebdd38b3356f6d0690fb4cc makes reqbuf and mmap prevent requesting a larger size buffer than what is allocated at kernel boot during omap_vout_probe. The requested size is compared with vout-buffer_size, this isn't correct as vout-buffer_size is later set to the size

[PATCH 2/5] [media]: OMAP_VOUT: CLEANUP: Remove redundant code from omap_vout_isr

2011-09-16 Thread Archit Taneja
Currently, there is a lot of redundant code is between DPI and VENC panels, this can be made common by moving out field/interlace specific code to a separate function called omapvid_handle_interlace_display(). There is no functional change made. Signed-off-by: Archit Taneja arc...@ti.com ---

[PATCH 3/5] [media]: OMAP_VOUT: Fix VSYNC IRQ handling in omap_vout_isr

2011-09-16 Thread Archit Taneja
Currently, in omap_vout_isr(), if the panel type is DPI, and if we get either VSYNC or VSYNC2 interrupts, we proceed ahead to set the current buffers state to VIDEOBUF_DONE and prepare to display the next frame in the queue. On OMAP4, because we have 2 LCD managers, the panel type itself is not

[PATCH 4/5] [media] OMAP_VOUT: Add support for DSI panels

2011-09-16 Thread Archit Taneja
Add support for DSI panels. DSI video mode panels will work directly. For command mode panels, we will need to trigger updates regularly. This isn't done by the omap_vout driver currently. It can still be supported if we connect a framebuffer device to the panel and configure it in auto update

[PATCH 5/5] [media]: OMAP_VOUT: Don't trigger updates in omap_vout_probe

2011-09-16 Thread Archit Taneja
Remove the code in omap_vout_probe() which calls display-driver-update() for all the displays. This isn't correct because: - An update in probe doesn't make sense, because we don't have any valid content to show at this time. - Calling update for a panel which isn't enabled is not supported by

Re: [PATCH v2 5/6] OMAP: omap_device: Create a default omap_device_pm_latency

2011-09-16 Thread Cousson, Benoit
Hi Kevin, On 9/2/2011 4:25 PM, Cousson, Benoit wrote: Most devices are using the same default omap_device_pm_latency structure during device built. In order to avoid the duplication of the same structure everywhere, add a default structure that will be used if the device does not have an

Re: [PATCH 02/25] OMAP4: Redefine mandatory barriers for OMAP to include interconnect barriers.

2011-09-16 Thread Shilimkar, Santosh
On Fri, Sep 16, 2011 at 1:30 AM, Shilimkar, Santosh santosh.shilim...@ti.com wrote: On Fri, Sep 16, 2011 at 1:13 AM, Tony Lindgren t...@atomide.com wrote: * Shilimkar, Santosh santosh.shilim...@ti.com [110915 10:49]: On Thu, Sep 15, 2011 at 11:23 PM, Tony Lindgren t...@atomide.com wrote:

Re: [PATCHv2 09/15] OMAP: DSS2: HDMI: implement detect()

2011-09-16 Thread K, Mythri P
Hi, On Thu, Sep 15, 2011 at 12:02 PM, Tomi Valkeinen tomi.valkei...@ti.com wrote: On Thu, 2011-09-15 at 11:54 +0530, K, Mythri P wrote: Hi, On Thu, Sep 15, 2011 at 11:27 AM, Tomi Valkeinen tomi.valkei...@ti.com wrote: On Thu, 2011-09-15 at 11:11 +0530, K, Mythri P wrote: Hi, On Wed,

RE: [PATCH 4/8] ispvideo: Add support for G/S/ENUM_STD ioctl

2011-09-16 Thread Ravi, Deepthy
Hi, Sorry for the delayed response. From: Laurent Pinchart [laurent.pinch...@ideasonboard.com] Sent: Thursday, September 08, 2011 10:51 PM To: Ravi, Deepthy Cc: linux-me...@vger.kernel.org; t...@atomide.com; li...@arm.linux.org.uk;

Re: [PATCH 4/8] ispvideo: Add support for G/S/ENUM_STD ioctl

2011-09-16 Thread Laurent Pinchart
Hi Deepthy, On Friday 16 September 2011 15:00:53 Ravi, Deepthy wrote: On Thursday, September 08, 2011 10:51 PM Laurent Pinchart wrote: On Thursday 08 September 2011 15:35:22 Deepthy Ravi wrote: From: Vaibhav Hiremath hvaib...@ti.com In order to support TVP5146 (for that matter any

Re: Problems with 3.1.0-rc6 on at3517evm

2011-09-16 Thread Yegor Yefremov
I am owning a ZOOM am3517evm evaluation board, where I want to run the latest linux kernel (mainline). I am not able to boot this board. Are there any patches to fix this issues? The deliverd kernel (2.6.32-psp09.00.01.06.sdk) boots fine. You're not alone. This platform is not completely

Re: [RFC PATCH 1/6] usb: musb: omap: Configure OTG_INTERFSEL for proper charger detection

2011-09-16 Thread ABRAHAM, KISHON VIJAY
Sergei, Thanks for your comments. On Fri, Sep 16, 2011 at 3:18 PM, Sergei Shtylyov sshtyl...@mvista.com wrote: Hello. On 15-09-2011 18:19, Kishon Vijay Abraham I wrote: Setting OTG_INTERFSEL to UTMI interferes with charger detection resulting in incorrect detection of charger type. Hence

Re: [RFC PATCH 1/6] usb: musb: omap: Configure OTG_INTERFSEL for proper charger detection

2011-09-16 Thread Greg KH
On Fri, Sep 16, 2011 at 07:21:41PM +0530, ABRAHAM, KISHON VIJAY wrote: Sergei, Thanks for your comments. On Fri, Sep 16, 2011 at 3:18 PM, Sergei Shtylyov sshtyl...@mvista.com wrote: Hello. On 15-09-2011 18:19, Kishon Vijay Abraham I wrote: Setting OTG_INTERFSEL to UTMI interferes

[PATCH v2 0/2] OMAP: omap_device: Add a method to build an omap_device from a DT node

2011-09-16 Thread Benoit Cousson
Hi Kevin, This is the updated version of the initial series that introduced a notifier in order to create an omap_device from a platform_device bound to DT node as suggested by Grant. For the moment, the informations are all extracted from the hwmod data. The idea is to focus first on the

[PATCH v2 1/2] OMAP: omap_device: Add omap_device_[alloc|delete] for DT integration

2011-09-16 Thread Benoit Cousson
Split the omap_device_build_ss into two smaller functions that will allow to populate a platform_device already allocated by device-tree. The functionality of the omap_device_build_ss is still the same, but the omap_device_alloc will be usable with devices already built by device-tree.

[PATCH v2 2/2] OMAP: omap_device: Add a method to build an omap_device from a DT node

2011-09-16 Thread Benoit Cousson
Add a notifier called during device_add phase. If an of_node is present, retrieve the hwmod entry in order to populate properly the omap_device structure. For the moment the resource from the device-tree are overloaded. DT does not support named resource yet, and thus, most driver will not work

Re: [PATCH 1/8] OMAP: convert I2C driver to PM QoS for latency constraints

2011-09-16 Thread Jean Pihet
Kevin, On Fri, Sep 16, 2011 at 12:46 AM, Kevin Hilman khil...@ti.com wrote: Hi Jean, Jean Pihet jean.pi...@newoldbits.com writes: Convert the driver from the outdated omap_pm_set_max_mpu_wakeup_lat API to the new PM QoS API. Since the constraint is on the MPU subsystem, use the

Re: [PATCH v2 1/8] OMAP: hwmod: Fix the addr spaces, irq, dma count APIs.

2011-09-16 Thread Cousson, Benoit
Hi Sricharan, On 9/9/2011 6:02 PM, R, Sricharan wrote: The address spaces, irqs and dma reqs count API returns the number of corresponding entries in a hwmod including a additional null value or a -1 terminator in the structure introduced recently. More information here: 212738a4

Re: [PATCH 6/8] OMAP: PM CONSTRAINTS: implement the devices wake-up latency constraints

2011-09-16 Thread Jean Pihet
Kevin, On Fri, Sep 16, 2011 at 1:47 AM, Kevin Hilman khil...@ti.com wrote: Jean Pihet jean.pi...@newoldbits.com writes: Implement the devices wake-up latency constraints using the global device PM QoS notification handler which applies the constraints to the underlying layer by calling the

Re: [PATCH 6/8] OMAP: PM CONSTRAINTS: implement the devices wake-up latency constraints

2011-09-16 Thread Kevin Hilman
Jean Pihet jean.pi...@newoldbits.com writes: Kevin, On Fri, Sep 16, 2011 at 1:47 AM, Kevin Hilman khil...@ti.com wrote: Jean Pihet jean.pi...@newoldbits.com writes: Implement the devices wake-up latency constraints using the global device PM QoS notification handler which applies the

[PATCHv8 07/16] OMAP2+: mux: add support for PAD wakeup interrupts

2011-09-16 Thread Tero Kristo
OMAP mux now provides a service routine to parse pending wakeup events and to call registered ISR whenever active wakeups are detected. This routine is called directly from PRCM interrupt handler. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/mux.c | 38

[PATCHv8 08/16] omap3: pm: use prcm chain handler

2011-09-16 Thread Tero Kristo
PM interrupt handling is now done through the PRCM chain handler. The interrupt handling logic is also split in two parts, to server IO and WKUP events separately. This allows us to handle IO chain events in a clean way. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/pm34xx.c

[PATCHv8 09/16] TEMP: serial: added mux support

2011-09-16 Thread Tero Kristo
Just for PRCM chain handler testing purposes. This should be replaced with a proper implementation. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/serial.c | 71 - 1 files changed, 69 insertions(+), 2 deletions(-) diff --git

[PATCHv8 12/16] TEMP: OMAP3: pm: remove serial resume / idle calls from idle path

2011-09-16 Thread Tero Kristo
This is no longer needed as it will be handled within serial driver itself. This part should be properly handled with serial runtime support. Signed-off-by: Tero Kristo t-kri...@ti.com Cc: Govindraj.R govindraj.r...@ti.com --- arch/arm/mach-omap2/pm34xx.c | 19 --- 1 files

[PATCHv8] 00/16] OMAP PRCM chain handler driver

2011-09-16 Thread Tero Kristo
Hello, This patch set is the version 8 for the OMAP PRCM chain interrupt handler. The driver is providing a chain handler for PRCM interrupt events, which can be then individually used by different drivers. Currently PRCM interrupt is owned by the PM core code and it is impossible for other users

[PATCHv8 13/16] TEMP: OMAP3: serial: made serial to work properly with PRCM chain handler

2011-09-16 Thread Tero Kristo
This patch is just a temporary hack to allow serial to work properly with the PRCM chain handler. Should be replaced with a proper implementation by serial runtime PM support. Signed-off-by: Tero Kristo t-kri...@ti.com Cc: Govindraj.R govindraj.r...@ti.com --- arch/arm/mach-omap2/serial.c |

[PATCHv8 02/16] OMAP2+: hwmod: Add API to enable IO ring wakeup.

2011-09-16 Thread Tero Kristo
From: R, Govindraj govindraj.r...@ti.com Add API to enable IO pad wakeup capability based on mux dynamic pad and wake_up enable flag available from hwmod_mux initialization. Use the wakeup_enable flag and enable wakeup capability for the given pads. Wakeup capability will be enabled/disabled

[PATCHv8 14/16] TEMP: OMAP: serial: remove padconf hacks

2011-09-16 Thread Tero Kristo
These are no longer needed as omap_hwmod takes care of multiplexing of pads. Should be handled properly with serial runtime PM support patches. Signed-off-by: Tero Kristo t-kri...@ti.com Cc: Govindraj.R govindraj.r...@ti.com --- arch/arm/mach-omap2/serial.c | 25 + 1

[PATCHv8 01/16] power: add omap prm driver skeleton

2011-09-16 Thread Tero Kristo
This driver will eventually support OMAP soc PRM module features, e.g. PRCM chain interrupts. Signed-off-by: Tero Kristo t-kri...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil...@ti.com --- drivers/power/Kconfig|7 drivers/power/Makefile |1 +

[PATCHv8 05/16] TEMP: OMAP4xxx: hwmod data: add PRM hwmod

2011-09-16 Thread Tero Kristo
This patch is temporary until Benoit can provide final version. Signed-off-by: Tero Kristo t-kri...@ti.com Cc: Benoit Cousson b-cous...@ti.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 65 1 files changed, 65 insertions(+), 0 deletions(-) diff --git

[PATCHv8 03/16] OMAP2+: hwmod: Add API to check IO PAD wakeup status

2011-09-16 Thread Tero Kristo
From: R, Govindraj govindraj.r...@ti.com Add API to determine IO-PAD wakeup event status for a given hwmod dynamic_mux pad. Signed-off-by: Govindraj.R govindraj.r...@ti.com --- arch/arm/mach-omap2/mux.c| 30 ++ arch/arm/mach-omap2/mux.h

[PATCHv8 06/16] power: omap-prm: added chain interrupt handler

2011-09-16 Thread Tero Kristo
Introduce a chained interrupt handler mechanism for the PRCM interrupt, so that individual PRCM event can cleanly be handled by handlers in separate drivers. We do this by introducing PRCM event names, which are then matched to the particular PRCM interrupt bit depending on the specific OMAP SoC

[PATCHv8 10/16] TEMP: 4430sdp: use common serial init with mux support

2011-09-16 Thread Tero Kristo
Temporary testing related patch, not meant for integration. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/board-4430sdp.c | 12 +--- 1 files changed, 1 insertions(+), 11 deletions(-) diff --git a/arch/arm/mach-omap2/board-4430sdp.c

[PATCHv8 11/16] TEMP: mux: added trace for io wkup event

2011-09-16 Thread Tero Kristo
Temporary patch for testing purposes, not meant for integration. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/mux.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/mux.c b/arch/arm/mach-omap2/mux.c index 9127273..5b38f1e 100644

[PATCHv8 04/16] TEMP: OMAP3xxx: hwmod data: add PRM hwmod

2011-09-16 Thread Tero Kristo
This patch is temporary until Paul can provide a final version. Signed-off-by: Tero Kristo t-kri...@ti.com Cc: Paul Walmsley p...@pwsan.com --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 56 1 files changed, 56 insertions(+), 0 deletions(-) diff --git

[PATCHv8 15/16] OMAP3: pm: do not enable PRCM MPU interrupts manually

2011-09-16 Thread Tero Kristo
This is handled automatically by the PRCM chain interrupt mechanism now. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/pm34xx.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index

[PATCHv8 16/16] TEMP: OMAP device: change pr_warnings to pr_debugs

2011-09-16 Thread Tero Kristo
Prevents a hang when omap_device would want to print something for serial console device while enabling / disabling its clocks. Should be handled properly by serial runtime PM support. Signed-off-by: Tero Kristo t-kri...@ti.com Cc: Govindraj.R govindraj.r...@ti.com ---

Re: [PATCH 1/8] OMAP: convert I2C driver to PM QoS for latency constraints

2011-09-16 Thread Kevin Hilman
Jean Pihet jean.pi...@newoldbits.com writes: Kevin, On Fri, Sep 16, 2011 at 12:46 AM, Kevin Hilman khil...@ti.com wrote: Hi Jean, Jean Pihet jean.pi...@newoldbits.com writes: Convert the driver from the outdated omap_pm_set_max_mpu_wakeup_lat API to the new PM QoS API. Since the

[PATCH] OMAP3: PM: fix UART handling when using no_console_suspend

2011-09-16 Thread Kevin Hilman
During the idle/suspend path, we expect the console lock to be held so that no console output is done during/after the UARTs are idled. However, when using the no_console_suspend argument on the command-line, the console driver does not take the console lock. This allows the possibility of

Re: [PATCH v2 5/6] OMAP: omap_device: Create a default omap_device_pm_latency

2011-09-16 Thread Kevin Hilman
Cousson, Benoit b-cous...@ti.com writes: Hi Kevin, On 9/2/2011 4:25 PM, Cousson, Benoit wrote: Most devices are using the same default omap_device_pm_latency structure during device built. In order to avoid the duplication of the same structure everywhere, add a default structure that will

[GIT PULL] OMAP PM cleanup for v3.2

2011-09-16 Thread Kevin Hilman
Tony, Please pull the following PM cleanups for v3.2 Kevin The following changes since commit fcb8ce5cfe30ca9ca5c9a79cdfe26d1993e65e0c: Linux 3.1-rc3 (2011-08-22 11:42:53 -0700) are available in the git repository at: git://gitorious.org/khilman/linux-omap-pm.git for_3.2/pm-cleanup

Re: [PATCH 20/25] OMAP4: PM: Add L2X0 cache lowpower support

2011-09-16 Thread Kevin Hilman
Santosh Shilimkar santosh.shilim...@ti.com writes: When MPUSS hits off-mode e, L2 cache is lost. This patch adds L2X0 ^^^ extra 'e' ? necessary maintenance operations and context restoration in the low power code. Signed-off-by: Santosh Shilimkar

Re: [PATCH 23/25] OMAP4: PM: Add CPUidle support

2011-09-16 Thread Kevin Hilman
Hi Santosh, Santosh Shilimkar santosh.shilim...@ti.com writes: Add OMAP4 CPUIDLE support. CPU1 is left with defualt idle and the low power state for it is managed via cpu-hotplug. This patch adds MPUSS low power states in cpuidle. C1 - CPU0 ON + CPU1 ON + MPU ON C2 - CPU0 OFF

[PATCH v2 0/6] OMAP3+ Clock Fixes

2011-09-16 Thread Jon Hunter
From: Jon Hunter jon-hun...@ti.com Various clock fixes for OMAP3 and OMAP4 devices. Jon Hunter (4): OMAP4: Add missing clock divider for OCP_ABE_ICLK OMAP3+: use DPLLs recalc function instead of omap2_get_dpll_rate OMAP3+: Update DPLL Fint range for OMAP36xx and OMAP4xxx devices OMAP4:

Re: [PATCH 5/5 v9] mfd: omap: usb: Runtime PM support

2011-09-16 Thread Frank Rowand
On 09/16/11 00:31, Munegowda, Keshava wrote: On Fri, Sep 16, 2011 at 11:17 AM, Munegowda, Keshava keshava_mgo...@ti.com wrote: On Fri, Sep 16, 2011 at 6:10 AM, Frank Rowand frank.row...@am.sony.com wrote: On 09/15/11 06:22, Keshava Munegowda wrote: From: Keshava Munegowda

[PATCH v2 1/6] OMAP4: Add missing clock divider for OCP_ABE_ICLK

2011-09-16 Thread Jon Hunter
From: Jon Hunter jon-hun...@ti.com The parent clock of the OCP_ABE_ICLK is the AESS_FCLK and the parent clock of the AESS_FCLK is the ABE_FCLK... ABE_FCLK -- AESS_FCLK -- OCP_ABE_ICLK The AESS_FCLK and OCP_ABE_ICLK clocks both have dividers which determine their operational frequency. However,

[PATCH v2 2/6] OMAP4: Clock: round_rate and recalc functions for DPLL_ABE

2011-09-16 Thread Jon Hunter
From: Mike Turquette mturque...@ti.com OMAP4 DPLL_ABE can enable a 4X multipler on top of the normal MN multipler and divider. This is achieved by setting CM_CLKMODE_DPLL_ABE.DPLL_REGM4XEN bit in CKGEN module of CM1. From the OMAP4 TRM: Fdpll = Fref x 2 x (4 x M/(N+1)) in case REGM4XEN bit field

[PATCH v3 3/6] OMAP3+: use DPLL's round_rate when setting rate

2011-09-16 Thread Jon Hunter
From: Mike Turquette mturque...@ti.com omap3_noncore_dpll_set_rate uses omap2_dpll_round_rate explicitly. Instead use the struct clk pointer's round_rate function to allow for DPLL's with special needs. Also the rounded rate can differ from target rate, so to better reflect reality set clk-rate

[PATCH v2 4/6] OMAP3+: use DPLLs recalc function instead of omap2_get_dpll_rate

2011-09-16 Thread Jon Hunter
From: Jon Hunter jon-hun...@ti.com This is a continuation of Mike Turquette's patch OMAP3+: use DPLL's round_rate when setting rate. omap3_noncore_dpll_set_rate() and omap3_noncore_dpll_enable() call omap2_get_dpll_rate() explicitly. It may be necessary for some DPLLs to use a different function

[PATCH v2 5/6] OMAP3+: Update DPLL Fint range for OMAP36xx and OMAP4xxx devices

2011-09-16 Thread Jon Hunter
From: Jon Hunter jon-hun...@ti.com The OMAP36xx and OMAP4xxx DPLLs have a different internal reference clock frequency (fint) operating range than OMAP3430. Update the dpll_test_fint() function to check for the correct frequency ranges for OMAP36xx and OMAP4xxx. For OMAP36xx and OMAP4xxx

[PATCH v2 6/6] OMAP4: Clock: Correct the name of SLIMBUS interface clocks

2011-09-16 Thread Jon Hunter
From: Jon Hunter jon-hun...@ti.com Currently the interface clocks for the two SLIMBUS peripherals are named slimbus1_fck and slimbus2_fck. Rename these clocks to be slimbus1_ick and slimbus2_ick so it is clear that these are interface clocks and not functional clocks. Signed-off-by: Jon Hunter

[PATCH v3 0/6] iommu: split mapping to page sizes as supported by the hardware

2011-09-16 Thread Ohad Ben-Cohen
v2-v3: - s/KB/KiB/ (David W) v1-v2: - split to patches (by keeping the old code around until all drivers are converted) (Joerg) Ohad Ben-Cohen (6): iommu/core: split mapping to page sizes as supported by the hardware iommu/omap: announce supported page sizes iommu/msm: announce

[PATCH v3 1/6] iommu/core: split mapping to page sizes as supported by the hardware

2011-09-16 Thread Ohad Ben-Cohen
When mapping a memory region, split it to page sizes as supported by the iommu hardware. Always prefer bigger pages, when possible, in order to reduce the TLB pressure. The logic to do that is now added to the IOMMU core, so neither the iommu drivers themselves nor users of the IOMMU API have to

[PATCH v3 3/6] iommu/msm: announce supported page sizes

2011-09-16 Thread Ohad Ben-Cohen
Let the IOMMU core know we support 4KiB, 64KiB, 1MiB and 16MiB page sizes. This way the IOMMU core can split any arbitrary-sized physically contiguous regions (that it needs to map) as needed. Signed-off-by: Ohad Ben-Cohen o...@wizery.com Cc: David Brown dav...@codeaurora.org Cc: Stepan

[PATCH v3 4/6] iommu/amd: announce supported page sizes

2011-09-16 Thread Ohad Ben-Cohen
Let the IOMMU core know we support arbitrary page sizes (as long as they're an order of 4KiB). This way the IOMMU core will retain the existing behavior we're used to; it will let us map regions that: - their size is an order of 4KiB - they are naturally aligned Signed-off-by: Ohad Ben-Cohen

[PATCH v3 5/6] iommu/intel: announce supported page sizes

2011-09-16 Thread Ohad Ben-Cohen
Let the IOMMU core know we support arbitrary page sizes (as long as they're an order of 4KiB). This way the IOMMU core will retain the existing behavior we're used to; it will let us map regions that: - their size is an order of 4KiB - they are naturally aligned Note: Intel IOMMU hardware

[PATCH v3 2/6] iommu/omap: announce supported page sizes

2011-09-16 Thread Ohad Ben-Cohen
Let the IOMMU core know we support 4KiB, 64KiB, 1MiB and 16MiB page sizes. This way the IOMMU core can split any arbitrary-sized physically contiguous regions (that it needs to map) as needed. Signed-off-by: Ohad Ben-Cohen o...@wizery.com Cc: Hiroshi DOYU hiroshi.d...@nokia.com ---

[PATCH v3 6/6] iommu/core: remove the temporary register_iommu_pgsize API

2011-09-16 Thread Ohad Ben-Cohen
Now that all IOMMU drivers are converted to the new register_iommu_pgsize() API, the old code can be removed, and we can s/register_iommu_pgsize/register_iommu/. Signed-off-by: Ohad Ben-Cohen o...@wizery.com Cc: Joerg Roedel joerg.roe...@amd.com Cc: David Woodhouse dw...@infradead.org Cc: David

Re: [PATCH 8/8] OMAP4: Fix the emif and dmm virtual mapping

2011-09-16 Thread Kevin Hilman
Santosh Shilimkar santosh.shilim...@ti.com writes: Fix the address overlap with Emulation domain (EMU). The previous mapping was entering into EMU mapping and was not as per comments. Fix the mapping accordingly. [giris...@ti.com: Helped fixing comments.] Signed-off-by: Girish S G

Re: [PATCH 3/8] OMAP2+: powerdomain: control power domains next state

2011-09-16 Thread Kevin Hilman
Jean Pihet jean.pi...@newoldbits.com writes: When a PM QoS device latency constraint is requested or removed the PM QoS layer notifies the underlying layer with the updated aggregated constraint value. The constraint is stored in the powerdomain constraints list and then applied to the

omap kernel mirror?

2011-09-16 Thread Jason Kridner
On Fri, Sep 16, 2011 at 6:33 PM, Peter Lyon lordva...@gmail.com wrote: With kernel.org down for maintenance, what is the recommended git mirror to use instead of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git? Mainline is temporarily available at

[PATCH] ARM: OMAP: Add support for dmtimer v2 ip (Re: [PATCH v15 06/12] OMAP: dmtimer: switch-over to platform device driver)

2011-09-16 Thread Tony Lindgren
* DebBarma, Tarun Kanti tarun.ka...@ti.com [110916 01:56]: [...] 1. Modify the inline access functions to take the PEND and others    if needed registers as a parameter 2. Modify mach-omap2/timer.c to initialize the PEND and others    in the SoC specific timer_init function Just to

[GIT PULL] omap cleanup part1 for v3.2 merge window

2011-09-16 Thread Tony Lindgren
Hi Arnd, Please pull the first part of omap cleanup from: git://github.com/tmlind/linux.git cleanup This series cleans up early_init functions and removes CHIP_IS macro usage. This makes it easier to have SoC specific init functions so adding support for new omap variants does not require

[GIT PULL] omap voltage cleanup for v3.2 merge window

2011-09-16 Thread Tony Lindgren
Hi Arnd, Please pull omap voltage cleanup series: git://github.com/tmlind/linux.git voltage This has a dependency to the cleanup part 1 series. As this contains some voltage fixes too, it's a separate series. You can either pull it into cleanup or keep it separate. Regards, Tony The