Re: [[PATCH v2]] OMAP: omap4-panda: add WiLink shared transport power functions

2013-01-23 Thread Peter Ujfalusi
Hi Tony, On 01/18/2013 06:49 PM, Tony Lindgren wrote: Currently it seems that we need the following working with DT to have panda and blaze usable: 1. MMC (done) 2. USB (patches pending for EHCI and MUSB) 3. Ethernet (done for blaze, needs USB for panda) 4. DSS (various drivers pending,

[PATCH 0/4] LOW power sleep support for OMAP nand driver

2013-01-23 Thread Philip Avinash
This patch series adds low power transition support for OMAP NAND driver. This includes low power transition support of - GPMC module - ELM module - OMAP2 NAND driver Low power transition support tested on am335x-evm with NAND flash support. This patch series based on [1] and depends on [2] and

[PATCH 1/4] arch: arm: gpmc: gpmc migration support

2013-01-23 Thread Philip Avinash
With recent GPMC driver conversion, usage of gpmc_save/restore_context can done from gpmc driver itself. Hence removes the usage from pm34xx.c. Also removes the conditional compilation primitives ARCH_OMAP3 for gpmc_save/restore_context. Signed-off-by: Philip Avinash avinashphi...@ti.com ---

Re: [PATCH 1/4] drm/tilcdc: add TI LCD Controller DRM driver (v3)

2013-01-23 Thread Jean-Francois Moine
Hi Rob, As I wanted to re-use your nxp-tda998x driver for the Marvell Dove SoC, I had a look at your IT LCD driver. Comments below. On Tue, 22 Jan 2013 16:36:22 -0600 Rob Clark robdcl...@gmail.com wrote: A simple DRM/KMS driver for the TI LCD Controller found in various smaller TI parts

Re: [PATCH 2/4] drm/i2c: nxp-tda998x (v2)

2013-01-23 Thread Jean-Francois Moine
On Tue, 22 Jan 2013 16:36:23 -0600 Rob Clark robdcl...@gmail.com wrote: Driver for the NXP TDA998X i2c hdmi encoder slave. v1: original v2: fix npix/nline programming Signed-off-by: Rob Clark robdcl...@gmail.com --- drivers/gpu/drm/i2c/Makefile | 3 +

[PATCH 2/4] mtd: devices: elm: Low power transition support

2013-01-23 Thread Philip Avinash
In low power modes of AM335X platforms, peripherals power is cut off. This patch supports low power sleep transition support for ELM driver. Signed-off-by: Philip Avinash avinashphi...@ti.com --- drivers/mtd/devices/elm.c | 40 1 file changed, 40

[PATCH 3/4] arm: gpmc: Low power transition support

2013-01-23 Thread Philip Avinash
With GPMC converted to platform driver recently, adds low power transition support in driver itself. Signed-off-by: Philip Avinash avinashphi...@ti.com --- arch/arm/mach-omap2/gpmc.c | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/mach-omap2/gpmc.c

[PATCH 4/4] mtd: nand: omap2: Low power transition support

2013-01-23 Thread Philip Avinash
Add support for Low power transition support in nand driver. Also ensures the current transaction finishes before going to low power mode with _suspend support in mtd layer. Signed-off-by: Philip Avinash avinashphi...@ti.com --- drivers/mtd/nand/omap2.c | 19 +++ 1 file

Re: [PATCH] i2c: omap: errata i462: fix incorrect ack for arbitration lost interrupt

2013-01-23 Thread Wolfram Sang
On Sun, Jan 20, 2013 at 02:32:58AM +0200, Aaro Koskinen wrote: The errata handling function acks wrong interrupt in case of Arbitration lost. Fix it. Discovered during code review, the real impact of the bug is unknown. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi Applied to current,

Re: [PATCH] i2c: omap: fix draining irq handling

2013-01-23 Thread Wolfram Sang
On Sun, Jan 20, 2013 at 08:37:02PM +0200, Aaro Koskinen wrote: Commit 0bdfe0cb803dce699ff337c35d8e97ac355fa417 (i2c: omap: sanitize exit path) changed the interrupt handler to exit early and complete the transfer after the draining IRQ is handled. As a result, the ARDY may not be cleared

Re: [PATCH REBASE 0/6] i2c: omap: misc changes

2013-01-23 Thread Wolfram Sang
On Mon, Jan 14, 2013 at 09:16:28PM +0200, Felipe Balbi wrote: Hi, On Fri, Dec 14, 2012 at 06:34:03PM +0200, Felipe Balbi wrote: this is just a rebase of the previous series adding support for amount of bytes transferred upon NACK. Well, actually the patches implementing transferred

Re: OMAP baseline test results for v3.8-rc4

2013-01-23 Thread Mark Jackson
On 22/01/13 18:23, Tony Lindgren wrote: * Mark Jackson mpfj-l...@mimc.co.uk [130122 05:46]: On 22/01/13 13:32, Bedia, Vaibhav wrote: snip Following works for me: Kernel === git checkout next-20130122 make distclean make omap2plus_defconfig Enable the appended DTB related options via

[PATCH 0/6] i2c: deferred STP

2013-01-23 Thread Felipe Balbi
Hi folks, it's now rebased on today's i2c-embedded/for-next. I boot tested with my Blaze board. Aaro, if you could verify it doesn't break N900, I'd be glad. cheers Felipe Balbi (6): i2c: omap: no need to access platform_device i2c: omap: also complete() when stat becomes zero i2c: omap:

[PATCH 2/6] i2c: omap: also complete() when stat becomes zero

2013-01-23 Thread Felipe Balbi
In case we loop on IRQ handler until stat is finally zero, we would end up in a situation where all I2C transfers would misteriously timeout because we were not calling complete() in that situation. Fix the issue by moving omap_i2c_complete_cmd() call inside the 'out' label. Signed-off-by:

[PATCH 1/6] i2c: omap: no need to access platform_device

2013-01-23 Thread Felipe Balbi
PM callbacks pass our device pointer as argument and we don't need to access the platform_device just to dereference that down to dev-drvdata. instead, just use dev_get_drvdata() directly. Signed-off-by: Felipe Balbi ba...@ti.com --- drivers/i2c/busses/i2c-omap.c | 6 ++ 1 file changed, 2

[PATCH 3/6] i2c: omap: improve 'rev' a little bit

2013-01-23 Thread Felipe Balbi
a later patch will use scheme detection at another part of the code, but current scheme detection implementation relies on the fact that we still hold scheme on the first 16 bits of our rev variable, which won't be true as soon as we move away from probe() because we left shift it by 16 in case of

[PATCH 4/6] i2c: omap: in case of VERSION_2 read IRQSTATUS_RAW but write to IRQSTATUS

2013-01-23 Thread Felipe Balbi
on OMAP4+ we want to read IRQSTATUS_RAW register, instead of IRQSTATUS. The reason being that IRQSTATUS will only contain the bits which were enabled on IRQENABLE_SET and that will break when we need to poll for a certain bit which wasn't enabled as an IRQ source. One such case is after we finish

[PATCH 6/6] i2c: omap: get rid of b_hw flag

2013-01-23 Thread Felipe Balbi
Now that we never set STP and STT together, that flag has been rendered useless. Let's completely drop it. Signed-off-by: Felipe Balbi ba...@ti.com --- drivers/i2c/busses/i2c-omap.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/i2c/busses/i2c-omap.c

[PATCH 5/6] i2c: omap: wait for transfer completion before sending STP bit

2013-01-23 Thread Felipe Balbi
Later patches will come adding support for reporting amount of bytes transferred so that client drivers can count how many bytes are left to transfer. This is useful mostly in case of NACKs when client driver wants to know exactly which byte got NACKed so it doesn't have to resend all bytes

Re: [PATCH v5 00/14] DMA Engine support for AM33XX

2013-01-23 Thread Sekhar Nori
Hi Mark, On 1/23/2013 7:51 AM, Mark Brown wrote: On Tue, Jan 22, 2013 at 09:26:34PM +0530, Sekhar Nori wrote: On 1/16/2013 2:02 AM, Matt Porter wrote: This series adds DMA Engine support for AM33xx, which uses an EDMA DMAC. The EDMA DMAC has been previously supported by only a private API

Re: [PATCH 5/6] OF: Introduce Device Tree resolve support.

2013-01-23 Thread Pantelis Antoniou
Hi David, On Jan 23, 2013, at 6:40 AM, David Gibson wrote: On Tue, Jan 22, 2013 at 01:06:09PM +0200, Pantelis Antoniou wrote: Hi On Jan 22, 2013, at 6:05 AM, David Gibson wrote: On Mon, Jan 21, 2013 at 12:59:15PM +0200, Pantelis Antoniou wrote: Hi David On Jan 21, 2013, at 6:48 AM,

Re: [PATCH 6/6] OF: Introduce DT overlay support.

2013-01-23 Thread Pantelis Antoniou
On Jan 23, 2013, at 7:12 AM, David Gibson wrote: On Tue, Jan 22, 2013 at 01:08:04PM +0200, Pantelis Antoniou wrote: Hi On Jan 22, 2013, at 5:50 AM, David Gibson wrote: On Fri, Jan 04, 2013 at 09:31:10PM +0200, Pantelis Antoniou wrote: Introduce DT overlay support. Using this

Re: [PATCH v5 00/14] DMA Engine support for AM33XX

2013-01-23 Thread Santosh Shilimkar
Matt, On Wednesday 16 January 2013 02:02 AM, Matt Porter wrote: [..] This series adds DMA Engine support for AM33xx, which uses an EDMA DMAC. The EDMA DMAC has been previously supported by only a private API implementation (much like the situation with OMAP DMA) found on the DaVinci family of

RE: [PATCH] usb: musb: fix context save over suspend.

2013-01-23 Thread Bilovol, Ruslan
Hi, I faced the same issue on OMAP4 and made similar fix a week ago: http://review.omapzoom.org/31700 but in this patch I also check is the MUSB is already suspended (so the context is already saved) in .suspend callback so reading/writing to MUSB register is more safe. It is almost same

Re: [PATCH v2 2/4] ARM: OMAP: devices: create device for usb part of control module

2013-01-23 Thread Felipe Balbi
Hi, On Mon, Jan 21, 2013 at 07:38:26PM +0530, Kishon Vijay Abraham I wrote: A seperate driver has been added to handle the usb part of control module. A device for the above driver is created here, using the register address information to be used by the driver for powering on the PHY and for

[PATCH v2 1/2] clk: divider: prepare for minimum divider

2013-01-23 Thread Afzal Mohammed
Some of clocks can have a limit on minimum divider value that can be programmed, prepare for such a support. Add a new field min_div for the basic divider clock and a new dynamic clock divider registration function where minimum divider value can be specified. Keep behaviour of existing divider

[PATCH v2 2/2] clk: divider: handle minimum divider

2013-01-23 Thread Afzal Mohammed
Some of clocks can have a limit on minimum divider value that can be programmed. Modify basic clock divider to take care of this aspect. Signed-off-by: Afzal Mohammed af...@ti.com --- drivers/clk/clk-divider.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git

[PATCH v2 0/4] ARM: AM335x: LCDC platform support

2013-01-23 Thread Afzal Mohammed
Hi, This series make am335x lcdc capable of providing display. Certain changes were required in generic OMAP clock handling to attain it. Clock nodes in LCDC path is marked such that rate can get propogated to upstream clocks till display PLL. Based on 3.8-rc3. Tested on AM335x EVM. To test on

[PATCH v2 1/4] ARM: OMAP2+: dpll: round rate to closest value

2013-01-23 Thread Afzal Mohammed
Currently round rate function would return proper rate iff requested rate exactly matches the PLL lockable rate. This causes set_rate to fail if exact rate could not be set. Instead round rate may return closest rate possible (less than the requested). And if any user is badly in need of exact

[PATCH v2 4/4] ARM: AM33XX: clock: SET_RATE_PARENT in lcd path

2013-01-23 Thread Afzal Mohammed
LCDC clock node is a one that does not have set rate capability. It just passes on the rate that is sent downstream by it's parent. While lcdc clock parent and it's grand parent - dpll_disp_m2_ck and dpll_disp_ck has the capability to configure rate. And the default rates provided by LCDC clock's

[PATCH v2 3/4] ARM: OMAP2+: clock: DEFINE_STRUCT_CLK_FLAGS helper

2013-01-23 Thread Afzal Mohammed
DEFINE_STRUCT_CLK does not have the capability to set flags, define DEFINE_STRUCT_CLK_FLAGS to handle flags. This is needed to add SET_RATE_PARENT flag in statically defined lcd clock in am335x. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/clock.h | 11 +++ 1 file

[PATCH v2 2/4] ARM: OMAP2+: dpll: am335x - avoid freqsel

2013-01-23 Thread Afzal Mohammed
am335x does not have freqsel, avoid it. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/dpll3xxx.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/dpll3xxx.c b/arch/arm/mach-omap2/dpll3xxx.c index 0a02aab5..3aed4b0 100644 ---

[PATCH v4 00/12] video: da8xx-fb: am335x DT support

2013-01-23 Thread Afzal Mohammed
Hi, This series adds DT support to da8xx-fb driver (device found on DaVinci and AM335x SoC's). It does certain cleanup's in the process. This series as compared to previous version uses new registration interface for clock divider that has constraints on minimum divider value. This makes use of

[PATCH v4 06/12] video: da8xx-fb: reorganize panel detection

2013-01-23 Thread Afzal Mohammed
Move panel detection to a separate function, this helps in readability as well as makes DT support cleaner. Signed-off-by: Afzal Mohammed af...@ti.com --- drivers/video/da8xx-fb.c | 42 ++ 1 file changed, 26 insertions(+), 16 deletions(-) diff --git

[PATCH v4 03/12] video: da8xx-fb: enable sync lost intr for v2 ip

2013-01-23 Thread Afzal Mohammed
interrupt handler is checking for sync lost interrupt, but it was not enabled, enable it. Signed-off-by: Afzal Mohammed af...@ti.com --- drivers/video/da8xx-fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c index

[PATCH v4 04/12] video: da8xx-fb: use devres

2013-01-23 Thread Afzal Mohammed
Replace existing resource handling in the driver with managed device resource. Signed-off-by: Afzal Mohammed af...@ti.com --- drivers/video/da8xx-fb.c | 35 ++- 1 file changed, 6 insertions(+), 29 deletions(-) diff --git a/drivers/video/da8xx-fb.c

[PATCH v4 05/12] video: da8xx-fb: ensure non-null cfg in pdata

2013-01-23 Thread Afzal Mohammed
Ensure that platform data contains pointer for lcd_ctrl_config. Signed-off-by: Afzal Mohammed af...@ti.com --- drivers/video/da8xx-fb.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c index 7a32e83..3b146bc 100644 ---

[PATCH v4 07/12] video: da8xx-fb: minimal dt support

2013-01-23 Thread Afzal Mohammed
Driver is provided a means to have the probe triggered by DT. Signed-off-by: Afzal Mohammed af...@ti.com --- Documentation/devicetree/bindings/video/fb-da8xx.txt | 16 drivers/video/da8xx-fb.c | 7 +++ 2 files changed, 23 insertions(+) create

[PATCH v4 08/12] video: da8xx-fb: invoke platform callback safely

2013-01-23 Thread Afzal Mohammed
Ensure that platform data is present before checking whether platform callback is present (the one used to control backlight). So far this was not an issue as driver was purely non-DT triggered, but now DT support has been added. Signed-off-by: Afzal Mohammed af...@ti.com ---

[PATCH v4 09/12] video: da8xx-fb: obtain fb_videomode info from dt

2013-01-23 Thread Afzal Mohammed
Obtain fb_videomode details for the connected lcd panel using the display timing details present in DT. Signed-off-by: Afzal Mohammed af...@ti.com --- .../devicetree/bindings/video/fb-da8xx.txt | 21 + drivers/video/da8xx-fb.c| 17

[PATCH v4 10/12] video: da8xx-fb: ensure pdata only for non-dt

2013-01-23 Thread Afzal Mohammed
This driver is DT probe-able, hence ensure presence of platform data only for non-DT boot. Signed-off-by: Afzal Mohammed af...@ti.com --- drivers/video/da8xx-fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c index

[PATCH v4 11/12] video: da8xx-fb: setup struct lcd_ctrl_config for dt

2013-01-23 Thread Afzal Mohammed
strcut lcd_ctrl_config information required for driver is currently obtained via platform data. To handle DT probing, create lcd_ctrl_config and populate it with default values, these values are sufficient for the panels so far used with this controller to work. Signed-off-by: Afzal Mohammed

[PATCH v4 12/12] video: da8xx-fb: CCF clock divider handling

2013-01-23 Thread Afzal Mohammed
Common clock framework provides a basic clock divider. Make use of it to handle clock configuration in the LCDC IP, wherever applicable; out of two platforms having this IP, only am335x is converted to use CCF, DaVinci is not yet converted. Hence wrap the modification such that it will come into

[PATCH v4 01/12] video: da8xx-fb: make io operations safe

2013-01-23 Thread Afzal Mohammed
Replace __raw_readl/__raw_writel with readl/writel; this driver is reused on ARMv7 (AM335x SoC). Signed-off-by: Afzal Mohammed af...@ti.com --- v2: new patch drivers/video/da8xx-fb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/da8xx-fb.c

[PATCH v4 02/12] video: da8xx-fb: fix 24bpp raster configuration

2013-01-23 Thread Afzal Mohammed
From: Manjunathappa, Prakash prakash...@ti.com Set only LCD_V2_TFT_24BPP_MODE bit for 24bpp and LCD_V2_TFT_24BPP_UNPACK bit along with LCD_V2_TFT_24BPP_MODE for 32bpp configuration. Patch is tested on am335x-evm for 24bpp and da850-evm for 16bpp configurations. Signed-off-by: Manjunathappa,

RE: [PATCH v3 00/12] video: da8xx-fb: am335x DT support

2013-01-23 Thread Mohammed, Afzal
Hi, On Wed, Jan 23, 2013 at 00:15:09, Rob Clark wrote: Wouldn't it be better to delete da8xx-fb.* and switch to Rob Clarks DRM based driver for this IP block? we probably can't delete da8xx-fb, but I think it would be ok to only use it for legacy platforms not yet ported to DT. We can't

RE: [PATCH v2 12/12] video: da8xx-fb: set upstream clock rate (if reqd)

2013-01-23 Thread Mohammed, Afzal
Hi Mike, On Wed, Jan 16, 2013 at 10:32:10, Nori, Sekhar wrote: On 1/15/2013 9:02 PM, Mike Turquette wrote: Quoting Afzal Mohammed (2013-01-15 05:44:36) Note: A better (if allowable) solution may be to represent clock divider in LCDC IP as a basic divider clock - the one defined in

Re: [PATCH 1/4] drm/tilcdc: add TI LCD Controller DRM driver (v3)

2013-01-23 Thread Rob Clark
On Wed, Jan 23, 2013 at 3:42 AM, Jean-Francois Moine moin...@free.fr wrote: Hi Rob, As I wanted to re-use your nxp-tda998x driver for the Marvell Dove SoC, I had a look at your IT LCD driver. Comments below. Just fyi, you can re-use the nxp-tda998x part independently of tilcdc (just in case

Re: [PATCH 2/4] drm/i2c: nxp-tda998x (v2)

2013-01-23 Thread Rob Clark
On Wed, Jan 23, 2013 at 3:42 AM, Jean-Francois Moine moin...@free.fr wrote: On Tue, 22 Jan 2013 16:36:23 -0600 Rob Clark robdcl...@gmail.com wrote: Driver for the NXP TDA998X i2c hdmi encoder slave. v1: original v2: fix npix/nline programming Signed-off-by: Rob Clark robdcl...@gmail.com

Re: [PATCH 1/4] drm/tilcdc: add TI LCD Controller DRM driver (v3)

2013-01-23 Thread Russell King - ARM Linux
On Wed, Jan 23, 2013 at 07:24:33AM -0600, Rob Clark wrote: On Wed, Jan 23, 2013 at 3:42 AM, Jean-Francois Moine moin...@free.fr wrote: Hi Rob, As I wanted to re-use your nxp-tda998x driver for the Marvell Dove SoC, I had a look at your IT LCD driver. Comments below. Just fyi, you can

RE: [PATCH v1 0/6] USB: Add support for multiple PHYs of same type

2013-01-23 Thread Mohammed, Afzal
Hi Koen, On Tue, Jan 22, 2013 at 22:32:56, Koen Kooi wrote: Actually it uses nop-phy as a phy, which is missing from arch/arm/boot/dts/am33xx.dtsi, so mainline is already broken. But adding the nop-phy to the DT is easy enough to patch in locally. USB first instance of am335x works in

Re: [PATCH 1/4] drm/tilcdc: add TI LCD Controller DRM driver (v3)

2013-01-23 Thread Rob Clark
On Wed, Jan 23, 2013 at 7:36 AM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Wed, Jan 23, 2013 at 07:24:33AM -0600, Rob Clark wrote: On Wed, Jan 23, 2013 at 3:42 AM, Jean-Francois Moine moin...@free.fr wrote: Hi Rob, As I wanted to re-use your nxp-tda998x driver for the

Re: [PATCH v3 00/12] video: da8xx-fb: am335x DT support

2013-01-23 Thread Rob Clark
On Wed, Jan 23, 2013 at 6:27 AM, Mohammed, Afzal af...@ti.com wrote: Hi, On Wed, Jan 23, 2013 at 00:15:09, Rob Clark wrote: Wouldn't it be better to delete da8xx-fb.* and switch to Rob Clarks DRM based driver for this IP block? we probably can't delete da8xx-fb, but I think it would be

Re: [PATCH v1 0/6] USB: Add support for multiple PHYs of same type

2013-01-23 Thread kishon
Hi Afzal, On Wednesday 23 January 2013 07:28 PM, Mohammed, Afzal wrote: Hi Koen, On Tue, Jan 22, 2013 at 22:32:56, Koen Kooi wrote: Actually it uses nop-phy as a phy, which is missing from arch/arm/boot/dts/am33xx.dtsi, so mainline is already broken. But adding the nop-phy to the DT is

RE: OMAP baseline test results for v3.8-rc4

2013-01-23 Thread Bedia, Vaibhav
Hi Tony, On Tue, Jan 22, 2013 at 23:53:32, Tony Lindgren wrote: [...] But I should get *something* from the kernel before it starts trying to access the rootfs ? Here's something Kevin fixed but did not send it out before going to a vacation. Can you give it a try with earlyprintk

Re: [PATCH 1/4] drm/tilcdc: add TI LCD Controller DRM driver (v3)

2013-01-23 Thread Rob Clark
On Wed, Jan 23, 2013 at 8:13 AM, Rob Clark robdcl...@gmail.com wrote: On Wed, Jan 23, 2013 at 7:36 AM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Wed, Jan 23, 2013 at 07:24:33AM -0600, Rob Clark wrote: On Wed, Jan 23, 2013 at 3:42 AM, Jean-Francois Moine moin...@free.fr wrote:

3.8rc4+ and cpu_freq omap: hangs, oopses, etcetc

2013-01-23 Thread Paolo Pisati
Hi, i can't boot my pandaes with 3.8rc4 + cpu_freq + ehci/ohci enabled, as it usually hangs with: [ 26.718322] INFO: rcu_sched detected stalls on CPUs/tasks: { 1} (detected by 0, t=2690 jiffies, g=4294967100, c=4294967099, q=749) [ 26.730682] Task dump for CPU 1: [ 26.734069] udevd

[PATCH 0/2] ARM: dts: omap3-overo: Add pwm-leds and audio support

2013-01-23 Thread Florian Vaussard
Hello Benoit, This patchset adds some new DT supports to the Overo products. The first patch converts the PMIC LEDB output to use the pwm-leds, newly merged in your branch for_3.9/dts. The second patch adds the audio support. Best regards, Florian Florian Vaussard (2): ARM: dts: omap3-overo:

[PATCH 1/2] ARM: dts: omap3-overo: Add support for pwm-leds

2013-01-23 Thread Florian Vaussard
Convert the on-board LED connected to the TWL4030 (LEDB) to use pwm-leds. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch --- arch/arm/boot/dts/omap3-overo.dtsi |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/omap3-overo.dtsi

[PATCH 2/2] ARM: dts: omap3-overo: Add audio support

2013-01-23 Thread Florian Vaussard
Add the needed sections to enable audio support on Overo. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch --- arch/arm/boot/dts/omap3-overo.dtsi | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/omap3-overo.dtsi

[PATCH 3/3] spi: spi-omap2-mcspi.c: Toggle CS after each word

2013-01-23 Thread Matthias Brugger
This patch allows the board code to define SPI devices which needs to toggle the chip select after every word send. This is needed to get a better resolution reading e.g. an ADC data stream. Apart from that, as in the normal code CS is controlled by software, a transfer is done much faster.

[PATCH] omap2: twl-common: Add default power configuration

2013-01-23 Thread Matthias Brugger
This patch adds a generic power script configuration. When rebooting an OMAP3530 at 125 MHz, the reboot hangs. With the generic power script, TWL4030 will be reset when a warm reset occures. This way the OMAP3530 does not hang on reboot. Signed-off-by: Matthias Brugger matthias@gmail.com ---

[PATCH] omap2: twl-common: Add default power configuration

2013-01-23 Thread Matthias Brugger
This patch adds a generic power script configuration. When rebooting an OMAP3530 at 125 MHz, the reboot hangs. With the generic power script, TWL4030 will be reset when a warm reset occures. This way the OMAP3530 does not hang on reboot. Signed-off-by: Matthias Brugger matthias@gmail.com ---

Re: [PATCH 0/6] i2c: deferred STP

2013-01-23 Thread Aaro Koskinen
Hi, On Wed, Jan 23, 2013 at 12:23:02PM +0200, Felipe Balbi wrote: Hi folks, it's now rebased on today's i2c-embedded/for-next. I boot tested with my Blaze board. Aaro, if you could verify it doesn't break N900, I'd be glad. It works, but it still introduces a ~4 second delay during the

Re: [PATCH 5/6] i2c: omap: wait for transfer completion before sending STP bit

2013-01-23 Thread Aaro Koskinen
Hi, Some minor comments/questions: On Wed, Jan 23, 2013 at 12:23:07PM +0200, Felipe Balbi wrote: @@ -639,31 +630,37 @@ static int omap_i2c_xfer_msg(struct i2c_adapter *adap, dev_err(dev-dev, controller timed out\n); omap_i2c_reset(dev);

Re: [PATCH v4 12/12] video: da8xx-fb: CCF clock divider handling

2013-01-23 Thread Mike Turquette
Quoting Afzal Mohammed (2013-01-23 03:48:56) snip +static inline void da8xx_fb_clkc_enable(void) +{ if (lcd_revision == LCD_VERSION_2) lcdc_write(LCD_V2_DMA_CLK_EN | LCD_V2_LIDD_CLK_EN | LCD_V2_CORE_CLK_EN, LCD_CLK_ENABLE_REG); }

Re: [PATCH v5 00/14] DMA Engine support for AM33XX

2013-01-23 Thread Matt Porter
On Wed, Jan 23, 2013 at 04:37:55PM +0530, Santosh Shilimkar wrote: Matt, On Wednesday 16 January 2013 02:02 AM, Matt Porter wrote: [..] This series adds DMA Engine support for AM33xx, which uses an EDMA DMAC. The EDMA DMAC has been previously supported by only a private API

Re: [RFC PATCH v3 02/16] ARM: davinci: move private EDMA API to arm/common

2013-01-23 Thread Matt Porter
On Tue, Jan 22, 2013 at 03:40:06PM +, Sekhar Nori wrote: Matt, Sorry about the late reply. I noticed this mail only after I started to look at v5 of your series :( Any time is fine! :) On 1/11/2013 5:21 AM, Matt Porter wrote: On Sun, Oct 28, 2012 at 01:47:09PM +0530, Sekhar Nori

[PATCH] ARM: AM33xx: Add SoC specific restart hook

2013-01-23 Thread Jean-Sebastien A. Beaudry
From: Jean-Sebastien A. Beaudry jsabeau...@handyem.com Add restart hook so that DTS based AM33xx builds can restart the platform. Tested-by: Nishanth Menon n...@ti.com Signed-off-by: Jean-Sebastien A. Beaudry jsabeau...@handyem.com --- arch/arm/mach-omap2/Makefile |1 +

Re: [PATCH v5 00/14] DMA Engine support for AM33XX

2013-01-23 Thread Matt Porter
On Wed, Jan 23, 2013 at 10:21:42AM +0800, Mark Brown wrote: On Tue, Jan 22, 2013 at 09:26:34PM +0530, Sekhar Nori wrote: On 1/16/2013 2:02 AM, Matt Porter wrote: This series adds DMA Engine support for AM33xx, which uses an EDMA DMAC. The EDMA DMAC has been previously supported by only

Re: [PATCH v2 1/2] clk: divider: prepare for minimum divider

2013-01-23 Thread Mike Turquette
Quoting Afzal Mohammed (2013-01-23 03:38:52) Some of clocks can have a limit on minimum divider value that can be programmed, prepare for such a support. Add a new field min_div for the basic divider clock and a new dynamic clock divider registration function where minimum divider value can

Re: [PATCH v5 07/14] dmaengine: add dma_request_slave_channel_compat()

2013-01-23 Thread Arnd Bergmann
On Tuesday 15 January 2013, Matt Porter wrote: Adds a dma_request_slave_channel_compat() wrapper which accepts both the arguments from dma_request_channel() and dma_request_slave_channel(). Based on whether the driver is instantiated via DT, the appropriate channel request call will be made.

[PATCH v4 4/8] MFD: ti_am335x_tscadc: add device tree binding information

2013-01-23 Thread Patil, Rachna
From: Patil, Rachna rac...@ti.com Signed-off-by: Patil, Rachna rac...@ti.com --- Changes in v4: Subnodes and their properties documentation added. Non-standard properties prefixed with vendor name. .../devicetree/bindings/mfd/ti_am335x_tscadc.txt | 52 1

[PATCH v4 1/8] input: ti_am335x_tsc: Step enable bits made configurable

2013-01-23 Thread Patil, Rachna
From: Patil, Rachna rac...@ti.com Current code has hard coded value written to step enable bits. Now the bits are updated based on how many steps are needed to be configured got from platform data. The user needs to take care not to exceed the count more than 16. While using ADC and TSC one

[PATCH v4 8/8] arm/dts: AM335x-evm: Add TSC/ADC MFD device support

2013-01-23 Thread Patil, Rachna
From: Patil, Rachna rac...@ti.com Add support for core multifunctional device along with its clients touchscreen and ADC. Signed-off-by: Patil, Rachna rac...@ti.com --- Changes in v4: Non-standard properties prefixed with vendor name. arch/arm/boot/dts/am335x-evm.dts | 13

[PATCH v4 5/8] MFD: ti_am335x_tscadc: Add DT support

2013-01-23 Thread Patil, Rachna
From: Patil, Rachna rac...@ti.com Make changes to add DT support in the MFD core driver. Signed-off-by: Patil, Rachna rac...@ti.com --- Changes in v4: Non-standard properties prefixed with vendor name. drivers/mfd/ti_am335x_tscadc.c | 28 +++- 1 file changed,

[PATCH v4 6/8] input: ti_am335x_tsc: Add DT support

2013-01-23 Thread Patil, Rachna
From: Patil, Rachna rac...@ti.com Add DT support for client touchscreen driver Signed-off-by: Patil, Rachna rac...@ti.com --- Changes in v4: Non-standard properties prefixed with vendor name. drivers/input/touchscreen/ti_am335x_tsc.c | 94 + 1 file

[PATCH v4 7/8] IIO: ti_am335x_adc: Add DT support

2013-01-23 Thread Patil, Rachna
From: Patil, Rachna rac...@ti.com Add DT support for client ADC driver. Signed-off-by: Patil, Rachna rac...@ti.com --- Changes in v4: Non-standard properties prefixed with vendor name. drivers/iio/adc/ti_am335x_adc.c | 26 ++ 1 file changed, 22 insertions(+),

[PATCH v4 0/8] MFD: ti_am335x_tscadc: DT support and TSC features addition

2013-01-23 Thread Patil, Rachna
From: Patil, Rachna rac...@ti.com This patch set is a cumulative set of [1] and [2] sent earlier. Note that there are no code changes in either of the patch set, only rebased on top of Linus's v3.8-rc3 tag to make sure that all the patches apply without any conflicts. This patch set has been

[PATCH v4 2/8] input: ti_am335x_tsc: Order of TSC wires, made configurable

2013-01-23 Thread Patil, Rachna
From: Patil, Rachna rac...@ti.com The current driver expected touchscreen input wires(XP,XN,YP,YN) to be connected in a particular order. Making changes to accept this as platform data. Signed-off-by: Patil, Rachna rac...@ti.com --- drivers/input/touchscreen/ti_am335x_tsc.c | 156

[PATCH v4 3/8] input: touchscreen: ti_tsc: remove unwanted fifo flush

2013-01-23 Thread Patil, Rachna
From: Patil, Rachna rac...@ti.com When touchscreen and ADC are used together, this unwanted fifo flush leads to loss of ADC data. Signed-off-by: Patil, Rachna rac...@ti.com --- drivers/input/touchscreen/ti_am335x_tsc.c | 10 -- 1 file changed, 10 deletions(-) diff --git

Re: [PATCH v5 00/14] DMA Engine support for AM33XX

2013-01-23 Thread Santosh Shilimkar
On Thursday 24 January 2013 02:19 AM, Matt Porter wrote: On Wed, Jan 23, 2013 at 04:37:55PM +0530, Santosh Shilimkar wrote: Matt, On Wednesday 16 January 2013 02:02 AM, Matt Porter wrote: [..] This series adds DMA Engine support for AM33xx, which uses an EDMA DMAC. The EDMA DMAC has been

Re: [PATCH v5 00/14] DMA Engine support for AM33XX

2013-01-23 Thread Sekhar Nori
Matt, On 1/24/2013 3:07 AM, Matt Porter wrote: On Wed, Jan 23, 2013 at 10:21:42AM +0800, Mark Brown wrote: On Tue, Jan 22, 2013 at 09:26:34PM +0530, Sekhar Nori wrote: On 1/16/2013 2:02 AM, Matt Porter wrote: This series adds DMA Engine support for AM33xx, which uses an EDMA DMAC. The EDMA

Re: [PATCH 5/6] i2c: omap: wait for transfer completion before sending STP bit

2013-01-23 Thread Felipe Balbi
HI, On Wed, Jan 23, 2013 at 10:10:31PM +0200, Aaro Koskinen wrote: Hi, Some minor comments/questions: On Wed, Jan 23, 2013 at 12:23:07PM +0200, Felipe Balbi wrote: @@ -639,31 +630,37 @@ static int omap_i2c_xfer_msg(struct i2c_adapter *adap, dev_err(dev-dev, controller timed

Re: [PATCH 3/3] spi: spi-omap2-mcspi.c: Toggle CS after each word

2013-01-23 Thread Jarkko Nikula
Hi On Wed, 23 Jan 2013 19:08:49 +0100 Matthias Brugger matthias@gmail.com wrote: @@ -1020,7 +1038,7 @@ static void omap2_mcspi_work(struct omap2_mcspi *mcspi, struct spi_message *m) } static int omap2_mcspi_transfer_one_message(struct spi_master *master, -

[PATCH 5/6 v2] i2c: omap: wait for transfer completion before sending STP bit

2013-01-23 Thread Felipe Balbi
Later patches will come adding support for reporting amount of bytes transferred so that client drivers can count how many bytes are left to transfer. This is useful mostly in case of NACKs when client driver wants to know exactly which byte got NACKed so it doesn't have to resend all bytes