Re: [PATCH] Input: of_touchscreen - remove interdependence of max/fuzz values

2015-05-29 Thread Pavel Machek
On Sat 2015-05-30 04:24:34, Sebastian Reichel wrote: > Commit 3eea8b5d68c8 introduced a dependency between touchscreen-max-* > and touchscreen-fuzz-*, so that either both must be specified or none > of them. If only one of them is specified the other value will be > reset to 0. This commit restores

[PATCH] Input: of_touchscreen - remove interdependence of max/fuzz values

2015-05-29 Thread Sebastian Reichel
Commit 3eea8b5d68c8 introduced a dependency between touchscreen-max-* and touchscreen-fuzz-*, so that either both must be specified or none of them. If only one of them is specified the other value will be reset to 0. This commit restores the previous behaviour, that the drivers default value will

Re: [PATCH] fix n900 dts file to work around 4.1 touchscreen regression on n900

2015-05-29 Thread Sebastian Reichel
Hi, On Fri, May 29, 2015 at 09:32:11PM +0200, Pavel Machek wrote: > Fix dts to match what the Linux kernel expects. This works around > touchscreen problems in 4.1 linux on Nokia n900. > > Signed-off-by: Pavel Machek > > diff --git a/Documentation/devicetree/bindings/input/touchscreen/tsc20

Re: [PATCH] PM / Wakeirq: Fix typo in prototype for dev_pm_set_dedicated_wake_irq

2015-05-29 Thread Rafael J. Wysocki
On Friday, May 29, 2015 12:18:37 PM Felipe Balbi wrote: > > --2fjX3cMESU3XgGmZ > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable > > On Fri, May 29, 2015 at 09:54:02AM -0700, Tony Lindgren wrote: > > Looks like I only built te

Re: [PATCH] fix n900 dts file to work around 4.1 touchscreen regression on n900

2015-05-29 Thread Dmitry Torokhov
On Fri, May 29, 2015 at 11:02:59PM +0200, Pavel Machek wrote: > On Fri 2015-05-29 13:48:47, Dmitry Torokhov wrote: > > On Fri, May 29, 2015 at 10:34:56PM +0200, Pavel Machek wrote: > > > Hi! > > > > > > > > > single DT, you don't even use that property in your driver, and now > > > > > > that you

Re: [PATCH] fix n900 dts file to work around 4.1 touchscreen regression on n900

2015-05-29 Thread Pavel Machek
On Fri 2015-05-29 13:48:47, Dmitry Torokhov wrote: > On Fri, May 29, 2015 at 10:34:56PM +0200, Pavel Machek wrote: > > Hi! > > > > > > > single DT, you don't even use that property in your driver, and now > > > > > that you realise you meant something else, you want the code that > > > > > > > >

Re: [PATCH] fix n900 dts file to work around 4.1 touchscreen regression on n900

2015-05-29 Thread Dmitry Torokhov
On Fri, May 29, 2015 at 10:34:56PM +0200, Pavel Machek wrote: > Hi! > > > > > single DT, you don't even use that property in your driver, and now > > > > that you realise you meant something else, you want the code that > > > > > > not Pali, Sebastian. > > > > > > > actually parse the *right* pr

Re: [PATCH] ARM: dts: Remove L3 compatible value for dm816x

2015-05-29 Thread Tony Lindgren
* Tony Lindgren [150529 10:28]: > The interconnects on dm816x are like on omap4, so we should use > l3-noc instead of l3-smx. But as the related SoC specific > l3_target_data is still missing from omap_l3_noc let's just > remove the entry for now. > > Cc: Brian Hutchinson > Reported-by: Matthijs

Re: [PATCH] fix n900 dts file to work around 4.1 touchscreen regression on n900

2015-05-29 Thread Pavel Machek
Hi! > > > single DT, you don't even use that property in your driver, and now > > > that you realise you meant something else, you want the code that > > > > not Pali, Sebastian. > > > > > actually parse the *right* property and does the right thing, that all > > > other DT agree (and depend on)

Re: [PATCH] fix n900 dts file to work around 4.1 touchscreen regression on n900

2015-05-29 Thread Pavel Machek
> > > So, because this has been wrongly documented for so long, we should > > > support both bindings. Sure, deprecate touchscreen-max-[xy], but they > > > must still be supported, IMO. > > > > This property has never been anything but a typo in a documentation of > > a single driver. > > > > Fe

Re: [PATCH] fix n900 dts file to work around 4.1 touchscreen regression on n900

2015-05-29 Thread Dmitry Torokhov
On Fri, May 29, 2015 at 03:21:23PM -0500, Felipe Balbi wrote: > On Fri, May 29, 2015 at 10:17:45PM +0200, Maxime Ripard wrote: > > On Fri, May 29, 2015 at 09:56:29PM +0200, Pavel Machek wrote: > > > On Fri 2015-05-29 14:49:55, Felipe Balbi wrote: > > > > Hi, > > > > > > > > On Fri, May 29, 2015 at

Re: [PATCH] fix n900 dts file to work around 4.1 touchscreen regression on n900

2015-05-29 Thread Felipe Balbi
On Fri, May 29, 2015 at 10:17:45PM +0200, Maxime Ripard wrote: > On Fri, May 29, 2015 at 09:56:29PM +0200, Pavel Machek wrote: > > On Fri 2015-05-29 14:49:55, Felipe Balbi wrote: > > > Hi, > > > > > > On Fri, May 29, 2015 at 09:32:11PM +0200, Pavel Machek wrote: > > > > Fix dts to match what the L

Re: [PATCH] fix n900 dts file to work around 4.1 touchscreen regression on n900

2015-05-29 Thread Dmitry Torokhov
On Fri, May 29, 2015 at 09:56:29PM +0200, Pavel Machek wrote: > On Fri 2015-05-29 14:49:55, Felipe Balbi wrote: > > Hi, > > > > On Fri, May 29, 2015 at 09:32:11PM +0200, Pavel Machek wrote: > > > Fix dts to match what the Linux kernel expects. This works around > > > touchscreen problems in 4.1 li

Re: [PATCH] fix n900 dts file to work around 4.1 touchscreen regression on n900

2015-05-29 Thread Maxime Ripard
On Fri, May 29, 2015 at 09:56:29PM +0200, Pavel Machek wrote: > On Fri 2015-05-29 14:49:55, Felipe Balbi wrote: > > Hi, > > > > On Fri, May 29, 2015 at 09:32:11PM +0200, Pavel Machek wrote: > > > Fix dts to match what the Linux kernel expects. This works around > > > touchscreen problems in 4.1 li

Re: [PATCH] fix n900 dts file to work around 4.1 touchscreen regression on n900

2015-05-29 Thread Tony Lindgren
* Maxime Ripard [150529 13:06]: > On Fri, May 29, 2015 at 02:49:55PM -0500, Felipe Balbi wrote: > > Hi, > > > > On Fri, May 29, 2015 at 09:32:11PM +0200, Pavel Machek wrote: > > > Fix dts to match what the Linux kernel expects. This works around > > > touchscreen problems in 4.1 linux on Nokia n9

Re: [PATCH] fix n900 dts file to work around 4.1 touchscreen regression on n900

2015-05-29 Thread Maxime Ripard
On Fri, May 29, 2015 at 02:49:55PM -0500, Felipe Balbi wrote: > Hi, > > On Fri, May 29, 2015 at 09:32:11PM +0200, Pavel Machek wrote: > > Fix dts to match what the Linux kernel expects. This works around > > touchscreen problems in 4.1 linux on Nokia n900. > > > > Signed-off-by: Pavel Machek

Re: [PATCH] fix n900 dts file to work around 4.1 touchscreen regression on n900

2015-05-29 Thread Pavel Machek
On Fri 2015-05-29 14:49:55, Felipe Balbi wrote: > Hi, > > On Fri, May 29, 2015 at 09:32:11PM +0200, Pavel Machek wrote: > > Fix dts to match what the Linux kernel expects. This works around > > touchscreen problems in 4.1 linux on Nokia n900. > > > > Signed-off-by: Pavel Machek > > > > diff

Re: [PATCH] fix n900 dts file to work around 4.1 touchscreen regression on n900

2015-05-29 Thread Felipe Balbi
Hi, On Fri, May 29, 2015 at 09:32:11PM +0200, Pavel Machek wrote: > Fix dts to match what the Linux kernel expects. This works around > touchscreen problems in 4.1 linux on Nokia n900. > > Signed-off-by: Pavel Machek > > diff --git a/Documentation/devicetree/bindings/input/touchscreen/tsc20

[PATCH] fix n900 dts file to work around 4.1 touchscreen regression on n900

2015-05-29 Thread Pavel Machek
Fix dts to match what the Linux kernel expects. This works around touchscreen problems in 4.1 linux on Nokia n900. Signed-off-by: Pavel Machek diff --git a/Documentation/devicetree/bindings/input/touchscreen/tsc2005.txt b/Documentation/devicetree/bindings/input/touchscreen/tsc2005.txt index

Re: runtime check for omap-aes bus access permission (was: Re: 3.13-rc3 (commit 7ce93f3) breaks Nokia N900 DT boot)

2015-05-29 Thread Tony Lindgren
* Tony Lindgren [150529 08:52]: > * Matthijs van Duin [150528 18:37]: > > On 29 May 2015 at 02:58, Matthijs van Duin > > wrote: > > > It is only guaranteed to happen immediately (before the next > > > instruction is executed) if the error occurs before the posting-point > > > of the write. Howe

Re: [PATCH] ARM: omap2plus_defconfig: Add dm816x USB PHY as a loadable module

2015-05-29 Thread Felipe Balbi
On Fri, May 29, 2015 at 10:12:12AM -0700, Tony Lindgren wrote: > This is needed for USB on dm816x-evm. > > Cc: Bin Liu > Cc: Brian Hutchinson > Cc: George Cherian > Cc: Felipe Balbi > Signed-off-by: Tony Lindgren it's a module, fine by me: Acked-by: Felipe Balbi > --- > arch/arm/configs/

[PATCH] ARM: dts: Remove L3 compatible value for dm816x

2015-05-29 Thread Tony Lindgren
The interconnects on dm816x are like on omap4, so we should use l3-noc instead of l3-smx. But as the related SoC specific l3_target_data is still missing from omap_l3_noc let's just remove the entry for now. Cc: Brian Hutchinson Reported-by: Matthijs van Duin Signed-off-by: Tony Lindgren --- a

Re: [PATCH] PM / Wakeirq: Fix typo in prototype for dev_pm_set_dedicated_wake_irq

2015-05-29 Thread Felipe Balbi
On Fri, May 29, 2015 at 09:54:02AM -0700, Tony Lindgren wrote: > Looks like I only built test the dev_pm_set_wake_irq and not the > dev_pm_set_dedicated_wake_irq case on x86. > > Turns out there's a typo for the dev_pm_set_dedicated_wake_irq > prototype that causes a build error if CONFIG_COMPILE_

[PATCH] ARM: omap2plus_defconfig: Add dm816x USB PHY as a loadable module

2015-05-29 Thread Tony Lindgren
This is needed for USB on dm816x-evm. Cc: Bin Liu Cc: Brian Hutchinson Cc: George Cherian Cc: Felipe Balbi 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/omap2p

Re: [PATCH v2 2/2] ARM: OMAP: enable DM9000 in omap2plus_defconfig

2015-05-29 Thread Tony Lindgren
* Anthoine Bourgeois [150527 13:02]: > This ethernet device is used on devkit8000 board. > > Signed-off-by: Anthoine Bourgeois > --- > arch/arm/configs/omap2plus_defconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm/configs/omap2plus_defconfig > b/arch/arm/configs/omap2p

[PATCH] PM / Wakeirq: Fix typo in prototype for dev_pm_set_dedicated_wake_irq

2015-05-29 Thread Tony Lindgren
Looks like I only built test the dev_pm_set_wake_irq and not the dev_pm_set_dedicated_wake_irq case on x86. Turns out there's a typo for the dev_pm_set_dedicated_wake_irq prototype that causes a build error if CONFIG_COMPILE_TEST and CONFIG_MMC_OMAP_HS are selected. Cc: Stephen Rothwell Cc: Ulf

Re: randconfig build error with next-20150529, in drivers/mmc/host/omap_hsmmc.c

2015-05-29 Thread Tony Lindgren
* Jim Davis [150529 09:27]: > Building with the attached random configuration file, > > warning: (USB_OTG_FSM && FSL_USB2_OTG && USB_MV_OTG) selects USB_OTG > which has unmet direct dependencies (USB_SUPPORT && USB && PM) > > drivers/mmc/host/omap_hsmmc.c: In function ‘omap_hsmmc_configure_wake_

Re: [PATCH] ARM: dts: Fix dm816x to use right compatible flag for MUSB

2015-05-29 Thread Felipe Balbi
On Fri, May 29, 2015 at 09:27:08AM -0700, Tony Lindgren wrote: > With commit 3e457371f436 ("usb: musb: Fix fifo reads for dm816x with > musb_dsps") we need to use the right compatible flag to avoid issues > with FIFO reads. > > Cc: Bin Liu > Cc: Brian Hutchinson > Cc: George Cherian > Cc: Felip

Re: [RFC] Fix omap3 booting with thumb2 compiled kernel

2015-05-29 Thread Tony Lindgren
* Dave P Martin [150529 04:08]: > On Thu, May 28, 2015 at 07:55:16PM +0100, Arnd Bergmann wrote: > > On Thursday 28 May 2015 09:36:05 Tony Lindgren wrote: > > > * Dave Martin [150528 09:19]: > > > > On Thu, May 28, 2015 at 07:21:25AM -0700, Tony Lindgren wrote: > > > > > --- a/arch/arm/mach-omap2

[PATCH] ARM: dts: Fix dm816x to use right compatible flag for MUSB

2015-05-29 Thread Tony Lindgren
With commit 3e457371f436 ("usb: musb: Fix fifo reads for dm816x with musb_dsps") we need to use the right compatible flag to avoid issues with FIFO reads. Cc: Bin Liu Cc: Brian Hutchinson Cc: George Cherian Cc: Felipe Balbi Fixes: 3e457371f436 ("usb: musb: Fix fifo reads for dm816x with musb_d

Re: runtime check for omap-aes bus access permission (was: Re: 3.13-rc3 (commit 7ce93f3) breaks Nokia N900 DT boot)

2015-05-29 Thread Tony Lindgren
* Matthijs van Duin [150528 18:37]: > On 29 May 2015 at 02:58, Matthijs van Duin wrote: > > It is only guaranteed to happen immediately (before the next > > instruction is executed) if the error occurs before the posting-point > > of the write. However, in that case the error is reported in-band

Re: [PATCH 02/13] dmaengine: Introduce dma_request_slave_channel_compat_reason()

2015-05-29 Thread Peter Ujfalusi
On 05/29/2015 01:18 PM, Vinod Koul wrote: > On Fri, May 29, 2015 at 11:42:27AM +0200, Geert Uytterhoeven wrote: >> On Fri, May 29, 2015 at 11:33 AM, Vinod Koul wrote: >>> On Tue, May 26, 2015 at 04:25:57PM +0300, Peter Ujfalusi wrote: dma_request_slave_channel_compat() 'eats' up the returned

Re: [GIT PULL] omap device tree changes for v4.2, part 1

2015-05-29 Thread Arnd Bergmann
On Friday 22 May 2015 13:20:28 Tony Lindgren wrote: > > Device tree related changes for omaps: > > - Configure MMC data lines 4..8 for 1.8V IO on boards that > are using them as GPIOs instead of MMC data lines > > - Add support fo

Re: [RFC] Fix omap3 booting with thumb2 compiled kernel

2015-05-29 Thread Dave P Martin
On Thu, May 28, 2015 at 07:55:16PM +0100, Arnd Bergmann wrote: > On Thursday 28 May 2015 09:36:05 Tony Lindgren wrote: > > * Dave Martin [150528 09:19]: > > > On Thu, May 28, 2015 at 07:21:25AM -0700, Tony Lindgren wrote: > > > > --- a/arch/arm/mach-omap2/sleep34xx.S > > > > +++ b/arch/arm/mach-om

Re: [PATCH 02/13] dmaengine: Introduce dma_request_slave_channel_compat_reason()

2015-05-29 Thread Vinod Koul
On Fri, May 29, 2015 at 11:42:27AM +0200, Geert Uytterhoeven wrote: > On Fri, May 29, 2015 at 11:33 AM, Vinod Koul wrote: > > On Tue, May 26, 2015 at 04:25:57PM +0300, Peter Ujfalusi wrote: > >> dma_request_slave_channel_compat() 'eats' up the returned error codes which > >> prevents drivers using

Re: [PATCH 02/13] dmaengine: Introduce dma_request_slave_channel_compat_reason()

2015-05-29 Thread Geert Uytterhoeven
On Fri, May 29, 2015 at 11:33 AM, Vinod Koul wrote: > On Tue, May 26, 2015 at 04:25:57PM +0300, Peter Ujfalusi wrote: >> dma_request_slave_channel_compat() 'eats' up the returned error codes which >> prevents drivers using the compat call to be able to do deferred probing. >> >> The new wrapper is

Re: [PATCH 02/13] dmaengine: Introduce dma_request_slave_channel_compat_reason()

2015-05-29 Thread Vinod Koul
On Tue, May 26, 2015 at 04:25:57PM +0300, Peter Ujfalusi wrote: > dma_request_slave_channel_compat() 'eats' up the returned error codes which > prevents drivers using the compat call to be able to do deferred probing. > > The new wrapper is identical in functionality but it will return with error

[PATCH 1/5] clk: at91: Use of_clk_get_parent_count() instead of open coding

2015-05-29 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven --- drivers/clk/at91/clk-main.c | 2 +- drivers/clk/at91/clk-master.c | 2 +- drivers/clk/at91/clk-programmable.c | 2 +- drivers/clk/at91/clk-slow.c | 4 ++-- drivers/clk/at91/clk-smd.c | 2 +- drivers/clk/at91/clk-usb.c |

[PATCH 5/5] [RFC] ARM: timer-sp: Use of_clk_get_parent_count() instead of open coding

2015-05-29 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven --- This is an RFC, as it depends on "[RFC] clk: Provide dummy of_clk_get_parent_count() for !OF/!CCF". --- arch/arm/common/timer-sp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/common/timer-sp.c b/arch/arm/common/timer-sp.c in

[PATCH 0/5] clk: Use of_clk_get_parent_count() instead of open coding

2015-05-29 Thread Geert Uytterhoeven
Hi all, In several places, the functionality of of_clk_get_parent_count() is open coded. Replace them by of_clk_get_parent_count() to reduce code size. The first 3 patches can be applied independently, as the affected clock drivers are used with CONFIG_COMMON_CLK=y and CONFIG_OF=y only.

[PATCH 4/5] [RFC] clk: Provide dummy of_clk_get_parent_count() for !OF/!CCF

2015-05-29 Thread Geert Uytterhoeven
Provide dummy implementations of of_clk_get_parent_count() for the cases where CONFIG_OF or CONFIG_COMMON_CLK are not set. Signed-off-by: Geert Uytterhoeven --- This is an RFC, as 1. Dummies are needed in two places, 2. We don't have any dummies yet for the !CCF case. --- include/linux/clk-p

[PATCH 2/5] clk: st: Use of_clk_get_parent_count() instead of open coding

2015-05-29 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven --- drivers/clk/st/clk-flexgen.c | 2 +- drivers/clk/st/clkgen-mux.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/st/clk-flexgen.c b/drivers/clk/st/clk-flexgen.c index 409ed4b0b569ff60..657ca14ba709a64b 100644 --- a/drivers/

[PATCH 3/5] clk: ti: Use of_clk_get_parent_count() instead of open coding

2015-05-29 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven --- drivers/clk/ti/clockdomain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/ti/clockdomain.c b/drivers/clk/ti/clockdomain.c index 35fe1085480cf33d..b82ef07f34034105 100644 --- a/drivers/clk/ti/clockdomain.c +++ b/drivers/clk/t