Re: [PATCH 1/5 v7][RFC] ASoC: add snd_soc_register_cpu()

2013-03-01 Thread Mark Brown
On Wed, Feb 27, 2013 at 03:45:45PM -0700, Stephen Warren wrote: I can't recall how much influence the existing CODEC objects have on the various routing/matching decisions inside the ASoC core. While this patch does register and unregister CPU objects, I wonder if it should have more impact

[PATCH v3 0/2] crypto: sahara: Add support for SAHARA in i.MX27.

2013-03-01 Thread Javier Martin
Hi, the following changes since v2: - Merge device tree binding with the driver code in the same patch. - Specify that currently, only i.MX27 is supported in device tree binding. - Replace MACH_MX27 by ARCH_MXC in Kconfig. - Remove __devexit_p from sahara_remove(). I haven't finally included

[PATCH v3 1/2] i.MX27: Add clock support for SAHARA2.

2013-03-01 Thread Javier Martin
Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- arch/arm/mach-imx/clk-imx27.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-imx/clk-imx27.c b/arch/arm/mach-imx/clk-imx27.c index 4c1d1e4..0b9664a 100644 --- a/arch/arm/mach-imx/clk-imx27.c +++

[PATCH v3 2/2] crypto: sahara: Add driver for SAHARA2 accelerator.

2013-03-01 Thread Javier Martin
SAHARA2 HW module is included in the i.MX27 SoC from Freescale. It is capable of performing cipher algorithms such as AES, 3DES..., hashing and RNG too. This driver provides support for AES-CBC and AES-ECB by now. Reviewed-by: Arnd Bergmann a...@arndb.de Signed-off-by: Javier Martin

[PATCH 2/2] mfd: stmpe: DT: Add stmpe-i2c dt alias to get id device

2013-03-01 Thread Linus Walleij
From: Gabriel Fernandez gabriel.fernan...@stericsson.com This patch augments the STMP driver to read the device id from the stmpe-i2c dt alias if present. Cc: devicetree-discuss@lists.ozlabs.org Signed-off-by: Gabriel Fernandez gabriel.fernan...@stericsson.com Signed-off-by: Linus Walleij

[PATCH 1/2] mfd: stmpe: DT: Enable no-irq mode configuration

2013-03-01 Thread Linus Walleij
From: Gabriel Fernandez gabriel.fernan...@stericsson.com If there is no interrupt property into stmpe node then activate the no-irq mode by setting the irq value to -1. Cc: devicetree-discuss@lists.ozlabs.org Signed-off-by: Gabriel Fernandez gabriel.fernan...@stericsson.com Signed-off-by: Linus

[RFC PATCH RESEND v2] of/pci: Provide support for parsing PCI DT ranges property

2013-03-01 Thread Andrew Murray
This patch factors out common implementations patterns to reduce overall kernel code and provide a means for host bridge drivers to directly obtain struct resources from the DT's ranges property without relying on architecture specific DT handling. This will make it easier to write archiecture

Re: [PATCH 2/2] pinctrl: imx: use pin_func_ids to search the pinctrl item.

2013-03-01 Thread Linus Walleij
On Wed, Feb 27, 2013 at 3:35 AM, Huang Shijie b32...@freescale.com wrote: The uart may works in DTE mode or DCE mode. The customer can sets the different modes by the pinctrl. But the pinctrl items for DTE or DCE may share the same Pad id, such as: MX6Q_PAD_EIM_D27__UART2_RXD_DTE and

Re: [PATCH] linux/of_platform.h: fix compilation warnings with DT disabled

2013-03-01 Thread Rob Herring
On 03/01/2013 01:09 AM, Simon Horman wrote: On Tue, Feb 19, 2013 at 02:58:25AM +0300, Sergei Shtylyov wrote: Fix the following compilation warnings (in Simon Horman's renesas.git repo): In file included from arch/arm/mach-shmobile/setup-r8a7779.c:24:0: include/linux/of_platform.h:107:13:

Re: [PATCH] linux/of_platform.h: fix compilation warnings with DT disabled

2013-03-01 Thread Rob Herring
On 03/01/2013 07:46 AM, Rob Herring wrote: On 03/01/2013 01:09 AM, Simon Horman wrote: On Tue, Feb 19, 2013 at 02:58:25AM +0300, Sergei Shtylyov wrote: Fix the following compilation warnings (in Simon Horman's renesas.git repo): In file included from

Re: [PATCH v3 1/2] dma: imx-dma: Add oftree support

2013-03-01 Thread Markus Pargmann
On Thu, Feb 28, 2013 at 02:30:27PM +0800, Shawn Guo wrote: On Mon, Feb 25, 2013 at 05:04:14PM +0100, Markus Pargmann wrote: Adding devicetree support for imx-dma driver. Use driver name for function 'imx_dma_is_general_purpose' because the devicename for devicetree initialized devices is

Re: [PATCH] linux/of_platform.h: fix compilation warnings with DT disabled

2013-03-01 Thread Rob Herring
On 03/01/2013 07:55 AM, Sergei Shtylyov wrote: Hello. On 01-03-2013 17:48, Rob Herring wrote: Fix the following compilation warnings (in Simon Horman's renesas.git repo): In file included from arch/arm/mach-shmobile/setup-r8a7779.c:24:0: include/linux/of_platform.h:107:13: warning:

Re: [PATCH] clk: add si5351 i2c common clock driver

2013-03-01 Thread Daniel Mack
Hi Sebastian, On 27.02.2013 11:01, Sebastian Hesselbarth wrote: first of all sorry for the late answer but thanks for testing the driver. On 2/19/13, Daniel Mack zon...@gmail.com wrote: Hi Sebastian, I did some more tests today and it took me a while to dig for the root cause why things

Re: [PATCH 04/14] ARM: OMAP2+: Add function for configuring GPMC settings

2013-03-01 Thread Jon Hunter
On 02/28/2013 11:33 PM, Philip, Avinash wrote: On Thu, Feb 28, 2013 at 22:42:37, Hunter, Jon wrote: On 02/28/2013 09:52 AM, Jon Hunter wrote: On 02/28/2013 12:05 AM, Philip, Avinash wrote: On Tue, Feb 26, 2013 at 23:00:31, Hunter, Jon wrote: The GPMC has various different configuration

Re: [PATCH 06/14] ARM: OMAP2+: Convert NAND to use gpmc_cs_program_settings()

2013-03-01 Thread Jon Hunter
On 02/28/2013 11:40 PM, Philip, Avinash wrote: On Thu, Feb 28, 2013 at 21:32:01, Hunter, Jon wrote: On 02/28/2013 04:38 AM, Philip, Avinash wrote: On Tue, Feb 26, 2013 at 23:00:33, Hunter, Jon wrote: Convert the OMAP2+ NAND code to use the gpmc_cs_program_settings() function for configuring

omap: IORESOURCE_IRQ flags not set when defining a GPIO-IRQ from DT

2013-03-01 Thread Javier Martinez Canillas
Hi Jon, NOTE: I'm changing $subject to something more relevant to stop adding noise on the original thread. On Thu, Feb 28, 2013 at 9:49 PM, Jon Hunter jon-hun...@ti.com wrote: On 02/28/2013 06:17 AM, Javier Martinez Canillas wrote: On Thu, Feb 28, 2013 at 12:16 AM, Jon Hunter

Re: omap: IORESOURCE_IRQ flags not set when defining a GPIO-IRQ from DT

2013-03-01 Thread Russell King - ARM Linux
On Fri, Mar 01, 2013 at 05:17:57PM +0100, Javier Martinez Canillas wrote: unsigned long irq_flags = SMC_IRQ_FLAGS; ... if (irq_flags == -1 || ires-flags IRQF_TRIGGER_MASK) irq_flags = ires-flags IRQF_TRIGGER_MASK; while smsc911x driver's probe function uses the

Re: I2C and devicetrees

2013-03-01 Thread Thomas De Schampheleire
Hi, On Tue, Feb 12, 2013 at 5:34 PM, Gerlando Falauto gerlando.fala...@keymile.com wrote: Hi everyone, I have a similar question. I'd like to name i2c devices so that a userspace application can somehow identify those devices with the same function across different boards (which may have

Re: [PATCH v4 2/8] reset: Add reset controller API

2013-03-01 Thread Stephen Warren
On 02/26/2013 04:39 AM, Philipp Zabel wrote: This adds a simple API for devices to request being reset by separate reset controller hardware and implements the reset signal device tree binding. diff --git a/drivers/reset/core.c b/drivers/reset/core.c +int of_reset_simple_xlate(struct

Re: [PATCH v4 3/8] ARM i.MX6q: Add GPU, VPU, IPU, and OpenVG resets to System Reset Controller (SRC)

2013-03-01 Thread Stephen Warren
On 02/26/2013 04:39 AM, Philipp Zabel wrote: The SRC has auto-deasserting reset bits that control reset lines to the GPU, VPU, IPU, and OpenVG IP modules. This patch adds a reset controller that can be controlled by those devices using the reset controller API. diff --git

Re: [PATCH v4 3/8] ARM i.MX6q: Add GPU, VPU, IPU, and OpenVG resets to System Reset Controller (SRC)

2013-03-01 Thread Stephen Warren
On 03/01/2013 01:05 PM, Stephen Warren wrote: On 02/26/2013 04:39 AM, Philipp Zabel wrote: The SRC has auto-deasserting reset bits that control reset lines to the GPU, VPU, IPU, and OpenVG IP modules. This patch adds a reset controller that can be controlled by those devices using the reset

Re: [PATCH 12/14] ARM: OMAP2+: Add additional GPMC timing parameters

2013-03-01 Thread Ezequiel Garcia
Hi Jon, On Tue, Feb 26, 2013 at 2:30 PM, Jon Hunter jon-hun...@ti.com wrote: [...] + if (!of_property_read_u32(np, gpmc,bus-turnaround, val)) + gpmc_t-bus_turnaround = val; + AFAIK, you don't need to test if the property is defined. You can just read it straightforward,

Re: [PATCH 12/14] ARM: OMAP2+: Add additional GPMC timing parameters

2013-03-01 Thread Ezequiel Garcia
On Fri, Mar 1, 2013 at 5:11 PM, Ezequiel Garcia elezegar...@gmail.com wrote: Hi Jon, On Tue, Feb 26, 2013 at 2:30 PM, Jon Hunter jon-hun...@ti.com wrote: [...] + if (!of_property_read_u32(np, gpmc,bus-turnaround, val)) + gpmc_t-bus_turnaround = val; + AFAIK, you don't

Re: [PATCH v4 8/8] reset: Add driver for gpio-controlled reset pins

2013-03-01 Thread Stephen Warren
On 02/26/2013 04:39 AM, Philipp Zabel wrote: This driver implements a reset controller device that toggles gpios connected to reset pins of peripheral ICs. The delay between assertion and de-assertion of the reset signal can be configured. Reviewed-by: Stephen Warren swar...@nvidia.com

Re: [PATCH] arm/dts: Add basic support for gta04 (Openmoko next generation) board.

2013-03-01 Thread Belisko Marek
Ping. Any objections to that patch? On Thu, Jan 24, 2013 at 7:34 PM, Marek Belisko marek.beli...@open-nandra.com wrote: Signed-off-by: Marek Belisko marek.beli...@open-nandra.com --- arch/arm/boot/dts/omap3-gta04.dts | 94 + 1 file changed, 94

Re: [PATCH 1/5 v7][RFC] ASoC: add snd_soc_register_cpu()

2013-03-01 Thread Lars-Peter Clausen
On 02/28/2013 08:14 PM, Stephen Warren wrote: On 02/27/2013 05:42 PM, Kuninori Morimoto wrote: Hi Stephen On 02/25/2013 01:51 AM, Kuninori Morimoto wrote: Current ASoC has register function for platform/codec/dai/card, but doesn't have for cpu. It often produces confusion and fault on

Re: [PATCH 11/14] ARM: OMAP2+: Add device-tree support for NOR flash

2013-03-01 Thread Ezequiel Garcia
Hi Jon, On Tue, Feb 26, 2013 at 2:30 PM, Jon Hunter jon-hun...@ti.com wrote: [...] +static int gpmc_probe_nor_child(struct platform_device *pdev, + struct device_node *child) +{ + struct gpmc_settings gpmc_s; + struct gpmc_timings gpmc_t; +

Re: I2C and devicetrees

2013-03-01 Thread Mitch Bradley
On 3/1/2013 9:56 AM, Thomas De Schampheleire wrote: Hi, On Tue, Feb 12, 2013 at 5:34 PM, Gerlando Falauto gerlando.fala...@keymile.com wrote: Hi everyone, I have a similar question. I'd like to name i2c devices so that a userspace application can somehow identify those devices with the

Re: [PATCH 11/14] ARM: OMAP2+: Add device-tree support for NOR flash

2013-03-01 Thread Jon Hunter
On 03/01/2013 03:25 PM, Ezequiel Garcia wrote: Hi Jon, On Tue, Feb 26, 2013 at 2:30 PM, Jon Hunter jon-hun...@ti.com wrote: [...] +static int gpmc_probe_nor_child(struct platform_device *pdev, + struct device_node *child) +{ + struct gpmc_settings

Re: [PATCH 12/14] ARM: OMAP2+: Add additional GPMC timing parameters

2013-03-01 Thread Jon Hunter
On 03/01/2013 02:11 PM, Ezequiel Garcia wrote: Hi Jon, On Tue, Feb 26, 2013 at 2:30 PM, Jon Hunter jon-hun...@ti.com wrote: [...] + if (!of_property_read_u32(np, gpmc,bus-turnaround, val)) + gpmc_t-bus_turnaround = val; + AFAIK, you don't need to test if the

Re: [PATCH 12/14] ARM: OMAP2+: Add additional GPMC timing parameters

2013-03-01 Thread Jon Hunter
On 03/01/2013 02:12 PM, Ezequiel Garcia wrote: On Fri, Mar 1, 2013 at 5:11 PM, Ezequiel Garcia elezegar...@gmail.com wrote: Hi Jon, On Tue, Feb 26, 2013 at 2:30 PM, Jon Hunter jon-hun...@ti.com wrote: [...] + if (!of_property_read_u32(np, gpmc,bus-turnaround, val)) +

Re: omap: IORESOURCE_IRQ flags not set when defining a GPIO-IRQ from DT

2013-03-01 Thread Jon Hunter
On 03/01/2013 11:30 AM, Russell King - ARM Linux wrote: On Fri, Mar 01, 2013 at 05:17:57PM +0100, Javier Martinez Canillas wrote: unsigned long irq_flags = SMC_IRQ_FLAGS; ... if (irq_flags == -1 || ires-flags IRQF_TRIGGER_MASK) irq_flags = ires-flags

Re: I2C and devicetrees

2013-03-01 Thread Stephen Warren
On 03/01/2013 02:47 PM, Mitch Bradley wrote: On 3/1/2013 9:56 AM, Thomas De Schampheleire wrote: Hi, On Tue, Feb 12, 2013 at 5:34 PM, Gerlando Falauto gerlando.fala...@keymile.com wrote: Hi everyone, I have a similar question. I'd like to name i2c devices so that a userspace application

Re: I2C and devicetrees

2013-03-01 Thread Mitch Bradley
On 3/1/2013 1:17 PM, Stephen Warren wrote: On 03/01/2013 02:47 PM, Mitch Bradley wrote: On 3/1/2013 9:56 AM, Thomas De Schampheleire wrote: Hi, On Tue, Feb 12, 2013 at 5:34 PM, Gerlando Falauto gerlando.fala...@keymile.com wrote: Hi everyone, I have a similar question. I'd like to name

Re: [PATCH] arm: dts: Add uart1 and uart2 to igep boards.

2013-03-01 Thread Javier Martinez Canillas
On Fri, Feb 15, 2013 at 11:03 AM, Cousson, Benoit b-cous...@ti.com wrote: Hi Matthias, On 2/15/2013 10:35 AM, Matthias Brugger wrote: 2013/1/26 Javier Martinez Canillas martinez.jav...@gmail.com: On Sat, Jan 26, 2013 at 4:16 PM, Matthias Brugger matthias@gmail.com wrote: Hi Benoit,

Re: [alsa-devel] [PATCH 1/5 v7][RFC] ASoC: add snd_soc_register_cpu()

2013-03-01 Thread Mark Brown
On Fri, Mar 01, 2013 at 09:42:10PM +, Liam Girdwood wrote: On Fri, 2013-03-01 at 21:50 +0100, Lars-Peter Clausen wrote: object. I mean the distinction is mostly for historic reasons from a time where it was only possible to bind a the cpu_dai of a link to a CPU DAI and the codec_dai

Re: [PATCH 1/4] documentation: add palmas dts definition

2013-03-01 Thread Mark Brown
On Wed, Feb 27, 2013 at 11:16:57AM -0700, Stephen Warren wrote: I believe what Mark wants is something like the following in this file (take from Documentation/devicetree/bindings/regulator/tps6586x.txt): - regulators: A node that houses a sub-node for each regulator within the device.

Re: [PATCH v2] mfd: as3711: add OF support

2013-03-01 Thread Mark Brown
On Mon, Feb 18, 2013 at 10:57:44AM +0100, Guennadi Liakhovetski wrote: Add device-tree bindings to the AS3711 regulator and backlight drivers. Reviwed-by: Mark Brown broo...@opensource.wolfsonmicro.com signature.asc Description: Digital signature ___