[patch-net-next v2 3/3] net: ethernet: cpsw: don't requests IRQs we don't use

2015-01-14 Thread Felipe Balbi
-by: Felipe Balbi ba...@ti.com --- drivers/net/ethernet/ti/cpsw.c | 55 -- 1 file changed, 15 insertions(+), 40 deletions(-) diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c index c6c483f3e49f..ba09ff3c1695 100644 --- a/drivers/net/ethernet

Re: [PATCH 3/3] usb: dwc3: add a quirk for device disconnection issue in Synopsis dwc3 core

2015-01-14 Thread Felipe Balbi
Hi, On Wed, Jan 14, 2015 at 03:08:43PM +0800, Sneeker Yeh wrote: Hi Felipe: thanks for suggestion, 2015-01-13 1:20 GMT+08:00 Felipe Balbi ba...@ti.com: Hi, On Sun, Jan 11, 2015 at 11:19:55PM +0800, Sneeker Yeh wrote: enable the quirk only for you. Isn't there a better way

Re: dwc3 gadget fails on dra7-evm

2015-01-14 Thread Felipe Balbi
Hi, On Wed, Jan 14, 2015 at 05:44:08PM +0200, Roger Quadros wrote: In 3.19-rc4 on dra7-evm or dra72-evm modprobe g_zero [ 34.680683] zero gadget: Gadget Zero, version: Cinco de Mayo 2008 [ 34.687074] zero gadget: zero ready [ 34.694133] dwc3 4889.usb: failed to enable ep0out [

[patch-net-next v2 1/3] net: ethernet: cpsw: unroll IRQ request loop

2015-01-14 Thread Felipe Balbi
This patch is in preparation for a nicer IRQ handling scheme where we use different IRQ handlers for each IRQ line (as it should be). Later, we will also drop IRQs offset 0 and 3 because they are always disabled in this driver. Signed-off-by: Felipe Balbi ba...@ti.com --- drivers/net/ethernet

Re: [PATCH 1/2] irqchip: omap-intc: Fix support for dm814 and dm816

2015-01-13 Thread Felipe Balbi
() legacy function. Cc: Brian Hutchinson b.hutch...@gmail.com Cc: Felipe Balbi ba...@ti.com Signed-off-by: Tony Lindgren t...@atomide.com Thanks for documenting the binding :-s Reviewed-by: Felipe Balbi ba...@ti.com Acked-by: Felipe Balbi ba...@ti.com --- .../interrupt-controller/ti,omap

Re: [PATCH 2/2] irqchip: omap-intc: Remove unused legacy interface for omap2

2015-01-13 Thread Felipe Balbi
On Tue, Jan 13, 2015 at 02:23:26PM -0800, Tony Lindgren wrote: Nowadays omap2 is booting in device tree only mode so there is no need to keep the legacy interface around for omap2_init_irq(). Cc: Felipe Balbi ba...@ti.com Signed-off-by: Tony Lindgren t...@atomide.com Awesome, only one to go

[patch-net-next 1/3] net: ethernet: cpsw: unroll IRQ request loop

2015-01-13 Thread Felipe Balbi
This patch is in preparation for a nicer IRQ handling scheme where we use different IRQ handlers for each IRQ line (as it should be). Later, we will also drop IRQs offset 0 and 3 because they are always disabled in this driver. Signed-off-by: Felipe Balbi ba...@ti.com --- drivers/net/ethernet

Re: [PATCH 5/6] net: davinci_emac: Fix ioremap for devices with MDIO within the EMAC address space

2015-01-13 Thread Felipe Balbi
...@gmail.com Cc: Felipe Balbi ba...@ti.com Signed-off-by: Tony Lindgren t...@atomide.com --- drivers/net/ethernet/ti/davinci_emac.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/ti/davinci_emac.c b/drivers/net/ethernet/ti

[patch-net-next 2/3] net: ethernet: cpsw: split out IRQ handler

2015-01-13 Thread Felipe Balbi
Now we can introduce dedicated IRQ handlers for each of the IRQ events. This helps with cleaning up a little bit of the clutter in cpsw_interrupt() while also making sure that TX IRQs will try to handle TX buffers while RX IRQs will try to handle RX buffers. Signed-off-by: Felipe Balbi ba

[patch-net-next 3/3] net: ethernet: cpsw: don't requests IRQs we don't use

2015-01-13 Thread Felipe Balbi
-by: Felipe Balbi ba...@ti.com --- drivers/net/ethernet/ti/cpsw.c | 55 -- 1 file changed, 15 insertions(+), 40 deletions(-) diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c index c9081bdbbcbc..fd0acd9b41ae 100644 --- a/drivers/net/ethernet

Re: [PATCH 3/6] net: davinci_emac: Free clock after checking the frequency

2015-01-13 Thread Felipe Balbi
On Tue, Jan 13, 2015 at 01:48:24PM -0600, Tom Lendacky wrote: On 01/13/2015 01:29 PM, Tony Lindgren wrote: We only use clk_get() to get the frequency, the rest is done by the runtime PM calls. Let's free the clock too. Cc: Brian Hutchinson b.hutch...@gmail.com Cc: Felipe Balbi ba...@ti.com

Re: [PATCH 1/7] ARM: OMAP2+: Remove unused ti81xx platform init code

2015-01-13 Thread Felipe Balbi
unnecessary non-DT AM33xx support since that has never booted on legacy mode. Other than that Reviewed-by: Felipe Balbi ba...@ti.com Cc: Brian Hutchinson b.hutch...@gmail.com Signed-off-by: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/cclock3xxx_data.c | 6 +- arch/arm/mach-omap2

Re: [PATCH 2/7] ARM: OMAP2+: Fix error handling for omap2_clk_enable_init_clocks

2015-01-13 Thread Felipe Balbi
Just one minor nit below, other than that: Reviewed-by: Felipe Balbi ba...@ti.com --- arch/arm/mach-omap2/clock.c | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/mach-omap2/clock.c b/arch/arm/mach-omap2/clock.c index 6ad5b4d..89a0732 100644 --- a/arch/arm/mach-omap2

Re: [PATCH 6/7] ARM: OMAP2+: Fix reboot for 81xx

2015-01-13 Thread Felipe Balbi
On Tue, Jan 13, 2015 at 03:13:56PM -0800, Tony Lindgren wrote: We are missing proper hooks for 81xx for reboot to work. Cc: Brian Hutchinson b.hutch...@gmail.com Signed-off-by: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/Makefile | 1 + arch/arm/mach-omap2/common.h

Re: [PATCH 2/4] usb: dwc3: gadget: Stop TRB preparation after limit is reached

2015-01-13 Thread Felipe Balbi
Hi, On Tue, Jan 13, 2015 at 10:18:20AM +0530, Amit Virdi wrote: On 1/13/2015 12:04 AM, Felipe Balbi wrote: Hi, On Tue, Jan 06, 2015 at 11:44:23AM +0530, Amit Virdi wrote: I can certainly provide the dwc3 specific kernel bootup logs, full regdump and any loglevel you want me

Re: [PATCH 1/6] net: davinci_emac: Fix hangs with interrupts

2015-01-13 Thread Felipe Balbi
far I have not seen any issues with this based on my testing, so it seems to behave a little different compared to the cpsw that had a similar issue. Cc: Brian Hutchinson b.hutch...@gmail.com Cc: Felipe Balbi ba...@ti.com pretty much the same thing that happens with CPSW, I think

Re: [PATCH 2/6] net: davinci_emac: Fix runtime pm calls for davinci_emac

2015-01-13 Thread Felipe Balbi
the pm_runtime_get() call earlier, and also add it to the emac_dev_getnetstats(). Also note that we want to use pm_rutime_get_sync() as we don't want to have deferred_resume happen. Cc: Brian Hutchinson b.hutch...@gmail.com Cc: Felipe Balbi ba...@ti.com Cc: Mark A. Greer mgr...@animalcreek.com Signed-off

Re: [PATCH 5/6] net: davinci_emac: Fix ioremap for devices with MDIO within the EMAC address space

2015-01-13 Thread Felipe Balbi
On Tue, Jan 13, 2015 at 11:59:58AM -0800, Tony Lindgren wrote: * Felipe Balbi ba...@ti.com [150113 11:57]: On Tue, Jan 13, 2015 at 11:29:27AM -0800, Tony Lindgren wrote: Some devices like dm816x have the MDIO registers within the first EMAC instance address space. Let's fix the issue

Re: [PATCH 2/6] net: davinci_emac: Fix runtime pm calls for davinci_emac

2015-01-13 Thread Felipe Balbi
On Tue, Jan 13, 2015 at 12:54:40PM -0800, Tony Lindgren wrote: * Felipe Balbi ba...@ti.com [150113 11:55]: On Tue, Jan 13, 2015 at 11:29:24AM -0800, Tony Lindgren wrote: --- a/drivers/net/ethernet/ti/davinci_emac.c +++ b/drivers/net/ethernet/ti/davinci_emac.c @@ -1538,7 +1538,7

Re: [PATCH 3/3] usb: dwc3: add a quirk for device disconnection issue in Synopsis dwc3 core

2015-01-12 Thread Felipe Balbi
On Mon, Jan 12, 2015 at 06:29:43PM +0100, Paul Bolle wrote: On Mon, 2015-01-12 at 11:20 -0600, Felipe Balbi wrote: On Sun, Jan 11, 2015 at 11:19:55PM +0800, Sneeker Yeh wrote: in case i express unclearly i also put a pdf: https://drive.google.com/file/d/0B18MmcvvKjNNbDF6eEdHSzZCazA/view

Re: [PATCH 3/3] usb: dwc3: add a quirk for device disconnection issue in Synopsis dwc3 core

2015-01-12 Thread Felipe Balbi
Hi, On Sun, Jan 11, 2015 at 11:19:55PM +0800, Sneeker Yeh wrote: enable the quirk only for you. Isn't there a better way of enabling the quirk based off of revision detection couple with a look on GHWPARAMS* registers ? What's tricking me is this claim that only config-free

Re: [PATCH 1/5] mfd: tps65218: make INT[12] and STATUS registers volatile

2015-01-12 Thread Felipe Balbi
Hi, On Thu, Jan 08, 2015 at 10:25:12AM -0600, Felipe Balbi wrote: On Tue, Jan 06, 2015 at 11:37:34AM -0600, Felipe Balbi wrote: On Fri, Dec 26, 2014 at 01:28:20PM -0600, Felipe Balbi wrote: STATUS register can be modified by the HW, so we should bypass cache because

Re: [PATCH 2/4] usb: dwc3: gadget: Stop TRB preparation after limit is reached

2015-01-12 Thread Felipe Balbi
Hi, On Tue, Jan 06, 2015 at 11:44:23AM +0530, Amit Virdi wrote: I can certainly provide the dwc3 specific kernel bootup logs, full regdump and any loglevel you want me to, if that helps Yeah, if you can provide those, then that'll help me verifying. Full logs from boot to failure point with

Re: [PATCH] ARM: omap2plus_defconfig: Enable misc options for BeagleBoard-X15 platform

2015-01-08 Thread Felipe Balbi
hi, On Thu, Jan 08, 2015 at 03:49:11PM -0600, Nishanth Menon wrote: On Thu, Jan 8, 2015 at 3:25 PM, Felipe Balbi ba...@ti.com wrote: Hi, On Thu, Jan 08, 2015 at 03:14:40PM -0600, Nishanth Menon wrote: @@ -205,6 +206,7 @@ CONFIG_PINCTRL_SINGLE=y CONFIG_DEBUG_GPIO=y CONFIG_GPIO_SYSFS

Re: [PATCH] ARM: omap2plus_defconfig: Enable misc options for BeagleBoard-X15 platform

2015-01-08 Thread Felipe Balbi
On Thu, Jan 08, 2015 at 03:14:40PM -0600, Nishanth Menon wrote: BeagleBoard-X15 has options such as rtc, fan that need to be functional Signed-off-by: Nishanth Menon n...@ti.com Reviewed-by: Felipe Balbi ba...@ti.com --- Applies on git://git.kernel.org/pub/scm/linux/kernel/git/tmlind

Re: [RFC] usb: dwc3: add DWC3_SKIP_USB3PHY and DWC3_SKIP_USB2_PHY quirks

2015-01-08 Thread Felipe Balbi
Hi, On Mon, Dec 08, 2014 at 09:35:51PM +0800, Jisheng Zhang wrote: On platforms which has native usb hosts/phys and pci-dwc3 controller, the dwc3 core may get the wrong usb2_phy and usb3_phy by devm_usb_get_phy(). It depends on which usb phy driver is initialized firstly, the usb_phy_generic

Re: [PATCH 1/5] mfd: tps65218: make INT[12] and STATUS registers volatile

2015-01-08 Thread Felipe Balbi
On Tue, Jan 06, 2015 at 11:37:34AM -0600, Felipe Balbi wrote: On Fri, Dec 26, 2014 at 01:28:20PM -0600, Felipe Balbi wrote: STATUS register can be modified by the HW, so we should bypass cache because of that. In the case of INT[12] registers, they are the ones that actually clear

Re: [PATCH] ARM: omap2plus_defconfig: Enable misc options for BeagleBoard-X15 platform

2015-01-08 Thread Felipe Balbi
Hi, On Thu, Jan 08, 2015 at 03:14:40PM -0600, Nishanth Menon wrote: @@ -205,6 +206,7 @@ CONFIG_PINCTRL_SINGLE=y CONFIG_DEBUG_GPIO=y CONFIG_GPIO_SYSFS=y CONFIG_GPIO_TWL4030=y +CONFIG_GPIO_PALMAS=y other than the power button, do you have anything else attached to a palmas GPIO ? We might

Re: [PATCH] ARM: DRA7: beagle-x15: hwmod: Fix boot crash with DEBUG_LL

2015-01-06 Thread Felipe Balbi
On Tue, Jan 06, 2015 at 08:05:17AM -0600, Nishanth Menon wrote: For using DEBUG_LL, enable CONFIG_DEBUG_OMAP4UART3 in menuconfig. Fixes: 90020c7 (ARM: OMAP: DRA7: hwmod: Create initial DRA7XX SoC data) Fixes: 90020c7b2c5e (ARM: OMAP: DRA7: hwmod: Create initial DRA7XX SoC data) what's

Re: [PATCH] net: ethernet: cpsw: ignore VLAN ID 1

2015-01-06 Thread Felipe Balbi
Hi, On Tue, Jan 06, 2015 at 02:13:23PM -0500, David Miller wrote: From: Felipe Balbi ba...@ti.com Date: Tue, 6 Jan 2015 11:43:32 -0600 CPSW completely hangs if we add, and later remove, VLAN ID #1. What happens is that after removing VLAN ID #1, no packets will be received by CPSW

Re: 3.19 on Nokia n900: audio quality awful

2015-01-06 Thread Felipe Balbi
On Tue, Jan 06, 2015 at 06:51:15PM +0100, Pavel Machek wrote: On Tue 2015-01-06 11:25:45, Felipe Balbi wrote: On Tue, Jan 06, 2015 at 06:04:33PM +0100, Pavel Machek wrote: Hi! In 3.18, sound is nice and clear. In 3.19, sound is unusable. It produces nasty tone when it should

[PATCH v2] irqchip: omap-intc: fix legacy DMA regression

2015-01-06 Thread Felipe Balbi
to linear irq domain) Cc: sta...@vger.kernel.org # v3.18 Tested-by: Aaro Koskinen aaro.koski...@iki.fi Tested-by: Tony Lindgren t...@atomide.com Signed-off-by: Felipe Balbi ba...@ti.com --- drivers/irqchip/irq-omap-intc.c | 26 +- 1 file changed, 21 insertions(+), 5 deletions

Re: 3.19 on Nokia n900: audio quality awful

2015-01-06 Thread Felipe Balbi
On Wed, Jan 07, 2015 at 12:13:41AM +0100, Pavel Machek wrote: On Tue 2015-01-06 17:04:15, Felipe Balbi wrote: Hi, On Tue, Jan 06, 2015 at 11:56:14PM +0100, Pavel Machek wrote: But I'm mounting it from userspace (using builtin initramfs inside zImage), with a poll loop that waits

Re: 3.19 on Nokia n900: audio quality awful

2015-01-06 Thread Felipe Balbi
Hi, On Tue, Jan 06, 2015 at 10:57:44PM +0100, Pavel Machek wrote: In 3.18, sound is nice and clear. In 3.19, sound is unusable. It produces nasty tone when it should be quiet, and there's at least as much noise as is sound. Unfortunately, list

Re: 3.19 on Nokia n900: audio quality awful

2015-01-06 Thread Felipe Balbi
Hi, On Wed, Jan 07, 2015 at 12:27:17AM +0200, Aaro Koskinen wrote: But I'm mounting it from userspace (using builtin initramfs inside zImage), with a poll loop that waits for a device to appear. Maybe if you do it from kernel you need to use root wait/delay etc. options? yeah, rootwait should

Re: 3.19 on Nokia n900: audio quality awful

2015-01-06 Thread Felipe Balbi
Hi, On Tue, Jan 06, 2015 at 09:50:00PM +0100, Pavel Machek wrote: On Tue 2015-01-06 14:28:57, Felipe Balbi wrote: On Tue, Jan 06, 2015 at 06:51:15PM +0100, Pavel Machek wrote: On Tue 2015-01-06 11:25:45, Felipe Balbi wrote: On Tue, Jan 06, 2015 at 06:04:33PM +0100, Pavel Machek

Re: [PATCH] net: ethernet: cpsw: ignore VLAN ID 1

2015-01-06 Thread Felipe Balbi
Hi, On Tue, Jan 06, 2015 at 04:59:11PM -0500, David Miller wrote: From: Felipe Balbi ba...@ti.com Date: Tue, 6 Jan 2015 14:31:19 -0600 What you're saying here is that you prefer to drop a feature that works for all other 1023 IDs because 1 ID is quirky. Sounds like overkill to me

Re: 3.19 on Nokia n900: audio quality awful

2015-01-06 Thread Felipe Balbi
Hi, On Tue, Jan 06, 2015 at 11:56:14PM +0100, Pavel Machek wrote: But I'm mounting it from userspace (using builtin initramfs inside zImage), with a poll loop that waits for a device to appear. Maybe if you do it from kernel you need to use root wait/delay etc. options? yeah,

Re: [PATCH] ARM: DRA7: beagle-x15: hwmod: Fix boot crash with DEBUG_LL

2015-01-06 Thread Felipe Balbi
Hi, On Tue, Jan 06, 2015 at 09:17:59AM -0600, Nishanth Menon wrote: On 01/06/2015 09:08 AM, Felipe Balbi wrote: On Tue, Jan 06, 2015 at 08:05:17AM -0600, Nishanth Menon wrote: For using DEBUG_LL, enable CONFIG_DEBUG_OMAP4UART3 in menuconfig. Fixes: 90020c7 (ARM: OMAP: DRA7: hwmod: Create

[PATCH] net: ethernet: cpsw: ignore VLAN ID 1

2015-01-06 Thread Felipe Balbi
ID 4095 because we only have 12 bits for VLAN IDs. Fixes: 3b72c2f (drivers: net:ethernet: cpsw: add support for VLAN) Cc: sta...@vger.kernel.org # v3.9+ Cc: Mugunthan V N mugunthan...@ti.com Tested-by: Schuyler Patton spat...@ti.com Signed-off-by: Felipe Balbi ba...@ti.com --- drivers/net

[PATCH] irqchip: omap-intc: fix legacy DMA regression

2015-01-06 Thread Felipe Balbi
to linear irq domain) Signed-off-by: Felipe Balbi ba...@ti.com --- drivers/irqchip/irq-omap-intc.c | 26 +- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/drivers/irqchip/irq-omap-intc.c b/drivers/irqchip/irq-omap-intc.c index 3c970259c0eb..6ef88f56cf8d 100644

Re: 3.19 on Nokia n900: audio quality awful

2015-01-06 Thread Felipe Balbi
On Tue, Jan 06, 2015 at 06:04:33PM +0100, Pavel Machek wrote: Hi! In 3.18, sound is nice and clear. In 3.19, sound is unusable. It produces nasty tone when it should be quiet, and there's at least as much noise as is sound. Unfortunately, list of mixers also changed (and there's cca 120

Re: [PATCH 2/5] mfd: tps65218: make INT1 our status_base register

2015-01-06 Thread Felipe Balbi
On Fri, Dec 26, 2014 at 01:28:21PM -0600, Felipe Balbi wrote: If we don't tell regmap-irq that our first status register is at offset 1, it will try to read offset zero, which is the chipid register. Fixes: 44b4dc6 mfd: tps65218: Add driver for the TPS65218 PMIC Cc: sta...@vger.kernel.org

Re: [PATCH 1/5] mfd: tps65218: make INT[12] and STATUS registers volatile

2015-01-06 Thread Felipe Balbi
On Fri, Dec 26, 2014 at 01:28:20PM -0600, Felipe Balbi wrote: STATUS register can be modified by the HW, so we should bypass cache because of that. In the case of INT[12] registers, they are the ones that actually clear the IRQ source at the time they are read. If we rely on the cache

Re: [PATCH V4] ARM: dts: am57xx-beagle-x15: Add GPIO controlled fan node

2015-01-05 Thread Felipe Balbi
have already reviewed this one previously: Reviewed-by: Felipe Balbi ba...@ti.com --- V4: Change format of the speed-map used. V3: https://patchwork.kernel.org/patch/5562121/ V2: https://patchwork.kernel.org/patch/5445111/ V1: https://patchwork.kernel.org/patch/5444911/ Enable and disable

Re: [PATCH V4] ARM: dts: am57xx-beagle-x15: Add GPIO controlled fan node

2015-01-05 Thread Felipe Balbi
On Mon, Jan 05, 2015 at 10:32:29AM -0600, Nishanth Menon wrote: TPS gpio now controls a 5v 500mA TL5209 regulator which may be supply a fan (such as AFB02505HHB) over J1 connector for various purposes. Provide device tree node to enable the same. Signed-off-by: Nishanth Menon n...@ti.com

Re: [PATCH 3/3] usb: dwc3: add a quirk for device disconnection issue in Synopsis dwc3 core

2015-01-05 Thread Felipe Balbi
Hi, On Sun, Jan 04, 2015 at 08:55:01PM +0800, Sneeker Yeh wrote: So far Fujitsu Semiconductor got Synopsys internal case id , that is Case: 8000679552. However the contents belongs this id cannot be referred except Fujitsu Semiconductor and Synopsys. Synopsis decide the official

[PATCH] arm: dts: am335x-bone-common: add collision and carrier sense pinmux

2015-01-05 Thread Felipe Balbi
-by: Felipe Balbi ba...@ti.com --- arch/arm/boot/dts/am335x-bone-common.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi index 6cc25ed..4b29fad 100644 --- a/arch/arm/boot/dts/am335x-bone-common.dtsi

Re: [PATCH 2/3] soc: ti: Add wkup_m3_ipc driver

2015-01-05 Thread Felipe Balbi
Hi, On Mon, Jan 05, 2015 at 04:49:08PM -0600, Dave Gerlach wrote: + /* + * Write a dummy message to the mailbox in order to trigger the RX + * interrupt to alert the M3 that data is available in the IPC + * registers. We must enable the IRQ here and disable it after in + * the

Re: 3.18.1-3.19-rc2: In-band Error seen by MPU

2015-01-05 Thread Felipe Balbi
Hi, On Mon, Jan 05, 2015 at 04:12:51PM -0800, Tony Lindgren wrote: * Aaro Koskinen aaro.koski...@iki.fi [150105 15:19]: Hi, On Mon, Jan 05, 2015 at 09:43:13AM -0600, Felipe Balbi wrote: On Sat, Jan 03, 2015 at 02:16:22PM +0200, Aaro Koskinen wrote: When updating (custom DM3730

Re: 3.18.1-3.19-rc2: In-band Error seen by MPU

2015-01-05 Thread Felipe Balbi
Hi, On Tue, Jan 06, 2015 at 01:16:21AM +0200, Aaro Koskinen wrote: Hi, On Mon, Jan 05, 2015 at 09:43:13AM -0600, Felipe Balbi wrote: On Sat, Jan 03, 2015 at 02:16:22PM +0200, Aaro Koskinen wrote: When updating (custom DM3730 board) from 3.18.1 ro 3.19-rc2 I see a In-band

Re: [PATCH V4] ARM: dts: am57xx-beagle-x15: Add GPIO controlled fan node

2015-01-05 Thread Felipe Balbi
On Mon, Jan 05, 2015 at 11:33:50AM -0600, Nishanth Menon wrote: On 01/05/2015 11:27 AM, Felipe Balbi wrote: On Mon, Jan 05, 2015 at 10:32:29AM -0600, Nishanth Menon wrote: TPS gpio now controls a 5v 500mA TL5209 regulator which may be supply a fan (such as AFB02505HHB) over J1 connector

Re: [PATCH 3/3] remoteproc: wkup_m3: Add wkup_m3 remote proc driver

2015-01-05 Thread Felipe Balbi
Hi, On Mon, Jan 05, 2015 at 02:10:14PM -0600, Dave Gerlach wrote: Add a remoteproc driver to load the firmware for and boot the wkup_m3 present on am33xx. The wkup_m3 is an integrated Cortex M3 that allows the SoC to enter the lowest possible power state by taking control from the MPU

Re: [PATCH 2/3] usb: dwc3: add Fujitsu Specific Glue layer

2015-01-05 Thread Felipe Balbi
Hi, On Mon, Jan 05, 2015 at 04:28:34PM +0100, Arnd Bergmann wrote: On Friday 02 January 2015 19:21:28 Felipe Balbi wrote: On Tue, Dec 30, 2014 at 11:12:51AM +0100, Arnd Bergmann wrote: On Monday 29 December 2014 01:52:04 Sneeker Yeh wrote: +static int dwc3_mb86s70_remove_child

Re: 3.18.1-3.19-rc2: In-band Error seen by MPU

2015-01-05 Thread Felipe Balbi
, so I made another bisection between 3.17 and 3.18 using the above patch to trigger the issue, and I got: 55601c9f24670ba926ebdd4d712ac3b177232330 is the first bad commit commit 55601c9f24670ba926ebdd4d712ac3b177232330 Author: Felipe Balbi ba...@ti.com Date: Mon Sep 8 17:54:58 2014 -0700

Re: [PATCH 2/3] usb: dwc3: add Fujitsu Specific Glue layer

2015-01-05 Thread Felipe Balbi
Hi, On Sun, Jan 04, 2015 at 09:16:01PM +0800, Sneeker Yeh wrote: Then dwc3 core won't be always created via sub node in platform glue node, and vendors like us can just drop platform glue which don't have any specific platform code to wrap dwc3 core, and just directly use dwc3 core

Re: [PATCH 3/4] net: ethernet: cpsw: split out IRQ handler

2015-01-02 Thread Felipe Balbi
201Mbits/sec. (so do a lot of IoT devices). So you have the two patches that went by on BQL and on NAPI for the beagle? no, got any pointers ? On Fri, Jan 2, 2015 at 10:55 AM, Felipe Balbi ba...@ti.com wrote: Hi, On Fri, Jan 02, 2015 at 10:49:49AM -0800, Dave Taht wrote: +1

[PATCH 4/4] net: ethernet: cpsw: don't requests IRQs we don't use

2015-01-02 Thread Felipe Balbi
-by: Felipe Balbi ba...@ti.com --- drivers/net/ethernet/ti/cpsw.c | 55 -- 1 file changed, 15 insertions(+), 40 deletions(-) diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c index c9081bd..fd0acd9 100644 --- a/drivers/net/ethernet/ti/cpsw.c

[PATCH 3/4] net: ethernet: cpsw: split out IRQ handler

2015-01-02 Thread Felipe Balbi
Now we can introduce dedicated IRQ handlers for each of the IRQ events. This helps with cleaning up a little bit of the clutter in cpsw_interrupt() while also making sure that TX IRQs will try to handle TX buffers while RX IRQs will try to handle RX buffers. Signed-off-by: Felipe Balbi ba

[PATCH 1/4] net: ethernet: cpsw: fix hangs with interrupts

2015-01-02 Thread Felipe Balbi
for that platform. A read of the TRM confirms the statement on previous paragraph. Reported-by: Yegor Yefremov yegorsli...@googlemail.com Fixes: 510a1e7 (drivers: net: davinci_cpdma: acknowledge interrupt properly) Cc: sta...@vger.kernel.org # v3.9+ Signed-off-by: Felipe Balbi ba...@ti.com --- drivers

Re: [PATCH 3/4] net: ethernet: cpsw: split out IRQ handler

2015-01-02 Thread Felipe Balbi
in Cc ;-) on the beaglebone black.? do you remember that convo? yeah, testing on beagleboneblack and AM437x SK. cheers On Fri, Jan 2, 2015 at 10:10 AM, Felipe Balbi ba...@ti.com wrote: Now we can introduce dedicated IRQ handlers for each of the IRQ events. This helps with cleaning up

[PATCH] irqchip: omap-intc: improve IRQ handler

2015-01-02 Thread Felipe Balbi
report it. With this patch average running time of omap_intc_handle_irq() reduced from about 28.5us to 19.8us as measured by the kernel function profiler. Tested with BeagleBoneBlack Rev A5C. Signed-off-by: Felipe Balbi ba...@ti.com --- Before applying, it would be very nice to get reports from

[PATCH 0/4] net: cpsw: fix hangs and improve IRQ handling

2015-01-02 Thread Felipe Balbi
for v3.20 merge window. Felipe Balbi (4): net: ethernet: cpsw: fix hangs with interrupts net: ethernet: cpsw: unroll IRQ request loop net: ethernet: cpsw: split out IRQ handler net: ethernet: cpsw: don't requests IRQs we don't use drivers/net/ethernet/ti/cpsw.c | 81

[PATCH 2/4] net: ethernet: cpsw: unroll IRQ request loop

2015-01-02 Thread Felipe Balbi
This patch is in preparation for a nicer IRQ handling scheme where we use different IRQ handlers for each IRQ line (as it should be). Later, we will also drop IRQs offset 0 and 3 because they are always disabled in this driver. Signed-off-by: Felipe Balbi ba...@ti.com --- drivers/net/ethernet

Re: [PATCH 2/3] soc: ti: Add wkup_m3_ipc driver

2015-01-02 Thread Felipe Balbi
On Fri, Jan 02, 2015 at 02:00:16PM -0600, Dave Gerlach wrote: Introduce a wkup_m3_ipc driver to handle communication between the MPU and Cortex M3 wkup_m3 present on am335x. This driver is responsible for actually booting the wkup_m3_rproc and also handling all IPC which is done using the

Re: [PATCH 3/3] remoteproc: wkup_m3: Add wkup_m3 remote proc driver

2015-01-02 Thread Felipe Balbi
On Fri, Jan 02, 2015 at 01:51:59PM -0600, Dave Gerlach wrote: Add a remoteproc driver to load the firmware for and boot the wkup_m3 present on am33xx. The wkup_m3 is an integrated Cortex M3 that allows the SoC to enter the lowest possible power state by taking control from the MPU after it has

Re: [PATCH] irqchip: omap-intc: improve IRQ handler

2015-01-02 Thread Felipe Balbi
On Fri, Jan 02, 2015 at 01:32:51PM -0800, Tony Lindgren wrote: * Felipe Balbi ba...@ti.com [150102 10:50]: as it turns out the current IRQ number will *always* be available from SIR register which renders the reads of PENDING registers as plain unnecessary overhead. In order to catch

Re: [PATCH 2/3] soc: ti: Add wkup_m3_ipc driver

2015-01-02 Thread Felipe Balbi
On Fri, Jan 02, 2015 at 02:16:43PM -0600, Felipe Balbi wrote: On Fri, Jan 02, 2015 at 02:00:16PM -0600, Dave Gerlach wrote: Introduce a wkup_m3_ipc driver to handle communication between the MPU and Cortex M3 wkup_m3 present on am335x. This driver is responsible for actually booting

[PATCH] net: ethernet: cpsw: fix hangs with interrupts

2015-01-02 Thread Felipe Balbi
for that platform. A read of the TRM confirms the statement on previous paragraph. Reported-by: Yegor Yefremov yegorsli...@googlemail.com Fixes: 510a1e7 (drivers: net: davinci_cpdma: acknowledge interrupt properly) Cc: sta...@vger.kernel.org # v3.9+ Signed-off-by: Felipe Balbi ba...@ti.com --- should

[PATCH v2] irqchip: omap-intc: improve IRQ handler

2015-01-02 Thread Felipe Balbi
report it. With this patch average running time of omap_intc_handle_irq() reduced from about 28.5us to 19.8us as measured by the kernel function profiler. Tested with BeagleBoneBlack Rev A5C. Tested-by: Tony Lindgren t...@atomide.com Signed-off-by: Felipe Balbi ba...@ti.com --- Changes since v1

Re: [PATCH 0/4] net: cpsw: fix hangs and improve IRQ handling

2015-01-02 Thread Felipe Balbi
On Fri, Jan 02, 2015 at 04:45:36PM -0500, David Miller wrote: From: Felipe Balbi ba...@ti.com Date: Fri, 2 Jan 2015 12:10:24 -0600 In any case, patch 1 should go in during the -rc an get backported all the way back to v3.9, while the other patches can (should) be delayed for v3.20 merge

Re: [PATCH 3/4] net: ethernet: cpsw: split out IRQ handler

2015-01-02 Thread Felipe Balbi
Hi, On Fri, Jan 02, 2015 at 02:56:36PM -0800, Dave Taht wrote: On Fri, Jan 2, 2015 at 11:03 AM, Felipe Balbi ba...@ti.com wrote: Hi, (please use reply-all to keep mailing lists in Cc, also avoid top-posting) I am trying not to read netdev right now... and failing, obviously. oops

Re: [PATCH 2/3] usb: dwc3: add Fujitsu Specific Glue layer

2015-01-02 Thread Felipe Balbi
Hi, On Tue, Dec 30, 2014 at 11:12:51AM +0100, Arnd Bergmann wrote: On Monday 29 December 2014 01:52:04 Sneeker Yeh wrote: +static int dwc3_mb86s70_remove_child(struct device *dev, void *unused) +{ + struct platform_device *pdev = to_platform_device(dev); + +

Re: [PATCH 2/4] usb: dwc3: gadget: Stop TRB preparation after limit is reached

2014-12-30 Thread Felipe Balbi
On Tue, Dec 30, 2014 at 08:11:13PM +0530, Amit Virdi wrote: The only reason why I have not been able to test these fixes on the latest is because the customized webcam gadget is not ported on the latest kernel. There have been a lot of changes in the video framework lately and that is not

Re: am335x: cpsw: interrupt failure

2014-12-30 Thread Felipe Balbi
Hi, On Mon, Dec 29, 2014 at 11:13:55AM -0600, Felipe Balbi wrote: U-Boot version: 2014.07 Kernel config is omap2plus with enabled USB # cat /proc/version Linux version 3.18.0 (user@user-VirtualBox) (gcc version 4.8.3 20140320 (prerelease) (Sourcery CodeBench Lite

Re: am335x: cpsw: interrupt failure

2014-12-29 Thread Felipe Balbi
On Mon, Dec 29, 2014 at 10:33:26AM +0100, Yegor Yefremov wrote: On Fri, Dec 12, 2014 at 8:19 PM, Yegor Yefremov yegorsli...@googlemail.com wrote: On Fri, Dec 12, 2014 at 6:32 PM, Felipe Balbi ba...@ti.com wrote: Hi, On Fri, Dec 12, 2014 at 01:00:51PM +0100, Yegor Yefremov wrote: U-Boot

Re: [PATCH 3/3] usb: dwc3: add a quirk for device disconnection issue in Synopsis dwc3 core

2014-12-29 Thread Felipe Balbi
Hi, On Mon, Dec 29, 2014 at 04:07:50PM +0800, Sneeker Yeh wrote: Hi, 2014-12-29 14:41 GMT+08:00 Sneeker Yeh sneeker@gmail.com: Hi, 2014-12-22 23:37 GMT+08:00 Felipe Balbi ba...@ti.com: On Tue, Dec 16, 2014 at 10:10:28AM +0800, Sneeker Yeh wrote: Synopsis DesignWare USB3 IP

Re: [PATCH 2/3] usb: dwc3: add Fujitsu Specific Glue layer

2014-12-29 Thread Felipe Balbi
Hi, On Mon, Dec 29, 2014 at 01:52:04AM +0800, Sneeker Yeh wrote: Hi, 2014-12-22 23:59 GMT+08:00 Felipe Balbi ba...@ti.com: Hi, On Tue, Dec 16, 2014 at 10:10:27AM +0800, Sneeker Yeh wrote: This patch adds support for Synopsis DesignWare USB3 IP Core found on Fujitsu Socs

Re: [PATCH 2/4] usb: dwc3: gadget: Stop TRB preparation after limit is reached

2014-12-29 Thread Felipe Balbi
Hi, On Mon, Dec 29, 2014 at 12:05:57PM +0530, Amit Virdi wrote: When SG is used, there are two loops iterating to prepare TRBs: - Outer loop over the request_list - Inner loop over the SG list The driver must stop preparing TRBs when the max TRBs have been prepared. The

Re: am335x: cpsw: interrupt failure

2014-12-29 Thread Felipe Balbi
On Mon, Dec 29, 2014 at 08:51:04AM -0800, Tony Lindgren wrote: * Felipe Balbi ba...@ti.com [141229 07:53]: On Mon, Dec 29, 2014 at 10:33:26AM +0100, Yegor Yefremov wrote: On Fri, Dec 12, 2014 at 8:19 PM, Yegor Yefremov yegorsli...@googlemail.com wrote: On Fri, Dec 12, 2014 at 6:32 PM

Re: [PATCH 3/7] mfd: menelaus: add initial DT support

2014-12-29 Thread Felipe Balbi
Hi, On Mon, Dec 29, 2014 at 01:34:45AM +0200, Aaro Koskinen wrote: Add initial DT support. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- Documentation/devicetree/bindings/mfd/menelaus.txt | 30 + drivers/mfd/menelaus.c | 52

Re: [PATCH 1/4] usb: dwc3: gadget: Fix TRB preparation during SG

2014-12-27 Thread Felipe Balbi
Hi, On Sat, Dec 27, 2014 at 12:39:23PM +0530, Amit Virdi wrote: On Mon, Dec 22, 2014 at 9:34 PM, Felipe Balbi ba...@ti.com wrote: On Fri, Dec 19, 2014 at 12:40:15PM +0530, Amit Virdi wrote: When scatter gather is used, multiple TRBs are prepared from one DWC3 request. Hence, we must set

Re: [PATCH 2/4] usb: dwc3: gadget: Stop TRB preparation after limit is reached

2014-12-27 Thread Felipe Balbi
Hi, On Sat, Dec 27, 2014 at 01:24:03PM +0530, Amit Virdi wrote: On Mon, Dec 22, 2014 at 9:36 PM, Felipe Balbi ba...@ti.com wrote: On Fri, Dec 19, 2014 at 12:40:16PM +0530, Amit Virdi wrote: When SG is used, there are two loops iterating to prepare TRBs: - Outer loop over the request_list

Re: [PATCH 3/7] mfd: menelaus: add initial DT support

2014-12-27 Thread Felipe Balbi
On Sat, Dec 27, 2014 at 07:52:55PM +0200, Aaro Koskinen wrote: Add initial DT support. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi --- Documentation/devicetree/bindings/mfd/menelaus.txt | 30 + drivers/mfd/menelaus.c | 52

Re: [PATCH] arm: omap: reduce zImage size on omap2plus_defconfig

2014-12-26 Thread Felipe Balbi
Hi, On Fri, Dec 26, 2014 at 01:56:26PM +0200, Igor Grinberg wrote: Tony, your call. I think we should move omap2plus_defconfig to be mostly modular and usable for distros as a base. Most distros prefer to build almost everything as loadable modules. And my preference is that we should

Re: [PATCH] arm: omap: reduce zImage size on omap2plus_defconfig

2014-12-26 Thread Felipe Balbi
Hi, On Fri, Dec 26, 2014 at 02:42:07PM +0100, Javier Martinez Canillas wrote: Hello all, On Fri, Dec 26, 2014 at 12:56 PM, Igor Grinberg grinb...@compulab.co.il wrote: Tony, your call. I think we should move omap2plus_defconfig to be mostly modular and usable for distros as a base.

Re: [PATCH] arm: omap: reduce zImage size on omap2plus_defconfig

2014-12-26 Thread Felipe Balbi
Hi, On Fri, Dec 26, 2014 at 02:08:10PM +0200, Igor Grinberg wrote: I think we should move omap2plus_defconfig to be mostly modular and usable for distros as a base. Most distros prefer to build almost everything as loadable modules. And my preference is that we should only keep the

Re: [PATCH] arm: omap: reduce zImage size on omap2plus_defconfig

2014-12-26 Thread Felipe Balbi
Hi, On Fri, Dec 26, 2014 at 03:04:00PM +0200, grygorii.stras...@linaro.org wrote: Tony, your call May be it will be good thing to split this patch. That way more information will be stored in commit log about which set of options gives us what benefits. And also, It will allow to

Re: [PATCH] arm: omap: reduce zImage size on omap2plus_defconfig

2014-12-26 Thread Felipe Balbi
On Fri, Dec 26, 2014 at 08:13:49AM -0800, Tony Lindgren wrote: * Felipe Balbi ba...@ti.com [141226 07:29]: On Fri, Dec 26, 2014 at 03:04:00PM +0200, grygorii.stras...@linaro.org wrote: Tony, your call May be it will be good thing to split this patch. That way more

[PATCH 5/5] arm: omap2plus_defconfig: enable TPS65218 power button

2014-12-26 Thread Felipe Balbi
Enable tps65218 power button driver by default as a dynamically linked module so AM437x SK can report power button presses. Signed-off-by: Felipe Balbi ba...@ti.com --- arch/arm/configs/omap2plus_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/omap2plus_defconfig

[PATCH 0/5] AM437x SK: Add power-button support

2014-12-26 Thread Felipe Balbi
Hi, the following patches add tps65218 power button support and make it usable with AM437x SK. Developed and tested on top of v3.19-rc1. Logs at [1] [1] http://hastebin.com/ecopenuqot Felipe Balbi (5): mfd: tps65218: make INT[12] and STATUS registers volatile mfd: tps65218: make INT1 our

[PATCH 1/5] mfd: tps65218: make INT[12] and STATUS registers volatile

2014-12-26 Thread Felipe Balbi
our IRQ line to be disabled due to IRQ throttling. Fixes: 44b4dc6 mfd: tps65218: Add driver for the TPS65218 PMIC Cc: sta...@vger.kernel.org # v3.15+ Cc: Keerthy j-keer...@ti.com Cc: Lee Jones lee.jo...@linaro.org Signed-off-by: Felipe Balbi ba...@ti.com --- drivers/mfd/tps65218.c | 11

[PATCH 2/5] mfd: tps65218: make INT1 our status_base register

2014-12-26 Thread Felipe Balbi
...@linaro.org Signed-off-by: Felipe Balbi ba...@ti.com --- drivers/mfd/tps65218.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/tps65218.c b/drivers/mfd/tps65218.c index 2243f75..d6b7643 100644 --- a/drivers/mfd/tps65218.c +++ b/drivers/mfd/tps65218.c @@ -204,6 +204,7 @@ static struct

[PATCH 3/5] input: misc: add tps65218 power button driver

2014-12-26 Thread Felipe Balbi
With this driver, we can report KEY_POWER on AM437x SK. This patch has been tested with said board. Signed-off-by: Felipe Balbi ba...@ti.com --- drivers/input/misc/Kconfig | 10 +++ drivers/input/misc/Makefile | 1 + drivers/input/misc/tps65218-pwrbutton.c | 135

[PATCH 4/5] arm: boot: dts: am437x-sk: add power button binding

2014-12-26 Thread Felipe Balbi
Let this board report KEY_POWER so upper layers can decide what to do when power button is pressed. Signed-off-by: Felipe Balbi ba...@ti.com --- arch/arm/boot/dts/am437x-sk-evm.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/am437x-sk-evm.dts b/arch/arm/boot/dts

Re: [PATCH 3/5] input: misc: add tps65218 power button driver

2014-12-26 Thread Felipe Balbi
Hi, On Fri, Dec 26, 2014 at 01:28:22PM -0600, Felipe Balbi wrote: +static struct of_device_id of_tps65218_pwr_match[] = { + { .compatible = ti,tps65218-pwrbutton }, forgot to document this compatible. I'll add it localy but still wait a a few days before resending so people have time

Re: [PATCH] arm: omap: reduce zImage size on omap2plus_defconfig

2014-12-26 Thread Felipe Balbi
Hi, On Fri, Dec 26, 2014 at 08:38:10PM +0100, Javier Martinez Canillas wrote: I wonder the same thing, but look at multi_v7_defconfig today. Almost everything is built-in, which makes the kernel image enormous (5.5MiB). to get rid of the SoC specific configs then and just use the single

[PATCH] arm: boot: dts: am437x-idk: add gpio-based power key

2014-12-26 Thread Felipe Balbi
AM437x IDK board has a User Switch which we can program to whatever we want. Because this board doesn't have a PMIC which can give us power button presses, let's use this user switch as a gpio-keys power button. Signed-off-by: Felipe Balbi ba...@ti.com --- depends on [1]. Boot logs at [2]. Note

[PATCH v2] arm: boot: dts: am437x-idk: add gpio-based power key

2014-12-26 Thread Felipe Balbi
AM437x IDK board has a User Switch which we can program to whatever we want. Because this board doesn't have a PMIC which can give us power button presses, let's use this user switch as a gpio-keys power button. Signed-off-by: Felipe Balbi ba...@ti.com --- Changes since v1: - Add

[PATCH v2 3/5] input: misc: add tps65218 power button driver

2014-12-26 Thread Felipe Balbi
With this driver, we can report KEY_POWER on AM437x SK. This patch has been tested with said board. Signed-off-by: Felipe Balbi ba...@ti.com --- Changes since v1: - Add device tree documentation - s/ret/error - removed 'pressed' as input core will filter events

<    1   2   3   4   5   6   7   8   9   10   >