Re: [PATCH v4 02/21] irqchip: tegra: add DT-based support for legacy interrupt controller

2015-01-19 Thread Peter De Schrijver
On Mon, Jan 19, 2015 at 09:43:56AM +, Marc Zyngier wrote: > Tegra's LIC (Legacy Interrupt Controller) has been so far only > supported as a weird extension of the GIC, which is not exactly > pretty. > > The stacked IRQ domain framework fits this pretty well, and allows > the LIC code to be tur

Re: [PATCH v4 16/21] DT: exynos: update PMU binding

2015-01-19 Thread Pankaj Dubey
Hi Marc, On Monday 19 January 2015 03:14 PM, Marc Zyngier wrote: Document the fact that some Exynos PMUs are capable of acting as an interrupt controller. Signed-off-by: Marc Zyngier --- Documentation/devicetree/bindings/arm/samsung/pmu.txt | 13 + 1 file changed, 13 insertions(

Re: [PATCH v4 15/21] ARM: exynos4/5: convert pmu wakeup to stacked domains

2015-01-19 Thread Pankaj Dubey
Hi Marc, On Monday 19 January 2015 03:14 PM, Marc Zyngier wrote: Exynos has been (ab)using the gic_arch_extn to provide wakeup from suspend, and it makes a lot of sense to convert this code to use stacked domains instead. This patch does just this, updating the DT files to actually reflect what

Re: [PATCH] ARM: OMAP: DRA7: hwmod: Make gpmc software supervised as the smart idle is broken

2015-01-19 Thread Paul Walmsley
On Tue, 20 Jan 2015, Keerthy wrote: > On Tuesday 13 January 2015 02:21 PM, Keerthy wrote: > > This patch fixes: 'omap_hwmod: gpmc: _wait_target_disable failed' > > error during suspend. > > > > This is because smart idle is broken. > > Tested in dra7-evm D1 board. > > Ping on this. > > > Signed

Re: [PATCH 1/5] ARM: AM43xx: hwmod: add VPFE hwmod entries

2015-01-19 Thread Paul Walmsley
Hi On Thu, 18 Dec 2014, Lad, Prabhakar wrote: > From: Benoit Parrot > > this patch adds VPFE HWMOD data for AM43xx. > > Signed-off-by: Benoit Parrot > Signed-off-by: Darren Etheridge > Signed-off-by: Felipe Balbi > Signed-off-by: Lad, Prabhakar ... > --- > arch/arm/mach-omap2/omap_hwmod

Re: [GIT PULL] ARM: OMAP: hwmod fixes for v3.19-rc

2015-01-19 Thread Paul Walmsley
Hi Tony On Mon, 19 Jan 2015, Tony Lindgren wrote: > * Paul Walmsley [150104 15:38]: > > The following changes since commit 97bf6af1f928216fd6c5a66e8a57bfa95a659672: > > > > Linux 3.19-rc1 (2014-12-20 17:08:50 -0800) > > > > are available in the git repository at: > > > > git://git.kernel.

Re: [PATCH] ARM: OMAP: DRA7: hwmod: Make gpmc software supervised as the smart idle is broken

2015-01-19 Thread Keerthy
Hi Tony, On Tuesday 13 January 2015 02:21 PM, Keerthy wrote: This patch fixes: 'omap_hwmod: gpmc: _wait_target_disable failed' error during suspend. This is because smart idle is broken. Tested in dra7-evm D1 board. Ping on this. Signed-off-by: Keerthy --- arch/arm/mach-omap2/omap_hwmod_

Re: [PATCH] ARM: OMAP2+: hwmod: print error if wait_target_ready() failed

2015-01-19 Thread Paul Walmsley
On Fri, 19 Dec 2014, Lokesh Vutla wrote: > Fixed pr_debug to pr_err when hwmod returns an error when enabling > a module. > > Signed-off-by: Lokesh Vutla Thanks, queued for v3.20 with Roger's ack. - Paul -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a

Re: [RFC/PATCH] arm: omap: hwmod: add debugfs interface

2015-01-19 Thread Paul Walmsley
On Fri, 5 Dec 2014, Felipe Balbi wrote: > By exposing the details of hwmod structures > to debugfs we can much more easily verify > that changes to hwmod data is correct and won't > cause regressions. > > The idea is that this can be used to check the > state of one hwmod, verify hwmod sysc field

Re: [GIT PULL] Urgent omap4 legacy interrupt regression fix for v3.19-rc series

2015-01-19 Thread Olof Johansson
On Mon, Jan 19, 2015 at 03:09:51PM -0800, Tony Lindgren wrote: > The following changes since commit 7ac72746aa9bb305fa74b44ec73eae99bbbe9b66: > > ARM: dts: Revert disabling of smc91x for n900 (2015-01-06 08:49:57 -0800) > > are available in the git repository at: > > git://git.kernel.org/pub

Re: [next-20150119]regression (mm)?

2015-01-19 Thread Kirill A. Shutemov
Felipe Balbi wrote: > Hi, > > On Mon, Jan 19, 2015 at 10:42:04AM -0600, Nishanth Menon wrote: > > Most platforms seem broken intoday's next tag. > > > > https://github.com/nmenon/kernel-test-logs/tree/next-20150119 > > (defconfig: omap2plus_defconfig) >

Re: [PATCH v9 3/3] clk: Add floor and ceiling constraints to clock rates

2015-01-19 Thread Stephen Boyd
On 01/19, Tomeu Vizoso wrote: > Adds a way for clock consumers to set maximum and minimum rates. This can be > used for thermal drivers to set ceiling rates, or by misc. drivers to set > floor rates to assure a minimum performance level. > > Changes the signature of the determine_rate callback by

[GIT PULL] Urgent omap4 legacy interrupt regression fix for v3.19-rc series

2015-01-19 Thread Tony Lindgren
The following changes since commit 7ac72746aa9bb305fa74b44ec73eae99bbbe9b66: ARM: dts: Revert disabling of smc91x for n900 (2015-01-06 08:49:57 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap tags/omap-for-v3.19/gic-regression-v

[PATCH v2] MAINTAINERS: add OMAP defconfigs under OMAP SUPPORT

2015-01-19 Thread Felipe Balbi
omap2plus_defconfig and omap1_defconfig are also part of the OMAP Support maintained, because of that it's best to list them under OMAP SUPPORT on MAINTAINERS so people know to Cc linux-omap when patching them. Reported-by: Sjoerd Simons Signed-off-by: Felipe Balbi --- Add omap1_defconfig too

Re: [PATCH] MAINTAINERS: add omap2plus_defconfig under OMAP SUPPORT

2015-01-19 Thread Tony Lindgren
* Felipe Balbi [150119 13:59]: > On Mon, Jan 19, 2015 at 10:52:56PM +0100, Javier Martinez Canillas wrote: > > Hello Felipe, > > > > On Mon, Jan 19, 2015 at 10:45 PM, Felipe Balbi wrote: > > > omap2plus_defconfig is also part of the OMAP Support > > > maintained, because of that it's best to lis

Re: [PATCH] MAINTAINERS: add omap2plus_defconfig under OMAP SUPPORT

2015-01-19 Thread Felipe Balbi
On Mon, Jan 19, 2015 at 10:52:56PM +0100, Javier Martinez Canillas wrote: > Hello Felipe, > > On Mon, Jan 19, 2015 at 10:45 PM, Felipe Balbi wrote: > > omap2plus_defconfig is also part of the OMAP Support > > maintained, because of that it's best to list it > > under OMAP SUPPORT on MAINTAINERS s

Re: [PATCH] MAINTAINERS: add omap2plus_defconfig under OMAP SUPPORT

2015-01-19 Thread Javier Martinez Canillas
Hello Felipe, On Mon, Jan 19, 2015 at 10:45 PM, Felipe Balbi wrote: > omap2plus_defconfig is also part of the OMAP Support > maintained, because of that it's best to list it > under OMAP SUPPORT on MAINTAINERS so people know > to Cc linux-omap when patching that file. > > Reported-by: Sjoerd Simo

[PATCH] MAINTAINERS: add omap2plus_defconfig under OMAP SUPPORT

2015-01-19 Thread Felipe Balbi
omap2plus_defconfig is also part of the OMAP Support maintained, because of that it's best to list it under OMAP SUPPORT on MAINTAINERS so people know to Cc linux-omap when patching that file. Reported-by: Sjoerd Simons Signed-off-by: Felipe Balbi --- MAINTAINERS | 1 + 1 file changed, 1 insert

Re: [PATCH v2] ARM: omap2plus_defconfig: Enable OHCI & EHCI HCD support

2015-01-19 Thread Felipe Balbi
On Mon, Jan 19, 2015 at 10:28:36PM +0100, Sjoerd Simons wrote: > Enable CONFIG_USB_EHCI_HCD and CONFIG_USB_OHCI_HCD to get USB supports > with omap2plus_defconfig. > > Signed-off-by: Sjoerd Simons Reviewed-by: Felipe Balbi > --- > Changes in v2: Enable as modules rather then builtin > > arch

Re: [PATCH 3.19-rc2 v15 5/8] arm: omap1: Migrate debug_ll macros to use 8250.S

2015-01-19 Thread Tony Lindgren
* Daniel Thompson [150105 04:49]: > The omap1's debug-macro.S is similar to the generic 8250 code. Compared to > the 8520 code the omap1 macro automatically determines what UART to use > based on breadcrumbs left by the bootloader and automatically copes with > the eccentric register layout on OMA

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

2015-01-19 Thread Tony Lindgren
* Felipe Balbi [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 any situation where SIR reads > as zero, we're adding a WARN() to turn it in

Re: [PATCH 0/2] ARM: l2c: OMAP4/AM437x: Additional register programming support.

2015-01-19 Thread Tony Lindgren
* Tony Lindgren [150119 13:35]: > * Nishanth Menon [150102 09:55]: > > On 01/02/2015 11:38 AM, Tony Lindgren wrote: > > > * Nishanth Menon [150102 09:20]: > > >> Hi, > > >> > > >> OMAP4 and AM437x ROM code provides services to program PL310's latency > > >> registers and AM437x provides service

Re: [PATCH] bluetooth: Add hci_h4p driver

2015-01-19 Thread Marcel Holtmann
Hi Pavel, > Add HCI driver for H4 with Nokia extensions. This device is used on > Nokia N900 cell phone. > > Older version of this driver lived in staging, before being reverted > in a4102f90e87cfaa3fdbed6fdf469b23f0eeb4bfd . > > Signed-off-by: Pavel Machek > Thanks-to: Sebastian Reichel > Tha

Re: [PATCH 0/2] ARM: l2c: OMAP4/AM437x: Additional register programming support.

2015-01-19 Thread Tony Lindgren
* Nishanth Menon [150102 09:55]: > On 01/02/2015 11:38 AM, Tony Lindgren wrote: > > * Nishanth Menon [150102 09:20]: > >> Hi, > >> > >> OMAP4 and AM437x ROM code provides services to program PL310's latency > >> registers and AM437x provides service for programming Address filter > >> registers.

[PATCH v2] ARM: omap2plus_defconfig: Enable OHCI & EHCI HCD support

2015-01-19 Thread Sjoerd Simons
Enable CONFIG_USB_EHCI_HCD and CONFIG_USB_OHCI_HCD to get USB supports with omap2plus_defconfig. Signed-off-by: Sjoerd Simons --- Changes in v2: Enable as modules rather then builtin arch/arm/configs/omap2plus_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/omap

Re: [PATCH v2] ARM: OMAP: Work around hardcoded interrupts

2015-01-19 Thread Tony Lindgren
* Tony Lindgren [150119 12:26]: > * Nishanth Menon [150119 12:17]: > > On 10:21-20150117, Marc Zyngier wrote: > > > Commit 9a1091ef0017 (irqchip: gic: Support hierarchy irq domain) > > should have been > > Commit 9a1091ef0017 ("irqchip: gic: Support hierarchy irq domain") > > > > > changed the G

[PATCH v2] ASoC: OMAP: mcbsp: ensure that CLKX and CLKR are not used as ouput pins when they are used as input clock for the SRG.

2015-01-19 Thread Thomas Niederprüm
This patch fixes faulty behaviour in a setup where the input clock for the SRG is fed through the CLKR/CLKX pin but the McBSP is configured to be master (SND_SOC_DAIFMT_CBS_CFS). In that case of course CLKR/CLKX must not be configured as output pin. Otherwise the input clock is messed up horribly.

Re: [PATCH 1/4] ARM: OMAP2+: Add board-generic.c entry for ti81xx

2015-01-19 Thread Felipe Balbi
On Mon, Jan 19, 2015 at 01:05:45PM -0800, Tony Lindgren wrote: > * Felipe Balbi [150119 12:46]: > > On Mon, Jan 19, 2015 at 11:18:34AM -0800, Tony Lindgren wrote: > > > * Tony Lindgren [150114 16:14]: > > > > * Sergei Shtylyov [150114 05:54]: > > > > > Hello. > > > > > > > > > > On 1/14/2015 2:

Re: [PATCH 1/4] ARM: OMAP2+: Add board-generic.c entry for ti81xx

2015-01-19 Thread Tony Lindgren
* Felipe Balbi [150119 12:46]: > On Mon, Jan 19, 2015 at 11:18:34AM -0800, Tony Lindgren wrote: > > * Tony Lindgren [150114 16:14]: > > > * Sergei Shtylyov [150114 05:54]: > > > > Hello. > > > > > > > > On 1/14/2015 2:37 AM, Tony Lindgren wrote: > > > > > > > > >This allows booting ti81xx boar

Re: [PATCH v9 2/3] clk: Make clk API return per-user struct clk instances

2015-01-19 Thread Stephen Boyd
On 01/19, Tomeu Vizoso wrote: > diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c > index 97f3425..f2a1ff3 100644 > --- a/drivers/clk/clk.c > +++ b/drivers/clk/clk.c > @@ -694,32 +751,32 @@ long __clk_mux_determine_rate(struct clk_hw *hw, > unsigned long rate, > unsign

Re: [PATCH 1/4] ARM: OMAP2+: Add board-generic.c entry for ti81xx

2015-01-19 Thread Felipe Balbi
On Mon, Jan 19, 2015 at 11:18:34AM -0800, Tony Lindgren wrote: > * Tony Lindgren [150114 16:14]: > > * Sergei Shtylyov [150114 05:54]: > > > Hello. > > > > > > On 1/14/2015 2:37 AM, Tony Lindgren wrote: > > > > > > >This allows booting ti81xx boards with with when a .dts > > > > > >So, wit

Re: [PATCH v2] ARM: OMAP: Work around hardcoded interrupts

2015-01-19 Thread Tony Lindgren
* Nishanth Menon [150119 12:17]: > On 10:21-20150117, Marc Zyngier wrote: > > Commit 9a1091ef0017 (irqchip: gic: Support hierarchy irq domain) > should have been > Commit 9a1091ef0017 ("irqchip: gic: Support hierarchy irq domain") > > > changed the GIC driver to use a non-legacy IRQ domain on DT

Re: [PATCH v2] ARM: OMAP: Work around hardcoded interrupts

2015-01-19 Thread Nishanth Menon
On 10:21-20150117, Marc Zyngier wrote: > Commit 9a1091ef0017 (irqchip: gic: Support hierarchy irq domain) should have been Commit 9a1091ef0017 ("irqchip: gic: Support hierarchy irq domain") > changed the GIC driver to use a non-legacy IRQ domain on DT > platforms. This patch assumes that DT-driven

Re: [PATCH v2 2/5] usb: dwc3: add revision number DWC3_REVISION_300A

2015-01-19 Thread Felipe Balbi
On Mon, Jan 19, 2015 at 07:45:31PM +, John Youn wrote: > > -Original Message- > > From: Felipe Balbi [mailto:ba...@ti.com] > > Sent: Monday, January 19, 2015 6:47 AM > > > > looking at Synopsys Solvnet for this IP, it shows that current version > > is 2.90a. There's no 3.00a. Paul,

RE: [PATCH v2 2/5] usb: dwc3: add revision number DWC3_REVISION_300A

2015-01-19 Thread John Youn
> -Original Message- > From: Felipe Balbi [mailto:ba...@ti.com] > Sent: Monday, January 19, 2015 6:47 AM > > looking at Synopsys Solvnet for this IP, it shows that current version > is 2.90a. There's no 3.00a. Paul, John, is there a 3.00a version of the > DWC USB3 IP ? Yes there is,

Re: [GIT PULL] ARM: OMAP: hwmod fixes for v3.19-rc

2015-01-19 Thread Tony Lindgren
* Paul Walmsley [150104 15:38]: > Hi Tony > > The following changes since commit 97bf6af1f928216fd6c5a66e8a57bfa95a659672: > > Linux 3.19-rc1 (2014-12-20 17:08:50 -0800) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/pjw/omap-pending.git > ta

Re: [patch-net-next v3] net: ethernet: ti: cpsw: fix buld break when NET_POLL_CONTROLLER

2015-01-19 Thread David Miller
From: Felipe Balbi Date: Mon, 19 Jan 2015 11:52:36 -0600 > Commit c03abd84634d (net: ethernet: cpsw: don't requests IRQs we don't > use) left one build breakage when NET_POLL_CONTROLLER is enabled. > > Fix this build break by referring to the correct irqs_table array. > > Fixes: c03abd84634d (n

Re: [PATCH 5/5] ARM: omap2plus_defconfig: Enable PCF857X and EXTCON_GPIO_USB

2015-01-19 Thread Tony Lindgren
* Tony Lindgren [150119 10:52]: > * Roger Quadros [150119 09:55]: > > Both are needed for USB cable type detection on dra7-evm. > > > > Signed-off-by: Roger Quadros > > --- > > arch/arm/configs/omap2plus_defconfig | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/arch/arm/confi

Re: [PATCH 1/4] ARM: OMAP2+: Add board-generic.c entry for ti81xx

2015-01-19 Thread Tony Lindgren
* Tony Lindgren [150114 16:14]: > * Sergei Shtylyov [150114 05:54]: > > Hello. > > > > On 1/14/2015 2:37 AM, Tony Lindgren wrote: > > > > >This allows booting ti81xx boards with with when a .dts > > > >So, with, with or when? :-) > > Heh thanks will updated to: > > This allows booting ti

Re: [PATCH 1/2] ARM: OMAP2+: Add clock domain support for dm816x

2015-01-19 Thread Tony Lindgren
* Tony Lindgren [150113 15:29]: > From: Aida Mynzhasova > > This patch adds required definitions and structures for clockdomain > initialization, so omap3xxx_clockdomains_init() was substituted by > new ti81xx_clockdomains_init() while early initialization of > TI81XX platform. Looks like this

Re: [PATCH 1/1] gpio: omap: Fix bad device access with setup_irq()

2015-01-19 Thread santosh.shilim...@oracle.com
On 1/16/15 5:00 PM, Tony Lindgren wrote: * santosh shilimkar [150116 16:23]: On 1/16/2015 2:50 PM, Tony Lindgren wrote: Similar to omap_gpio_irq_type() let's make sure that the GPIO is usable as an interrupt if the platform init code did not call gpio_request(). Otherwise we can get invalid de

Re: [PATCH 5/5] ARM: omap2plus_defconfig: Enable PCF857X and EXTCON_GPIO_USB

2015-01-19 Thread Tony Lindgren
* Roger Quadros [150119 09:55]: > Both are needed for USB cable type detection on dra7-evm. > > Signed-off-by: Roger Quadros > --- > arch/arm/configs/omap2plus_defconfig | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm/configs/omap2plus_defconfig > b/arch/arm/configs/omap2p

Re: [PATCH RESEND v8 1/2] clk: Make clk API return per-user struct clk instances

2015-01-19 Thread Stephen Boyd
On 01/19/2015 01:55 AM, Tomeu Vizoso wrote: > On 17 January 2015 at 02:02, Stephen Boyd wrote: >> On 01/12, Tomeu Vizoso wrote: >> >>> +} >>> EXPORT_SYMBOL_GPL(__clk_get_rate); >>> >>> @@ -630,7 +656,12 @@ out: >>> return !!ret; >>> } >>> >>> -bool __clk_is_enabled(struct clk *clk) >>> +bo

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

2015-01-19 Thread Tony Lindgren
* Jason Cooper [150106 19:03]: > On Tue, Jan 06, 2015 at 02:38:08PM -0600, Felipe Balbi wrote: > > commit 55601c9f2467 (arm: omap: intc: switch over > > to linear irq domain) introduced a regression with > > SDMA legacy driver because that driver strictly depends > > on INTC's IRQs starting at NR_

[PATCH 3/3] ARM: omap2plus_defconfig: Add NOR flash support

2015-01-19 Thread Tony Lindgren
Some omaps have NOR flash as the rootfs but we're missing physmap and physmap_of to properly support it. Signed-off-by: Tony Lindgren --- arch/arm/configs/omap2plus_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_

[PATCH 2/3] ARM: omap2plus_defconfig: Enable pcf857x

2015-01-19 Thread Tony Lindgren
We have pcf857x at least several boards. Let's enable it as a loadable module. Cc: Brian Hutchinson Signed-off-by: Tony Lindgren --- arch/arm/configs/omap2plus_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defcon

[PATCH 1/3] ARM: omap2plus_defconfig: Enable support for davinci_emac

2015-01-19 Thread Tony Lindgren
We have this on at least 3517-evm and dm8168-evm. Let's enable davinci_emac so those can be booted with NFSroot. Cc: Brian Hutchinson Signed-off-by: Tony Lindgren --- arch/arm/configs/omap2plus_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/omap2plus_defconfig b

[PATCH 0/3] Few omap2plus_defconfig changes to make more boards usable

2015-01-19 Thread Tony Lindgren
Hi, Let's add davinci_emac, and fix the NOR configuration. And let's also add pcf857x as a loadable module. Regards, Tony Tony Lindgren (3): ARM: omap2plus_defconfig: Enable support for davinci_emac ARM: omap2plus_defconfig: Enable pcf857x ARM: omap2plus_defconfig: Add NOR flash support

[PATCH 3/5] ARM: dts: dra7-evm: Add extcon nodes for USB

2015-01-19 Thread Roger Quadros
On this EVM, the USB cable state has to be determined via the ID pin tied to a GPIO line. We use the gpio-usb-extcon driver to read the ID pin and the extcon framework to forward the USB cable state information to the USB driver so the controller can be configured in the right mode (host/peripheral

[PATCH 2/5] usb: extcon: Fix USB-Host cable name

2015-01-19 Thread Roger Quadros
The recommended name for USB-Host cable state is "USB-Host" and not "USB-HOST" as per drivers/extcon/extcon-class.c extcon_cable_name. Change all instances of "USB-HOST" to "USB-Host". Signed-off-by: Roger Quadros --- drivers/extcon/extcon-palmas.c | 18 +- drivers/usb/dwc3/dwc3

[patch-net-next v3] net: ethernet: ti: cpsw: fix buld break when NET_POLL_CONTROLLER

2015-01-19 Thread Felipe Balbi
Commit c03abd84634d (net: ethernet: cpsw: don't requests IRQs we don't use) left one build breakage when NET_POLL_CONTROLLER is enabled. Fix this build break by referring to the correct irqs_table array. Fixes: c03abd84634d (net: ethernet: cpsw: don't requests IRQs we don't use) Reported-by: kbui

[PATCH 5/5] ARM: omap2plus_defconfig: Enable PCF857X and EXTCON_GPIO_USB

2015-01-19 Thread Roger Quadros
Both are needed for USB cable type detection on dra7-evm. Signed-off-by: Roger Quadros --- arch/arm/configs/omap2plus_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig index c2c3a85..bc23b90 100644 --- a/a

[PATCH 4/5] ARM: dts: dra72-evm: Add extcon nodes for USB

2015-01-19 Thread Roger Quadros
On this EVM, the USB cable state has to be determined via the ID pin tied to a GPIO line. We use the gpio-usb-extcon driver to read the ID pin and the extcon framework to forward the USB cable state information to the USB driver so the controller can be configured in the right mode (host/peripheral

[PATCH 0/5] extcon: usb: Introduce USB GPIO extcon driver. Fix DRA7 USB.

2015-01-19 Thread Roger Quadros
Hi, On DRA7 EVMs the USB ID pin is connected to a GPIO line. The USB drivers (dwc3 + dwc3-omap) depend on extcon framework to get the USB cable state (USB or USB-Host) to put the controller in the right mode. There were earlier attempts [1] to get this working by trying to patch up the existing G

[PATCH 1/5] extcon: gpio-usb: Introduce gpio usb extcon driver

2015-01-19 Thread Roger Quadros
This driver observes the USB ID pin connected over a GPIO and updates the USB cable extcon states accordingly. The existing GPIO extcon driver is not suitable for this purpose as it needs to be taught to understand USB cable states and it can't handle more than one cable per instance. For the USB

Re: [next-20150119]regression (mm)?

2015-01-19 Thread Felipe Balbi
Hi, On Mon, Jan 19, 2015 at 10:42:04AM -0600, Nishanth Menon wrote: > Most platforms seem broken intoday's next tag. > > https://github.com/nmenon/kernel-test-logs/tree/next-20150119 > (defconfig: omap2plus_defconfig) > > > [7.166600] [ cut here ]

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

2015-01-19 Thread David Miller
From: Felipe Balbi Date: Mon, 19 Jan 2015 08:40:17 -0600 > On Sun, Jan 18, 2015 at 01:07:50AM -0500, David Miller wrote: >> From: Felipe Balbi >> Date: Fri, 16 Jan 2015 10:11:12 -0600 >> >> > CPSW never uses RX_THRESHOLD or MISC interrupts. In >> > fact, they are always kept masked in their app

Re: [PATCH 4/4] ARM: dts: Add minimal support for dm8168-evm

2015-01-19 Thread Tony Lindgren
* Matthijs van Duin [150117 14:41]: > On 17 January 2015 at 19:14, Tony Lindgren wrote: > > Oh OK. And looks like dm814x trm claims to have PINCNTL[7:0] > > bits for MUXMODE instead of just bits [2:0]? > > However, the datasheet's table of possible mux modes per pin has as > column headers: 0x1,

[PATCH v9 3/3] clk: Add floor and ceiling constraints to clock rates

2015-01-19 Thread Tomeu Vizoso
Adds a way for clock consumers to set maximum and minimum rates. This can be used for thermal drivers to set ceiling rates, or by misc. drivers to set floor rates to assure a minimum performance level. Changes the signature of the determine_rate callback by adding the parameters floor_rate and cei

[PATCH v9 2/3] clk: Make clk API return per-user struct clk instances

2015-01-19 Thread Tomeu Vizoso
Moves clock state to struct clk_core, but takes care to change as little API as possible. struct clk_hw still has a pointer to a struct clk, which is the implementation's per-user clk instance, for backwards compatibility. The struct clk that clk_get_parent() returns isn't owned by the caller, bu

Re: [next-20150119]regression (mm)?

2015-01-19 Thread Tyler Baker
On 19 January 2015 at 09:04, Nishanth Menon wrote: > > On 01/19/2015 10:59 AM, Tyler Baker wrote: >> I can confirm, I am observing the same issue in my lab. 15 platforms >> failed to boot on next-20150119. >> >> http://kernelci.org/boot/?next-20150119&fail &g

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

2015-01-19 Thread Tony Lindgren
* Matthijs van Duin [150118 12:35]: > > --- a/arch/arm/mach-omap2/usb-musb.c > > +++ b/arch/arm/mach-omap2/usb-musb.c > > @@ -82,16 +82,8 @@ void __init usb_musb_init(struct omap_musb_board_data > > *musb_board_data) > > musb_plat.mode = board_data->mode; > > musb_plat.extvbus = board_data->e

Re: [next-20150119]regression (mm)?

2015-01-19 Thread Nishanth Menon
On 01/19/2015 10:59 AM, Tyler Baker wrote: > I can confirm, I am observing the same issue in my lab. 15 platforms > failed to boot on next-20150119. > > http://kernelci.org/boot/?next-20150119&fail http://kernelci.org/boot/all/job/next/kernel/next-20150119/ I see many platform

Re: [PATCH RESEND v8 2/2] clk: Add floor and ceiling constraints to clock rates

2015-01-19 Thread Tomeu Vizoso
On 17 January 2015 at 02:57, Stephen Boyd wrote: > On 01/12, Tomeu Vizoso wrote: >> diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c >> index 7eddfd8..2793bd7 100644 >> --- a/drivers/clk/clk.c >> +++ b/drivers/clk/clk.c >> @@ -1013,8 +1015,8 @@ static unsigned long clk_core_round_rate_nolock(str

[next-20150119]regression (mm)?

2015-01-19 Thread Nishanth Menon
Hi, Most platforms seem broken intoday's next tag. https://github.com/nmenon/kernel-test-logs/tree/next-20150119 (defconfig: omap2plus_defconfig) > [7.166600] [ cut here ] > [7.171676] WARNING: CPU: 0 PID: 54 at mm/mmap.c:2859 > exit_mm

Re: [PATCH 0/2] Minimal FAPLL clock support for dm816x

2015-01-19 Thread Mike Turquette
Quoting Mike Turquette (2015-01-14 14:06:49) > Quoting Tony Lindgren (2015-01-13 14:51:26) > > Hi all, > > > > Here's a minimal support for the FAPLL (Flying Adder PLL) on dm816x > > which is a omap variant. > > Tony, > > Patches look fine to me. I'll give it a few days for Paul or Tero to > com

Re: [PATCH v2 4/5] xhci: Platform: Set Synopsis device disconnection quirk based on platform data

2015-01-19 Thread Felipe Balbi
On Mon, Jan 19, 2015 at 03:56:48PM +0800, Sneeker Yeh wrote: > If an xhci platform has Synopsis device disconnection errata then enable > XHCI_DISCONNECT_QUIRK quirk flag. > > Signed-off-by: Sneeker Yeh > --- > drivers/usb/host/xhci-plat.c |3 +++ > include/linux/usb/xhci_pdriver.h |

Re: [PATCH v2 3/5] usb: dwc3: Add quirk for Synopsis device disconnection errata

2015-01-19 Thread Felipe Balbi
Hi, On Mon, Jan 19, 2015 at 03:56:47PM +0800, Sneeker Yeh wrote: > Synopsis Designware USB3 IP earlier than v3.00a which is configured in silicon > with DWC_USB3_SUSPEND_ON_DISCONNECT_EN=1, would need a specific quirk to > prevent > xhci host controller from dying when device is disconnected. >

Re: [PATCH v2 1/5] usb: dwc3: add Fujitsu Specific Glue layer

2015-01-19 Thread Felipe Balbi
On Mon, Jan 19, 2015 at 03:56:45PM +0800, Sneeker Yeh wrote: > This patch adds support for Synopsis DesignWare USB3 IP Core found > on Fujitsu Socs. > > Signed-off-by: Sneeker Yeh if this is moved after patch 3, you don't need to patch it again to add the quirk ;-) -- balbi signature.asc Des

Re: [PATCH v2 2/5] usb: dwc3: add revision number DWC3_REVISION_300A

2015-01-19 Thread Felipe Balbi
Hi, On Mon, Jan 19, 2015 at 03:56:46PM +0800, Sneeker Yeh wrote: > Add the contstant for v3.00a dwc3 IP detection > > Signed-off-by: Sneeker Yeh > --- > drivers/usb/dwc3/core.h |1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h > index

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

2015-01-19 Thread Felipe Balbi
On Sun, Jan 18, 2015 at 09:52:14AM +, Lee Jones wrote: > On Fri, 26 Dec 2014, 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

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

2015-01-19 Thread Felipe Balbi
On Sun, Jan 18, 2015 at 01:07:50AM -0500, David Miller wrote: > From: Felipe Balbi > Date: Fri, 16 Jan 2015 10:11:12 -0600 > > > CPSW never uses RX_THRESHOLD or MISC interrupts. In > > fact, they are always kept masked in their appropriate > > IRQ Enable register. > > > > Instead of allocating a

Re: [PATCH v4 14/21] ARM: imx6: convert GPC to stacked domains

2015-01-19 Thread Marc Zyngier
On 19/01/15 10:47, Lucas Stach wrote: > Am Montag, den 19.01.2015, 09:44 + schrieb Marc Zyngier: >> IMX6 has been (ab)using the gic_arch_extn to provide >> wakeup from suspend, and it makes a lot of sense to convert >> this code to use stacked domains instead. >> >> This patch does just this, u

Re: [PATCH v4 14/21] ARM: imx6: convert GPC to stacked domains

2015-01-19 Thread Lucas Stach
Am Montag, den 19.01.2015, 09:44 + schrieb Marc Zyngier: > IMX6 has been (ab)using the gic_arch_extn to provide > wakeup from suspend, and it makes a lot of sense to convert > this code to use stacked domains instead. > > This patch does just this, updating the DT files to actually > reflect w

Re: [PATCH RESEND v8 1/2] clk: Make clk API return per-user struct clk instances

2015-01-19 Thread Tomeu Vizoso
On 17 January 2015 at 02:02, Stephen Boyd wrote: > On 01/12, Tomeu Vizoso wrote: >> Moves clock state to struct clk_core, but takes care to change as little API >> as >> possible. >> >> struct clk_hw still has a pointer to a struct clk, which is the >> implementation's per-user clk instance, for

[PATCH 1/1] ARM: dts: dra72-evm: Add qspi device

2015-01-19 Thread Mugunthan V N
These add device tree entry for qspi device on dra72-evm. Signed-off-by: Mugunthan V N --- This patch is tested on linux-next and the boot logs is here [1] [1] - http://pastebin.ubuntu.com/9783555/ --- arch/arm/boot/dts/dra72-evm.dts | 77 + 1 file cha

[PATCH v4 13/21] ARM: omap: convert wakeupgen to stacked domains

2015-01-19 Thread Marc Zyngier
OMAP4/5 has been (ab)using the gic_arch_extn to provide wakeup from suspend, and it makes a lot of sense to convert this code to use stacked domains instead. This patch does just this, updating the DT files to actually reflect what the HW provides. BIG FAT WARNING: because the DTs were so far lyi

[PATCH v4 21/21] irqchip: gic: Drop support for gic_arch_extn

2015-01-19 Thread Marc Zyngier
Now that the users of gic_arch_extn have been fixed, drop the "feature" for good. This leads to the removal of some now useless locking. Signed-off-by: Marc Zyngier --- drivers/irqchip/irq-gic.c | 54 - include/linux/irqchip/arm-gic.h | 2 -- 2 file

[PATCH v4 18/21] ARM: shmobile: remove use of gic_arch_extn.irq_set_wake

2015-01-19 Thread Marc Zyngier
shmobile only uses gic_arch_extn.irq_set_wake to prevent the GIC from returning -ENXIO when receiving a wake-up configuration request. It is a lot simpler to tell the irq layer that we don't need any configuration by using the IRQCHIP_SKIP_SET_WAKE, thanks to the new gic_set_irqchip_flags function

[PATCH v4 19/21] ARM: ux500: switch from gic_arch_extn to gic_set_irqchip_flags

2015-01-19 Thread Marc Zyngier
Instead of directly touching gic_arch_extn, which is about to be removed, use gic_set_irqchip_flags instead. Acked-by: Linus Walleij Signed-off-by: Marc Zyngier --- arch/arm/mach-ux500/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-ux500/cpu.c b/arch/arm

[PATCH v4 20/21] ARM: zynq: switch from gic_arch_extn to gic_set_irqchip_flags

2015-01-19 Thread Marc Zyngier
Instead of directly touching gic_arch_extn, which is about to be removed, use gic_set_irqchip_flags instead. Signed-off-by: Marc Zyngier --- arch/arm/mach-zynq/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-zynq/common.c b/arch/arm/mach-zynq/common.c i

[PATCH v4 12/21] DT: omap4/5: add binding for the wake-up generator

2015-01-19 Thread Marc Zyngier
Signed-off-by: Marc Zyngier --- .../interrupt-controller/ti,omap4-wugen-mpu| 33 ++ 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/ti,omap4-wugen-mpu diff --git a/Documentation/devicetree/bindings/interrup

[PATCH v4 17/21] irqchip: gic: add an entry point to set up irqchip flags

2015-01-19 Thread Marc Zyngier
A common use of gic_arch_extn is to set up additional flags to the GIC irqchip. It looks like a benign enough hack that doesn't really require the users of that feature to be converted to stacked domains. Add a gic_set_irqchip_flags() function that platform code can call instead of using the dread

[PATCH v4 10/21] irqchip: GIC: get rid of routable domain

2015-01-19 Thread Marc Zyngier
The only user of the so called "routable domain" functionality now being fixed, let's clean up the GIC. Signed-off-by: Marc Zyngier --- drivers/irqchip/irq-gic.c | 59 - include/linux/irqchip/arm-gic.h | 6 - 2 files changed, 5 insertions(+), 60

[PATCH v4 15/21] ARM: exynos4/5: convert pmu wakeup to stacked domains

2015-01-19 Thread Marc Zyngier
Exynos has been (ab)using the gic_arch_extn to provide wakeup from suspend, and it makes a lot of sense to convert this code to use stacked domains instead. This patch does just this, updating the DT files to actually reflect what the HW provides. BIG FAT WARNING: because the DTs were so far lyin

[PATCH v4 14/21] ARM: imx6: convert GPC to stacked domains

2015-01-19 Thread Marc Zyngier
IMX6 has been (ab)using the gic_arch_extn to provide wakeup from suspend, and it makes a lot of sense to convert this code to use stacked domains instead. This patch does just this, updating the DT files to actually reflect what the HW provides. BIG FAT WARNING: because the DTs were so far lying

[PATCH v4 09/21] DT: update ti,irq-crossbar binding

2015-01-19 Thread Marc Zyngier
Make it look like a real interrupt controller. Signed-off-by: Marc Zyngier --- .../devicetree/bindings/arm/omap/crossbar.txt | 18 +- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/omap/crossbar.txt b/Documentation/d

[PATCH v4 16/21] DT: exynos: update PMU binding

2015-01-19 Thread Marc Zyngier
Document the fact that some Exynos PMUs are capable of acting as an interrupt controller. Signed-off-by: Marc Zyngier --- Documentation/devicetree/bindings/arm/samsung/pmu.txt | 13 + 1 file changed, 13 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/samsung/pmu.txt

[PATCH v4 11/21] DT: arm,gic: kill arm,routable-irqs

2015-01-19 Thread Marc Zyngier
Nobody will regret it. Signed-off-by: Marc Zyngier --- Documentation/devicetree/bindings/arm/gic.txt | 6 -- 1 file changed, 6 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/gic.txt b/Documentation/devicetree/bindings/arm/gic.txt index 8112d0c..631cb71 100644 --- a/Documen

[PATCH v4 07/21] genirq: Add irqchip_set_wake_parent

2015-01-19 Thread Marc Zyngier
This proves to be useful with stacked domains, when the current domain doesn't implement wake-up, but expect the parent to do so. Signed-off-by: Marc Zyngier --- include/linux/irq.h | 1 + kernel/irq/chip.c | 16 2 files changed, 17 insertions(+) diff --git a/include/linux/i

[PATCH v4 01/21] ARM: tegra: irq: nuke leftovers from non-DT support

2015-01-19 Thread Marc Zyngier
The GIC is now always initialized from DT on tegra, and there is no point in keeping non-DT init code. Acked-by: Thierry Reding Signed-off-by: Marc Zyngier --- arch/arm/mach-tegra/irq.c | 8 1 file changed, 8 deletions(-) diff --git a/arch/arm/mach-tegra/irq.c b/arch/arm/mach-tegra/ir

[PATCH v4 04/21] ARM: tegra: update DTs to expose legacy interrupt controller

2015-01-19 Thread Marc Zyngier
Describe the legacy interrupt controller in every tegra DTSI files, and make it the parent of most interrupts. Signed-off-by: Marc Zyngier --- arch/arm/boot/dts/tegra114.dtsi | 16 +++- arch/arm/boot/dts/tegra124.dtsi | 16 +++- arch/arm/boot/dts/tegra20.dtsi | 15 ++

[PATCH v4 06/21] ARM: tegra: remove old LIC support

2015-01-19 Thread Marc Zyngier
Now that all DTs have been updated, entierely drop support for the non-DT code. This is likely to break platforms that do not update their DT, so print a warning at boot time. Signed-off-by: Marc Zyngier --- arch/arm/mach-tegra/iomap.h | 15 arch/arm/mach-tegra/irq.c | 201 +

[PATCH v4 05/21] DT: tegra: add binding for the legacy interrupt controller

2015-01-19 Thread Marc Zyngier
Signed-off-by: Marc Zyngier --- .../interrupt-controller/nvidia,tegra-ictlr.txt| 43 ++ 1 file changed, 43 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/nvidia,tegra-ictlr.txt diff --git a/Documentation/devicetree/bindings/inte

[PATCH v4 03/21] ARM: tegra: skip gic_arch_extn setup if DT has a LIC node

2015-01-19 Thread Marc Zyngier
If we detect that our DT has a LIC node, don't setup gic_arch_extn, and skip tegra_legacy_irq_syscore_init as well. This is only a temporary measure until that code is removed for good. Acked-by: Thierry Reding Signed-off-by: Marc Zyngier --- arch/arm/mach-tegra/irq.c | 12 arch

[PATCH v4 00/21] irqchip: gic: killing gic_arch_extn and co, slowly

2015-01-19 Thread Marc Zyngier
The gic_arch_extn hack that a number of platform use has been nagging me for too long. It is only there for the benefit of a few platform, and yet it impacts all GIC users. Moreover, it gives people the wrong idea ("let's use it to put some new custom hack in there"...). But now that stacked irq d

[PATCH v4 08/21] irqchip: crossbar: convert dra7 crossbar to stacked domains

2015-01-19 Thread Marc Zyngier
Support for the TI crossbar used on the DRA7 family of chips is implemented as an ugly hack on the side of the GIC. Converting it to stacked domains makes it slightly more palatable, as it results in a cleanup. Unfortunately, as the DT bindings failed to acknowledge the fact that this is actually

[PATCH v4 02/21] irqchip: tegra: add DT-based support for legacy interrupt controller

2015-01-19 Thread Marc Zyngier
Tegra's LIC (Legacy Interrupt Controller) has been so far only supported as a weird extension of the GIC, which is not exactly pretty. The stacked IRQ domain framework fits this pretty well, and allows the LIC code to be turned into a standalone irqchip. In the process, make the driver DT aware, s

Re: beaglebone black: is mem=... broken?

2015-01-19 Thread Paolo Pisati
On Sun, Jan 18, 2015 at 06:38:46PM +0100, Geert Uytterhoeven wrote: > > The boot loader copied the DT to the end of real RAM, not to the end of > the 256 MiB block? Hence the kernel accesses unmapped memory > when checking the FDT header? actually everything is below 256M since physical memory st

[PATCH v2 3/5] usb: dwc3: Add quirk for Synopsis device disconnection errata

2015-01-19 Thread Sneeker Yeh
Synopsis Designware USB3 IP earlier than v3.00a which is configured in silicon with DWC_USB3_SUSPEND_ON_DISCONNECT_EN=1, would need a specific quirk to prevent xhci host controller from dying when device is disconnected. Since DWC_USB3_SUSPEND_ON_DISCONNECT_EN is an IP configuration whose state ca

  1   2   >