Re: [PATCH V5 0/6] OMAPDSS: Cleanup cpu_is checks

2012-08-30 Thread Tomi Valkeinen
On Wed, 2012-08-29 at 17:20 -0700, Tony Lindgren wrote: * Chandrabhanu Mahapatra cmahapa...@ti.com [120820 06:26]: Hi everyone, this patch series aims at cleaning up of DSS of cpu_is checks thereby making it more generic. The 1st patch cleans up cpu_is checks from DISPC code. The

Re: [PATCH v4 2/3] ARM: omap: hwmod: get rid of all omap_clk_get_by_name usage

2012-08-30 Thread Rajendra Nayak
On Thursday 30 August 2012 05:38 AM, Russell King - ARM Linux wrote: On Wed, Aug 29, 2012 at 02:26:15PM +0530, Rajendra Nayak wrote: Moving to Common clk framework for OMAP would mean we no longer use internal lookup mechanism like omap_clk_get_by_name(). get rid of all its usage mostly from

Re: [PATCH v4 2/3] ARM: omap: hwmod: get rid of all omap_clk_get_by_name usage

2012-08-30 Thread Rajendra Nayak
On Thursday 30 August 2012 05:45 AM, Turquette, Mike wrote: On Wed, Aug 29, 2012 at 1:56 AM, Rajendra Nayakrna...@ti.com wrote: diff --git a/arch/arm/mach-omap2/clock44xx_data.c b/arch/arm/mach-omap2/clock44xx_data.c index d7f55e4..a3831a2 100644 --- a/arch/arm/mach-omap2/clock44xx_data.c +++

Re: [PATCH v2 0/3] MFD/GPIO: Add twl6040 GPO driver

2012-08-30 Thread Peter Ujfalusi
Hi Samuel, Linus, On 08/16/2012 03:13 PM, Peter Ujfalusi wrote: Hello, Changes since v1: - Removed the ti,use-gpo property from DT bindings - Register the GPO driver if we booted with DT blob or in legacy if the pdata for the GPO driver is present - DT binding Documentation update

Re: [PATCH v2 02/14] MFD: twl4030-audio: Convert to use devm_kzalloc

2012-08-30 Thread Peter Ujfalusi
Hi Tero, On 08/28/2012 12:50 PM, Tero Kristo wrote: On Tue, 2012-08-14 at 17:22 +0300, Peter Ujfalusi wrote: Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com I think this one could use a short commit message, also about why kfree():s are dropped (handled internally by devm_* etc.) I

[PATCH v8 13/13] usb: otg: nop: add dt support

2012-08-30 Thread Ravi Babu
Added device tree support for nop transceiver driver and updated the Documentation with device tree binding information for am33xx platform. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com Signed-off-by: Ravi Babu ravib...@ti.com --- .../devicetree/bindings/usb/am33xx-usb.txt |3

[PATCH v8 07/13] usb: musb: dsps: add dt support

2012-08-30 Thread Ravi Babu
From: Ajay Kumar Gupta ajay.gu...@ti.com Added device tree support for dsps musb glue driver and updated the Documentation with device tree binding information. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com Signed-off-by: Ravi Babu ravib...@ti.com Signed-off-by: Santhapuri, Damodar

[PATCH v8 04/13] usb: musb: kill global and static for multi instance

2012-08-30 Thread Ravi Babu
From: Ajay Kumar Gupta ajay.gu...@ti.com Moved global variable musb_debugfs_root and static variable old_state to 'struct musb' to help support multi instance of musb controller as present on AM335x platform. Also removed the global variable orig_dma_mask and filled the dev-dma_mask with parent

[PATCH v8 01/13] usb: musb: dsps: add phy control logic to glue

2012-08-30 Thread Ravi Babu
From: Santhapuri, Damodar damodar.santhap...@ti.com AM335x uses NOP transceiver driver and need to enable builtin PHY by writing into usb_ctrl register available in system control module register space. This is being added at musb glue driver layer untill a separate system control module driver

[PATCH v8 00/13] usb: musb: adding multi instance support

2012-08-30 Thread Ravi Babu
This series of patches adds, a) Multi instances support in musb driver b) DT support for musb_dsps glue layer c) DT support for NOP transceiver AM33xx and TI81xx has dual musb controller and has two usb PHY of same type. This patch series uses 'phandle' based API devm_usb_get_phy_by_phandle() to

[PATCH v8 05/13] usb: musb: am335x: add support for dual instance

2012-08-30 Thread Ravi Babu
AM335x and TI81xx platform has dual musb controller so updating the musb_dspc.c to support the same. Changes: - Moved otg_workaround timer to glue structure - Moved static local variable last_timer to glue structure - PHY on/off related cleanups Signed-off-by: Ajay Kumar

[PATCH v8 02/13] usb: musb: dsps: enable phy control for am335x

2012-08-30 Thread Ravi Babu
From: Ajay Kumar Gupta ajay.gu...@ti.com Enabled the phy control logic for am335x also based on usbss revision register. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com Signed-off-by: Santhapuri, Damodar damodar.santhap...@ti.com Signed-off-by: Ravi Babu ravib...@ti.com ---

[PATCH v8 08/13] arm/dts: am33xx: Add dt data for usbss

2012-08-30 Thread Ravi Babu
From: Ajay Kumar Gupta ajay.gu...@ti.com Added device tree data for usbss on am33xx. There are two musb controllers on am33xx platform so have port0_mode and port1_mode additional data. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com Signed-off-by: Ravi Babu ravib...@ti.com Signed-off-by:

[PATCH v8 10/13] usb: musb: dsps: remove explicit NOP device creation

2012-08-30 Thread Ravi Babu
From: Ajay Kumar Gupta ajay.gu...@ti.com As NOP device node is now added in am33xx tree so remove the call which creates the NOP platform_device. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com Signed-off-by: Ravi Babu ravib...@ti.com Signed-off-by: Santhapuri, Damodar

[PATCH v8 03/13] usb: musb: add musb_ida for multi instance support

2012-08-30 Thread Ravi Babu
Added musb_ida in musb_core.c to manage the multi core ids. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com Signed-off-by: Ravi Babu ravib...@ti.com Signed-off-by: Santhapuri, Damodar damodar.santhap...@ti.com Signed-off-by: Ravi Babu ravib...@ti.com --- drivers/usb/musb/am35x.c | 42

[PATCH v8 11/13] usb: musb: dsps: get the PHY using phandle api

2012-08-30 Thread Ravi Babu
From: Santhapuri, Damodar damodar.santhap...@ti.com AM33xx has two PHY of same type used by each musb controller so use phandle of phy nodes to get the phy pointer. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com Signed-off-by: Ravi Babu ravib...@ti.com Signed-off-by: Santhapuri, Damodar

[PATCH v8 09/13] arm/dts: am33xx: add dt data for usb nop phy

2012-08-30 Thread Ravi Babu
From: Ajay Kumar Gupta ajay.gu...@ti.com AM33xx has two musb controller and they have one NOP PHY each. Added the device tree data for NOP PHY. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com Signed-off-by: Ravi Babu ravib...@ti.com Signed-off-by: Santhapuri, Damodar damodar.santhap...@ti.com

[PATCH v8 06/13] usb: otg: nop: add support for multiple tranceiver

2012-08-30 Thread Ravi Babu
From: Santhapuri, Damodar damodar.santhap...@ti.com Currently we have one single nop transceiver support as same is defined as a global variable in drivers/usb/otg/nop-usb-xceiv.c. This need to be changed to support multiple otg controller each using nop transceiver on a platform such as am335x.

[PATCH v8 12/13] arm/dts: am33xx: add phy phandle to usbss

2012-08-30 Thread Ravi Babu
From: Ajay Kumar Gupta ajay.gu...@ti.com Added NOP PHY phandle to usbss device node as same will be used to get the phy from otg framework. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com Signed-off-by: Ravi Babu ravib...@ti.com Signed-off-by: Santhapuri, Damodar damodar.santhap...@ti.com

Re: [PATCH v8 08/13] arm/dts: am33xx: Add dt data for usbss

2012-08-30 Thread Sergei Shtylyov
Hello. On 30-08-2012 14:50, Ravi Babu wrote: From: Ajay Kumar Gupta ajay.gu...@ti.com Added device tree data for usbss on am33xx. There are two musb controllers on am33xx platform so have port0_mode and port1_mode additional data. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com

[PATCH v2 00/23] OMAPDSS: Create output entities

2012-08-30 Thread Archit Taneja
Create a new entity in OMAPDSS called outputs. These represent the interfaces/outputs like DSI, HDMI etc. that a panel connects to. An output sits in between an overlay manager and a panel. More details about outputs are explained in the first patch of the series. This series adds omap_dss_output

[PATCH v2 01/23] OMAPDSS: outputs: Create a new entity called outputs

2012-08-30 Thread Archit Taneja
The current OMAPDSS design contains 3 software entities: Overlays, Managers and Devices. These map to pipelines, overlay managers and the panels respectively in hardware. One or more overlays connect to a manager to represent a composition, the manager connects to a device(generally a display) to

[PATCH v2 02/23] OMAPDSS: outputs: Create and register output instances

2012-08-30 Thread Archit Taneja
Add output structs to output driver's private data. Register output instances by having an init function in the probes of the platform device drivers for different outputs. The *_init_output for each output registers the output and fill up the output's plaform device, type and id fields. In the

[PATCH v2 03/23] OMAPDSS: output: Add set/unset device ops for omap_dss_output

2012-08-30 Thread Archit Taneja
An output entity represented by the struct omap_dss_output connects to a omap_dss_device entity. Add functions to set or unset an output's device. This is similar to how managers and devices were connected previously. An output can connect to a device without being connected to a manager. However,

[PATCH v2 04/23] OMAPDSS: APPLY: Add manager set/unset output ops for omap_overlay_manager

2012-08-30 Thread Archit Taneja
Add set_output/unset_output ops for overlay managers, these form links between managers and outputs. Create a function in dss features which tell all the output instances that connect to a manager, use it when a manager tries to set an output. Add a constraint of not unsetting an output when the

[PATCH v2 05/23] OMAPDSS: Remove manager-device references

2012-08-30 Thread Archit Taneja
With the introduction of output entities, managers will now connect to outputs. Create a helper op for managers named get_device. This will abstract away the information on how to get the device from an overlay manager. The get_device op currently retrieves the output via a manager-device

[PATCH v2 06/23] OMAP_VOUT: Remove manager-device references

2012-08-30 Thread Archit Taneja
With the introduction of output entities, managers will now connect to outputs. Use the helper op for managers named get_device. This will abstract away the information on how to get the device from an overlay manager. Using the helper function will reduce the number of pointer dereferences a

[PATCH v2 07/23] OMAPFB: remove manager-device references

2012-08-30 Thread Archit Taneja
With the introduction of output entities, managers will now connect to outputs. Use the helper op for managers named get_device. This will abstract away the information on how to get the device from an overlay manager. Using the helper function will reduce the number of pointer dereferences a

[PATCH v2 08/23] OMAPDRM: Remove manager-device references

2012-08-30 Thread Archit Taneja
With the introduction of output entities, managers will now connect to outputs. Use the helper op for managers named get_device. This will abstract away the information on how to get the device from an overlay manager. Using the helper function will reduce the number of pointer dereferences a

[PATCH v2 09/23] OMAPDSS: Create links between managers, outputs and devices

2012-08-30 Thread Archit Taneja
Links between DSS entities are made in dss_recheck_connections when a new panel is probed. Rewrite the code in dss_recheck_connections to link managers to outputs, and outputs to devices. The fields in omap_dss_device struct gives information on which output and manager to connect to. The desired

[PATCH v2 10/23] OMAPDSS: DPI: Pass omap_dss_output within the driver

2012-08-30 Thread Archit Taneja
When a panel driver calls a DPI function, it passes the omap_dss_device pointer, this pointer currently propagates within the DPI driver to configure the interface. Extract the omap_dss_output pointer from omap_dss_device received from the panel driver, pass the output pointer to DPI functions

[PATCH v2 11/23] OMAPDSS: DSI: Remove dsi_pdev_map global struct

2012-08-30 Thread Archit Taneja
dsi_pdev_map is a struct visible globally in the DSI driver to get the platform device pointer of the DSI device corresponding to it's module ID. This was required because there was no clean way to derive the platform device from the DSI module instance number or from the connected panel. With

[PATCH v2 12/23] OMAPDSS: DSI: Pass omap_dss_output within the driver

2012-08-30 Thread Archit Taneja
When a panel driver calls a DSI function, it passes the omap_dss_device pointer, this pointer currently propagates within the DSI driver to configure the interface. Extract the omap_dss_output pointer from omap_dss_device received from the panel driver, pass the output pointer to DSI functions

[PATCH v2 13/23] OMAPDSS: SDI: Pass omap_dss_output within the driver

2012-08-30 Thread Archit Taneja
When a panel driver calls a SDI function, it passes the omap_dss_device pointer, this pointer currently propagates within the SDI driver to configure the interface. Extract the omap_dss_output pointer from omap_dss_device received from the panel driver, pass the output pointer to SDI functions

[PATCH v2 14/23] OMAPDSS: RFBI: Pass omap_dss_output within the driver

2012-08-30 Thread Archit Taneja
When a panel driver calls a RFBI function, it passes the omap_dss_device pointer, this pointer currently propagates within the RFBI driver to configure the interface. Extract the omap_dss_output pointer from omap_dss_device received from the panel driver, pass the output pointer to RFBI functions

[PATCH v2 15/23] OMAPDSS: RFBI: Add dssdev pointers as arguments to all exported functions

2012-08-30 Thread Archit Taneja
All functions of an interface driver used by a panel driver should have an omap_dss_device pointer as an argument. This may not be needed by some of the interfaces now as driver data is globally visible in them. The correct way to retrieve driver data is to extract the platform device from the

[PATCH v2 16/23] OMAPDSS: VENC: Pass omap_dss_output within the driver

2012-08-30 Thread Archit Taneja
When a panel driver calls a VENC function, it passes the omap_dss_device pointer, this pointer currently propagates within the VENC driver to configure the interface. Extract the omap_dss_output pointer from omap_dss_device received from the panel driver, pass the output pointer to VENC functions

[PATCH v2 17/23] OMAPDSS: HDMI: Pass omap_dss_output within the driver

2012-08-30 Thread Archit Taneja
When a panel driver calls a HDMI function, it passes the omap_dss_device pointer, this pointer currently propagates within the HDMI driver to configure the interface. Extract the omap_dss_output pointer from omap_dss_device received from the panel driver, pass the output pointer to HDMI functions

[PATCH v2 18/23] OMAPDSS: HDMI: Add dssdev pointer as an argument to all functions used by hdmi panel driver

2012-08-30 Thread Archit Taneja
All functions of an output driver used by a panel driver should have an omap_dss_device pointer as an argument. This is needed as the function would somehow need to retrieve the output driver's private data. It may not be needed by some of the outputs for now as driver data is globally visible

[PATCH v2 19/23] OMAPDSS/OMAPFB: Change dssdev-manager references

2012-08-30 Thread Archit Taneja
To retrieve the manager pointer via a device, we need to now access it via the output to which the device is connected. Make this change in the places where such a reference is made. Signed-off-by: Archit Taneja arc...@ti.com --- drivers/video/omap2/dss/display.c | 11 +--

[PATCH v2 20/23] OMAPDSS: MANAGER: Update display sysfs store

2012-08-30 Thread Archit Taneja
The display sysfs attribute's store function needs to be changed with the introduction of outputs. Providing a manager to the display isn't enough to create a link now, the manager needs and output to connect to. A manager's display store file only has the information of the manager and the

[PATCH v2 21/23] OMAPDSS: MANAGER: Get device via output

2012-08-30 Thread Archit Taneja
A manager is not connected to a device directly any more. It first connects to an output, and then to the display. Update the manager's get_device op to return the device via the connected output. Signed-off-by: Archit Taneja arc...@ti.com --- drivers/video/omap2/dss/manager.c |2 +- 1 file

[PATCH v2 22/23] OMAPDSS: APPLY: Remove omap_dss_device references from dss_ovl_enable/disable

2012-08-30 Thread Archit Taneja
An overlay isn't allowed to be enabled/disabled if it isn't connected to an omap_dss_device. This requirement isn't needed any more. An overlay can be enabled/disabled as long as it has an output connected to it. The output may not be connected to a device, but we can be assured that the connected

[PATCH v2 23/23] OMAPDSS: Remove old way of setting manager and device links

2012-08-30 Thread Archit Taneja
Now that an omap_dss_output can be used to link between managers and devices, we can remove the old way of setting manager and device links. This involves removing the device and manager pointers from omap_overlay_manager and omap_dss_device respectively, and removing the set_device/unset_device

Re: [PATCH v4 2/3] ARM: omap: hwmod: get rid of all omap_clk_get_by_name usage

2012-08-30 Thread Benoit Cousson
On 08/30/2012 10:39 AM, Rajendra Nayak wrote: On Thursday 30 August 2012 05:45 AM, Turquette, Mike wrote: On Wed, Aug 29, 2012 at 1:56 AM, Rajendra Nayakrna...@ti.com wrote: diff --git a/arch/arm/mach-omap2/clock44xx_data.c b/arch/arm/mach-omap2/clock44xx_data.c index d7f55e4..a3831a2 100644

Re: [RFC PATCH 1/5] i2c: introduce i2c-cbus driver

2012-08-30 Thread Felipe Balbi
On Wed, Aug 29, 2012 at 12:34:23AM +0300, Aaro Koskinen wrote: Add i2c driver to enable access to devices behind CBUS on Nokia Internet Tablets. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi Cc: linux-...@vger.kernel.org Acked-by: Felipe Balbi ba...@ti.com ---

Re: [RFC PATCH 2/5] mfd: introduce retu-mfd driver

2012-08-30 Thread Felipe Balbi
On Wed, Aug 29, 2012 at 12:34:24AM +0300, Aaro Koskinen wrote: Retu is a multi-function device found on Nokia Internet Tablets implementing at least watchdog, RTC, headset detection and power button functionality. This patch implements a minimum functionality providing only register access

Re: [RFC PATCH 4/5] arm: omap: n8x0: add i2c-cbus platform data

2012-08-30 Thread Felipe Balbi
On Wed, Aug 29, 2012 at 12:34:26AM +0300, Aaro Koskinen wrote: Add platform data to enable i2c-cbus on N8x0. It will be I2C bus #3. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi Acked-by: Felipe Balbi ba...@ti.com --- arch/arm/mach-omap2/board-n8x0.c | 27 +++

Re: [RFC PATCH 5/5] arm: omap: n8x0: enable retu

2012-08-30 Thread Felipe Balbi
On Wed, Aug 29, 2012 at 12:34:27AM +0300, Aaro Koskinen wrote: Add Retu configuration. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi Acked-by: Felipe Balbi ba...@ti.com --- arch/arm/mach-omap2/board-n8x0.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff

Re: [RFC PATCH 0/5] cbus/retu drivers to mainline

2012-08-30 Thread Felipe Balbi
Hi, On Wed, Aug 29, 2012 at 12:34:22AM +0300, Aaro Koskinen wrote: Hi, I would like to start converting cbus drivers from linux-omap cbus branch for mainline inclusion. Currently e.g. watchdog support is missing at least on Nokia N800, so you cannot run the mainline kernel for longer than

Re: TI SoC Linux BoF @ Linux Plumbers Conference: tomorrow

2012-08-30 Thread Paul Walmsley
On Wed, 29 Aug 2012, Locke, Matthew wrote: During lunch On the schedule[1], the TI Linux BoF is from 12:35pm to 13:20pm. So it looks like people can get a quick lunch outside from 12:05pm to 12:30pm, then head to Nautilus 1 for the BoF. It's all informal, so please drop in and say hello if

Re: [PATCH v4 2/3] ARM: omap: hwmod: get rid of all omap_clk_get_by_name usage

2012-08-30 Thread Tomi Valkeinen
On Thu, 2012-08-30 at 13:57 +0200, Benoit Cousson wrote: On 08/30/2012 10:39 AM, Rajendra Nayak wrote: On Thursday 30 August 2012 05:45 AM, Turquette, Mike wrote: On Wed, Aug 29, 2012 at 1:56 AM, Rajendra Nayakrna...@ti.com wrote: diff --git a/arch/arm/mach-omap2/clock44xx_data.c

Re: [PATCH RESEND 1/4] ARM: OMAP2+: AM33XX: Add tps65910 device tree data

2012-08-30 Thread Mark Brown
On Wed, Aug 29, 2012 at 09:31:31AM +0100, Lee Jones wrote: On Tue, Aug 28, 2012 at 10:21:33AM -0700, Mark Brown wrote: The regulator-name property is used to populate constrains-name. Are you sure you still want them all removed? Yes, of course. There's no way that a generic .dtsi used

Re: [PATCH V5 0/6] OMAPDSS: Cleanup cpu_is checks

2012-08-30 Thread Tony Lindgren
Hi, * Tomi Valkeinen tomi.valkei...@ti.com [120830 00:35]: On Wed, 2012-08-29 at 17:20 -0700, Tony Lindgren wrote: Good to see this, we need this badly to avoid blocking single zImage effort on omaps. Can you also please take What is the issue with single zImage? How do cpu_is_ check

[PATCHv3 1/9] ir-rx51: Adjust dependencies

2012-08-30 Thread Timo Kokkonen
Although this kind of IR diode circuitry is known to exist only in N900 hardware, nothing prevents making similar circuitry on any OMAP based board. The MACH_NOKIA_RX51 dependency is thus not something we want to be there. Also, this should depend on LIRC as it is a LIRC driver. Signed-off-by:

[PATCHv3 8/9] ir-rx51: Remove useless variable from struct lirc_rx51

2012-08-30 Thread Timo Kokkonen
As clearly visible from the patch, this variable has no useful purpose what so ever. Thus, it can be removed altogether without any side effects. Signed-off-by: Timo Kokkonen timo.t.kokko...@iki.fi --- drivers/media/rc/ir-rx51.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff

[PATCHv3 7/9] ir-rx51: Convert latency constraints to PM QoS API

2012-08-30 Thread Timo Kokkonen
Convert the driver from the obsolete omap_pm_set_max_mpu_wakeup_lat API to the new PM QoS API. This allows the callback to be removed from the platform data structure. The latency requirements are also adjusted to prevent the MPU from going into sleep mode. This is needed as the GP timers have no

[PATCHv3 2/9] ir-rx51: Handle signals properly

2012-08-30 Thread Timo Kokkonen
The lirc-dev expects the ir-code to be transmitted when the write call returns back to the user space. We should not leave TX ongoing no matter what is the reason we return to the user space. Easiest solution for that is to simply remove interruptible sleeps. The first wait_event_interruptible is

[PATCHv3 9/9] ir-rx51: Add missing quote mark in Kconfig text

2012-08-30 Thread Timo Kokkonen
This trivial fix cures the following warning message: drivers/media/rc/Kconfig:275:warning: multi-line strings not supported Signed-off-by: Timo Kokkonen timo.t.kokko...@iki.fi --- drivers/media/rc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCHv3 6/9] ir-rx51: Replace module_{init,exit} macros with module_platform_driver

2012-08-30 Thread Timo Kokkonen
No reason to avoid using the existing helpers. Signed-off-by: Timo Kokkonen timo.t.kokko...@iki.fi --- drivers/media/rc/ir-rx51.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/media/rc/ir-rx51.c b/drivers/media/rc/ir-rx51.c index 16b3c1f..6e1ffa6 100644

[PATCHv3 3/9] ir-rx51: Trivial fixes

2012-08-30 Thread Timo Kokkonen
-Fix typo -Change pwm_timer_num type to match type in platform data -Remove extra parenthesis -Replace magic constant with proper bit defintions -Remove duplicate exit pointer Signed-off-by: Timo Kokkonen timo.t.kokko...@iki.fi --- drivers/media/rc/Kconfig | 2 +-

[PATCHv3 5/9] ir-rx51: Move platform data checking into probe function

2012-08-30 Thread Timo Kokkonen
This driver is useless without proper platform data. If data is not available, we should not register the driver at all. Once this check is done, the BUG_ON check during device open is no longer needed. Signed-off-by: Timo Kokkonen timo.t.kokko...@iki.fi --- drivers/media/rc/ir-rx51.c | 4 +++-

[PATCHv3 4/9] ir-rx51: Clean up timer initialization code

2012-08-30 Thread Timo Kokkonen
Remove a redundant macro definition. This is unneeded and becomes more readable once the actual timer code is refactored a little. Signed-off-by: Timo Kokkonen timo.t.kokko...@iki.fi --- drivers/media/rc/ir-rx51.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git

[PATCHv3 0/9] Fixes in response to review comments

2012-08-30 Thread Timo Kokkonen
These patches fix most of the issues pointed out in the patch review by Sean Young and Sakari Ailus. The most noticeable change after these patch set is that the IR transmission no longer times out even if the timers are not waking up the MPU as it should be. Now that Jean Pihet kindly instructed

[PATCHv2 0/3] remoteproc: introduce rproc recovery

2012-08-30 Thread Fernando Guzman Lugo
These set of patches make possible the remoteproc recover after a crash. This is a hard recovery, that means the remoteproc is reset and it will start from the beginning. When a crash happen all the virtio devices are destroyed. Therefore, both rpmsg drivers and devices are gracefully removed

[PATCHv2 3/3] remoteproc: create debugfs entry to disable/enable recovery dynamically

2012-08-30 Thread Fernando Guzman Lugo
Add a debugfs entry (named recovery) so that recovery can be disabled dynamically at runtime. This entry is very useful when you are trying to debug a rproc crash. Without this a recovery will take place making impossible to debug the issue. Original idea from Ohad Ben-Cohen and contributions

[PATCHv2 1/3] remoteproc: add rproc_report_crash function to notify rproc crashes

2012-08-30 Thread Fernando Guzman Lugo
This patch is exporting the rproc_report_crash function which can be used to report a rproc crash to the remoteproc core. This function is specially thought to be called by low-level remoteproc driver code in case of detecting a crash (remoteproc is not functional anymore). Using this function

[PATCHv2 2/3] remoteproc: recover a remoteproc when it has crashed

2012-08-30 Thread Fernando Guzman Lugo
This patch is introducing rproc_trigger_recover function which is in charge of recovering the rproc. One way to recover the rproc after a crash is resetting all its virtio devices. Doing that, all rpmsg drivers are restored along with the rpmsg devices and that also causes the reset of the

Re: [PATCH 0/9] ARM: OMAP: cleanup plat/board.h file

2012-08-30 Thread Tony Lindgren
* Igor Grinberg grinb...@compulab.co.il [120828 16:19]: This patch series cleans up the plat/board.h and related files. Great, thanks for doing this! Nice that we can finally remove all of that. I've also tested that 770 boots after this, so looks like we've already fixed up whatever it was

Re: [PATCH v3 10/10] mtd: nand: omap2: use gpmc provided irqs

2012-08-30 Thread Tony Lindgren
* Artem Bityutskiy dedeki...@gmail.com [120825 04:49]: On Tue, 2012-08-21 at 15:14 +0530, Afzal Mohammed wrote: GPMC platform initialization provides it's clients with interrupts that can be used through struct resource. Make use of it for irq mode functionality. Also now write protect

Re: [RFC RESEND 1/4] arm/dts: OMAP: Add timer nodes

2012-08-30 Thread Tony Lindgren
* Jon Hunter jon-hun...@ti.com [120816 08:05]: On 08/15/2012 04:11 AM, Vaibhav Hiremath wrote: Did we get conclude on this? I haven't got anything further on this thread, this may block baseport support for the new devices in omap2 family, like AM33xx and OMAP5. Sorry I have been out

Re: [PATCH] ARM: OMAP: timer: obey the !CONFIG_OMAP_32K_TIMER

2012-08-30 Thread Tony Lindgren
* Igor Grinberg grinb...@compulab.co.il [120829 15:02]: On 08/28/12 01:43, Shilimkar, Santosh wrote: On Mon, Aug 27, 2012 at 3:26 PM, Igor Grinberg grinb...@compulab.co.il wrote: Currently, omap2_sync32k_clocksource_init() function initializes the 32K timer as the system clock source

Re: [PATCH 0/5] hwrng/ARM: OMAP: convert to use runtime PM

2012-08-30 Thread Tony Lindgren
* Paul Walmsley p...@pwsan.com [120827 16:39]: This series converts the OMAP hardware random number generator driver to use runtime PM. Hardware integration data is added for OMAP2xxx systems. I'm pretty sure this device is available on other OMAP chips too, but may require some

Re: [PATCH 0/5] hwrng/ARM: OMAP: convert to use runtime PM

2012-08-30 Thread Herbert Xu
On Thu, Aug 30, 2012 at 01:27:08PM -0700, Tony Lindgren wrote: * Paul Walmsley p...@pwsan.com [120827 16:39]: This series converts the OMAP hardware random number generator driver to use runtime PM. Hardware integration data is added for OMAP2xxx systems. I'm pretty sure this device is

Re: [PATCH RESEND v4 1/3] arm/dts: AM33XX: Add basic pinctrl device tree data

2012-08-30 Thread Tony Lindgren
* AnilKumar Ch anilku...@ti.com [120828 01:11]: Adds basic pinctrl device tree data for AM33XX family of devices. This patch is based on the pinctrl-single driver. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am33xx.dtsi |9 + 1 file changed, 9

Re: [PATCH RESEND v4 2/3] arm/dts: AM33XX: Configure pinmuxs for user leds control on Bone

2012-08-30 Thread Tony Lindgren
* AnilKumar Ch anilku...@ti.com [120828 01:11]: Adds GPIO pinctrl nodes to am3358_pinmux master node to control user leds (USR0, USR1, USR2 and USR3) present on BeagleBone. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am335x-bone.dts | 14 ++ 1 file

Re: [PATCH v4 3/3] arm/dts: AM33XX: Add D_CAN device tree data

2012-08-30 Thread Tony Lindgren
* AnilKumar Ch anilku...@ti.com [120828 01:11]: Add Bosch D_CAN controller device tree data to AM33XX dtsi file by adding d_can device nodes with all the necessary parameters. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am33xx.dtsi | 18 ++ 1 file

Re: [PATCH 2/2] arm: omap: sram: skip the first 16K on OMAP3 HS

2012-08-30 Thread Tony Lindgren
* Shilimkar, Santosh santosh.shilim...@ti.com [120829 08:30]: On Wed, Aug 29, 2012 at 8:24 AM, Aaro Koskinen aaro.koski...@iki.fi wrote: In some OMAP3 HS devices (at least Nokia N9 and N950), the public SRAM seems to conflict with secure portition of SRAM. When booting the 3.6-rc3 kernel

Re: [PATCH 2/2] arm/dts: Cleanup regulator naming and remove @0,1..

2012-08-30 Thread Tony Lindgren
* Rajendra Nayak rna...@ti.com [120827 23:22]: Hi Tony, * Rajendra Nayakrna...@ti.com [120730 06:17]: regulators do not have a 'reg' property, hence the regulator@0, regulator@1 do not make sense. get rid of it. Looks like this needs to be refreshed to apply. Care to refresh against

Re: [PATCH 1/1] Config fix for omap3-touchbook board

2012-08-30 Thread Tony Lindgren
* Radek Pilar mr...@mrkva.eu [120817 09:04]: Fix inconsistency between mach-types and CONFIG_ name that prevents touchbook board from booting. Thanks, applying into fixes. Tony -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to

Re: [PATCH v4 0/3] Prepare for OMAP2+ movement to Common Clk

2012-08-30 Thread Paul Walmsley
Hi Rajendra On Wed, 29 Aug 2012, Rajendra Nayak wrote: Changes in v4: * Added *hack* comments around clk_prepare usage in hwmod rebased on 3.6-rc Assuming this is so (haven't looked closely at this series yet), and after the existing comments are taken into consideration and a new version

Re: [PATCH 0/5] hwrng/ARM: OMAP: convert to use runtime PM

2012-08-30 Thread Paul Walmsley
On Thu, 30 Aug 2012, Herbert Xu wrote: Acked-by: Herbert Xu herb...@gondor.apana.org.au Great, thanks Herbert. At some point in the next month or so, there should be similar series for the OMAP crypto IP blocks too, which will need some acks - just as a heads-up. - Paul -- To unsubscribe

Re: [PATCH v3 0/4] Add AM33XX regulators device tree data

2012-08-30 Thread Tony Lindgren
* Mark Brown broo...@opensource.wolfsonmicro.com [120821 06:58]: On Tue, Aug 21, 2012 at 04:47:26PM +0530, AnilKumar Ch wrote: This patch series add AM33XX regulators (tps65910/tps65217) device tree data to am335x-evm and am335x-bone dts files. These patches are based on Tony L devel-dt

Re: [PATCH] ARM: OMAP: timer: obey the !CONFIG_OMAP_32K_TIMER

2012-08-30 Thread Igor Grinberg
On 08/30/12 23:20, Tony Lindgren wrote: * Igor Grinberg grinb...@compulab.co.il [120829 15:02]: On 08/28/12 01:43, Shilimkar, Santosh wrote: On Mon, Aug 27, 2012 at 3:26 PM, Igor Grinberg grinb...@compulab.co.il wrote: Currently, omap2_sync32k_clocksource_init() function initializes the 32K

[PATCH 0/9] Clean up hardcoded IRQs for mach-omap2, enable SPARSE_IRQ, plaform_data/gpio-omap.h

2012-08-30 Thread Tony Lindgren
Hi all, Here's the first set of omap header clean-up patches needed for single zImage support. This series is based v3.6-rc3 and the following patches to avoid merge conflicts with the includes: - Arnd's patch ARM: omap: move platform_data definitions - Igor's series ARM: OMAP: cleanup

[PATCH 1/9] ARM: OMAP1: Move define of OMAP_LCD_DMA to dma.h

2012-08-30 Thread Tony Lindgren
This is needed to start removing hardcoded IRQs on omap2+. Signed-off-by: Tony Lindgren t...@atomide.com --- arch/arm/plat-omap/include/plat/dma.h |2 ++ arch/arm/plat-omap/include/plat/irqs.h |1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH 2/9] ARM: OMAP1: Define OMAP1_INT_I2C locally

2012-08-30 Thread Tony Lindgren
This is needed to start removing hardcoded IRQs for omap2+. Signed-off-by: Tony Lindgren t...@atomide.com --- arch/arm/plat-omap/i2c.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/plat-omap/i2c.c b/arch/arm/plat-omap/i2c.c index db071bc..40bc06a 100644 ---

[PATCH 3/9] ARM: OMAP2+: Make INTCPS_NR_IRQS local for mach-omap2/irq.c

2012-08-30 Thread Tony Lindgren
Make INTCPS_NR_IRQS local for mach-omap2/irq.c Signed-off-by: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/irq.c |2 ++ arch/arm/plat-omap/include/plat/irqs.h |3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-omap2/irq.c

[PATCH 4/9] ARM: OMAP2+: Remove unused nand_irq for GPMC

2012-08-30 Thread Tony Lindgren
This is no longer needed and assumes a fixed IRQ number that won't work with SPARSE_IRQ. Signed-off-by: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/board-flash.c|1 - include/linux/platform_data/mtd-nand-omap2.h |1 - 2 files changed, 2 deletions(-) diff --git

[PATCH 5/9] ARM: OMAP2+: Remove hardcoded twl4030 gpio_base, irq_base and irq_end

2012-08-30 Thread Tony Lindgren
We can't use hardcoded interrupts for SPARSE_IRQ, and can replace the hardcoded gpio_base with twl_gpiochip.base after it's been allocated. Cc: Grant Likely grant.lik...@secretlab.ca Cc: Linus Walleij linus.wall...@linaro.org Cc: Samuel Ortiz sa...@linux.intel.com Cc: Peter Ujfalusi

[PATCH 6/9] ARM: OMAP: Move gpio.h to include/linux/platform_data

2012-08-30 Thread Tony Lindgren
This way we can remove includes of plat/gpio.h which won't work with the single zImage support. Note that we also remove the cpu_class_is_omap2() check in gpio-omap.c as the drivers should not call it as we need to make it local to arch/arm/mach-omap2 for single zImage support. While at it,

[PATCH 7/9] ARM: OMAP2+: Prepare for irqs.h removal

2012-08-30 Thread Tony Lindgren
As the interrupts should only be defined in the platform_data, and eventually coming from device tree, there's no need to define them in header files. Let's remove the hardcoded references to irqs.h and fix up the includes so we don't rely on headers included in irqs.h. While at it, sort the

[PATCH 9/9] ARM: OMAP1: Move plat/irqs.h to mach/irqs.h

2012-08-30 Thread Tony Lindgren
This is now omap1 specific files. Signed-off-by: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap1/ams-delta-fiq-handler.S |1 arch/arm/mach-omap1/dma.c|3 arch/arm/mach-omap1/include/mach/ams-delta-fiq.h |2

Re: [PATCH v4 0/3] Prepare for OMAP2+ movement to Common Clk

2012-08-30 Thread Vaibhav Hiremath
On 8/31/2012 2:26 AM, Paul Walmsley wrote: Hi Rajendra On Wed, 29 Aug 2012, Rajendra Nayak wrote: Changes in v4: * Added *hack* comments around clk_prepare usage in hwmod rebased on 3.6-rc Assuming this is so (haven't looked closely at this series yet), and after the existing

Re: [PATCH 0/9] Clean up hardcoded IRQs for mach-omap2, enable SPARSE_IRQ, plaform_data/gpio-omap.h

2012-08-30 Thread Rob Herring
On 08/30/2012 07:52 PM, Tony Lindgren wrote: Hi all, Here's the first set of omap header clean-up patches needed for single zImage support. This series is based v3.6-rc3 and the following patches to avoid merge conflicts with the includes: - Arnd's patch ARM: omap: move platform_data