Re: [PATCH V2 0/2] OMAPDSS: DISPC: Peformance improvement of DISPC Scaling

2011-12-20 Thread Tomi Valkeinen
On Mon, 2011-12-19 at 14:03 +0530, Chandrabhanu Mahapatra wrote: Hi everyone, the following patch set directs to improve the scaling performance of DISPC module which consists of two pacthes. The first patch is based on code of Lajos Molnar la...@ti.com from Android Kernel, which updates

Re: [PATCH v2] OMAP: DSS2: Support for UMSH-8173MD TFT panel

2011-12-20 Thread Tomi Valkeinen
Hi, On Fri, 2011-12-16 at 18:30 +0100, Daniel Mack wrote: Signed-off-by: Daniel Mack zon...@gmail.com Cc: Tomi Valkeinen tomi.valkei...@ti.com Cc: Florian Tobias Schandinat florianschandi...@gmx.de --- v2 is a resent with .power_on_delay and .acb values corrected. The code itself is fine,

[PATCH v2 1/2] OMAPDSS: HDMI: Move duplicate code from boardfile

2011-12-20 Thread mythripk
From: Mythri P K mythr...@ti.com Move duplicate HDMI mux_init code from omap4 and panda board file to display file. Signed-off-by: Mythri P K mythr...@ti.com --- arch/arm/mach-omap2/board-4430sdp.c| 16 +--- arch/arm/mach-omap2/board-omap4panda.c | 17 +

[PATCH v3 2/2] OMAPDSS: HDMI: Disable DDC internal pull up

2011-12-20 Thread mythripk
From: Mythri P K mythr...@ti.com Disables the internal pull resistor for SDA and SCL which are enabled by default, as there are external pull up's in 4460 and 4430 ES2.3 SDP, Blaze and Panda Boards, It is done to avoid the EDID read failure. Signed-off-by: Ricardo Salveti de Araujo

Re: [PATCH v3 2/2] OMAPDSS: HDMI: Disable DDC internal pull up

2011-12-20 Thread Tomi Valkeinen
On Tue, 2011-12-20 at 14:08 +0530, mythr...@ti.com wrote: From: Mythri P K mythr...@ti.com Disables the internal pull resistor for SDA and SCL which are enabled by default, as there are external pull up's in 4460 and 4430 ES2.3 SDP, Blaze and Panda Boards, It is done to avoid the EDID read

[RFC PATCH] arm:omap:omap4: Remove hardcoded reg-offs for PWRSTCTRL PWRSTST

2011-12-20 Thread Vaibhav Hiremath
PRM module in AM33XX is closer to OMAP4 PRM module, so it makes complete sense to reuse all the code from existing OMAP4 implementation. Having said that, ther is a catch here with respect to AM33XX device, The register offset in PRM module is not consistent across (crazy IP integration), for

[PATCH] mmc: omap: remove clock rate hard coding

2011-12-20 Thread Venkatraman S
From: Balaji TK balaj...@ti.com MMC master clock rate can vary for each instance of the MMC controller on the device. Use clk_get_rate instead to get the value. Signed-off-by: Balaji TK balaj...@ti.com Reviewed-by: Venkatraman S svenk...@ti.com --- drivers/mmc/host/omap_hsmmc.c |7

Re: [PATCH] mmc: omap: remove clock rate hard coding

2011-12-20 Thread Shilimkar, Santosh
On Tue, Dec 20, 2011 at 3:12 PM, Venkatraman S svenk...@ti.com wrote: From: Balaji TK balaj...@ti.com MMC master clock rate can vary for each instance of the MMC controller on the device. Use clk_get_rate instead to get the value.  Signed-off-by: Balaji TK  balaj...@ti.com  Reviewed-by:

[PATCH v3] OMAP: DSS2: Support for UMSH-8173MD TFT panel

2011-12-20 Thread Daniel Mack
This patch adds support for Microtip Technologies' UMSH-8173MD 800x480 RGB TFT panel. Tested with an OMAP3 board. Signed-off-by: Daniel Mack zon...@gmail.com Cc: Tomi Valkeinen tomi.valkei...@ti.com Cc: Florian Tobias Schandinat florianschandi...@gmx.de ---

Re: [PATCH] ARM: OMAP: avoid NULL pointer dereference when no PMIC is configured

2011-12-20 Thread Daniel Mack
Hi Igor, On 12/19/2011 09:10 AM, Igor Grinberg wrote: On 12/18/11 21:13, Daniel Mack wrote: Signed-off-by: Daniel Mack zon...@gmail.com Cc: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/vp.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git

Re: [RFC v2 PATCH 0/3] dt: device tree bindings and data for EMIF and DDR

2011-12-20 Thread Aneesh V
On Tuesday 20 December 2011 04:31 AM, Rob Herring wrote: On 12/19/2011 08:05 AM, Aneesh V wrote: This is an RFC to add new device tree bindings for DDR memories and EMIF - TI's DDR SDRAM controller. The first patch adds bindings for DDR memories. Currently, we have added properties for only

Re: [RFC v2 PATCH 0/3] dt: device tree bindings and data for EMIF and DDR

2011-12-20 Thread Aneesh V
On Tuesday 20 December 2011 05:05 AM, Tony Lindgren wrote: * Rob Herringrobherri...@gmail.com [111219 14:29]: On 12/19/2011 08:05 AM, Aneesh V wrote: This is an RFC to add new device tree bindings for DDR memories and EMIF - TI's DDR SDRAM controller. The first patch adds bindings for DDR

Re: [PATCH 4/9] usb: renesas: gadget: use generic map/unmap routines

2011-12-20 Thread Felipe Balbi
Hi, On Mon, Dec 19, 2011 at 05:46:56PM -0800, Kuninori Morimoto wrote: I tried this patch, but renesas_usbhs didn't work. It seems have some bugs. 1. renesas_usbhs dma needs pkt-dma, but this patch didn't care it. 2. dma direction seems wrong (dir needs 0/1, not DMA_xxx_DEVICE for

RE: [PATCH] AM35xx: disable checking for reserved feature bits

2011-12-20 Thread Hiremath, Vaibhav
-Original Message- From: Hilman, Kevin Sent: Saturday, December 10, 2011 6:51 AM To: Tony Lindgren Cc: Ilya Yanok; linux-omap@vger.kernel.org; w...@denx.de; d...@denx.de; sash...@emcraft.com; Hiremath, Vaibhav Subject: Re: [PATCH] AM35xx: disable checking for reserved feature bits

Re: [PATCH 1/3] usb: musb: fix pm_runtime mismatches

2011-12-20 Thread Felipe Balbi
On Mon, Dec 19, 2011 at 10:20:09PM +0200, Felipe Contreras wrote: On Mon, Dec 19, 2011 at 10:11 AM, Felipe Balbi ba...@ti.com wrote: On Fri, Dec 16, 2011 at 01:05:08AM +0200, Felipe Contreras wrote: Properly call pm_runtime_put() afer pm_runttime_get() on errors. Untested. sorry, but

Re: [PATCH v2] usb: musb: fix pm_runtime mismatch

2011-12-20 Thread Felipe Balbi
On Mon, Dec 19, 2011 at 10:01:54PM +0200, Felipe Contreras wrote: From: Felipe Contreras felipe.contre...@gmail.com In musb_init_controller() there's a pm_runtime_put(), but there's no pm_runtime_get(), which creates a mismatch that causes the driver to sleep when it shouldn't. This was

Re: [PATCH v2 2/4] usb: musb: trivial cleanup

2011-12-20 Thread Felipe Balbi
On Mon, Dec 19, 2011 at 10:17:49PM +0200, Felipe Contreras wrote: From: Felipe Contreras felipe.contre...@gmail.com enabled driver || !enabled can be simplified to !enabled || driver. Signed-off-by: Felipe Contreras felipe.contre...@gmail.com applied, thanks -- balbi signature.asc

Re: [PATCH v2 3/4] usb: musb: remove a bit of indentation

2011-12-20 Thread Felipe Balbi
On Mon, Dec 19, 2011 at 10:17:50PM +0200, Felipe Contreras wrote: From: Felipe Contreras felipe.contre...@gmail.com And use dev instead of musb-controller. Signed-off-by: Felipe Contreras felipe.contre...@gmail.com applied, thanks -- balbi signature.asc Description: Digital signature

Re: [PATCH v2 4/4] musb: omap2430: avoid pm_runtime_disable()

2011-12-20 Thread Felipe Balbi
Hi, On Mon, Dec 19, 2011 at 10:17:51PM +0200, Felipe Contreras wrote: From: Felipe Contreras felipe.contre...@gmail.com These are handled by drivers core, and in a way that doesn't wake up the devices. Signed-off-by: Felipe Contreras felipe.contre...@gmail.com applied, thanks -- balbi

RE: [PATCH-V4 0/3] Introducing TI's New SoC/board AM335XEVM

2011-12-20 Thread Hiremath, Vaibhav
-Original Message- From: Hilman, Kevin Sent: Friday, December 02, 2011 11:04 PM To: Mohammed, Afzal Cc: Hiremath, Vaibhav; Russell King; linux-omap@vger.kernel.org; t...@atomide.com; linux-arm-ker...@lists.infradead.org; p...@pwsan.com Subject: Re: [PATCH-V4 0/3] Introducing TI's

Re: [PATCH V2 0/2] OMAPDSS: DISPC: Peformance improvement of DISPC Scaling

2011-12-20 Thread Mahapatra, Chandrabhanu
On Tue, Dec 20, 2011 at 2:06 PM, Tomi Valkeinen tomi.valkei...@ti.com wrote: On Mon, 2011-12-19 at 14:03 +0530, Chandrabhanu Mahapatra wrote: Hi everyone, the following patch set directs to improve the scaling performance of DISPC module which consists of two pacthes. The first patch is

Re: Interesting L3 driver panic on v3.2-rc5 on 3530

2011-12-20 Thread Archit Taneja
Hi Ilya, On Tuesday 20 December 2011 06:09 AM, Ilya Yanok wrote: Hi Paul, Paul Walmsleypaulat pwsan.com writes: [0.238494] Kernel BUG at c0033e34 [verbose debug info unavailable] [0.245025] Internal error: Oops - undefined instruction: 0 [#1] SMP [0.262390] PC is at

Re: [RFC v2 PATCH 0/3] dt: device tree bindings and data for EMIF and DDR

2011-12-20 Thread Cousson, Benoit
Hi Aneesh, On 12/20/2011 11:44 AM, Aneesh V wrote: On Tuesday 20 December 2011 05:05 AM, Tony Lindgren wrote: * Rob Herringrobherri...@gmail.com [111219 14:29]: On 12/19/2011 08:05 AM, Aneesh V wrote: This is an RFC to add new device tree bindings for DDR memories and EMIF - TI's DDR SDRAM

Re: [PATCH 3/3] ARM: OMAP2+: board-generic: Replace #if defined by #ifdef for consistency

2011-12-20 Thread Cousson, Benoit
Hi Tony, What about that patch? This is the only one that is missing in lo. I know it is not a big deal, but it will make things a little bit cleaner. Thanks, Benoit On 12/6/2011 5:49 PM, Benoit Cousson wrote: The file contains a mix of #ifdef and #if defined(). Replace the #if... by #ifdef.

[PATCH v2 0/5] ARM: OMAP2+: Interrupt controllers adaptation to DT

2011-12-20 Thread Benoit Cousson
Hi Tony and Rob, Here is the series to take advantage of the new DT interrupt init mechanism. Thanks to Marc's CONFIG_MULTI_IRQ_HANDLER series, OMAP4 just has to use the default GIC binding and does not need some OMAP specific hacks anymore. OMAP2 and 3 are using a simple interrupt controller

[PATCH v2 2/5] ARM: OMAP2/3: intc: Add irqdomain support

2011-12-20 Thread Benoit Cousson
Introduce the usage of the irqdomain to prepare the DT support. The irq_base is still hard coded to 0 to allow non-DT drivers to work with the previous assumption that was hwirq = irq. Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Rob Herring

[PATCH v2 1/5] arm/dts: OMAP4: Update DTS file with new GIC bindings

2011-12-20 Thread Benoit Cousson
The GIC binding was updated in 3.2 and expect 3 interrupt-cells. - Update the #interrupt-cells - interrupt-parent seems to be needed as well for the top level GIC Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Rob Herring rob.herr...@calxeda.com --- arch/arm/boot/dts/omap4.dtsi |3 ++- 1

[PATCH v2 3/5] ARM: OMAP2/3: intc: Add DT support for TI interrupt controller

2011-12-20 Thread Benoit Cousson
Add a function to initialize the OMAP2/3 interrupt controller (INTC) using a device tree node. Replace some printk() with the proper pr_ macro. Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Rob Herring rob.herr...@calxeda.com ---

[PATCH v2 4/5] arm/dts: OMAP3: Add interrupt-controller bindings for INTC

2011-12-20 Thread Benoit Cousson
Update the DTS with the proper information required by the INTC bindings. - Add the number of interrupt lines - Add the reg and the compatible entries. Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Rob Herring rob.herr...@calxeda.com --- arch/arm/boot/dts/omap3.dtsi |6 -- 1 files

[PATCH v2 5/5] ARM: OMAP2+: board-generic: Use of_irq_init API

2011-12-20 Thread Benoit Cousson
Use the of_irq_init API introduced in 3.2 to handle interrupt-controller with DT. Update the irq_match table to map the proper XXX_of_init functions for INTC and GIC drivers. Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Rob Herring rob.herr...@calxeda.com

Re: [RFC v2 PATCH 0/3] dt: device tree bindings and data for EMIF and DDR

2011-12-20 Thread Aneesh V
Hi Benoit On Tuesday 20 December 2011 06:10 PM, Cousson, Benoit wrote: Hi Aneesh, snip In general, is it really feasible to parse the DTB before DDR is initialized? Changing timings is still needed for DVFS during runtime. But we can boot to userspace with bootloader set timings, so I'm

Re: [PATCH v2 04/10] rtc: rtc-twl: Add DT support for RTC inside twl4030/twl6030

2011-12-20 Thread Cousson, Benoit
Hi Andrew, I've never got any feedback on this patch from Alessandro and it seems that you took care of some rtc stuff recently. Thanks in advance, Benoit On 12/9/2011 3:02 PM, Benoit Cousson wrote: Add the DT support for the TI rtc-twl present in the twl4030 and twl6030 devices.

[PATCH v3 00/11] OMAP4: Add DT support for i2c and twl6030

2011-12-20 Thread Benoit Cousson
Hi Tony and Rob, Here is the updated version of the i2c + twl DT adaptation series. This update, compared to v2 [1], is adding some dedicated dtsi files for the twl PMIC and audio IC. These devices will contain a huge amount of regulator nodes and thus deserve a dedicated file to avoid every

[PATCH v3 01/11] ARM: OMAP2+: pm: Do not init statically the SR and voltage layer with DT

2011-12-20 Thread Benoit Cousson
In the case of DT, the PMIC and SR initialization will be done using a completely different mechanism. Disable this part if a DT blob is available. Signed-off-by: Benoit Cousson b-cous...@ti.com Acked-by: Kevin Hilman khil...@ti.com --- arch/arm/mach-omap2/pm.c |8 1 files changed,

[PATCH v3 04/11] arm/dts: OMAP4: Add i2c controller nodes

2011-12-20 Thread Benoit Cousson
Add i2c controllers nodes into the main ocp bus. Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Grant Likely grant.lik...@secretlab.ca Cc: Rob Herring rob.herr...@calxeda.com --- arch/arm/boot/dts/omap4.dtsi | 28 1 files changed, 28 insertions(+), 0

[PATCH v3 05/11] arm/dts: OMAP3: Add i2c controller nodes

2011-12-20 Thread Benoit Cousson
Add i2c controllers nodes into the main ocp bus. Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Grant Likely grant.lik...@secretlab.ca Cc: Rob Herring rob.herr...@calxeda.com --- arch/arm/boot/dts/omap3.dtsi | 21 + 1 files changed, 21 insertions(+), 0 deletions(-)

[PATCH v3 07/11] arm/dts: twl4030: Add DTS file for twl4030 PM + Audio IC

2011-12-20 Thread Benoit Cousson
Add a dedicated DTS file for the twl4030/5030 Power + Audio IC. This chip is a big SoC that will be reused in a lot of various OMAP3 boards. Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Grant Likely grant.lik...@secretlab.ca Cc: Rob Herring rob.herr...@calxeda.com ---

[PATCH v3 08/11] arm/dts: omap4-panda: Add twl6030 and i2c EEPROM

2011-12-20 Thread Benoit Cousson
Update pandaboard dts file with required clock frequencies for the i2c client devices existing on pandaboard. Add the twl6030 node in i2c1 controller. This is the minimal support needed to boot OMAP4 boards without any crash. The support for all the features included in this MFD will be added

[PATCH v3 10/11] arm/dts: omap3-beagle: Add twl4030 and i2c EEPROM

2011-12-20 Thread Benoit Cousson
Add required clock frequencies for the i2c client devices existing on beagle board. Add the twl4030 basic description with only the twl_rtc module. Add the EEPROM node. Based on original patch from Manju: http://www.spinics.net/lists/linux-omap/msg55831.html Signed-off-by: Benoit Cousson

[PATCH v3 06/11] arm/dts: twl6030: Add DTS file for twl6030 PMIC

2011-12-20 Thread Benoit Cousson
Add a dedicated DTS file for the twl6030 Power IC. This chip is a big SoC that will be reused in a lot of various OMAP4+ boards. Note: This file is supposed to be included in a board DTS that will create the twl node in order to allow the twl reference to work. Exmaple: ... i2c1 { twl:

[PATCH v3 09/11] arm/dts: omap4-sdp: Add twl6030, i2c3 and i2c4 devices

2011-12-20 Thread Benoit Cousson
Update DTS file with required clock frequencies for the i2c client devices existing on sdp4430. Add the twl6030 node inside the i2c1 controller node. This is the minimal support needed to boot OMAP4 boards without any crash. The support for all the features included in this MFD will be added

[PATCH v3 11/11] ARM: OMAP2+: board-generic: Remove i2c static init

2011-12-20 Thread Benoit Cousson
This mainly reverts the commit that was adding the i2c static init. Since the i2c and twl nodes are now present, there is no need for the static initialization anymore. Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/board-generic.c |

[PATCH v3 02/11] i2c: OMAP: Add DT support for i2c controller

2011-12-20 Thread Benoit Cousson
Add initial DT support to retrieve the frequency using a DT attribute instead of the pdata pointer if of_node exist. Add documentation for omap i2c controller binding. Based on original patches from Manju and Grant. Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Ben Dooks

[PATCH v3 03/11] rtc: rtc-twl: Add DT support for RTC inside twl4030/twl6030

2011-12-20 Thread Benoit Cousson
Add the DT support for the TI rtc-twl present in the twl4030 and twl6030 devices. Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Alessandro Zummo a.zu...@towertech.it --- Documentation/devicetree/bindings/rtc/twl-rtc.txt | 12 drivers/rtc/rtc-twl.c

Re: [PATCH v3 02/11] i2c: OMAP: Add DT support for i2c controller

2011-12-20 Thread Rob Herring
On 12/20/2011 10:27 AM, Benoit Cousson wrote: Add initial DT support to retrieve the frequency using a DT attribute instead of the pdata pointer if of_node exist. Add documentation for omap i2c controller binding. Based on original patches from Manju and Grant. Signed-off-by: Benoit

Re: [PATCH v3 07/11] arm/dts: twl4030: Add DTS file for twl4030 PM + Audio IC

2011-12-20 Thread Rob Herring
On 12/20/2011 10:27 AM, Benoit Cousson wrote: Add a dedicated DTS file for the twl4030/5030 Power + Audio IC. This chip is a big SoC that will be reused in a lot of various OMAP3 boards. Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Grant Likely grant.lik...@secretlab.ca Cc: Rob

Re: [PATCH v3 07/11] arm/dts: twl4030: Add DTS file for twl4030 PM + Audio IC

2011-12-20 Thread Rob Herring
On 12/20/2011 10:47 AM, Rob Herring wrote: On 12/20/2011 10:27 AM, Benoit Cousson wrote: Add a dedicated DTS file for the twl4030/5030 Power + Audio IC. This chip is a big SoC that will be reused in a lot of various OMAP3 boards. Signed-off-by: Benoit Cousson b-cous...@ti.com Cc: Grant

Re: [GIT PULL] Borderline fixes for v3.2-rc6

2011-12-20 Thread Tony Lindgren
* Olof Johansson o...@lixom.net [111219 20:20]: Hi Tony, On Mon, Dec 19, 2011 at 11:42 AM, Tony Lindgren t...@atomide.com wrote: Hi Arnd Olof, Here are two fixes that could potentially go into v3.2 -rc cycle. One fixes a harmless but annoying warning that happens on omap 34xx

Re: [GIT PULL] Borderline fixes for v3.2-rc6

2011-12-20 Thread Olof Johansson
On Tue, Dec 20, 2011 at 9:10 AM, Tony Lindgren t...@atomide.com wrote: * Olof Johansson o...@lixom.net [111219 20:20]: Hi Tony, On Mon, Dec 19, 2011 at 11:42 AM, Tony Lindgren t...@atomide.com wrote: Hi Arnd Olof, Here are two fixes that could potentially go into v3.2 -rc cycle. One

Re: [PATCH v2 1/7][RESEND] ARM: OMAP1: ams-delta: register latch dependent devices later

2011-12-20 Thread Tony Lindgren
* Janusz Krzysztofik jkrzy...@tis.icnet.pl [111219 14:57]: Resending because of a typo in the Cc: list, sorry. 8-- In preparation to converting Amstrad Delta on-board latches to basic_mmio_gpio devices, registration of platform devices which depend on latches and

Re: Interesting L3 driver panic on v3.2-rc5 on 3530

2011-12-20 Thread Ilya Yanok
Hi Archit, On 20.12.2011 16:23, Archit Taneja wrote: [0.238494] Kernel BUG at c0033e34 [verbose debug info unavailable] [0.245025] Internal error: Oops - undefined instruction: 0 [#1] SMP [0.262390] PC is at omap3_l3_app_irq+0x108/0x12c I'm getting the same error on one of my

Re: [PATCH 1/3] usb: musb: fix pm_runtime mismatches

2011-12-20 Thread Felipe Contreras
On Tue, Dec 20, 2011 at 1:19 PM, Felipe Balbi ba...@ti.com wrote: On Mon, Dec 19, 2011 at 10:20:09PM +0200, Felipe Contreras wrote: On Mon, Dec 19, 2011 at 10:11 AM, Felipe Balbi ba...@ti.com wrote: On Fri, Dec 16, 2011 at 01:05:08AM +0200, Felipe Contreras wrote: Properly call

[GIT PULL] ARM: OMAP: device PM constraints: preparatory support

2011-12-20 Thread Paul Walmsley
Hi Tony These patches prepare for the introduction of the powerdomain device PM constraints, via the standard Linux device PM mechanism that Rafael Wysocki introduced. After the powerdomain device PM constraints go in, we should be able to remove some of the OMAP PM interface (currently via

Re: [PATCH V2 2/2] mcx: support for HTKW mcx board

2011-12-20 Thread Ilya Yanok
Hi Igor, On 15.12.2011 14:40, Igor Grinberg wrote: +r = gpio_request_array(mcx_dss_gpios, ARRAY_SIZE(mcx_dss_gpios)); +if (r) { +pr_err(failed to get DSS control GPIOs\n); +return; +} + +omap_mux_init_gpio(LCD_BKLIGHT_EN, OMAP_PIN_OUTPUT); +

Re: [PATCH v2 1/7][RESEND] ARM: OMAP1: ams-delta: register latch dependent devices later

2011-12-20 Thread Janusz Krzysztofik
On Tuesday 20 of December 2011 at 19:06:11, Tony Lindgren wrote: * Janusz Krzysztofik jkrzy...@tis.icnet.pl [111219 14:57]: Resending because of a typo in the Cc: list, sorry. 8-- In preparation to converting Amstrad Delta on-board latches to basic_mmio_gpio

Re: [PATCH v2 1/7][RESEND] ARM: OMAP1: ams-delta: register latch dependent devices later

2011-12-20 Thread Russell King - ARM Linux
On Tue, Dec 20, 2011 at 12:28:32AM +0100, Janusz Krzysztofik wrote: diff --git a/drivers/input/serio/ams_delta_serio.c b/drivers/input/serio/ams_delta_serio.c index d4d08bd..56ffd7c 100644 --- a/drivers/input/serio/ams_delta_serio.c +++ b/drivers/input/serio/ams_delta_serio.c @@ -165,6

Re: [alsa-devel] [PATCH v2 1/7][RESEND] ARM: OMAP1: ams-delta: register latch dependent devices later

2011-12-20 Thread Janusz Krzysztofik
On Tuesday 20 of December 2011 at 21:40:46, Russell King - ARM Linux wrote: On Tue, Dec 20, 2011 at 12:28:32AM +0100, Janusz Krzysztofik wrote: diff --git a/drivers/input/serio/ams_delta_serio.c b/drivers/input/serio/ams_delta_serio.c index d4d08bd..56ffd7c 100644 ---

Re: [PATCH v2 1/7][RESEND] ARM: OMAP1: ams-delta: register latch dependent devices later

2011-12-20 Thread Tony Lindgren
* Janusz Krzysztofik jkrzy...@tis.icnet.pl [111220 12:03]: On Tuesday 20 of December 2011 at 19:06:11, Tony Lindgren wrote: To deal with the init order issues, you can pass a set_power function pointer in platform_data that the driver can use. Or set up a fixed regulator for it. I'm

[PATCH V2] omap-serial: add RS485 mode support

2011-12-20 Thread Ilya Yanok
Add support for asserting RTS line while TX is in progress. OMAP hardware doesn't support auto-RS485 mode so we control the line from software. We use TX_EMPTY_CTL_IT bit in SCR register to generate TX empty interrupt. We use SER_RS485_RTS_ON_SEND flag to control the polarity of RTS signal (RTS

Re: [PATCH v3 02/11] i2c: OMAP: Add DT support for i2c controller

2011-12-20 Thread Olof Johansson
Hi, On Tue, Dec 20, 2011 at 8:27 AM, Benoit Cousson b-cous...@ti.com wrote: diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c index a43d002..dcbc1ec 100644 --- a/drivers/i2c/busses/i2c-omap.c +++ b/drivers/i2c/busses/i2c-omap.c @@ -37,6 +37,8 @@  #include

Re: [PATCH V2] omap-serial: add RS485 mode support

2011-12-20 Thread Wolfram Sang
Hi, On Tue, Dec 20, 2011 at 10:23:32PM +0100, Ilya Yanok wrote: Add support for asserting RTS line while TX is in progress. OMAP hardware doesn't support auto-RS485 mode so we control the line from software. We use TX_EMPTY_CTL_IT bit in SCR register to generate TX empty interrupt. Sorry to

[PATCH v2 1/7 v2] ARM: OMAP1: ams-delta: register latch dependent devices later

2011-12-20 Thread Janusz Krzysztofik
In preparation to converting Amstrad Delta on-board latches to basic_mmio_gpio devices, registration of platform devices which depend on latches and will require initialization of their GPIO pins first, should be moved out of .machine_init down to late_initcall level, as the gpio-generic driver is

Re: [PATCH V2] omap-serial: add RS485 mode support

2011-12-20 Thread Ilya Yanok
Hi Wolfram, On 21.12.2011 01:53, Wolfram Sang wrote: Add support for asserting RTS line while TX is in progress. OMAP hardware doesn't support auto-RS485 mode so we control the line from software. We use TX_EMPTY_CTL_IT bit in SCR register to generate TX empty interrupt. Sorry to bring bad

[PATCH] input: serio: ams-delta: toggle keyboard power over GPIO

2011-12-20 Thread Janusz Krzysztofik
Don't use Amstrad Delta custom I/O functions once GPIO interface is available for the underlying hardware. While requesting and initializing GPIO pins used, also take care of one extra pin KEYBRD_DATAOUT which, even if not used by the driver, belongs to the device and affects its functioning.

Re: [PATCH] am35xx-emac: move generic EMAC init to separate file

2011-12-20 Thread Ilya Yanok
Hi Paul, On 16.12.2011 10:13, Paul Walmsley wrote: Ok, let's wait for Paul's answer and then I'll prepare a separate patch. Unfortunately the AM3517 TRM (SPRUGR0) here doesn't really have the same level of clock integration information that the WBU TRMs have, so it's kind of hard to tell

[PATCH V2] am35xx-emac: move generic EMAC init to separate file

2011-12-20 Thread Ilya Yanok
AM35xx SoCs include DaVinci EMAC IP. Initialization code in board-am3517evm.c is pretty board independent and will work for any AM35xx based board so move this code to it's own file to be reused by other boards. Signed-off-by: Ilya Yanok ya...@emcraft.com --- Changes from V1: - removed clock

[PATCH] OMAP3: clock3xxx_data: change EMAC clocks aliases

2011-12-20 Thread Ilya Yanok
Rename EMAC clocks to match driver expectations: both davinci_emac and davinci_mdio drivers call clk_get(dev, NULL) so we have to provide (davinci_emac, NULL) and (davinci_mdio.0, NULL) clocks instead of (davinci_emac, emac_clk) and (davinci_emac, phy_clk) resp. CC: Paul Walmsley p...@pwsan.com

[PATCH 2/3] cpuidle: fix error handling in __cpuidle_register_device

2011-12-20 Thread Colin Cross
Fix the error handling in __cpuidle_register_device to include the missing list_del. Move it to a label, which will simplify the error handling when coupled states are added. Signed-off-by: Colin Cross ccr...@android.com --- drivers/cpuidle/cpuidle.c | 13 + 1 files changed, 9

[PATCH 1/3] cpuidle: refactor out cpuidle_enter_state

2011-12-20 Thread Colin Cross
Split the code to enter a state and update the stats into a helper function, cpuidle_enter_state, and export it. This function will be called by the coupled state code to handle entering the safe state and the final coupled state. Signed-off-by: Colin Cross ccr...@android.com ---

[PATCH 3/3] cpuidle: add support for states that affect multiple cpus

2011-12-20 Thread Colin Cross
On some ARM SMP SoCs (OMAP4460, Tegra 2, and probably more), the cpus cannot be independently powered down, either due to sequencing restrictions (on Tegra 2, cpu 0 must be the last to power down), or due to HW bugs (on OMAP4460, a cpu powering up will corrupt the gic state unless the other cpu

[PATCH 0/3] coupled cpuidle state support

2011-12-20 Thread Colin Cross
On some ARM SMP SoCs (OMAP4460, Tegra 2, and probably more), the cpus cannot be independently powered down, either due to sequencing restrictions (on Tegra 2, cpu 0 must be the last to power down), or due to HW bugs (on OMAP4460, a cpu powering up will corrupt the gic state unless the other cpu

Re: [PATCH] am35xx-emac: move generic EMAC init to separate file

2011-12-20 Thread Paul Walmsley
On Wed, 21 Dec 2011, Ilya Yanok wrote: On 16.12.2011 10:13, Paul Walmsley wrote: Ok, let's wait for Paul's answer and then I'll prepare a separate patch. Unfortunately the AM3517 TRM (SPRUGR0) here doesn't really have the same level of clock integration information that the WBU TRMs

RE: [PATCH] mmc: omap: remove clock rate hard coding

2011-12-20 Thread Hebbar, Gururaja
On Tue, Dec 20, 2011 at 15:12, S, Venkatraman wrote: From: Balaji TK balaj...@ti.com MMC master clock rate can vary for each instance of the MMC controller on the device. Use clk_get_rate instead to get the value. Signed-off-by: Balaji TK balaj...@ti.com Reviewed-by: Venkatraman S

RE: [PATCH V2] am35xx-emac: move generic EMAC init to separate file

2011-12-20 Thread Hiremath, Vaibhav
-Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Ilya Yanok Sent: Wednesday, December 21, 2011 4:57 AM To: linux-omap@vger.kernel.org Cc: sash...@emcraft.com; Ilya Yanok Subject: [PATCH V2] am35xx-emac: move generic

[PATCH] omap: use usleep_range() instead of mdelay()/udelay()

2011-12-20 Thread Dmitry Antipov
From e4db974edb5c46360465462518a88b83f1bdedf6 Mon Sep 17 00:00:00 2001 From: Dmitry Antipov dmitry.anti...@linaro.org Date: Wed, 21 Dec 2011 10:57:08 +0400 Subject: [PATCH] omap: use usleep_range() instead of mdelay()/udelay() --- arch/arm/mach-omap2/omap_phy_internal.c |2 +-