[RFC/PATCH-v4.2-rc6 1/5] Revert "ARM: 7655/1: smp_twd: make twd_local_timer_of_register() no-op for nosmp"

2015-08-10 Thread Felipe Balbi
This reverts commit 904464b91eca8c665acea033489225af02eeb75a. The problem pointed out by commit 904464b91eca ("ARM: 7655/1: smp_twd: make twd_local_timer_of_register() no-op for nosmp") doesn't exist anymore. We can safely boot with nosmp and the warning won't show up. The other side benefit of

[RFC/PATCH-v4.2-rc6 0/5] arm: am437x: use TWD/Global timers

2015-08-10 Thread Felipe Balbi
Hi, with these patches AM437x devices can use TWD/global timers. At least TWD is now used as sched_clock() which gives better latency as seen below. Keep in mind that while I ran cyclictest to have a feel for avg latency this test was not against an RT kernel, so results should be taken with a gr

[RFC/PATCH-v4.2-rc6 5/5] arm: omap2: board-generic: use omap4_local_timer_init for AM437x

2015-08-10 Thread Felipe Balbi
AM437x-based boards, can use omap4_local_timer_init() just fine. Let's use that instead. Signed-off-by: Felipe Balbi --- arch/arm/mach-omap2/board-generic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/board-generic.c b/arch/arm/mach-omap2/board-generi

[RFC/PATCH-v4.2-rc6 2/5] arm: boot: dts: am4372: add ARM timers and SCU nodes

2015-08-10 Thread Felipe Balbi
AM437x devices sport SCU, TWD and Global timers, let's add them to DTS so they have a chance to probe and be used by Linux. Signed-off-by: Felipe Balbi --- arch/arm/boot/dts/am4372.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/am4372.dtsi b/arc

[RFC/PATCH-v4.2-rc6 4/5] arm: omap2: timer: simplify omap4_local_timer_init()

2015-08-10 Thread Felipe Balbi
all users of omap4_local_timer_init() are already DT-only, so we can remove the check for having DTB or not. While at that, fix a typo in comment. Signed-off-by: Felipe Balbi --- arch/arm/mach-omap2/timer.c | 16 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/ar

[RFC/PATCH-v4.2-rc6 3/5] arm: omap2: Kconfig: select TWD and global timer on AM43xx devices

2015-08-10 Thread Felipe Balbi
Make sure to tell the kernel that AM437x has TWD and global timers. Signed-off-by: Felipe Balbi --- arch/arm/mach-omap2/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index 4a023e8d1bdb..eea902280989 100644 --- a/arch/arm/

Re: [PATCH 1/3] tty: serial: 8250_omap: do not use RX DMA if pause is not supported

2015-08-10 Thread Russell King - ARM Linux
On Mon, Aug 10, 2015 at 09:00:29AM -0400, Peter Hurley wrote: > Russell seemed to think that the current dma operation was necessary > information to > differentiate types of pause support, but I don't think that's required. > As Sebastian's omap-dma driver patch shows, partial pause support has m

Re: [PATCH 1/3] tty: serial: 8250_omap: do not use RX DMA if pause is not supported

2015-08-10 Thread Peter Hurley
On 08/10/2015 07:54 AM, Peter Ujfalusi wrote: > On 08/07/2015 11:00 PM, Sebastian Andrzej Siewior wrote: > I don't think this is good thing for the stable _and_ for the mainline at the > same time: > in stable the rx DMA should not be allowed since the stable kernels does not > allow pause/resume

Re: [PATCH 16/27] mfd: Export OF module alias information in missing drivers

2015-08-10 Thread Lee Jones
On Thu, 30 Jul 2015, Javier Martinez Canillas wrote: > The I2C core always reports the MODALIAS uevent as "i2c: regardless if the driver was matched using the I2C id_table or the > of_match_table. So technically there's no need for a driver to export > the OF table since currently it's not used. >

Re: [PATCH 1/3] tty: serial: 8250_omap: do not use RX DMA if pause is not supported

2015-08-10 Thread Sebastian Andrzej Siewior
On 08/10/2015 01:54 PM, Peter Ujfalusi wrote: >> diff --git a/drivers/tty/serial/8250/8250_omap.c >> b/drivers/tty/serial/8250/8250_omap.c >> index 0340ee6ba970..07a11e0935e4 100644 >> --- a/drivers/tty/serial/8250/8250_omap.c >> @@ -769,7 +771,9 @@ static void omap_8250_rx_dma_flush(struct uart_8

Re: [PATCH 1/3] tty: serial: 8250_omap: do not use RX DMA if pause is not supported

2015-08-10 Thread Peter Ujfalusi
On 08/07/2015 11:00 PM, Sebastian Andrzej Siewior wrote: > The 8250-omap driver requires the DMA-engine driver to support the pause > command in order to properly turn off programmed RX transfer before the > driver stars manually reading from the FIFO. > The lacking support of the requirement has b

[PATCH v2 5/6] ARM: AM43XX: HWMOD: Add rtc hwmod

2015-08-10 Thread Keerthy
The patch adds rtc hwmod. This is present on gp and sk evm and not on epos evm. Hence adding it selectively using a seprate list. Signed-off-by: Keerthy --- arch/arm/mach-omap2/omap_hwmod_43xx_data.c | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/arch/arm/m

[PATCH v2 6/6] ARM: dts: AM437X-GP-EVM: Enable rtc

2015-08-10 Thread Keerthy
Enables rtc. RTC can be used to wake up system from suspend when used with external clock source. Signed-off-by: Keerthy --- arch/arm/boot/dts/am437x-gp-evm.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts inde

[PATCH v2 4/6] ARM: dts: am43x-epos-evm: Add the am438 compatible string

2015-08-10 Thread Keerthy
The SoCs on am43x-epos-evm are named am438x. Hence add the compatiblity string and remove the am4372 string. Signed-off-by: Keerthy --- arch/arm/boot/dts/am43x-epos-evm.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/d

[PATCH v2 0/6] ARM: AM4372: Enable RTC

2015-08-10 Thread Keerthy
The series brings multiple fixes needed to get rtc ticking on am437x-gp-evm. This is tested on top of omap-for-v4.3/dt-v2 branch. Boot tested on AM437X-GP-EVM also tested rtc ticking via sysfs nodes. The series is on top of this patch: http://comments.gmane.org/gmane.linux.drivers.devicetree/131

[PATCH v2 3/6] ARM: AM43xx: Introduce a separate soc_is function for am438x series of SoCs

2015-08-10 Thread Keerthy
EPOS evms are fitted with a separate family of am43xx SoCs and are named am438x series. Adding a separate soc_is function to identify that particular series of SoCs. This can be done to avoid unnecessarily registering hwmods like rtc when not needed on EPOS evms. Signed-off-by: Keerthy --- Docum

[PATCH v2 1/6] ARM: dts: AM43XX: Add clk_32k_rtc node

2015-08-10 Thread Keerthy
Add the clk_32k_rtc this is the external clock source for the rtc. Signed-off-by: Keerthy --- arch/arm/boot/dts/am43xx-clocks.dtsi | 6 ++ drivers/clk/ti/clk-43xx.c| 1 + 2 files changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/am43xx-clocks.dtsi b/arch/arm/boot/dts/am43

[PATCH v2 2/6] rtc: omap: Add external clock enabling support

2015-08-10 Thread Keerthy
Switch to external clock source during suspend and switch back to internal source on resume. This helps rtc ticking across suspend. Signed-off-by: Keerthy --- arch/arm/boot/dts/am4372.dtsi | 2 ++ drivers/rtc/rtc-omap.c| 31 +++ 2 files changed, 33 insertions

Re: [PATCH v2 0/2] OMAPDSS: Fix of-node refcount issues

2015-08-10 Thread Tomi Valkeinen
On 07/08/15 14:04, Jyri Sarha wrote: > Changes since the first version: > - Fix commit descriptions and subject according to Tomi's comments > > I found couple of refcounting issues related to OMAP DSS of-node > handling. Second patch should fix the "ERROR: Bad of_node_put() on > /encoder@0/port

Re: [PATCH v4 1/2] extcon: palmas: Support GPIO based USB ID detection

2015-08-10 Thread Lee Jones
On Mon, 03 Aug 2015, Roger Quadros wrote: > Some palmas based chip variants do not have OTG based ID logic. > For these variants we rely on GPIO based USB ID detection. > > These chips do have VBUS comparator for VBUS detection so we > continue to use the old way of detecting VBUS. > > Acked-by: