Re: [PATCH] spi/omap2: Let device core handle pinctrl

2013-05-07 Thread Mark Brown
On Tue, May 07, 2013 at 03:56:09AM +, Hebbar, Gururaja wrote: There are cases where driver('s) needs to place pin-mux's to sleep on suspend default/idle on resume. For such cases Pinctrl needs to be handled inside the driver. Example [1]. Well, obviously - but at the minute the driver

[PATCH 0/2] ARM: OMAP AM33XX: clock data: Enable clkout2 output on SoC pad

2013-05-07 Thread Vaibhav Hiremath
'clkout2' comes out on the device pad and is being used by various external on-board peripherals like, Audio codecs, Wilink and stuff. So enable the clkout2 by default during init sequence itself along with right pinmux configuration clkout2 output. Also, add the missing entry of clkout2_ck to

[PATCH 2/2] ARM: dts: AM33XX: Set pinmux for clkout2 pad used for clock output

2013-05-07 Thread Vaibhav Hiremath
xdma_event_intr1.clkout2 pad can be used to source clock from either 32K OSC or any of the PLL (except MPU) outputs. On the existing AM335x based boards (EVM, EVM-SK and Bone), this pad is used to feed the clock to audio codes. So, this patch configures the pinmux to get clkout2 on the pad.

[PATCH 1/2] ARM: OMAP AM33XX: clock data: Enable clkout2 as part of init

2013-05-07 Thread Vaibhav Hiremath
clkout2 comes out on the pad and is being used by various external on-board peripherals like, Audio codecs and stuff. So enable the clkout2 by default during init sequence itself. Also, add the missing entry of clkout2_ck to the clock table. Signed-off-by: Vaibhav Hiremath hvaib...@ti.com ---

RE: [PATCH] spi/omap2: Let device core handle pinctrl

2013-05-07 Thread Hebbar, Gururaja
On Tue, May 07, 2013 at 14:25:35, Mark Brown wrote: On Tue, May 07, 2013 at 03:56:09AM +, Hebbar, Gururaja wrote: There are cases where driver('s) needs to place pin-mux's to sleep on suspend default/idle on resume. For such cases Pinctrl needs to be handled inside the driver.

Re: omap3-isp : panic using previewer from V4L input

2013-05-07 Thread Laurent Pinchart
Hi Jean-Philippe, (CC'ed linux-omap) On Monday 06 May 2013 10:59:07 jean-philippe francois wrote: Hi, I am trying to use the previewer to debayer pictures coming from the filesystem instead of the capture hardware. The media-ctl links are as follows : preview V4L input - preview pad 0

Re: [GIT PULL] Urgent omap timer fix for current merge window

2013-05-07 Thread Russell King - ARM Linux
On Mon, May 06, 2013 at 04:46:11PM -0700, Tony Lindgren wrote: Vaibhav Hiremath (1): ARM: OMAP2+: Fix mismerge for timer.c between ff931c82 and da4a686a Neither your pull request subject nor the above summary line really sum up what the problem is - the real problem is fix breakage

[GIT PULL] hwspinlock for 3.10

2013-05-07 Thread Ohad Ben-Cohen
The following changes since commit f6161aa153581da4a3867a2d1a7caf4be19b6ec9: Linux 3.9-rc2 (2013-03-10 16:54:19 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/ohad/hwspinlock.git tags/hwspinlock-3.10 for you to fetch changes up to

[GIT PULL] rpmsg for 3.10

2013-05-07 Thread Ohad Ben-Cohen
The following changes since commit f6161aa153581da4a3867a2d1a7caf4be19b6ec9: Linux 3.9-rc2 (2013-03-10 16:54:19 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/ohad/rpmsg.git tags/rpmsg-3.10 for you to fetch changes up to

[GIT PULL] remoteproc for 3.10

2013-05-07 Thread Ohad Ben-Cohen
There's a trivial merge conflict with a Kconfig typo that got fixed during the rc cycle, but otherwise: The following changes since commit f6161aa153581da4a3867a2d1a7caf4be19b6ec9: Linux 3.9-rc2 (2013-03-10 16:54:19 -0700) are available in the git repository at:

Re: omap3-isp : panic using previewer from V4L input

2013-05-07 Thread jean-philippe francois
2013/5/7 Laurent Pinchart laurent.pinch...@ideasonboard.com: Hi Jean-Philippe, (CC'ed linux-omap) On Monday 06 May 2013 10:59:07 jean-philippe francois wrote: Hi, I am trying to use the previewer to debayer pictures coming from the filesystem instead of the capture hardware. The media-ctl

Re: [GIT PULL] Urgent omap timer fix for current merge window

2013-05-07 Thread Arnd Bergmann
On Tuesday 07 May 2013, Tony Lindgren wrote: The following changes since commit dc2d3db8137fba0f62d7517e1bea8a47f69fcbc4: Merge tag 'omap-for-v3.10/timer-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/drivers (2013-04-08 19:30:48 +0200) are

Re: [PATCH 0/5] drivers: bus: omap_l3: Conversion to devm_*

2013-05-07 Thread Santosh Shilimkar
On Thursday 02 May 2013 05:39 PM, Peter Ujfalusi wrote: Hi, Cleanup of platform probe and remove (removing the remove function at the end) with converting the driver to use the devm_* versions kzalloc, ioremap and request_irq. Thanks Peter. All patches looks fine to my eyes. In the last

Re: [RESEND][PATCH 1/3] arm: dts: introduce config HAS_BANDGAP

2013-05-07 Thread Eduardo Valentin
Hello Jason, On 06-05-2013 20:36, Jason Gunthorpe wrote: On Mon, May 06, 2013 at 08:23:13PM -0400, Eduardo Valentin wrote: I get the impression it is desired to minimize driver kconfig dependencies to the minimum required to compile to increase build testing coverage, so maybe it would be

Re: [PATCH] ti_tscadc: Update with IIO map interface deal with partial activation

2013-05-07 Thread Pantelis Antoniou
Hi Jonathan, On May 6, 2013, at 7:12 PM, Jonathan Cameron wrote: On 05/06/2013 01:48 PM, Jan Luebbe wrote: Hi Pantelis, while trying out your patch on a custom AM335x board, I noticed that the sysfs entries ware missing. This is fixed in the first patch, you might want to squash that into

Re: [PATCH] ti_tscadc: Update with IIO map interface deal with partial activation

2013-05-07 Thread Jan Lübbe
On Tue, 2013-05-07 at 16:08 +0300, Pantelis Antoniou wrote: Hi Jonathan, On May 6, 2013, at 7:12 PM, Jonathan Cameron wrote: On 05/06/2013 01:48 PM, Jan Luebbe wrote: Hi Pantelis, while trying out your patch on a custom AM335x board, I noticed that the sysfs entries ware missing.

Re: [GIT PULL] Urgent omap timer fix for current merge window

2013-05-07 Thread Tony Lindgren
* Russell King - ARM Linux li...@arm.linux.org.uk [130507 05:07]: On Mon, May 06, 2013 at 04:46:11PM -0700, Tony Lindgren wrote: Vaibhav Hiremath (1): ARM: OMAP2+: Fix mismerge for timer.c between ff931c82 and da4a686a Neither your pull request subject nor the above summary line

Re: [GIT PULL] Urgent omap timer fix for current merge window

2013-05-07 Thread Tony Lindgren
* Arnd Bergmann a...@arndb.de [130507 05:54]: On Tuesday 07 May 2013, Tony Lindgren wrote: The following changes since commit dc2d3db8137fba0f62d7517e1bea8a47f69fcbc4: Merge tag 'omap-for-v3.10/timer-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into

[PATCH RESEND] genirq: add function to get IRQ edge/level flags

2013-05-07 Thread Javier Martinez Canillas
According to Documentation/devicetree/bindings/interrupt-controller/interrupts.txt the #interrupt-cells property of an interrupt-controller is used to define the number of cells needed to specify a single interrupt. A commonly used variant is two cell on which #interrupt-cells = 2 and the first

Re: [RESEND][PATCH 1/3] arm: dts: introduce config HAS_BANDGAP

2013-05-07 Thread Jason Gunthorpe
On Tue, May 07, 2013 at 09:15:00AM -0400, Eduardo Valentin wrote: But broadly the direction seems that drivers should have minimal dependencies so, eg, the thermal maintainer compiling for x86 should be able to compile test/static analyze your driver.. Well, I do not see much of this

Re: [RESEND][PATCH 1/3] arm: dts: introduce config HAS_BANDGAP

2013-05-07 Thread Aaro Koskinen
On Tue, May 07, 2013 at 12:27:11PM -0600, Jason Gunthorpe wrote: On Tue, May 07, 2013 at 09:15:00AM -0400, Eduardo Valentin wrote: But broadly the direction seems that drivers should have minimal dependencies so, eg, the thermal maintainer compiling for x86 should be able to compile

[PATCH] ARM: OMAP2+: omap_device: use late_initcall_sync

2013-05-07 Thread Kevin Hilman
If DEBUG_LL and earlyprintk are enabled, and omap-serial.c is compiled as a module, the kernel boot hangs early as the clocks for serial port are cut while earlyprintk still uses the port. The problem is a race between the late_initcall for omap_device (which idles devices that have no drivers)

[PATCH] USB: set device dma_mask without reference to global data

2013-05-07 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Many USB host drivers contain code such as: if (!pdev-dev.dma_mask) pdev-dev.dma_mask = tegra_ehci_dma_mask; ... where tegra_ehci_dma_mask is a global. I suspect this code originated in commit 4a53f4e USB: ehci-tegra: add probing through device

Re: [PATCH] USB: set device dma_mask without reference to global data

2013-05-07 Thread Greg Kroah-Hartman
On Tue, May 07, 2013 at 04:53:52PM -0600, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com Many USB host drivers contain code such as: if (!pdev-dev.dma_mask) pdev-dev.dma_mask = tegra_ehci_dma_mask; ... where tegra_ehci_dma_mask is a global. I suspect this code

Re: [PATCH] USB: set device dma_mask without reference to global data

2013-05-07 Thread Arnd Bergmann
On Wednesday 08 May 2013, Greg Kroah-Hartman wrote: On Tue, May 07, 2013 at 04:53:52PM -0600, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com Suggested-by: Arnd Bergmann a...@arndb.de Signed-off-by: Stephen Warren swar...@nvidia.com So this needs to go in for 3.10, right?

Re: [PATCH] USB: set device dma_mask without reference to global data

2013-05-07 Thread Peter Chen
On Wed, May 8, 2013 at 6:53 AM, Stephen Warren swar...@wwwdotorg.org wrote: From: Stephen Warren swar...@nvidia.com Many USB host drivers contain code such as: if (!pdev-dev.dma_mask) pdev-dev.dma_mask = tegra_ehci_dma_mask; ... where tegra_ehci_dma_mask is a global. I suspect this

Re: [PATCH] USB: set device dma_mask without reference to global data

2013-05-07 Thread Stephen Warren
On 05/07/2013 07:13 PM, Peter Chen wrote: On Wed, May 8, 2013 at 6:53 AM, Stephen Warren swar...@wwwdotorg.org wrote: From: Stephen Warren swar...@nvidia.com Many USB host drivers contain code such as: if (!pdev-dev.dma_mask) pdev-dev.dma_mask = tegra_ehci_dma_mask; ... where

Re: [PATCH] USB: set device dma_mask without reference to global data

2013-05-07 Thread Peter Chen
This probably could be initialized from some DT property. However, there's no such property defined right now, and considering that DT is supposed to be an ABI, we'd always need the code in this patch as a fallback for DTs that were created before any such property was defined. Equally,

Re: [PATCH] USB: set device dma_mask without reference to global data

2013-05-07 Thread Tony Prisk
On 08/05/13 10:53, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com Many USB host drivers contain code such as: if (!pdev-dev.dma_mask) pdev-dev.dma_mask = tegra_ehci_dma_mask; ... where tegra_ehci_dma_mask is a global. I suspect this code originated in commit 4a53f4e