Re: [PATCH v4 1/5] mfd: omap-usb-host: Update DT clock binding information

2014-01-08 Thread Sebastian Reichel
On Wed, Jan 08, 2014 at 11:45:38AM +0530, Roger Quadros wrote: diff --git a/Documentation/devicetree/bindings/mfd/omap-usb-host.txt b/Documentation/devicetree/bindings/mfd/omap-usb-host.txt index b381fa6..5635202 100644 --- a/Documentation/devicetree/bindings/mfd/omap-usb-host.txt +++

Re: [PATCH v2] mfd: omap-usb-tll: Don't hold lock during pm_runtime_get/put_sync()

2014-01-08 Thread Lee Jones
pm_runtime_get/put_sync() can sleep so don't hold spinlock while calling them. This patch prevents a BUG() during system suspend when CONFIG_DEBUG_ATOMIC_SLEEP is enabled. Bug is present in Kernel versions v3.9 onwards. Reported-by: Tomi Valkeinen tomi.valkei...@ti.com Signed-off-by:

Re: [RFC PATCH] gpio: add GPIO hogging mechanism

2014-01-08 Thread Linus Walleij
On Mon, Dec 30, 2013 at 10:48 AM, boris brezillon b.brezil...@overkiz.com wrote: On 19/12/2013 19:22, Felipe Balbi wrote: that's quite a weird argument from Linus W, considering you _do_ have a discrete mux on the board. We have quite a few of such crazy scenarios here at TI and we were

Re: [PATCH v4 1/5] mfd: omap-usb-host: Update DT clock binding information

2014-01-08 Thread Mark Rutland
On Wed, Jan 08, 2014 at 06:15:38AM +, Roger Quadros wrote: The omap-usb-host driver expects the 60MHz functional clock of the USB host module to be named as init_60m_fclk. Add this information in the DT binding document. CC: Lee Jones lee.jo...@linaro.org CC: Samuel Ortiz

Re: [PATCH v4 1/5] mfd: omap-usb-host: Update DT clock binding information

2014-01-08 Thread Roger Quadros
+Tero Hi Sebastian, On 01/08/2014 02:38 PM, Sebastian Reichel wrote: On Wed, Jan 08, 2014 at 11:45:38AM +0530, Roger Quadros wrote: diff --git a/Documentation/devicetree/bindings/mfd/omap-usb-host.txt b/Documentation/devicetree/bindings/mfd/omap-usb-host.txt index b381fa6..5635202 100644

Re: [PATCH v4 1/5] mfd: omap-usb-host: Update DT clock binding information

2014-01-08 Thread Roger Quadros
Hi Mark, On 01/08/2014 03:26 PM, Mark Rutland wrote: On Wed, Jan 08, 2014 at 06:15:38AM +, Roger Quadros wrote: The omap-usb-host driver expects the 60MHz functional clock of the USB host module to be named as init_60m_fclk. Add this information in the DT binding document. CC: Lee Jones

Re: [PATCH v4 1/5] mfd: omap-usb-host: Update DT clock binding information

2014-01-08 Thread Arnd Bergmann
On Wednesday 08 January 2014 15:39:36 Roger Quadros wrote: What about the other clocks acquired in drivers/mfd/omap-usb-host.c? Shouldn't all of those be provided by via the DT phandle? All those clocks are identically named across the OMAP SoCs and are unique for each SoC, so

Re: [PATCH v4 1/5] mfd: omap-usb-host: Update DT clock binding information

2014-01-08 Thread Roger Quadros
On 01/08/2014 03:49 PM, Arnd Bergmann wrote: On Wednesday 08 January 2014 15:39:36 Roger Quadros wrote: What about the other clocks acquired in drivers/mfd/omap-usb-host.c? Shouldn't all of those be provided by via the DT phandle? All those clocks are identically named across the OMAP SoCs

Re: [PATCH v4 1/5] mfd: omap-usb-host: Update DT clock binding information

2014-01-08 Thread Arnd Bergmann
On Wednesday 08 January 2014 15:57:19 Roger Quadros wrote: It is a clock gate defined like so in the DT clock data on OMAP4 init_60m_fclk: init_60m_fclk { #clock-cells = 0; compatible = ti,divider-clock; clocks = dpll_usb_m2_ck;

Re: [PATCH v4 1/5] mfd: omap-usb-host: Update DT clock binding information

2014-01-08 Thread Sebastian Reichel
Hi, On Wed, Jan 08, 2014 at 03:39:36PM +0530, Roger Quadros wrote: What about the other clocks acquired in drivers/mfd/omap-usb-host.c? Shouldn't all of those be provided by via the DT phandle? All those clocks are identically named across the OMAP SoCs and are unique for each SoC,

Re: [PATCH v4 1/5] mfd: omap-usb-host: Update DT clock binding information

2014-01-08 Thread Arnd Bergmann
On Wednesday 08 January 2014 11:52:44 Sebastian Reichel wrote: On Wed, Jan 08, 2014 at 03:39:36PM +0530, Roger Quadros wrote: What about the other clocks acquired in drivers/mfd/omap-usb-host.c? Shouldn't all of those be provided by via the DT phandle? All those clocks are

Re: [PATCH v4 1/5] mfd: omap-usb-host: Update DT clock binding information

2014-01-08 Thread Roger Quadros
On 01/08/2014 04:10 PM, Arnd Bergmann wrote: On Wednesday 08 January 2014 15:57:19 Roger Quadros wrote: It is a clock gate defined like so in the DT clock data on OMAP4 init_60m_fclk: init_60m_fclk { #clock-cells = 0; compatible = ti,divider-clock;

Re: [PATCH v4 1/5] mfd: omap-usb-host: Update DT clock binding information

2014-01-08 Thread Roger Quadros
On 01/08/2014 04:25 PM, Arnd Bergmann wrote: On Wednesday 08 January 2014 11:52:44 Sebastian Reichel wrote: On Wed, Jan 08, 2014 at 03:39:36PM +0530, Roger Quadros wrote: What about the other clocks acquired in drivers/mfd/omap-usb-host.c? Shouldn't all of those be provided by via the DT

Re: [PATCH v4 1/5] mfd: omap-usb-host: Update DT clock binding information

2014-01-08 Thread Arnd Bergmann
On Wednesday 08 January 2014, Roger Quadros wrote: OK. I'll update the binding information to reflect all the clocks. But what about clk_get() vs of_clk_get_by_name() ? I think the convention these days is to just use clk_get(), which calls of_clk_get_by_name() internally. Not sure if that's

Re: [PATCH v4 1/5] mfd: omap-usb-host: Update DT clock binding information

2014-01-08 Thread Roger Quadros
On 01/08/2014 05:05 PM, Arnd Bergmann wrote: On Wednesday 08 January 2014, Roger Quadros wrote: OK. I'll update the binding information to reflect all the clocks. But what about clk_get() vs of_clk_get_by_name() ? I think the convention these days is to just use clk_get(), which calls

[PATCH] driver-core: platform: Resolve DT interrupt references late

2014-01-08 Thread Thierry Reding
When devices are probed from the device tree, any interrupts that they reference are resolved at device creation time. This causes problems if the interrupt provider hasn't been registered yet at that time, which results in the interrupt being set to 0. This is especially bad for platform devices

Re: [PATCH V5 0/4] DRIVERS: IRQCHIP: Add support for crossbar IP

2014-01-08 Thread Sricharan R
Hi Tony, On Wednesday 08 January 2014 05:25 AM, Tony Lindgren wrote: * Tony Lindgren t...@atomide.com [140107 15:10]: * Sricharan R r.sricha...@ti.com [131229 22:30]: On Friday 27 December 2013 07:19 PM, Sricharan R wrote: On Thursday 26 December 2013 11:14 PM, Santosh Shilimkar wrote: On

Re: [PATCH v3 0/4] drm/omap: fix issues in omap_drv probe/remove

2014-01-08 Thread Tomi Valkeinen
On 2014-01-02 11:19, Archit Taneja wrote: At the moment, the omapdrm driver doesn't work on panda/beagle when built-in the kernel. The problem is that omapdrm doesn't defer probe if resources like regulator/I2C etc are missing. The first patch fixes that. The next 3 patches make sure that

Re: [pandaboard] audio initialization fails due to TWL6040

2014-01-08 Thread Peter Ujfalusi
On 01/08/2014 12:53 AM, Tony Lindgren wrote: Well we cannot sanely deprecate the ti,hwmods and move on to matching hwmod data with DT data based on the compatible flag. So it's a bit of a blocker for v3.15 or so time frame. Due to a 'hw feature' around the sidetone this is not as straight

Re: [PATCH] driver-core: platform: Resolve DT interrupt references late

2014-01-08 Thread Arnd Bergmann
On Wednesday 08 January 2014 13:51:17 Thierry Reding wrote: When devices are probed from the device tree, any interrupts that they reference are resolved at device creation time. This causes problems if the interrupt provider hasn't been registered yet at that time, which results in the

Re: [PATCH] omapdss: dispc: Preload more data in pipeline DMAs for OMAP4+ SoCs

2014-01-08 Thread Tomi Valkeinen
On 2013-12-17 13:10, Archit Taneja wrote: DISPC pipeline DMAs preload some bytes of pixel data in the vertical blanking region before the start of each frame. The preload ensures the pipeline doesn't underflow when the active region of the display starts. DISPC_GFX/VIDp_PRELOAD registers

Re: [PATCH 1/2] ARM: omapfb: add coherent dma memory support

2014-01-08 Thread Tomi Valkeinen
On 2014-01-08 01:59, Tony Lindgren wrote: * Tomi Valkeinen tomi.valkei...@ti.com [131230 05:21]: The omapfb driver uses dma_alloc to reserve memory for the framebuffers. However, on some use cases, even when CMA is in use, it's quite probable that omapfb fails to allocate the fb, either due to

Re: [PATCH v7 5/7] ARM: dts: add pbias dt node

2014-01-08 Thread Balaji T K
On Tuesday 07 January 2014 05:53 PM, Balaji T K wrote: On Tuesday 07 January 2014 04:27 PM, Mark Rutland wrote: On Tue, Jan 07, 2014 at 10:18:15AM +, Balaji T K wrote: On Monday 06 January 2014 11:49 PM, Mark Rutland wrote: On Fri, Dec 20, 2013 at 05:35:53PM +, Balaji T K wrote: Add

Re: [PATCH] driver-core: platform: Resolve DT interrupt references late

2014-01-08 Thread Thierry Reding
On Wed, Jan 08, 2014 at 02:41:19PM +0100, Arnd Bergmann wrote: On Wednesday 08 January 2014 13:51:17 Thierry Reding wrote: When devices are probed from the device tree, any interrupts that they reference are resolved at device creation time. This causes problems if the interrupt provider

Re: [PATCH] driver-core: platform: Resolve DT interrupt references late

2014-01-08 Thread Arnd Bergmann
On Wednesday 08 January 2014 15:55:27 Thierry Reding wrote: On Wed, Jan 08, 2014 at 02:41:19PM +0100, Arnd Bergmann wrote: On Wednesday 08 January 2014 13:51:17 Thierry Reding wrote: I hope I read this thread correctly, sorry if I missed an important part. My idea was to add the code not in

Re: [PATCH] driver-core: platform: Resolve DT interrupt references late

2014-01-08 Thread Thierry Reding
On Wed, Jan 08, 2014 at 04:11:08PM +0100, Arnd Bergmann wrote: On Wednesday 08 January 2014 15:55:27 Thierry Reding wrote: On Wed, Jan 08, 2014 at 02:41:19PM +0100, Arnd Bergmann wrote: On Wednesday 08 January 2014 13:51:17 Thierry Reding wrote: [...] Actually I posted a round of patches

Re: [PATCH] driver-core: platform: Resolve DT interrupt references late

2014-01-08 Thread Tony Lindgren
* Thierry Reding thierry.red...@gmail.com [140108 04:55]: When devices are probed from the device tree, any interrupts that they reference are resolved at device creation time. This causes problems if the interrupt provider hasn't been registered yet at that time, which results in the

Re: [PATCH] driver-core: platform: Resolve DT interrupt references late

2014-01-08 Thread Arnd Bergmann
On Wednesday 08 January 2014, Thierry Reding wrote: On Wed, Jan 08, 2014 at 04:11:08PM +0100, Arnd Bergmann wrote: On Wednesday 08 January 2014 15:55:27 Thierry Reding wrote: It stands to reason that if they push back on the IOMMU variant of what is essentially the same thing, they will

Re: [pandaboard] audio initialization fails due to TWL6040

2014-01-08 Thread Tony Lindgren
* Peter Ujfalusi peter.ujfal...@ti.com [140108 05:25]: On 01/08/2014 12:53 AM, Tony Lindgren wrote: Well we cannot sanely deprecate the ti,hwmods and move on to matching hwmod data with DT data based on the compatible flag. So it's a bit of a blocker for v3.15 or so time frame. Due to a

Re: [PATCH] ARM: dts: OMAP2: fix interrupt number for rng

2014-01-08 Thread Anna, Suman
Tony, On 01/07/2014 06:28 PM, Tony Lindgren wrote: * Suman Anna s-a...@ti.com [131223 15:01]: The irq data for rng module defined in hwmod data previously missed the OMAP_INTC_START relative offset, so the interrupt number is probably misconfigured during the DT node addition adjusting for

Re: [PATCH 4/5] arm: omap3: twl: use the new lookup method with usb phy

2014-01-08 Thread Tony Lindgren
* Heikki Krogerus heikki.kroge...@linux.intel.com [131209 07:10]: Provide a complete association for the phy and it's user (musb) with the new phy_lookup_table. This seems safe to queue via the USB list: Acked-by: Tony Lindgren t...@atomide.com Signed-off-by: Heikki Krogerus

Re: [PATCH] ARM: dts: OMAP2: fix interrupt number for rng

2014-01-08 Thread Tony Lindgren
* Anna, Suman s-a...@ti.com [140108 09:33]: Tony, On 01/07/2014 06:28 PM, Tony Lindgren wrote: * Suman Anna s-a...@ti.com [131223 15:01]: The irq data for rng module defined in hwmod data previously missed the OMAP_INTC_START relative offset, so the interrupt number is probably

Re: [PATCH RESEND] arm: omap2plus_defconfig: enable AM33xx SOC EVM audio

2014-01-08 Thread Tony Lindgren
* Jyri Sarha jsa...@ti.com [131105 00:43]: Modifying the omap2plus_defconfig to enable the audio support for AM335x EVM and other AM33xx based devices with TLV320AIC3X connected to McASP. Signed-off-by: Jyri Sarha jsa...@ti.com Thanks applying into omap-for-v3.14/fixes-not-urgent. Tony

Re: [PATCH 0/3] omap2: Assorted GPMC cleanups

2014-01-08 Thread Tony Lindgren
* Ezequiel Garcia ezequiel.gar...@free-electrons.com [131027 17:52]: (I'm CCing the MTD list, because GPMC is the memory controller used for NOR, NAND and OneNAND devices). Hi all, Just a small patchset containing two small cleanups and a minor fix for the GPMC memory controller. The

Re: [PATCH V5 0/4] DRIVERS: IRQCHIP: Add support for crossbar IP

2014-01-08 Thread Tony Lindgren
* Sricharan R r.sricha...@ti.com [140108 05:20]: On Wednesday 08 January 2014 05:25 AM, Tony Lindgren wrote: Oops, I noticed some errors on these: WARNING: drivers/built-in.o(.text+0xcd0): Section mismatch in reference from the function irqcrossbar_init() to the function

Re: [PATCH V2 0/2] ARM: OMAP2+/dts: standardize SoC naming

2014-01-08 Thread Tony Lindgren
* Nishanth Menon n...@ti.com [140106 16:49]: Hi Benoit, Tony, On Wed, Dec 4, 2013 at 6:49 PM, Nishanth Menon n...@ti.com wrote: Originally attempted partially in [1], the missing binding were reported as part of Rob's report in [2]. Would you like me to send this series again since I do

Re: [RFC/PATCH] arm: omap2plus_defconfig: enable more drivers

2014-01-08 Thread Tony Lindgren
* Felipe Balbi ba...@ti.com [131025 08:51]: Hi, On Fri, Oct 25, 2013 at 07:44:26AM -0700, Tony Lindgren wrote: * Felipe Balbi ba...@ti.com [131025 07:20]: enable a few more drivers as modules on omap2plus_defconfig, this helps us getting more platforms working out of the box by just

Re: [PATCH] driver-core: platform: Resolve DT interrupt references late

2014-01-08 Thread Thierry Reding
On Wed, Jan 08, 2014 at 08:40:41AM -0800, Tony Lindgren wrote: * Thierry Reding thierry.red...@gmail.com [140108 04:55]: When devices are probed from the device tree, any interrupts that they reference are resolved at device creation time. This causes problems if the interrupt provider

Re: [PATCH] driver-core: platform: Resolve DT interrupt references late

2014-01-08 Thread Thierry Reding
On Wed, Jan 08, 2014 at 05:25:17PM +0100, Arnd Bergmann wrote: On Wednesday 08 January 2014, Thierry Reding wrote: On Wed, Jan 08, 2014 at 04:11:08PM +0100, Arnd Bergmann wrote: On Wednesday 08 January 2014 15:55:27 Thierry Reding wrote: It stands to reason that if they push back on the

Re: [PATCH] driver-core: platform: Resolve DT interrupt references late

2014-01-08 Thread Arnd Bergmann
On Wednesday 08 January 2014 20:59:10 Thierry Reding wrote: On Wed, Jan 08, 2014 at 05:25:17PM +0100, Arnd Bergmann wrote: On Wednesday 08 January 2014, Thierry Reding wrote: On Wed, Jan 08, 2014 at 04:11:08PM +0100, Arnd Bergmann wrote: The more I think about the iommu case, the more I am

Re: [PATCH] driver-core: platform: Resolve DT interrupt references late

2014-01-08 Thread Thierry Reding
On Wed, Jan 08, 2014 at 09:09:17PM +0100, Arnd Bergmann wrote: On Wednesday 08 January 2014 20:59:10 Thierry Reding wrote: On Wed, Jan 08, 2014 at 05:25:17PM +0100, Arnd Bergmann wrote: On Wednesday 08 January 2014, Thierry Reding wrote: On Wed, Jan 08, 2014 at 04:11:08PM +0100, Arnd

Re: 3.13-rc2 phy-twl4030-usb.c - Timeout setting T2 HSUSB PHY DPLL

2014-01-08 Thread Belisko Marek
Any pointers? Still present in 3.13-rc7. On Wed, Dec 4, 2013 at 1:22 PM, Roger Quadros rog...@ti.com wrote: +Kishon On 12/03/2013 11:33 PM, Belisko Marek wrote: Hi, current 3.13-rcX break usb support on gta04 board (similar to beagleboard) when booting via board file. In console we can

Re: [PATCH] driver-core: platform: Resolve DT interrupt references late

2014-01-08 Thread Arnd Bergmann
On Wednesday 08 January 2014 21:24:08 Thierry Reding wrote: The problem with devres, or any other solution for that matter, is that for the cases where we'd need something like this (that is, statically allocated devices in board setup code) we don't have a fully initialized struct device.

Re: [PATCH] driver-core: platform: Resolve DT interrupt references late

2014-01-08 Thread Tony Lindgren
* Thierry Reding thierry.red...@gmail.com [140108 11:32]: On Wed, Jan 08, 2014 at 08:40:41AM -0800, Tony Lindgren wrote: There's nothing wrong with the interrupt related code paths, we're just trying to call the functions at a wrong time when thing are not yet initialized. The patch

Re: [PATCH 0/3] omap2: Assorted GPMC cleanups

2014-01-08 Thread Ezequiel Garcia
On Wed, Jan 08, 2014 at 11:18:37AM -0800, Tony Lindgren wrote: * Ezequiel Garcia ezequiel.gar...@free-electrons.com [131027 17:52]: (I'm CCing the MTD list, because GPMC is the memory controller used for NOR, NAND and OneNAND devices). Hi all, Just a small patchset containing two

Re: [PATCH 0/3] omap2: Assorted GPMC cleanups

2014-01-08 Thread Tony Lindgren
* Ezequiel Garcia ezequiel.gar...@free-electrons.com [140108 15:39]: On Wed, Jan 08, 2014 at 11:18:37AM -0800, Tony Lindgren wrote: * Ezequiel Garcia ezequiel.gar...@free-electrons.com [131027 17:52]: (I'm CCing the MTD list, because GPMC is the memory controller used for NOR, NAND and

[GIT PULL 1/4] non-urgent omap fixes for v3.14 merge window

2014-01-08 Thread Tony Lindgren
The following changes since commit 413541dd66d51f791a0b169d9b9014e4f56be13c: Linux 3.13-rc5 (2013-12-22 13:08:32 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap tags/omap-for-v3.14/fixes-not-urgent-signed for you to fetch

[GIT PULL 2/4] omap device tree fixes for v3.14 merge window

2014-01-08 Thread Tony Lindgren
The following changes since commit adfe9361b236154215d4b0fc8b6d79995394b15c: ARM: dts: Add basic devices on am3517-evm (2013-12-08 14:15:46 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap tags/omap-for-v3.14/dt-signed for you

[GIT PULL 3/4] trivial omap big endian changes for v3.14 merge window

2014-01-08 Thread Tony Lindgren
The following changes since commit 413541dd66d51f791a0b169d9b9014e4f56be13c: Linux 3.13-rc5 (2013-12-22 13:08:32 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap tags/omap-for-v3.14/be-signed for you to fetch changes up to

[GIT PULL 4/4] GIC crossbar support for v3.14 merge window

2014-01-08 Thread Tony Lindgren
The following changes since commit 413541dd66d51f791a0b169d9b9014e4f56be13c: Linux 3.13-rc5 (2013-12-22 13:08:32 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap tags/omap-for-v3.14/crossbar-signed for you to fetch changes up

RE: [PATCH 1/2] ARM: omapfb: add coherent dma memory support

2014-01-08 Thread Hiremath, Vaibhav
-Original Message- From: Valkeinen, Tomi Sent: Wednesday, January 08, 2014 7:44 PM To: Tony Lindgren; Ivaylo Dimitrov Cc: Hiremath, Vaibhav; linux-omap@vger.kernel.org; linux-arm- ker...@lists.infradead.org; linux-fb...@vger.kernel.org Subject: Re: [PATCH 1/2] ARM: omapfb: add

Re: 3.13-rc2 phy-twl4030-usb.c - Timeout setting T2 HSUSB PHY DPLL

2014-01-08 Thread Roger Quadros
Hi Marek, I have no idea what is happening there. Have you tried using device tree boot? Board file boot support would be dropped eventually. Did you try if I2C read write to the twl4030 device works and all necessary clocks/supplies are present? Kishon, do you know what is causing the USB

Re: RE: [PATCH 1/2] ARM: omapfb: add coherent dma memory support

2014-01-08 Thread Ivaylo Dimitrov
On 09.01.2014 07:06, Hiremath, Vaibhav wrote: Tomi, I am seeing underflow issue on AM43x device if I use omapfb_vram argument. Did you see this on OMAP? I am using omapfb_vram=10M@0xA000, and I believe it is correct way of usage. Thanks, Vaibhav AFAIK underflow interrupts could come