Re: [PATCH v5 2/9] mfd: omap-usb-host: Get clocks based on hardware revision

2014-01-20 Thread Roger Quadros
On 01/10/2014 04:26 PM, Lee Jones wrote: On Fri, 10 Jan 2014, Arnd Bergmann wrote: On Friday 10 January 2014, Lee Jones wrote: - need_logic_fck = false; + /* Set all clocks as invalid to begin with */ + omap-ehci_logic_fck = omap-init_60m_fclk = ERR_PTR(-EINVAL); +

Re: [PATCH v5 3/9] mfd: omap-usb-host: Update DT clock binding information

2014-01-20 Thread Roger Quadros
On 01/10/2014 12:11 PM, Lee Jones wrote: On Thu, 09 Jan 2014, Roger Quadros wrote: The omap-usb-host driver expects certained named clocks. Add this information to the DT binding document. Use clock names as per function for reference clocks. CC: Lee Jones lee.jo...@linaro.org CC: Samuel

[PATCH] spi: omap2-mcspi: Fix mcspi FIFO usage

2014-01-20 Thread Sourav Poddar
The following commit add Fifo support for omap mcspi. commit d33f473dcd8e69321f001ba330d648f475b504c9 Author: Illia Smyrnov illia.smyr...@ti.com Date: Mon Jun 17 16:31:06 2013 +0300 spi: omap2-mcspi: Add FIFO buffer support Currently, enabling of FIFO is done based on rx_buf or tx_buf

Re: Deadlock in do_page_fault() on ARM (old kernel)

2014-01-20 Thread Michal Hocko
On Wed 15-01-14 20:13:04, Alan Ott wrote: [...] 2. __copy_to_user_memcpy() takes a read lock (down_read()) on This looks like a bug. copy_to_user_* shouldn't take mmap_sem at all Check the might_fault annotation used in generic code. Arm version of copy_to_user* doesn't seem to use the

Re: [PATCH v2 2/3] bq2415x_charger: Use power_supply notifier for automode

2014-01-20 Thread Russell King - ARM Linux
And another one using that evil mail-followup-to header: Mail-Followup-To: Pali Rohár pali.ro...@gmail.com, Anton Vorontsov an...@enomsg.org, Michael Trimarchi mich...@amarulasolutions.com, David Woodhouse dw...@infradead.org, Tony Lindgren t...@atomide.com,

Re: AM335x USB DMA seems broken on ISOC URBs

2014-01-20 Thread Daniel Mack
On 01/18/2014 04:12 PM, Daniel Mack wrote: On 01/17/2014 05:27 PM, Ezequiel Garcia wrote: On Sun, Dec 22, 2013 at 02:59:45AM -0300, Ezequiel Garcia wrote: While doing some experiments with the stk1160 driver (for Easycap TV video capture devices), ran into problems using v3.13-rc4. The

Re: [PATCH v2 2/3] bq2415x_charger: Use power_supply notifier for automode

2014-01-20 Thread Sebastian Reichel
On Mon, Jan 20, 2014 at 10:21:29AM +, Russell King - ARM Linux wrote: And another one using that evil mail-followup-to header: Mail-Followup-To: Pali Rohár pali.ro...@gmail.com, Anton Vorontsov an...@enomsg.org, Michael Trimarchi mich...@amarulasolutions.com,

Re: AM335x USB DMA seems broken on ISOC URBs

2014-01-20 Thread Ezequiel Garcia
On Mon, Jan 20, 2014 at 12:15:40PM +0100, Daniel Mack wrote: On 01/18/2014 04:12 PM, Daniel Mack wrote: On 01/17/2014 05:27 PM, Ezequiel Garcia wrote: On Sun, Dec 22, 2013 at 02:59:45AM -0300, Ezequiel Garcia wrote: While doing some experiments with the stk1160 driver (for Easycap TV

[net-next PATCH 1/1] drivers: net: cpsw: enable promiscuous mode support

2014-01-20 Thread Mugunthan V N
Enable promiscuous mode support for CPSW. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- drivers/net/ethernet/ti/cpsw.c | 101 - drivers/net/ethernet/ti/cpsw_ale.c | 16 ++ drivers/net/ethernet/ti/cpsw_ale.h | 2 + 3 files changed, 94

[PATCH v6 03/10] mfd: omap-usb-host: Use clock names as per function for reference clocks

2014-01-20 Thread Roger Quadros
Use a meaningful name for the reference clocks so that it indicates the function. CC: Lee Jones lee.jo...@linaro.org CC: Samuel Ortiz sa...@linux.intel.com Signed-off-by: Roger Quadros rog...@ti.com --- drivers/mfd/omap-usb-host.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

[PATCH v6 09/10] ARM: dts: omap5-uevm: Provide USB PHY clock

2014-01-20 Thread Roger Quadros
The HS USB 2 PHY gets its clock from AUXCLK1. Provide this information. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/omap5-uevm.dts | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/omap5-uevm.dts b/arch/arm/boot/dts/omap5-uevm.dts

[PATCH v6 04/10] mfd: omap-usb-host: Update DT clock binding information

2014-01-20 Thread Roger Quadros
The omap-usb-host driver expects certained named clocks. Add this information to the DT binding document. CC: Lee Jones lee.jo...@linaro.org CC: Samuel Ortiz sa...@linux.intel.com Signed-off-by: Roger Quadros rog...@ti.com --- .../devicetree/bindings/mfd/omap-usb-host.txt | 23

[PATCH v6 10/10] ARM: OMAP2+: Remove legacy_init_ehci_clk()

2014-01-20 Thread Roger Quadros
The necessary clock phandle for the EHCI clock is now provided via device tree so we no longer need this legacy method. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/mach-omap2/pdata-quirks.c | 16 1 file changed, 16 deletions(-) diff --git

[PATCH v6 08/10] ARM: dts: omap4-panda: Provide USB PHY clock

2014-01-20 Thread Roger Quadros
The USB PHY gets its clock from AUXCLK3. Provide this information. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/omap4-panda-common.dtsi | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/omap4-panda-common.dtsi

[PATCH v6 07/10] ARM: dts: omap5: Update omap-usb-host node

2014-01-20 Thread Roger Quadros
The omap-usb-host driver expects a certain name for internal and external reference clocks. Provide these clocks. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/omap5.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/omap5.dtsi

[PATCH v6 05/10] mfd: omap-usb-tll: Update DT clock binding information

2014-01-20 Thread Roger Quadros
The omap-usb-tll driver needs one clock for each TLL channel. Add this information to the DT binding document. CC: Lee Jones lee.jo...@linaro.org CC: Samuel Ortiz sa...@linux.intel.com Signed-off-by: Roger Quadros rog...@ti.com --- Documentation/devicetree/bindings/mfd/omap-usb-tll.txt | 10

[PATCH v6 02/10] mfd: omap-usb-host: Get clocks based on hardware revision

2014-01-20 Thread Roger Quadros
Not all revisions have all the clocks so get the necessary clocks based on hardware revision. This should avoid un-necessary clk_get failure messages that were observed earlier. Be more strict and always fail on clk_get() error. CC: Lee Jones lee.jo...@linaro.org CC: Samuel Ortiz

[PATCH v6 01/10] mfd: omap-usb-host: Use resource managed clk_get()

2014-01-20 Thread Roger Quadros
Use devm_clk_get() instead of clk_get(). CC: Lee Jones lee.jo...@linaro.org CC: Samuel Ortiz sa...@linux.intel.com Signed-off-by: Roger Quadros rog...@ti.com Acked-by: Lee Jones lee.jo...@linaro.org --- drivers/mfd/omap-usb-host.c | 81 + 1 file

[PATCH v6 06/10] ARM: dts: omap4: Update omap-usb-host node

2014-01-20 Thread Roger Quadros
The omap-usb-host driver expects a certain name for internal and external reference clocks. Provide these clocks. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/omap4.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/omap4.dtsi

[PATCH v6 00/10] USB Host support for OMAP5 uEVM (for 3.14)

2014-01-20 Thread Roger Quadros
Hi Benoit Tony, This patchset brings up USB Host ports and Ethernet port on the OMAP5 uEVM board. It depends on the TI Clock DT conversion patches [1] and is based on 3.13 [1] - http://article.gmane.org/gmane.linux.ports.arm.kernel/293147 Tested on: - OMAP5 uEVM - Pandaboard ES Rev. B1 -

Re: [PATCH 0/6] N900 DTS additions for 3.14

2014-01-20 Thread Sebastian Reichel
On Sat, Jan 11, 2014 at 10:16:57PM +0100, Sebastian Reichel wrote: Here are a couple of additions for the Nokia N900 Device Tree Source file. All related drivers changes are queued for 3.14 (except for the tpa6130a2, which got merged into 3.13). I may have some more additions if the driver

Re: [PATCH] ARM: dts: Add basic devices for AM3517-craneboard

2014-01-20 Thread Nishanth Menon
. Good point, it is already -rc4. OK, I'll just queued it and pushed it to for_3.14/dts. I dont see this in next-20140120 yet - wondering if Tony or you have plans for one of .14 rcs OR if this is queued for .15. -- Regards, Nishanth Menon -- To unsubscribe from this list: send the line

Re: [PATCHv13 00/40] ARM: TI SoC clock DT conversion

2014-01-20 Thread Nishanth Menon
On 01/17/2014 07:20 PM, Nishanth Menon wrote: [...] I am running a defconfig set check on next-20140117 and will do one with next-20140118 once that is ready for comparison results baseline next-20140120 modified as follows: multi_v7_defconfig - added CONFIG_SOC_DRA7XX omap2plus_defconfig

Re: [PATCHv13 27/40] ARM: dts: omap3 clock data

2014-01-20 Thread Sebastian Reichel
Hi, I just found some time to update my SSI driver adding DT clock support. It works, but I wonder if the alias of the ssi clocks can be changed to something like the following: /* omap3430es1-clocks.dtsi */ ssi_ick: ssi_ick_3430es1 {}; ssi_ssr_fck: ssi_ssr_fck_3430es1 {}; ssi_sst_fck:

Re: Deadlock in do_page_fault() on ARM (old kernel)

2014-01-20 Thread Michal Hocko
On Mon 20-01-14 11:15:09, Michal Hocko wrote: On Wed 15-01-14 20:13:04, Alan Ott wrote: [...] 2. __copy_to_user_memcpy() takes a read lock (down_read()) on This looks like a bug. copy_to_user_* shouldn't take mmap_sem at all Check the might_fault annotation used in generic code. Arm

[PATCH] ARM: OMAP4+: move errata initialization to omap4_pm_init_early

2014-01-20 Thread Nishanth Menon
://patchwork.kernel.org/patch/3084521/ Reproduced with .config: http://slexy.org/view/s2EEdvTGXV on next-20140120 tag (based on omap2plus_defconfig) Applies on v3.13 tag and on next-20140120 Tested to boot on next-20140120 along with https://patchwork.kernel.org/patch/3084521/ on PandaBoard-ES

Re: [PATCH] ARM: dts: omap3-gta04: Add EOC irq gpio line handling.

2014-01-20 Thread Belisko Marek
Ping? Benoit can you please merge this trivial update. Thanks. On Sat, Dec 21, 2013 at 4:12 PM, Marek Belisko ma...@goldelico.com wrote: BMP085 EOC (End Of Conversion) irq line is connected to gpio113 on gta04. Set irq properties to have driver using irq instead polling for EOC.

Re: AM335x USB DMA seems broken on ISOC URBs

2014-01-20 Thread Ezequiel Garcia
[ 21.279722] BUG: spinlock cpu recursion on CPU#0, kworker/0:2/46 [ 21.286041] lock: 0xdf01e010, .magic: dead4ead, .owner: yavta/78, .owner_cpu: 0 [ 21.293800] CPU: 0 PID: 46 Comm: kworker/0:2 Not tainted 3.13.0-rc8-next-20140120-dirty #69 [ 21.302571] Workqueue: events

[PATCH] mmc: omap_hsmmc: Add support for Erratum 2.1.1.128 in device tree boot

2014-01-20 Thread Nishanth Menon
When device is booted using devicetree, platforms impacted by Erratum 2.1.1.128 is not detected easily in the mmc driver. This erratum indicates that the module cannot do multi-block transfers. Handle this by providing a boolean flag to indicate to driver that it is working on a hardware with

[PATCH] ARM: dts: omap3-ldp: fix mmc configuration

2014-01-20 Thread Nishanth Menon
MMC1 is the only MMC interface available on the platform. Further, since the platform is based on older revision of SoC which is not capable of doing multi-block writes, mark it so and add pinmux to ensure that all relevant pins are configured for non-MMC boot mode. Signed-off-by: Nishanth Menon

Re: [PATCH] mmc: omap_hsmmc: Add support for Erratum 2.1.1.128 in device tree boot

2014-01-20 Thread Felipe Balbi
On Mon, Jan 20, 2014 at 05:29:02PM -0600, Nishanth Menon wrote: When device is booted using devicetree, platforms impacted by Erratum 2.1.1.128 is not detected easily in the mmc driver. This erratum indicates that the module cannot do multi-block transfers. Handle this by providing a boolean

Re: Deadlock in do_page_fault() on ARM (old kernel)

2014-01-20 Thread Alan Ott
On 01/17/2014 08:20 PM, Russell King - ARM Linux wrote: On Fri, Jan 17, 2014 at 07:57:16PM -0500, Alan Ott wrote: On 01/17/2014 08:46 AM, Russell King - ARM Linux wrote: My suspicion therefore is that some other thread must have died while holding the mmap_sem, so there's probably a kernel

Re: [PATCHv13 27/40] ARM: dts: omap3 clock data

2014-01-20 Thread Tero Kristo
On 01/20/2014 08:00 PM, Sebastian Reichel wrote: Hi, I just found some time to update my SSI driver adding DT clock support. It works, but I wonder if the alias of the ssi clocks can be changed to something like the following: /* omap3430es1-clocks.dtsi */ ssi_ick: ssi_ick_3430es1 {};