Re: [PATCHv4 4/7] hwspinlock/core: add common OF helpers

2014-03-01 Thread Ohad Ben-Cohen
On Mon, Feb 10, 2014 at 9:14 PM, Suman Anna wrote: > On 02/07/2014 04:49 PM, Bjorn Andersson wrote: >> It seems to be standard practice to pass the error value back to the >> consumer, so you should >> return ERR_PTR(ret); here instead of the NULL... > > > I have modelled the return values in this

Re: [PATCHv2] ARM: OMAP2+: Add support for thumb mode on DT booted N900

2014-03-01 Thread Pali Rohár
2014-02-17 22:30 GMT+01:00 Sebastian Reichel : > Without enabling the workaround for ARM errata 430973 thumb > compiled userland crashes randomly on the Nokia N900. > > Signed-off-by: Sebastian Reichel > Reviewed-by: Pavel Machek > --- > Hi, > > This is PATCHv2 for the thumb errata workaround for

Re: [PATCH v4 3/4] ARM: OMAP2+: add legacy display for omap3 DBB056

2014-03-01 Thread Christoph Fritz
On Fri, 2014-02-28 at 14:38 -0800, Tony Lindgren wrote: > * Tomi Valkeinen [140214 06:38]: > > git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux.git work/dss-dt > > > > That way you have it ready and tested if DSS DT goes forward. > > Applying only patches 1 & 2 into omap-for-v3.15/dt th

[PATCH] sound: omap: n810: fix init with DT boot

2014-03-01 Thread Aaro Koskinen
Since 3.14-rc1 only DT boot has been supported on N810. Make a minimal fix to retain functionality. This file should be properly converted to DT in longer term. Signed-off-by: Aaro Koskinen --- sound/soc/omap/n810.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sound/soc

[PATCH v2 2/7] ARM: dts: omap3-gta04: Add support for magnetometer

2014-03-01 Thread Marek Belisko
From: NeilBrown Add magnetometer hmc5843 node. Signed-off-by: NeilBrown Signed-off-by: Marek Belisko --- arch/arm/boot/dts/omap3-gta04.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts index d3b253b..d9917b8 10

[PATCH v2 4/7] ARM: dts: omap3-gta04: Add twl4030 charger

2014-03-01 Thread Marek Belisko
From: NeilBrown Define twl4030 charger node used for charging. Signed-off-by: Marek Belisko --- arch/arm/boot/dts/omap3-gta04.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts index 7f29315..42fc12e 100644 --- a/a

[PATCH v2 6/7] ARM: dts: omap3-gta04: Enable mmc2 for wifi

2014-03-01 Thread Marek Belisko
From: NeilBrown This requires vaux4. Reset line isn't used yet, so wifi isn't reliable. But it does work once per boot. Signed-off-by: NeilBrown Signed-off-by: Marek Belisko --- arch/arm/boot/dts/omap3-gta04.dts | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch

[PATCH v2 5/7] ARM: dts: omap3-gta04: Add basic sound support

2014-03-01 Thread Marek Belisko
From: NeilBrown This adds basic sound support for gta04 board. Signed-off-by: NeilBrown Signed-off-by: Marek Belisko --- arch/arm/boot/dts/omap3-gta04.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts

[PATCH v2 3/7] ARM: dts: omap3-gta04: Add touchscreen properties

2014-03-01 Thread Marek Belisko
Gta04 using tcs2007 touchscreen. Add support for that. Signed-off-by: Marek Belisko --- arch/arm/boot/dts/omap3-gta04.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts index d9917b8..7f29315 100644 --- a/arc

[PATCH v2 1/7] ARM: dts: omap3-gta04: Add ti,omap36xx to compatible property to avoid problems with booting

2014-03-01 Thread Marek Belisko
Without that change booting leads to crash with more warnings like below: [0.284454] omap_hwmod: uart4: cannot clk_get main_clk uart4_fck [0.284484] omap_hwmod: uart4: cannot _init_clocks [0.284484] [ cut here ] [0.284545] WARNING: CPU: 0 PID: 1 at arch/arm/m

[PATCH v2 7/7] ARM: dts: omap3-gta04: Add bma180 accelerometer

2014-03-01 Thread Marek Belisko
From: NeilBrown Add node for bma180 driver. Signed-off-by: NeilBrown --- arch/arm/boot/dts/omap3-gta04.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts index d556e3a..f8ad125 100644 --- a/arch/arm/boot/dts/om

[PATCH v2 0/7] ARM: dts: omap3-gta04: Various devicetree updates

2014-03-01 Thread Marek Belisko
This updated series fix issue with proper gta04 booting in 3.14 kernel and add various devices to devicetree. Changes from V1: - removed fixes which was merged to 3.14 already - add bma180 accelerometer + booting fix Marek Belisko (2): ARM: dts: omap3-gta04: Add ti,omap36xx to compatible prope

Re: [PATCH] ARM: OMAP2+: Use handle_fasteoi_irq for INTC interrupt handling

2014-03-01 Thread Sørensen , Stefan
On Fri, 2014-02-28 at 09:11 -0800, Tony Lindgren wrote: > * Stefan Sørensen [140224 02:12]: > > Currently INTC interrupts are handled using handle_level_irq which > > will acknowledge the interrupt before running the handler. If a second > > interrupt is then asserted and this interrupt is disable