Re: [RESEND] dmaengine: edma: Add channel number to debug prints

2014-04-29 Thread Vinod Koul
On Thu, Apr 24, 2014 at 10:29:50AM +0300, Peter Ujfalusi wrote: It helps to identify issues if we have some information regarding to the channel which the event is associated. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com Acked-by: Joel Fernandes jo...@ti.com Applied, thanks --

Re: [PATCH] ARM: dts: am33xx: fix DMA support for the second USB interface

2014-04-29 Thread Yegor Yefremov
On Tue, Apr 29, 2014 at 6:31 AM, George Cherian george.cher...@ti.com wrote: On 4/28/2014 9:47 PM, Yegor Yefremov wrote: On Mon, Apr 28, 2014 at 4:25 PM, George Cherian george.cher...@ti.com wrote: On 4/28/2014 2:07 PM, yegorsli...@googlemail.com wrote: From: Yegor Yefremov

Re: [PATCH v2] ARM: dts: am33xx: Move the cppi41dma node so it's probed early

2014-04-29 Thread Yegor Yefremov
On Thu, Apr 24, 2014 at 11:11 PM, Ezequiel Garcia ezequ...@vanguardiasur.com.ar wrote: The DMA controller is needed for the USB controller to be correctly registered. Therefore, if the DMA node is located at the end an unecessary probe deferral is produced systematically. This is easily fixed

Re: [PATCH v2 3/7] phy: omap-usb2: Use generic clock names wkupclk and refclk

2014-04-29 Thread Roger Quadros
+Nishant Hi, On 04/28/2014 07:03 PM, Felipe Balbi wrote: Hi, On Mon, Apr 28, 2014 at 05:01:23PM +0300, Roger Quadros wrote: As clocks might be named differently on multiple platforms, use a generic name in the driver and allow device tree node to specify the platform specific clock name.

Re: [PATCH v2 5/7] phy: omap-usb2: Add clock names to Documentation binding

2014-04-29 Thread Roger Quadros
Hi Sergei, On 04/28/2014 08:23 PM, Sergei Shtylyov wrote: Hello. On 04/28/2014 06:01 PM, Roger Quadros wrote: Add wkupclk and refclk information to DT binding information. Signed-off-by: Roger Quadros rog...@ti.com --- Documentation/devicetree/bindings/phy/ti-phy.txt | 7 +++

Re: [PATCH v2] ARM: dts: am33xx: Move the cppi41dma node so it's probed early

2014-04-29 Thread George Cherian
On 4/29/2014 11:49 AM, Yegor Yefremov wrote: On Thu, Apr 24, 2014 at 11:11 PM, Ezequiel Garcia ezequ...@vanguardiasur.com.ar wrote: The DMA controller is needed for the USB controller to be correctly registered. Therefore, if the DMA node is located at the end an unecessary probe deferral is

Re: [PATCH v2] ARM: dts: am33xx: Move the cppi41dma node so it's probed early

2014-04-29 Thread Sebastian Andrzej Siewior
On 04/29/2014 09:58 AM, George Cherian wrote: This is easily fixed by moving the node at the beggining of the child list, so it's probed first. This will give issues on module removal. Since we use device_for_each_child in remove patch, it will try to remove cppi dma controller, while the

Re: [PATCH v2] ARM: dts: am33xx: Move the cppi41dma node so it's probed early

2014-04-29 Thread George Cherian
Hi Sebastian, On 4/29/2014 1:36 PM, Sebastian Andrzej Siewior wrote: On 04/29/2014 09:58 AM, George Cherian wrote: This is easily fixed by moving the node at the beggining of the child list, so it's probed first. This will give issues on module removal. Since we use device_for_each_child in

[PATCHv2] arm: dts: am33xx-clock: Fix ehrpwm tbclk data.

2014-04-29 Thread Sourav Poddar
tbclk does not need to be a composite clock, we can simply use gate clock for this purpose. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- v1-v2: change compatible string according to mainline. arch/arm/boot/dts/am33xx-clocks.dtsi | 30 ++ 1 file changed, 6

[PATCHv2] arm: dts: am43x-clock: add tbclk data for ehrpwm.

2014-04-29 Thread Sourav Poddar
We need tbclk clock data for the functioning of ehrpwm module. Hence, populating the required clock information in clock dts file. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- v1-v2: change compatible according to mainline. arch/arm/boot/dts/am43xx-clocks.dtsi | 48

Re: [PATCH 5/5] arm: hwmod: am437x: Add hwmod data for hdq1w.

2014-04-29 Thread sourav
Hi Paul, On Tuesday 29 April 2014 03:37 AM, Paul Walmsley wrote: On Wed, 16 Apr 2014, Sourav Poddar wrote: These adds hwmod data for hdq/1w driver. Signed-off-by: Sourav Poddarsourav.pod...@ti.com Is a TRM available yet for AM43x so this patch can be properly reviewed? NO, the TRMS are

Re: [PATCH 3/5] arm: omap2: skip device build from platform code for dt.

2014-04-29 Thread sourav
On Tuesday 29 April 2014 12:09 AM, Felipe Balbi wrote: On Mon, Apr 28, 2014 at 06:28:45PM +, Paul Walmsley wrote: On Wed, 16 Apr 2014, Sourav Poddar wrote: For SOCs with dt enabled, device should be build through device tree. Prevent device build call from platform code, if device tree is

Re: [patch V2 0/6] dma: edma: Provide granular residue accounting

2014-04-29 Thread Vinod Koul
On Mon, Apr 28, 2014 at 03:47:37PM -0500, Joel Fernandes wrote: On 04/28/2014 05:49 AM, Thomas Gleixner wrote: A simpler version to provide granular residue accounting and readout for EDMA. Delta to V1: - Removed the double read of the address in PaRAM - Simplified

Re: [PATCH v2] ARM: dts: am33xx: Move the cppi41dma node so it's probed early

2014-04-29 Thread Sebastian Andrzej Siewior
On 04/29/2014 10:27 AM, George Cherian wrote: Hi Sebastian, Hi George, On 4/29/2014 1:36 PM, Sebastian Andrzej Siewior wrote: On 04/29/2014 09:58 AM, George Cherian wrote: This is easily fixed by moving the node at the beggining of the child list, so it's probed first. This will give

Re: [PATCH 1/5] drivers: w1: omap_hdq: cleanup and bug fixes.

2014-04-29 Thread sourav
Hi Paul, On Tuesday 29 April 2014 12:49 AM, Paul Walmsley wrote: On Wed, 16 Apr 2014, Sourav Poddar wrote: The patch adds the following to the omap hdq driver. 1. HDQ Device reset call in probe. 2. Enabling '1 wire mode' and checking for presence pulse bit. 3. Proper disabling and enabling of

Re: [PATCH] ARM: OMAP5: Switch to THUMB mode if needed on secondary CPU

2014-04-29 Thread Dave Martin
On Mon, Apr 28, 2014 at 06:21:49PM +0100, Joel Fernandes wrote: On 04/28/2014 12:20 PM, Joel Fernandes wrote: On 04/28/2014 11:43 AM, Dave Martin wrote: On Tue, Apr 22, 2014 at 01:31:46PM -0500, Joel Fernandes wrote: On my DRA7 system, when the kernel is built in THUMB mode, the secondary

Re: [PATCH] usb: dwc3: debugfs: add snapshot to dump requests trbs events

2014-04-29 Thread Zhuang Jin Can
On Mon, Apr 28, 2014 at 10:55:36AM -0500, Felipe Balbi wrote: On Mon, Apr 28, 2014 at 04:49:23PM -0400, Zhuang Jin Can wrote: Adds a debugfs file snapshot to dump dwc3 requests, trbs and events. you need to explain what are you trying to provide to our users here. What problem are you

Re: [PATCHv3 1/5] Input: add common DT binding for touchscreens

2014-04-29 Thread Pavel Machek
On Sat 2014-04-26 01:56:15, Sebastian Reichel wrote: Add common DT binding documentation for touchscreen devices and implement input_parse_touchscreen_of_params, which parses the common properties and configures the input device accordingly. The method currently does not interpret the axis

Re: [PATCHv3 5/5] Documentation: dt: Document TSC2005 DT binding

2014-04-29 Thread Pavel Machek
On Sat 2014-04-26 01:56:19, Sebastian Reichel wrote: Add devicetree binding documentation for TSC2005 touchscreen. Reviewed-by: Pavel Machek pa...@ucw.cz -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html --

Re: [PATCHv3 4/5] Input: tsc2005: add DT support

2014-04-29 Thread Pavel Machek
On Sat 2014-04-26 01:56:18, Sebastian Reichel wrote: This adds DT support to the tsc2005 touchscreen driver. Signed-off-by: Sebastian Reichel s...@kernel.org @@ -100,6 +102,11 @@ TSC2005_CFR2_AVG_7) #define MAX_12BIT0xfff

Re: [PATCHv3 3/5] Input: tsc2005: convert driver to use devm_*

2014-04-29 Thread Pavel Machek
On Sat 2014-04-26 01:56:17, Sebastian Reichel wrote: Simplify the driver by using managed resources for memory allocation of internal struct, input device allocation and irq request. Signed-off-by: Sebastian Reichel s...@kernel.org Reviewed-by: Pavel Machek pa...@ucw.cz -- (english)

Re: [PATCHv3 2/5] Input: tsc2005: use dev_err for error messages

2014-04-29 Thread Pavel Machek
On Sat 2014-04-26 01:56:16, Sebastian Reichel wrote: Change some dev_dbg() invocations to dev_err() ones, because they are supposed to output error messages. Signed-off-by: Sebastian Reichel s...@kernel.org Reviewed-by: Pavel Machek pa...@ucw.cz -- (english)

Re: [PATCH v10 1/5] mmc: omap_hsmmc: Enable SDIO interrupt

2014-04-29 Thread Andreas Müller
On Mon, Apr 28, 2014 at 9:40 AM, Andreas Fenkart afenk...@gmail.com wrote: There have been various patches floating around for enabling the SDIO IRQ for hsmmc, but none of them ever got merged. Probably the reason for not merging the SDIO interrupt patches has been the lack of wake-up path

Re: [PATCH] gpio: always enable GPIO_OMAP on ARCH_OMAP

2014-04-29 Thread Arnd Bergmann
On Tuesday 29 April 2014 01:59:20 Javier Martinez Canillas wrote: This driver is also used by OMAP1. Even when disabling GPIO_OMAP on that platform doesn't cause a build error since no function defined in the driver is used directly by platform code, I think that we always want this driver on

Re: [PATCH] gpio: always enable GPIO_OMAP on ARCH_OMAP

2014-04-29 Thread Javier Martinez Canillas
Hello Arnd, On 04/29/2014 12:26 PM, Arnd Bergmann wrote: On Tuesday 29 April 2014 01:59:20 Javier Martinez Canillas wrote: This driver is also used by OMAP1. Even when disabling GPIO_OMAP on that platform doesn't cause a build error since no function defined in the driver is used directly

[PATCH v4 4/5] ARM: OMAP2+: Add machine entry for dra72x devices

2014-04-29 Thread Rajendra Nayak
The only difference from the dra74x devices is the missing .smp entry. Signed-off-by: Rajendra Nayak rna...@ti.com --- arch/arm/mach-omap2/board-generic.c | 25 + 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-omap2/board-generic.c

[PATCH v4 3/5] ARM: OMAP2+: Replace all __initdata with __initconst for const init

2014-04-29 Thread Rajendra Nayak
Use of const init definition must use __initconst so replace all such instances where __initdata is used. Signed-off-by: Rajendra Nayak rna...@ti.com --- arch/arm/mach-omap2/board-generic.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git

[PATCH v4 5/5] ARM: DRA7: Add support for soc_is_dra74x() and soc_is_dra72x() varients

2014-04-29 Thread Rajendra Nayak
Use the corresponding compatibles to identify the devices. Signed-off-by: Rajendra Nayak rna...@ti.com --- arch/arm/mach-omap2/soc.h |7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/mach-omap2/soc.h b/arch/arm/mach-omap2/soc.h index 30abcc8..5ff724e 100644 ---

[PATCH v4 0/5] ARM: DRA7: Add support for DRA72x devices

2014-04-29 Thread Rajendra Nayak
changes in v4: -1- used full SoC names in compatibles eg ti,dra742 and ti,dra722 -2- Created a seperate patch for replacing __initdata with __initconst changes in v3: Removed wildcards from compatible strings and duplicates from .dt_compat strings as suggested by Arnd DRA72x devices are single

[PATCH v4 1/5] ARM: dts: dra7-evm: Remove the wrong and undocumented compatible

2014-04-29 Thread Rajendra Nayak
ti,dra752 is neither documented nor correct, since the device is actually a dra742 device as rightly documented in dt bindings. Signed-off-by: Rajendra Nayak rna...@ti.com Cc: devicet...@vger.kernel.org --- arch/arm/boot/dts/dra7-evm.dts |2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH v4 2/5] ARM: dts: Add support for DRA72x family of devices

2014-04-29 Thread Rajendra Nayak
DRA722 is part of DRA72x family which are single core cortex A15 devices with most infrastructure IPs otherwise same as whats on the DRA74x family. So move the cpu nodes into dra74x.dtsi and dra72x.dtsi respectively. Also add a minimal dra72-evm dts file. Signed-off-by: Rajendra Nayak

Re: [PATCH v4 4/5] ARM: OMAP2+: Add machine entry for dra72x devices

2014-04-29 Thread Arnd Bergmann
On Tuesday 29 April 2014 16:35:12 Rajendra Nayak wrote: The only difference from the dra74x devices is the missing .smp entry. Signed-off-by: Rajendra Nayak rna...@ti.com --- arch/arm/mach-omap2/board-generic.c | 25 + 1 file changed, 21 insertions(+), 4

Re: [PATCH v4 2/5] ARM: dts: Add support for DRA72x family of devices

2014-04-29 Thread Arnd Bergmann
On Tuesday 29 April 2014 16:35:10 Rajendra Nayak wrote: DRA722 is part of DRA72x family which are single core cortex A15 devices with most infrastructure IPs otherwise same as whats on the DRA74x family. So move the cpu nodes into dra74x.dtsi and dra72x.dtsi respectively. Also add a

[PATCH 06/15] ASoC: RX-51 audio needs I2C

2014-04-29 Thread Xia Kaixu
From: Arnd Bergmann a...@arndb.de The codec requires I2C to be enabled, so any other option that selects it should also depend on I2C. Signed-off-by: Arnd Bergmann a...@arndb.de Signed-off-by: Xia Kaixu kaixu@linaro.org Cc: Mark Brown broo...@kernel.org Cc: Liam Girdwood lgirdw...@gmail.com

[PATCH 14/15] ASoC: Amstrad E3 needs TTY support for codec

2014-04-29 Thread Xia Kaixu
From: Arnd Bergmann a...@arndb.de The cx20442 codec driver used here requires the TTY layer to be enabled, or we get a link error: sound/built-in.o: In function `cx20442_codec_remove': cx20442.c:398: undefined reference to `tty_hangup' sound/built-in.o: In function `ams_delta_remove':

Re: [PATCH v4 5/5] ARM: DRA7: Add support for soc_is_dra74x() and soc_is_dra72x() varients

2014-04-29 Thread Rajendra Nayak
On Tuesday 29 April 2014 04:48 PM, Arnd Bergmann wrote: On Tuesday 29 April 2014 16:35:13 Rajendra Nayak wrote: @@ -393,7 +395,12 @@ IS_OMAP_TYPE(3430, 0x3430) #if defined(CONFIG_SOC_DRA7XX) #undef soc_is_dra7xx +#undef soc_is_dra74x +#undef soc_is_dra72x #define soc_is_dra7xx()

Re: [PATCH v4 5/5] ARM: DRA7: Add support for soc_is_dra74x() and soc_is_dra72x() varients

2014-04-29 Thread Arnd Bergmann
On Tuesday 29 April 2014 16:35:13 Rajendra Nayak wrote: @@ -393,7 +395,12 @@ IS_OMAP_TYPE(3430, 0x3430) #if defined(CONFIG_SOC_DRA7XX) #undef soc_is_dra7xx +#undef soc_is_dra74x +#undef soc_is_dra72x #define soc_is_dra7xx()(of_machine_is_compatible(ti,dra7)) +#define

Re: [PATCH] gpio: always enable GPIO_OMAP on ARCH_OMAP

2014-04-29 Thread Arnd Bergmann
On Tuesday 29 April 2014 12:53:45 Javier Martinez Canillas wrote: Hello Arnd, On 04/29/2014 12:26 PM, Arnd Bergmann wrote: On Tuesday 29 April 2014 01:59:20 Javier Martinez Canillas wrote: This driver is also used by OMAP1. Even when disabling GPIO_OMAP on that platform doesn't cause a

Re: [PATCHv2] arm: dts: am43x-clock: add tbclk data for ehrpwm.

2014-04-29 Thread Tero Kristo
On 04/29/2014 11:34 AM, Sourav Poddar wrote: We need tbclk clock data for the functioning of ehrpwm module. Hence, populating the required clock information in clock dts file. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- v1-v2: change compatible according to mainline.

Re: [PATCHv2] arm: dts: am33xx-clock: Fix ehrpwm tbclk data.

2014-04-29 Thread Tero Kristo
On 04/29/2014 11:34 AM, Sourav Poddar wrote: tbclk does not need to be a composite clock, we can simply use gate clock for this purpose. Signed-off-by: Sourav Poddar sourav.pod...@ti.com Looks good to me so: Acked-by: Tero Kristo t-kri...@ti.com --- v1-v2: change compatible string

Re: [PATCHv2] arm: dts: am43x-clock: add tbclk data for ehrpwm.

2014-04-29 Thread sourav
Hi Tero, On Tuesday 29 April 2014 06:16 PM, Tero Kristo wrote: On 04/29/2014 11:34 AM, Sourav Poddar wrote: We need tbclk clock data for the functioning of ehrpwm module. Hence, populating the required clock information in clock dts file. Signed-off-by: Sourav Poddar sourav.pod...@ti.com ---

Re: [PATCH/RFC 3/4] of/clk: Register clocks suitable for Runtime PM with the PM core

2014-04-29 Thread Grant Likely
On Fri, 25 Apr 2014 16:44:58 -0700, Kevin Hilman khil...@linaro.org wrote: Geert Uytterhoeven geert+rene...@glider.be writes: When adding a device from DT, check if its clocks are suitable for Runtime PM, and register them with the PM core. If Runtime PM is disabled, just enable the

Re: [PATCH V3 00/20] bus: omap_l3_noc: driver cleanups and support for DRA7/AM4372

2014-04-29 Thread Sekhar Nori
On Monday 28 April 2014 08:44 PM, Nishanth Menon wrote: V3: has the following changes (w.r.t v2): - fixed relaxed commit message and usage. - AM437x internal documents showed that: - new master information updated into the data - masterid register

Re: [PATCH v2] ARM: dts: am33xx: Move the cppi41dma node so it's probed early

2014-04-29 Thread Ezequiel García
On 29 April 2014 06:09, Sebastian Andrzej Siewior bige...@linutronix.de wrote: On 04/29/2014 10:27 AM, George Cherian wrote: Hi Sebastian, Hi George, On 4/29/2014 1:36 PM, Sebastian Andrzej Siewior wrote: On 04/29/2014 09:58 AM, George Cherian wrote: This is easily fixed by moving the node

[PATCHv3] arm: dts: am43x-clock: add tbclk data for ehrpwm.

2014-04-29 Thread Sourav Poddar
We need tbclk clock data for the functioning of ehrpwm module. Hence, populating the required clock information in clock dts file. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- v2-v3 - correct bitshifting arch/arm/boot/dts/am43xx-clocks.dtsi | 48 ++

Re: [PATCH] ARM: dts: am437x-gp-evm: Boot fixes

2014-04-29 Thread Dave Gerlach
On 04/25/2014 11:41 AM, Tony Lindgren wrote: * Dave Gerlach d-gerl...@ti.com [140423 10:25]: On 04/23/2014 09:59 AM, Tony Lindgren wrote: * Dave Gerlach d-gerl...@ti.com [140422 12:53]: On 04/22/2014 02:01 PM, Tony Lindgren wrote: * Dave Gerlach d-gerl...@ti.com [140422 11:52]: This patch,

Re: [PATCHv3] arm: dts: am43x-clock: add tbclk data for ehrpwm.

2014-04-29 Thread Tero Kristo
On 04/29/2014 05:15 PM, Sourav Poddar wrote: We need tbclk clock data for the functioning of ehrpwm module. Hence, populating the required clock information in clock dts file. Signed-off-by: Sourav Poddar sourav.pod...@ti.com Acked-by: Tero Kristo t-kri...@ti.com --- v2-v3 - correct

Re: [PATCH 06/23] ARM: OMAP: add OMAP5 DSI muxing

2014-04-29 Thread Tony Lindgren
* Tomi Valkeinen tomi.valkei...@ti.com [140428 22:26]: On 28/04/14 19:45, Tony Lindgren wrote: * Tomi Valkeinen tomi.valkei...@ti.com [140427 23:53]: On 25/04/14 18:31, Tony Lindgren wrote: Chances are any mux register in the syscon area already works with pinctrl-single,pins or

Re: [PATCH 2/2] ARM: OMAP2+: fix dpll round_rate() to actually round

2014-04-29 Thread Felipe Balbi
On Thu, Apr 24, 2014 at 11:44:58AM -0700, Tony Lindgren wrote: * Felipe Balbi ba...@ti.com [140424 11:29]: Hi, On Fri, Jan 17, 2014 at 09:44:59AM +0200, Tomi Valkeinen wrote: omap2_dpll_round_rate() doesn't actually round the given rate, even if the name and the description so hints.

Re: [PATCH] usb: dwc3: debugfs: add snapshot to dump requests trbs events

2014-04-29 Thread Felipe Balbi
Hi, On Tue, Apr 29, 2014 at 05:21:42PM -0400, Zhuang Jin Can wrote: On Mon, Apr 28, 2014 at 10:55:36AM -0500, Felipe Balbi wrote: On Mon, Apr 28, 2014 at 04:49:23PM -0400, Zhuang Jin Can wrote: Adds a debugfs file snapshot to dump dwc3 requests, trbs and events. you need to explain

Re: [PATCH v2 3/7] phy: omap-usb2: Use generic clock names wkupclk and refclk

2014-04-29 Thread Felipe Balbi
On Tue, Apr 29, 2014 at 10:50:39AM +0300, Roger Quadros wrote: +Nishant Hi, On 04/28/2014 07:03 PM, Felipe Balbi wrote: Hi, On Mon, Apr 28, 2014 at 05:01:23PM +0300, Roger Quadros wrote: As clocks might be named differently on multiple platforms, use a generic name in the driver

Re: [PATCH v2 3/7] phy: omap-usb2: Use generic clock names wkupclk and refclk

2014-04-29 Thread Felipe Balbi
On Tue, Apr 29, 2014 at 11:14:20AM -0500, Felipe Balbi wrote: On Tue, Apr 29, 2014 at 10:50:39AM +0300, Roger Quadros wrote: +Nishant Hi, On 04/28/2014 07:03 PM, Felipe Balbi wrote: Hi, On Mon, Apr 28, 2014 at 05:01:23PM +0300, Roger Quadros wrote: As clocks might be

Re: [PATCH 51/97] ARM: l2c: remove platforms/SoCs setting early BRESP

2014-04-29 Thread Stephen Warren
On 04/28/2014 06:02 PM, Simon Horman wrote: On Mon, Apr 28, 2014 at 08:30:32PM +0100, Russell King wrote: Since we now automatically enable early BRESP in core L2C-310 code when we detect a Cortex-A9, we don't need platforms/SoCs to set this bit explicitly. Instead, they should seek to

Re: [PATCH 06/23] ARM: OMAP: add OMAP5 DSI muxing

2014-04-29 Thread Tomi Valkeinen
On 29/04/14 18:05, Tony Lindgren wrote: omap4_padconf_global is a syscon node, not pinctrl. As syscon just gives a raw regmap to its memory area, the driver needs to know about the OMAP control registers to use it. That would be probably best set up the same way we have already set up for

Re: [PATCH 2/2] ARM: OMAP2+: fix dpll round_rate() to actually round

2014-04-29 Thread Tomi Valkeinen
On 29/04/14 18:51, Felipe Balbi wrote: On Thu, Apr 24, 2014 at 11:44:58AM -0700, Tony Lindgren wrote: * Felipe Balbi ba...@ti.com [140424 11:29]: Hi, On Fri, Jan 17, 2014 at 09:44:59AM +0200, Tomi Valkeinen wrote: omap2_dpll_round_rate() doesn't actually round the given rate, even if the

Re: [PATCH 06/23] ARM: OMAP: add OMAP5 DSI muxing

2014-04-29 Thread Tomi Valkeinen
On 29/04/14 19:19, Tomi Valkeinen wrote: On 29/04/14 18:05, Tony Lindgren wrote: omap4_padconf_global is a syscon node, not pinctrl. As syscon just gives a raw regmap to its memory area, the driver needs to know about the OMAP control registers to use it. That would be probably best set up

Re: [PATCH] ARM: OMAP5: Switch to THUMB mode if needed on secondary CPU

2014-04-29 Thread Joel Fernandes
On Apr 29, 2014, at 2:17 AM, Dave Martin dave.mar...@arm.com wrote: On Mon, Apr 28, 2014 at 06:21:49PM +0100, Joel Fernandes wrote: On 04/28/2014 12:20 PM, Joel Fernandes wrote: On 04/28/2014 11:43 AM, Dave Martin wrote: On Tue, Apr 22, 2014 at 01:31:46PM -0500, Joel Fernandes wrote: On

Re: [PATCH 06/23] ARM: OMAP: add OMAP5 DSI muxing

2014-04-29 Thread Tony Lindgren
* Tomi Valkeinen tomi.valkei...@ti.com [140429 09:33]: On 29/04/14 19:19, Tomi Valkeinen wrote: On 29/04/14 18:05, Tony Lindgren wrote: omap4_padconf_global is a syscon node, not pinctrl. As syscon just gives a raw regmap to its memory area, the driver needs to know about the OMAP

Re: [PATCH] ARM: OMAP5: Switch to THUMB mode if needed on secondary CPU

2014-04-29 Thread Dave Martin
On Tue, Apr 29, 2014 at 05:36:30PM +0100, Joel Fernandes wrote: [...] Sorry what I meant is, say its of Type function. What tells the firmware to switch to THUMB? What's typically done is a boot address register is written by the kernel, and the firmware jumps to it after WFE.

Re: [PATCH 3/5] ASoC: omap: Add HA (HEAD acoustics) DSP add-on card audio driver for TAO3530

2014-04-29 Thread Mark Brown
On Mon, Apr 28, 2014 at 02:17:54PM +0200, Stefan Roese wrote: + switch (params_channels(params)) { + case 2: + case 4: + case 8: + case 16: + fmt = SND_SOC_DAIFMT_DSP_B | SND_SOC_DAIFMT_IB_NF; + break; + default: + return

Re: [PATCH 1/5] ASoC: Add support for machine specific trigger callback

2014-04-29 Thread Mark Brown
On Mon, Apr 28, 2014 at 02:17:52PM +0200, Stefan Roese wrote: From: Jarkko Nikula jarkko.nik...@bitmer.com Machine specific trigger callback allows to do final stream start/stop related operations in a machine driver after setting up the codec, DMA and DAI. Applied, thanks. signature.asc

[RFC 10/11] ARM: dts: dra7: Add prm_resets node

2014-04-29 Thread Dan Murphy
Add the prcm_resets node to the prm parent node. Add the dt-bindings header to the DT file Signed-off-by: Dan Murphy dmur...@ti.com --- arch/arm/boot/dts/dra7.dtsi|6 ++ include/dt-bindings/reset/ti,dra7-resets.h | 22 ++ 2 files changed, 28

[RFC 04/11] drivers: reset: am335: Add reset data for am335

2014-04-29 Thread Dan Murphy
Add the reset register data for the am335 SoC. Signed-off-by: Dan Murphy dmur...@ti.com --- drivers/reset/ti/Makefile |1 + drivers/reset/ti/reset-ti-am33xx.c | 37 drivers/reset/ti/reset-ti-data.h |1 + drivers/reset/ti/reset-ti.c

[RFC 01/11] drivers: reset: TI: SoC reset controller support.

2014-04-29 Thread Dan Murphy
The TI SoC reset controller support utilizes the reset controller framework to give device drivers or function drivers a common set of APIs to call to reset a module. The reset-ti is a common interface to the reset framework. The register data is retrieved during initialization of the reset

[RFC 06/11] ARM: OMAP: Add reset init to prcm file

2014-04-29 Thread Dan Murphy
Call the reset init API to initialize the reset framework and data for the related SoC. Signed-off-by: Dan Murphy dmur...@ti.com --- arch/arm/mach-omap2/prm_common.c |4 1 file changed, 4 insertions(+) diff --git a/arch/arm/mach-omap2/prm_common.c b/arch/arm/mach-omap2/prm_common.c

[RFC 02/11] drivers: reset: dra7: Add reset data for dra7xx

2014-04-29 Thread Dan Murphy
Add the reset register data for the dra7xx SoC. Include the dt-bindings header to properly index the right reset node. Signed-off-by: Dan Murphy dmur...@ti.com --- drivers/reset/ti/Makefile |1 + drivers/reset/ti/reset-ti-data.h |1 + drivers/reset/ti/reset-ti-dra7xx.c | 61

[RFC 05/11] drivers: reset: am43xx: Add reset data for am43xx

2014-04-29 Thread Dan Murphy
Add the reset register data for the am43xx SoC. Signed-off-by: Dan Murphy dmur...@ti.com --- drivers/reset/ti/Makefile |1 + drivers/reset/ti/reset-ti-am43xx.c | 43 drivers/reset/ti/reset-ti-data.h |1 + 3 files changed, 45 insertions(+)

[RFC 07/11] ARM: TI: Describe the ti reset DT entries

2014-04-29 Thread Dan Murphy
Describe the TI reset DT entries for TI SoC's. Signed-off-by: Dan Murphy dmur...@ti.com --- .../devicetree/bindings/reset/ti,reset.txt | 34 1 file changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/reset/ti,reset.txt diff --git

[RFC 03/11] drivers: reset: omap5: Add reset data for omap5

2014-04-29 Thread Dan Murphy
Add the reset register data for the omap5 SoC. Signed-off-by: Dan Murphy dmur...@ti.com --- drivers/reset/ti/Makefile |1 + drivers/reset/ti/reset-ti-data.h |2 ++ drivers/reset/ti/reset-ti-omap5.c | 61 + drivers/reset/ti/reset-ti.c |

[RFC] TI Reset Driver adapted to the reset core

2014-04-29 Thread Dan Murphy
This is a RFC on the TI reset adoption to the Reset framework. The patchset was derived from work from Rajendra Nayak and Afzal Mohammed who have had similar code offerings. One of the major differences here is the SoC data has been broken out so that the data and code are independent. There is

[RFC 11/11] ARM: dts: omap5: Add prm_resets node

2014-04-29 Thread Dan Murphy
Add the prm_resets node to the prm parent node. Add the dt-bindings header to the DT file Signed-off-by: Dan Murphy dmur...@ti.com --- arch/arm/boot/dts/omap5.dtsi|6 ++ include/dt-bindings/reset/ti,omap5-resets.h | 22 ++ 2 files changed, 28

[RFC 08/11] ARM: dts: am33xx: Add prcm_resets node

2014-04-29 Thread Dan Murphy
Add the prcm_resets node to the prcm parent node. Add the dt-bindings header to the DT file Signed-off-by: Dan Murphy dmur...@ti.com --- arch/arm/boot/dts/am33xx.dtsi|6 ++ include/dt-bindings/reset/ti,am33xx-resets.h | 18 ++ 2 files changed, 24

[RFC 09/11] ARM: dts: am4372: Add prcm_resets node

2014-04-29 Thread Dan Murphy
Add the prcm_resets node to the prcm parent node. Add the dt-bindings header to the DT file Signed-off-by: Dan Murphy dmur...@ti.com --- arch/arm/boot/dts/am4372.dtsi|6 ++ include/dt-bindings/reset/ti,am437x-resets.h | 19 +++ 2 files changed, 25

Re: [RFC 08/11] ARM: dts: am33xx: Add prcm_resets node

2014-04-29 Thread Arnd Bergmann
On Tuesday 29 April 2014 15:19:47 Dan Murphy wrote: + * AM33xx reset index for PRCM Module + * + * Copyright 2014 Texas Instruments Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + *

Re: [RFC 01/11] drivers: reset: TI: SoC reset controller support.

2014-04-29 Thread Arnd Bergmann
On Tuesday 29 April 2014 15:19:40 Dan Murphy wrote: +#ifndef _RESET_TI_H_ +#define _RESET_TI_H_ + +#ifdef CONFIG_RESET_TI +void ti_dt_reset_init(void); +#else +static inline void ti_dt_reset_init(void){ return; }; +#endif Why can't this be a regular platform device driver that gets

Re: [PATCH 2/5] ASoC: Add HA (HEAD acoustics) DSP codec driver template

2014-04-29 Thread Mark Brown
On Mon, Apr 28, 2014 at 02:17:53PM +0200, Stefan Roese wrote: +static int ha_dsp_hw_params(struct snd_pcm_substream *substream, + struct snd_pcm_hw_params *params, + struct snd_soc_dai *dai) +{ + struct snd_soc_pcm_runtime *rtd =

Re: [PATCHv2 1/9] ASoC: omap: rx51: Use static const char * const arrays

2014-04-29 Thread Mark Brown
On Mon, Apr 28, 2014 at 04:07:19PM +0200, Sebastian Reichel wrote: Mark the array and the string const by using static const char * const foo[] instead of static const char* foo[]. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCHv2 2/9] ASoC: omap: rx51: Add module alias

2014-04-29 Thread Mark Brown
On Mon, Apr 28, 2014 at 04:07:20PM +0200, Sebastian Reichel wrote: Add module alias to support driver autoloading. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCHv2 3/9] ASoC: omap: rx51: Use devm_snd_soc_register_card

2014-04-29 Thread Mark Brown
On Mon, Apr 28, 2014 at 04:07:21PM +0200, Sebastian Reichel wrote: This patch converts the rx51 ASoC module to use devm_snd_soc_register_card. Applied, thanks. signature.asc Description: Digital signature

[PATCH 4/4] ARM: dts: Add LCD panel sharp ls037v7dw01 support for omap3-evm and ldp

2014-04-29 Thread Tony Lindgren
Looks like quite a few omaps have sharp ls037v7dw01 that's configured as various panel dpi entries for whatever legacy reasons. For device tree based support, let's just configure these properly for panel ls037v7dw01 instead of panel dpi. This patch creates a common file for panel ls037v7dw01,

[PATCH 2/4] OMAPDSS: panel-sharp-ls037v7dw01: update to use gpiod

2014-04-29 Thread Tony Lindgren
Using gpiod will make it easier to add device tree support for this panel in the following patches. Note that all the GPIOs for this panel are optional, any of the the GPIOs could be configured with external pulls instead of GPIOs, so let's not error out if GPIOs are not found to make the panel

[PATCH 3/4] OMAPDSS: panel-sharp-ls037v7dw01: add device tree support

2014-04-29 Thread Tony Lindgren
We can pass the GPIO configuration for ls037v7dw01 in a standard gpios property. Signed-off-by: Tony Lindgren t...@atomide.com --- .../bindings/panel/sharp,ls037v7dw01.txt | 53 ++ .../omap2/displays-new/panel-sharp-ls037v7dw01.c | 84 -- 2 files

[PATCH 0/4] OMAPDSS: Add support for panel ls037v7dw01

2014-04-29 Thread Tony Lindgren
Hi all, Here are few patches to add devicetree support for panel ls037v7dw01 that's found on many omap3 boards. They seem to be often mis-configured as various panel dpi entries, but really should be move to use panel ls037v7dw01 instead. This panel is found at least on the omap3 sdp, ldp, omap3

[PATCH 1/4] OMAPDSS: Fix DSS clock multiplier issue on 3703 and probably 3630

2014-04-29 Thread Tony Lindgren
Otherwise we can get often errors like the following and the display won't come on: omapdss APPLY error: FIFO UNDERFLOW on gfx, disabling the overlay omapdss APPLY error: SYNC_LOST on channel lcd, restarting the output with video overlays disabled There are some earlier references to this issue:

Re: [RFC 08/11] ARM: dts: am33xx: Add prcm_resets node

2014-04-29 Thread Tony Lindgren
* Arnd Bergmann a...@arndb.de [140429 13:35]: On Tuesday 29 April 2014 15:19:47 Dan Murphy wrote: + * AM33xx reset index for PRCM Module + * + * Copyright 2014 Texas Instruments Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of

Re: [PATCH 4/4] ARM: dts: Add LCD panel sharp ls037v7dw01 support for omap3-evm and ldp

2014-04-29 Thread Joachim Eastwood
On 30 April 2014 01:52, Tony Lindgren t...@atomide.com wrote: Looks like quite a few omaps have sharp ls037v7dw01 that's configured as various panel dpi entries for whatever legacy reasons. For device tree based support, let's just configure these properly for panel ls037v7dw01 instead of

Re: [PATCH 1/4] ARM: dts: Add support for OMAP4 Variscite OM44 family

2014-04-29 Thread Joachim Eastwood
On 18 April 2014 17:10, Joachim Eastwood manab...@gmail.com wrote: Add support for VAR-SOM-OM44[1] SODIMM system on module from Variscite. SoM features a OMAP4460, 1GB RAM, Gigabit Ethernet (LAN7500) and optional WLAN/BT. Also add support for VAR-STK-OM44 development board from Variscite. This

Re: [PATCH v10 1/5] mmc: omap_hsmmc: Enable SDIO interrupt

2014-04-29 Thread Joel Fernandes
Minor nit... On 04/28/2014 02:40 AM, Andreas Fenkart wrote: [..] /* Do not initialize card-specific things if the power is off */ if (host-power_mode == MMC_POWER_OFF) @@ -1117,8 +1138,12 @@ static irqreturn_t omap_hsmmc_irq(int irq, void *dev_id) int status;

Re: [PATCH v10 1/5] mmc: omap_hsmmc: Enable SDIO interrupt

2014-04-29 Thread Joel Fernandes
Minor nit... On 04/28/2014 02:40 AM, Andreas Fenkart wrote: [..] /* Do not initialize card-specific things if the power is off */ if (host-power_mode == MMC_POWER_OFF) @@ -1117,8 +1138,12 @@ static irqreturn_t omap_hsmmc_irq(int irq, void *dev_id) int status;

[PATCH] ARM: OMAP5: Redo THUMB mode switch on secondary CPU

2014-04-29 Thread Joel Fernandes
Here's a redo of the patch [1] that effectively does the same thing but is the right way to do things by using ENDPROC instead. The firmware correctly switches to THUMB before entry. The patch applies ontop of the earlier patch [1]. [1] https://lkml.org/lkml/2014/4/22/1044 Suggested-by: Dave

Re: [PATCH] ARM: OMAP5: Switch to THUMB mode if needed on secondary CPU

2014-04-29 Thread Joel Fernandes
On 04/29/2014 01:31 PM, Dave Martin wrote: On Tue, Apr 29, 2014 at 05:36:30PM +0100, Joel Fernandes wrote: [...] Sorry what I meant is, say its of Type function. What tells the firmware to switch to THUMB? What's typically done is a boot address register is written by the kernel, and

Re: [patch V2 0/6] dma: edma: Provide granular residue accounting

2014-04-29 Thread Joel Fernandes
On 04/29/2014 03:46 AM, Vinod Koul wrote: [..] commit 770f0f3a20188b7e17db2790803b9da925dc0b94 Author: Thomas Gleixner t...@linutronix.de Date: Mon Apr 28 10:49:43 2014 + dmaengine: edma: Make reading the position of active channels work As Joel pointed out,

Re: [patch V2 0/6] dma: edma: Provide granular residue accounting

2014-04-29 Thread Vinod Koul
On Tue, Apr 29, 2014 at 11:25:02PM -0500, Joel Fernandes wrote: On 04/29/2014 03:46 AM, Vinod Koul wrote: [..] commit 770f0f3a20188b7e17db2790803b9da925dc0b94 Author: Thomas Gleixner t...@linutronix.de Date: Mon Apr 28 10:49:43 2014 + dmaengine: edma: Make reading the