Re: [RFC][PATCH 1/2] ARM: OMAP4: clock: Add device tree support for AUXCLKs

2013-04-11 Thread Roger Quadros
On 04/10/2013 08:39 PM, Nishanth Menon wrote: On 13:55-20130410, Roger Quadros wrote: On 04/10/2013 11:06 AM, Mike Turquette wrote: Quoting Nishanth Menon (2013-04-09 13:49:00) On 10:43-20130409, Tony Lindgren wrote: * Tony Lindgren t...@atomide.com [130409 09:54]: * Roger Quadros

Re: [RFC][PATCH 1/2] ARM: OMAP4: clock: Add device tree support for AUXCLKs

2013-04-11 Thread Grygorii Strashko
On 04/11/2013 10:48 AM, Roger Quadros wrote: On 04/10/2013 08:39 PM, Nishanth Menon wrote: On 13:55-20130410, Roger Quadros wrote: On 04/10/2013 11:06 AM, Mike Turquette wrote: Quoting Nishanth Menon (2013-04-09 13:49:00) On 10:43-20130409, Tony Lindgren wrote: * Tony Lindgren

Re: 4430sdp nfsroot broken with ff5c9059

2013-04-11 Thread Benoit Cousson
Hi Javier, On 04/11/2013 01:58 AM, Javier Martinez Canillas wrote: On Wed, Apr 10, 2013 at 7:31 PM, Jon Hunter jon-hun...@ti.com wrote: Hi Tony, On 04/09/2013 04:23 PM, Tony Lindgren wrote: Hi Jon, Looks like at least 4430sdp nfsroot got broken with commit ff5c9059 (ARM: dts: OMAP3+:

[PATCH 1/2] OMAPDSS: fix dss_fck clock rate rounding

2013-04-11 Thread Tomi Valkeinen
DSS func clock is calculated with prate / div * m. However, the current omapdss code calculates it with prate * m / div, which yields a slightly different result when there's a remainder. For example, 43200 / 14 * 2 = 61714284, but 43200 * 2 / 14 = 61714285. In addition to that, the clock

[PATCH 2/2] OMAPDSS: DPI: widen the pck search when using dss fck

2013-04-11 Thread Tomi Valkeinen
When not using DSI PLL to generate the pixel clock, but DSS FCK, the possible pixel clock rates are rather limited. DSS FCK is currently used on OMAP2 and OMAP3. When using Beagleboard with a monitor that supports high resolutions, the clock rates do not match (at least for me) for the monitor's

[PATCH] USB: ehci-omap: Select USB_PHY

2013-04-11 Thread Roger Quadros
Hi Greg, The following patch gets rid of Kbuild warnings when USB_EHCI_HCD_OMAP is enabled. Patch is based on your usb-next branch and is needed for 3.10. From: Roger Quadros rog...@ti.com Date: Thu, 11 Apr 2013 12:08:19 +0300 Subject: [PATCH] USB: ehci-omap: Select USB_PHY As we need

Re: 4430sdp nfsroot broken with ff5c9059

2013-04-11 Thread Javier Martinez Canillas
On Thu, Apr 11, 2013 at 11:22 AM, Benoit Cousson b-cous...@ti.com wrote: Hi Javier, On 04/11/2013 01:58 AM, Javier Martinez Canillas wrote: On Wed, Apr 10, 2013 at 7:31 PM, Jon Hunter jon-hun...@ti.com wrote: Hi Tony, On 04/09/2013 04:23 PM, Tony Lindgren wrote: Hi Jon, Looks like at

Re: [PATCH] USB: ehci-omap: Select USB_PHY

2013-04-11 Thread Felipe Balbi
Hi, On Thu, Apr 11, 2013 at 12:42:04PM +0300, Roger Quadros wrote: Hi Greg, The following patch gets rid of Kbuild warnings when USB_EHCI_HCD_OMAP is enabled. Patch is based on your usb-next branch and is needed for 3.10. From: Roger Quadros rog...@ti.com Date: Thu, 11 Apr 2013

Re: [PATCH] USB: ehci-omap: Select USB_PHY

2013-04-11 Thread Roger Quadros
On 04/11/2013 01:04 PM, Felipe Balbi wrote: Hi, On Thu, Apr 11, 2013 at 12:42:04PM +0300, Roger Quadros wrote: Hi Greg, The following patch gets rid of Kbuild warnings when USB_EHCI_HCD_OMAP is enabled. Patch is based on your usb-next branch and is needed for 3.10. From: Roger Quadros

Re: [PATCH] USB: ehci-omap: Select USB_PHY

2013-04-11 Thread Felipe Balbi
Hi, On Thu, Apr 11, 2013 at 01:51:16PM +0300, Roger Quadros wrote: On 04/11/2013 01:04 PM, Felipe Balbi wrote: Hi, On Thu, Apr 11, 2013 at 12:42:04PM +0300, Roger Quadros wrote: Hi Greg, The following patch gets rid of Kbuild warnings when USB_EHCI_HCD_OMAP is enabled. Patch

Re: [GIT PULL 5/5] omap dt changes for v3.10 merge window

2013-04-11 Thread Olof Johansson
Hi, On Mon, Apr 08, 2013 at 09:51:03PM -0700, Tony Lindgren wrote: The following changes since commit 5852264f9d6139751796853fdfca9d5230cbfb97: Merge tag 'omap-devel-b-for-3.10' of git://git.kernel.org/pub/scm/linux/kernel/git/pjw/omap-pending into for_3.10/dts_merged (2013-04-09

Re: [PATCH] USB: ehci-omap: Select USB_PHY

2013-04-11 Thread Roger Quadros
On 04/11/2013 01:55 PM, Felipe Balbi wrote: Hi, On Thu, Apr 11, 2013 at 01:51:16PM +0300, Roger Quadros wrote: On 04/11/2013 01:04 PM, Felipe Balbi wrote: Hi, On Thu, Apr 11, 2013 at 12:42:04PM +0300, Roger Quadros wrote: Hi Greg, The following patch gets rid of Kbuild warnings when

Re: [PATCH] USB: ehci-omap: Select USB_PHY

2013-04-11 Thread Alexander Holler
Am 11.04.2013 14:42, schrieb Roger Quadros: On 04/11/2013 01:55 PM, Felipe Balbi wrote: I would avoid 'select' completely and just update omap2plus_defconfig adding those two as modules. OK, makes sense. I will update the patch to remove select NOP_USB_XCEIV. Sorry, but this just will end

Re: [PATCH] USB: ehci-omap: Select USB_PHY

2013-04-11 Thread Roger Quadros
On 04/11/2013 03:42 PM, Roger Quadros wrote: On 04/11/2013 01:55 PM, Felipe Balbi wrote: Hi, On Thu, Apr 11, 2013 at 01:51:16PM +0300, Roger Quadros wrote: On 04/11/2013 01:04 PM, Felipe Balbi wrote: Hi, On Thu, Apr 11, 2013 at 12:42:04PM +0300, Roger Quadros wrote: Hi Greg, The

gpio/omap v2: map irq_enable/disable to mask/unmask.

2013-04-11 Thread Andreas Fenkart
Hi Santosh, I submitted the following patch a while back. https://patchwork.kernel.org/patch/1886421/ As already said, the patch is straight forward, but without it, we probably will not see decent SDIO performance on am335x chips. [why it is needed] The omap_hsmmc module is suspended whenever

[PATCH 25/26] arm: Don't use create_proc_read_entry() [RFC]

2013-04-11 Thread David Howells
Don't use create_proc_read_entry() as that is deprecated, but rather use proc_create_data() and seq_file instead. Signed-off-by: David Howells dhowe...@redhat.com cc: Russell King li...@arm.linux.org.uk cc: Kevin Hilman khil...@deeprootsystems.com cc: Tony Lindgren t...@atomide.com cc:

Re: [PATCHv3] driver: serial: prevent UART console idle on suspend while using no_console_suspend

2013-04-11 Thread Kevin Hilman
Kevin Hilman khil...@linaro.org writes: Bedia, Vaibhav vaibhav.be...@ti.com writes: Hi Sourav, On Wed, Apr 10, 2013 at 15:13:44, Poddar, Sourav wrote: [...] Yes, had a look at that and found your situation similar to UART. But how exactly this gets used, I mean I don't see any drivers/

Re: [PATCH] USB: ehci-omap: Select USB_PHY

2013-04-11 Thread Felipe Balbi
Hi, On Thu, Apr 11, 2013 at 04:18:33PM +0300, Roger Quadros wrote: On 04/11/2013 03:42 PM, Roger Quadros wrote: On 04/11/2013 01:55 PM, Felipe Balbi wrote: Hi, On Thu, Apr 11, 2013 at 01:51:16PM +0300, Roger Quadros wrote: On 04/11/2013 01:04 PM, Felipe Balbi wrote: Hi, On Thu,

Re: [PATCH] USB: ehci-omap: Select USB_PHY

2013-04-11 Thread Roger Quadros
Felipe, On 04/11/2013 04:02 PM, Alexander Holler wrote: Am 11.04.2013 14:42, schrieb Roger Quadros: On 04/11/2013 01:55 PM, Felipe Balbi wrote: I would avoid 'select' completely and just update omap2plus_defconfig adding those two as modules. Setting USB_PHY as a module gives rise to these

Re: [PATCH] USB: ehci-omap: Select USB_PHY

2013-04-11 Thread Roger Quadros
On 04/11/2013 05:34 PM, Felipe Balbi wrote: Hi, On Thu, Apr 11, 2013 at 04:18:33PM +0300, Roger Quadros wrote: On 04/11/2013 03:42 PM, Roger Quadros wrote: On 04/11/2013 01:55 PM, Felipe Balbi wrote: Hi, On Thu, Apr 11, 2013 at 01:51:16PM +0300, Roger Quadros wrote: On 04/11/2013 01:04

Re: [PATCH] USB: ehci-omap: Select USB_PHY

2013-04-11 Thread Felipe Balbi
Hi, On Thu, Apr 11, 2013 at 05:44:00PM +0300, Roger Quadros wrote: Felipe, On 04/11/2013 04:02 PM, Alexander Holler wrote: Am 11.04.2013 14:42, schrieb Roger Quadros: On 04/11/2013 01:55 PM, Felipe Balbi wrote: I would avoid 'select' completely and just update omap2plus_defconfig

Re: [PATCH] USB: ehci-omap: Select USB_PHY

2013-04-11 Thread Felipe Balbi
Hi, On Thu, Apr 11, 2013 at 05:53:10PM +0300, Roger Quadros wrote: From: Roger Quadros rog...@ti.com Date: Thu, 11 Apr 2013 12:08:19 +0300 Subject: [PATCH] USB: ehci-omap: Select USB_PHY As we need NOP_USB_XCEIV which depends on USB_PHY we need to select USB_PHY as well. Gets rid

Re: gpio/omap v2: map irq_enable/disable to mask/unmask.

2013-04-11 Thread Tony Lindgren
Hi, * Andreas Fenkart andreas.fenk...@streamunlimited.com [130411 06:23]: Hi Santosh, I submitted the following patch a while back. https://patchwork.kernel.org/patch/1886421/ As already said, the patch is straight forward, but without it, we probably will not see decent SDIO performance

Re: [PATCH 25/26] arm: Don't use create_proc_read_entry() [RFC]

2013-04-11 Thread Tony Lindgren
* David Howells dhowe...@redhat.com [130411 06:35]: Don't use create_proc_read_entry() as that is deprecated, but rather use proc_create_data() and seq_file instead. Signed-off-by: David Howells dhowe...@redhat.com cc: Russell King li...@arm.linux.org.uk cc: Kevin Hilman

Re: gpio/omap v2: map irq_enable/disable to mask/unmask.

2013-04-11 Thread Santosh Shilimkar
On Thursday 11 April 2013 06:48 PM, Andreas Fenkart wrote: Hi Santosh, I submitted the following patch a while back. https://patchwork.kernel.org/patch/1886421/ As already said, the patch is straight forward, but without it, we probably will not see decent SDIO performance on am335x

How do you configure AM335x dts for dual ethernet ?

2013-04-11 Thread Mark Jackson
I'm trying to work out how to setup my custom dts file to support dual ethernet. This is on a custom board based on the BeagleBone, but with both ethernet ports connected in MII mode. So far I have just copied the layout of am335x-evm.dts, but that only gives me eth0:- [1.418487]

Re: Kexec couldn't reboot capture kernel on pandaboard ES with OMAP4460

2013-04-11 Thread Stephen Warren
On 04/10/2013 10:46 PM, Li Haifeng wrote: 2013/4/10 Stephen Warren swar...@wwwdotorg.org: On 04/10/2013 03:35 AM, Li Haifeng wrote: Hi, everyone. Recently, I try to run kdump on pandaboard ES with omap4460. After load capture kernel by kexec -l and execute kexec -e, the serial port output

Re: [GIT PULL 5/5] omap dt changes for v3.10 merge window

2013-04-11 Thread Tony Lindgren
* Olof Johansson o...@lixom.net [130411 04:11]: Hi, On Mon, Apr 08, 2013 at 09:51:03PM -0700, Tony Lindgren wrote: The following changes since commit 5852264f9d6139751796853fdfca9d5230cbfb97: Merge tag 'omap-devel-b-for-3.10' of

Re: [PATCH 25/26] arm: Don't use create_proc_read_entry() [RFC]

2013-04-11 Thread David Howells
Tony Lindgren t...@atomide.com wrote: Looks like the mach-omap1/pm.c part we can make into a debugfs entry as it only contains PM debug data. But that we can do after this patch. If you have a patch to do that, I can substitute it for this one. David -- To unsubscribe from this list: send

Re: [PATCH 25/26] arm: Don't use create_proc_read_entry() [RFC]

2013-04-11 Thread Tony Lindgren
* David Howells dhowe...@redhat.com [130411 09:50]: Tony Lindgren t...@atomide.com wrote: Looks like the mach-omap1/pm.c part we can make into a debugfs entry as it only contains PM debug data. But that we can do after this patch. If you have a patch to do that, I can substitute it for

Re: [PATCH] USB: ehci-omap: Select USB_PHY

2013-04-11 Thread Alexander Holler
Am 11.04.2013 16:44, schrieb Roger Quadros: Sorry, but this just will end up with many users having broken configs because of disabled stuff they don't know why they have to enable them. And thus with a never ending stream of questions and thus with a needed FAQ entry. Alexander, I agree

Re: gpio/omap v2: map irq_enable/disable to mask/unmask.

2013-04-11 Thread Jon Hunter
On 04/11/2013 10:54 AM, Santosh Shilimkar wrote: On Thursday 11 April 2013 06:48 PM, Andreas Fenkart wrote: Hi Santosh, I submitted the following patch a while back. https://patchwork.kernel.org/patch/1886421/ As already said, the patch is straight forward, but without it, we probably

Re: [PATCH 25/26] arm: Don't use create_proc_read_entry() [RFC]

2013-04-11 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [130411 10:01]: * David Howells dhowe...@redhat.com [130411 09:50]: Tony Lindgren t...@atomide.com wrote: Looks like the mach-omap1/pm.c part we can make into a debugfs entry as it only contains PM debug data. But that we can do after this patch.

Re: [PATCH] USB: ehci-omap: Select USB_PHY

2013-04-11 Thread Felipe Balbi
Hi, On Thu, Apr 11, 2013 at 07:33:32PM +0200, Alexander Holler wrote: Sorry, but this just will end up with many users having broken configs because of disabled stuff they don't know why they have to enable them. And thus with a never ending stream of questions and thus with a needed FAQ

Section mismatch warning with linux next in usbhs_init_phys()

2013-04-11 Thread Tony Lindgren
Hi Roger, Looks like there's a section mismatch issue in linux next: WARNING: vmlinux.o(.text+0x2a7b4): Section mismatch in reference from the function usbhs_init_phys() to the function .init.text:usb_bind_phy() The function usbhs_init_phys() references the function __init usb_bind_phy(). This

Re: [RFC][PATCH 1/2] ARM: OMAP4: clock: Add device tree support for AUXCLKs

2013-04-11 Thread Mike Turquette
Quoting Nishanth Menon (2013-04-10 10:39:21) diff --git a/drivers/clk/omap/clk.c b/drivers/clk/omap/clk.c new file mode 100644 index 000..63a4cce --- /dev/null +++ b/drivers/clk/omap/clk.c @@ -0,0 +1,94 @@ +/* + * Texas Instruments OMAP Clock driver + * + * Copyright (C) 2013 Texas

Re: How do you configure AM335x dts for dual ethernet ?

2013-04-11 Thread Mark Jackson
On 11/04/13 17:14, Mark Jackson wrote: I'm trying to work out how to setup my custom dts file to support dual ethernet. This is on a custom board based on the BeagleBone, but with both ethernet ports connected in MII mode. snip I know this should work (since the svm has dual ethernet), so

Re: [PATCH 3/5] gpio/omap: Add DT support to GPIO driver

2013-04-11 Thread Stephen Warren
On 04/10/2013 03:28 PM, Linus Walleij wrote: On Wed, Apr 10, 2013 at 10:29 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 04/10/2013 12:12 PM, Linus Walleij wrote: If the information is there, whether to convert from IRQ to GPIO or from GPIO to IRQ is a technicality and any order

Re: [PATCH 3/5] gpio/omap: Add DT support to GPIO driver

2013-04-11 Thread Linus Walleij
On Thu, Apr 11, 2013 at 10:30 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 04/10/2013 03:28 PM, Linus Walleij wrote: So the only reason I'm rambing on about this is that it breaks the I'm not sure I understand this paragraph; what is it in the line above. If it is this patch, then

Re: [RFC][PATCH 1/2] ARM: OMAP4: clock: Add device tree support for AUXCLKs

2013-04-11 Thread Nishanth Menon
On Thu, Apr 11, 2013 at 1:46 PM, Mike Turquette mturque...@linaro.org wrote: Quoting Nishanth Menon (2013-04-10 10:39:21) diff --git a/drivers/clk/omap/clk.c b/drivers/clk/omap/clk.c new file mode 100644 index 000..63a4cce --- /dev/null +++ b/drivers/clk/omap/clk.c @@ -0,0 +1,94 @@ +/*

Re: [RFC][PATCH 1/2] ARM: OMAP4: clock: Add device tree support for AUXCLKs

2013-04-11 Thread Nishanth Menon
On Thu, Apr 11, 2013 at 2:48 AM, Roger Quadros rog...@ti.com wrote: On 04/10/2013 08:39 PM, Nishanth Menon wrote: On 13:55-20130410, Roger Quadros wrote: On 04/10/2013 11:06 AM, Mike Turquette wrote: Quoting Nishanth Menon (2013-04-09 13:49:00) Folks, this does seem to be the best compromise

Re: [PATCH 3/5] gpio/omap: Add DT support to GPIO driver

2013-04-11 Thread Javier Martinez Canillas
On Fri, Apr 12, 2013 at 12:16 AM, Linus Walleij linus.wall...@linaro.org wrote: On Thu, Apr 11, 2013 at 10:30 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 04/10/2013 03:28 PM, Linus Walleij wrote: So the only reason I'm rambing on about this is that it breaks the I'm not sure I

Re: [PATCH 3/5] gpio/omap: Add DT support to GPIO driver

2013-04-11 Thread Stephen Warren
On 04/11/2013 04:16 PM, Linus Walleij wrote: On Thu, Apr 11, 2013 at 10:30 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 04/10/2013 03:28 PM, Linus Walleij wrote: So the only reason I'm rambing on about this is that it breaks the I'm not sure I understand this paragraph; what is it

Re: [PATCH 3/5] gpio/omap: Add DT support to GPIO driver

2013-04-11 Thread Stephen Warren
On 04/11/2013 04:16 PM, Linus Walleij wrote: On Thu, Apr 11, 2013 at 10:30 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 04/10/2013 03:28 PM, Linus Walleij wrote: So the only reason I'm rambing on about this is that it breaks the I'm not sure I understand this paragraph; what is it

Re: [PATCH] USB: ehci-omap: Select USB_PHY

2013-04-11 Thread Alexander Holler
Am 11.04.2013 20:29, schrieb Felipe Balbi: and who said OMAP USB depends on CONFIG_USB_PHY ? Some platforms need to control a PHY and some don't. I've read that so. Go check out kernel 2.6.39 (maybe even 3.1 and 3.2) and you'll see that we're much better off today where we can actually have