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 {}; ssi_ssr_f

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 oops

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 boo

[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

[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 ment

Re: AM335x USB DMA seems broken on ISOC URBs

2014-01-20 Thread Ezequiel Garcia
ommand: # yavta /dev/video0 -l [ 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.3025

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 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. > > Signed-off-by: Marek Belisk

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

2014-01-20 Thread Nishanth Menon
/ 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 with multi_v7_defconfig: http://slexy.org

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

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: ssi_sst_fc

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_

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

2014-01-20 Thread Nishanth Menon
;>>> this up for v3.14-rc1? >>> >>> Yep, it looks good to me. >> Thanks benoit. >> >>> But if you don't mind I'll start pushing my branch after Xmas :-). >> >> As long as Tony is ok with it, I have no issues either - will be gr

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 driv

[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 - B

[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 CC: Samuel Ortiz Signed-off-by: Roger Quadros ---

[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 CC: Samuel Ortiz Signed-off-by: Roger Quadros Acked-by: Lee Jones --- drivers/mfd/omap-usb-host.c | 81 + 1 file changed, 16 insertions(+), 65 deletions(-) diff --git a/drivers/mfd/omap-usb-hos

[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 --- arch/arm/boot/dts/omap4.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi in

[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 --- arch/arm/boot/dts/omap5.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi in

[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 CC: Samuel Ortiz Signed-off-by: Roger Quadros --- Documentation/devicetree/bindings/mfd/omap-usb-tll.txt | 10 ++ 1 file changed, 10 insertions(+) diff --git a/

[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 --- arch/arm/mach-omap2/pdata-quirks.c | 16 1 file changed, 16 deletions(-) diff --git a/arch/arm/mach-omap2/pdata-quirks.c b/a

[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 --- 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 b/arch/arm/boot/dts/omap4-panda-com

[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 CC: Samuel Ortiz Signed-off-by: Roger Quadros --- .../devicetree/bindings/mfd/omap-usb-host.txt | 23 ++ 1 file changed, 23 insertions(+) diff --git

[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 --- 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 index 002fa70.

[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 CC: Samuel Ortiz Signed-off-by: Roger Quadros --- drivers/mfd/omap-usb-host.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/oma

[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 --- 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 insertions(+), 25 deletions(

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 "Easy

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 , > Anton Vorontsov , > Michael Trimarchi , > David Woodhouse , > Tony Lindgren , > Russell

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.

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 , Anton Vorontsov , Michael Trimarchi , David Woodhouse , Tony Lindgren , Russell King , linux-ker...@vger.kernel.org, Linux OMAP Mailing List , freemangor.

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 annotatio

[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 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 checks and only one of th

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 >> CC: Samuel Orti

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(-