Re: [PATCH v6] pstore/ram: Add ramoops support for the Flattened Device Tree.

2012-09-17 Thread Anton Vorontsov
On Fri, Sep 07, 2012 at 10:29:10PM -0700, Anton Vorontsov wrote: On Fri, Sep 07, 2012 at 11:29:36AM -0700, Bryan Freed wrote: When called with a non-zero of_node, fill out a new ramoops_platform_data with data from the specified Flattened Device Tree node. Update ramoops documentation with

[PATCH v3 0/4] lis3: lis3lv02d_i2c: Add device tree support

2012-09-17 Thread AnilKumar Ch
Adds device tree support to lis3lv02d_i2c driver. Along with this DT init is moved from core driver to individual drivers, with the current implementation some pdata is missing in lis3lv02d_i2c driver. Also adds platform data for lis331dlh driver to am335x-EVM. These patches were tested on

[PATCH v3 4/4] ARM: dts: AM33XX: Add lis331dlh device tree data to am335x-evm

2012-09-17 Thread AnilKumar Ch
Add lis331dlh device tree data to am335x-evm.dts. In AM335x EVM lis331dlh accelerometer is connected to I2C2 bus. So this patch change the status of I2C2 node to okay to use I2C2 bus. Also added all the required platform data to am335x-evm. Signed-off-by: AnilKumar Ch anilku...@ti.com ---

[PATCH v3 1/4] lis3: lis3lv02d: remove lis3lv02d driver DT init

2012-09-17 Thread AnilKumar Ch
Remove lis3lv02d driver device tree initialization from core driver and move it to individual drivers. With the current implementation some pdata parameters are missing if we use lis3lv02d_init_device() in lis3lv02d_i2c driver. Signed-off-by: AnilKumar Ch anilku...@ti.com ---

[PATCH v3 2/4] lis3: lis3lv02d_spi: Add lis3lv02d device tree init

2012-09-17 Thread AnilKumar Ch
Add lis3lv02d device tree initialization code/API to take pdata from device node. Also remove CONFIG_OF ifdef from the driver, if CONFIG_OF is not defined then OF APIs returns 0. Signed-off-by: AnilKumar Ch anilku...@ti.com --- drivers/misc/lis3lv02d/lis3lv02d_spi.c |8 +--- 1 file

[PATCH v3 3/4] lis3: lis3lv02d_i2c: Add lis3lv02d device tree init

2012-09-17 Thread AnilKumar Ch
Add lis3lv02d device tree initialization code/API to take pdata from device node. Also adds device tree init matching table support to lis3lv02d_i2c driver. If the driver data is passed from device tree, then this driver picks up platform data from device node through common/generic lis3lv02d.c

Re: [PATCH v2 3/7] dt/powerpc/powernv: Use of_get_child_by_name to get a named child.

2012-09-17 Thread Srinivas KANDAGATLA
On 17/09/12 03:07, Michael Ellerman wrote: On Fri, 2012-09-14 at 09:19 +0100, Srinivas KANDAGATLA wrote: From: Srinivas Kandagatla srinivas.kandaga...@st.com As follow-up to dt: introduce of_get_child_by_name to get child node by name. patch, This patch removes some of the code duplication in

Re: [PATCH v4 03/10] pinctrl: mvebu: kirkwood pinctrl driver

2012-09-17 Thread Andrew Lunn
I had a closer look at how kirkwood probes its id. I mentionend kirkwood_id() earlier but in fact it is kirkwood_pcie_id(). I assume pcie registers are shut down with pcie clk gated? That would require to have pcie running at least at boot-time on all boards. While it is still possible to

Re: [PATCH v4 03/10] pinctrl: mvebu: kirkwood pinctrl driver

2012-09-17 Thread Linus Walleij
On Sun, Sep 16, 2012 at 11:09 AM, Sebastian Hesselbarth sebastian.hesselba...@gmail.com wrote: On 09/16/2012 09:46 AM, Andrew Lunn wrote: Here you are suggesting we have to put into the DT what chip we expect to be on. What is the advantage of this, over getting the information from the

[PATCH v3 2/5] dt/powerpc/powernv: Use of_get_child_by_name to get a named child.

2012-09-17 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com As follow-up to dt: introduce of_get_child_by_name to get child node by name. patch, This patch removes some of the code duplication in the driver by replacing it with of_get_child_by_name instead. Signed-off-by: Srinivas Kandagatla

[PATCH v3 1/5] dt: introduce of_get_child_by_name to get child node by name.

2012-09-17 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch introduces of_get_child_by_name function to get a child node by its name in a given parent node. Without this patch each driver code has to iterate the parent and do a string compare, However having of_get_child_by_name libary

[PATCH v3 0/5] Introduce of_get_child_by_name.

2012-09-17 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch series introduces of_get_child_by_name function to get a child node by its name in a given parent node and also removes code duplication in some of the existing driver code by using of_get_child_by_name. Normally if a driver want

[PATCH v3 3/5] dt/powerpc/sysdev: Use of_get_child_by_name to get a named child.

2012-09-17 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com As follow-up to dt: introduce of_get_child_by_name to get child node by name. patch, This patch removes some of the code duplication in the driver by replacing it with of_get_child_by_name instead. Signed-off-by: Srinivas Kandagatla

[PATCH v3 4/5] dt/s3c64xx/spi: Use of_get_child_by_name to get a named child.

2012-09-17 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com As follow-up to dt: introduce of_get_child_by_name to get child node by name. patch, This patch removes some of the code duplication in the driver by replacing it with of_get_child_by_name instead. Signed-off-by: Srinivas Kandagatla

[PATCH v3 5/5] dt/tty/opal: Use of_get_child_by_name to get a named child.

2012-09-17 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com As follow-up to dt: introduce of_get_child_by_name to get child node by name. patch, This patch removes some of the code duplication in the driver by replacing it with of_get_child_by_name instead. Signed-off-by: Srinivas Kandagatla

Re: [PATCH v3] input: qt1070: Add device tree support

2012-09-17 Thread Nicolas Ferre
On 09/11/2012 12:14 PM, Bo Shen : Add qt1070 device tree support Using device node to parse irq Test this on at91sam9x5ek board Signed-off-by: Bo Shen voice.s...@atmel.com --- change since v2 Using device node to parse irq, Remove gpio relative stuff change since v1 Add gpio

Re: [PATCH v6 0/4] add syscon driver based on regmap for general registers access

2012-09-17 Thread Dong Aisheng
Hi Samuel, On Wed, Sep 05, 2012 at 01:54:12PM +0800, Shawn Guo wrote: Hi Samuel, The series needs to go via mfd or arm-soc tree as a whole. In case you want to take it through mfd tree, here is my ack. Acked-by: Shawn Guo shawn@linaro.org Otherwise, I can take it via arm-soc tree

Re: [PATCH] gpio: pxa: using for_each_set_bit to simplify the code

2012-09-17 Thread Linus Walleij
On Fri, Sep 14, 2012 at 4:36 AM, Wei Yongjun weiyj...@gmail.com wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn Using for_each_set_bit() to simplify the code. spatch with a semantic match is used to found this. (http://coccinelle.lip6.fr/) Signed-off-by: Wei Yongjun

RE: [PATCH v3 4/5] dt/s3c64xx/spi: Use of_get_child_by_name to get a named child.

2012-09-17 Thread Kukjin Kim
Srinivas KANDAGATLA wrote: From: Srinivas Kandagatla srinivas.kandaga...@st.com As follow-up to dt: introduce of_get_child_by_name to get child node by name. patch, This patch removes some of the code duplication in the driver by replacing it with of_get_child_by_name instead. Cc'ed Mark

Re: [PATCH v3 4/5] dt/s3c64xx/spi: Use of_get_child_by_name to get a named child.

2012-09-17 Thread Srinivas KANDAGATLA
On 17/09/12 12:15, Kukjin Kim wrote: Srinivas KANDAGATLA wrote: From: Srinivas Kandagatla srinivas.kandaga...@st.com As follow-up to dt: introduce of_get_child_by_name to get child node by name. patch, This patch removes some of the code duplication in the driver by replacing it with

Re: [PATCH v3 0/4] lis3: lis3lv02d_i2c: Add device tree support

2012-09-17 Thread Arnd Bergmann
On Monday 17 September 2012, AnilKumar Ch wrote: Adds device tree support to lis3lv02d_i2c driver. Along with this DT init is moved from core driver to individual drivers, with the current implementation some pdata is missing in lis3lv02d_i2c driver. Also adds platform data for lis331dlh

Re: [PATCH v3 4/5] dt/s3c64xx/spi: Use of_get_child_by_name to get a named child.

2012-09-17 Thread Mark Brown
On Mon, Sep 17, 2012 at 12:35:42PM +0100, Srinivas KANDAGATLA wrote: I think added you guys in the cover-letter but I missed on the first patch. Here is the link to first-patch: http://www.mail-archive.com/devicetree-discuss@lists.ozlabs.org/msg18657.html Can you please send me the series?

Re: [PATCH V6 2/2] dmaengine: add helper function to request a slave DMA channel

2012-09-17 Thread Arnd Bergmann
On Monday 17 September 2012, Vinod Koul wrote: On Fri, 2012-09-14 at 17:41 -0500, Jon Hunter wrote: +/** + * dma_request_slave_channel - try to allocate an exclusive slave channel + * @dev: pointer to client device structure + * @name: slave channel name + */ +struct

[RESEND PATCH v3 2/5] dt/powerpc/powernv: Use of_get_child_by_name to get a named child.

2012-09-17 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com As follow-up to dt: introduce of_get_child_by_name to get child node by name. patch, This patch removes some of the code duplication in the driver by replacing it with of_get_child_by_name instead. Signed-off-by: Srinivas Kandagatla

[RESEND PATCH v3 1/5] dt: introduce of_get_child_by_name to get child node by name.

2012-09-17 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch introduces of_get_child_by_name function to get a child node by its name in a given parent node. Without this patch each driver code has to iterate the parent and do a string compare, However having of_get_child_by_name libary

[RESEND PATCH v3 3/5] dt/powerpc/sysdev: Use of_get_child_by_name to get a named child.

2012-09-17 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com As follow-up to dt: introduce of_get_child_by_name to get child node by name. patch, This patch removes some of the code duplication in the driver by replacing it with of_get_child_by_name instead. Signed-off-by: Srinivas Kandagatla

[RESEND PATCH v3 4/5] dt/s3c64xx/spi: Use of_get_child_by_name to get a named child.

2012-09-17 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com As follow-up to dt: introduce of_get_child_by_name to get child node by name. patch, This patch removes some of the code duplication in the driver by replacing it with of_get_child_by_name instead. Signed-off-by: Srinivas Kandagatla

[RESEND PATCH v3 0/5] Introduce of_get_child_by_name.

2012-09-17 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch series introduces of_get_child_by_name function to get a child node by its name in a given parent node and also removes code duplication in some of the existing driver code by using of_get_child_by_name. Normally if a driver want

[RESEND PATCH v3 5/5] dt/tty/opal: Use of_get_child_by_name to get a named child.

2012-09-17 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com As follow-up to dt: introduce of_get_child_by_name to get child node by name. patch, This patch removes some of the code duplication in the driver by replacing it with of_get_child_by_name instead. Signed-off-by: Srinivas Kandagatla

Re: [RESEND PATCH v3 1/5] dt: introduce of_get_child_by_name to get child node by name.

2012-09-17 Thread Rob Herring
On 09/17/2012 06:58 AM, Srinivas KANDAGATLA wrote: From: Srinivas Kandagatla srinivas.kandaga...@st.com Please drop the period on the subject. This patch introduces of_get_child_by_name function to get a child node by its name in a given parent node. Without this patch each driver code

Re: [RESEND PATCH v3 1/5] dt: introduce of_get_child_by_name to get child node by name.

2012-09-17 Thread Rob Herring
On 09/17/2012 06:58 AM, Srinivas KANDAGATLA wrote: From: Srinivas Kandagatla srinivas.kandaga...@st.com Please drop the period on the subject. This patch introduces of_get_child_by_name function to get a child node by its name in a given parent node. Without this patch each driver code

Re: [PATCH v6 0/4] add syscon driver based on regmap for general registers access

2012-09-17 Thread Samuel Ortiz
Hi Dong, On Mon, Sep 17, 2012 at 06:10:29PM +0800, Dong Aisheng wrote: Hi Samuel, On Wed, Sep 05, 2012 at 01:54:12PM +0800, Shawn Guo wrote: Hi Samuel, The series needs to go via mfd or arm-soc tree as a whole. In case you want to take it through mfd tree, here is my ack.

Re: [PATCH v4 06/24] docs: Xen ARM DT bindings

2012-09-17 Thread Rob Herring
On 09/14/2012 09:26 AM, Stefano Stabellini wrote: On Fri, 14 Sep 2012, Konrad Rzeszutek Wilk wrote: On Fri, Sep 14, 2012 at 12:13:08PM +0100, Stefano Stabellini wrote: Add a doc to describe the Xen ARM device tree bindings Changes in v4: - xen,xen should be last as it is less specific; -

Re: [PATCH] gpio: pxa: using for_each_set_bit to simplify the code

2012-09-17 Thread Haojian Zhuang
On Mon, Sep 17, 2012 at 6:56 PM, Linus Walleij linus.wall...@linaro.org wrote: On Fri, Sep 14, 2012 at 4:36 AM, Wei Yongjun weiyj...@gmail.com wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn Using for_each_set_bit() to simplify the code. spatch with a semantic match is used to found

Re: [PATCH V5] mtd: m25p80: Make fast read configurable via DT

2012-09-17 Thread Marek Vasut
Bump, do you think we can get this into 3.7 please? Add DT property m25p,fast-read that signalises the particular chip supports fast read opcode. Signed-off-by: Marek Vasut ma...@denx.de Cc: Artem Bityutskiy artem.bityuts...@linux.intel.com Cc: David Woodhouse david.woodho...@intel.com

Re: [PATCH v4 06/24] docs: Xen ARM DT bindings

2012-09-17 Thread Stefano Stabellini
On Mon, 17 Sep 2012, Rob Herring wrote: On 09/14/2012 09:26 AM, Stefano Stabellini wrote: On Fri, 14 Sep 2012, Konrad Rzeszutek Wilk wrote: On Fri, Sep 14, 2012 at 12:13:08PM +0100, Stefano Stabellini wrote: Add a doc to describe the Xen ARM device tree bindings Changes in v4: -

[PATCH 05/16] arm: at91: at91sam9x5: fix gpio number per bank

2012-09-17 Thread Jean-Christophe PLAGNIOL-VILLARD
On the at91sam9x5 SoC series, GPIO banks B and D only have 19 and 22 pins. So add a property to set this parameter. Acked-by: Nicolas Ferre nicolas.fe...@atmel.com Acked-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com ---

[PATCH 04/16] at91: regroup gpio and pinctrl under the same ranges

2012-09-17 Thread Jean-Christophe PLAGNIOL-VILLARD
Fix also the reg size as we have 512 bytes bank not 256 bytes per gpio/mux controller Acked-by: Linus Walleij linus.wall...@linaro.org Acked-by: Nicolas Ferre nicolas.fe...@atmel.com Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- arch/arm/boot/dts/at91sam9260.dtsi |

[PATCH 06/16] ARM: at91: add dummies pinctrl for non dt platform

2012-09-17 Thread Jean-Christophe PLAGNIOL-VILLARD
Acked-by: Nicolas Ferre nicolas.fe...@atmel.com Acked-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- arch/arm/mach-at91/setup.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-at91/setup.c

[PATCH 02/16] arm: at91: use macro to declare soc boot data

2012-09-17 Thread Jean-Christophe PLAGNIOL-VILLARD
Instead of check the pointer of the init function, check the new builtin bool to known if the soc is enabled. This is needed as with the switch to the pinctrl the init will be NULL on pure DT SoC. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com ---

[PATCH 11/16] arm: at91: dt: sam9m10g45ek: use rts/cts pinctrl group for uart1

2012-09-17 Thread Jean-Christophe PLAGNIOL-VILLARD
Acked-by: Nicolas Ferre nicolas.fe...@atmel.com Acked-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- arch/arm/boot/dts/at91sam9m10g45ek.dts |1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 16/16] MTD: atmel_nand: add pinctrl consumer support

2012-09-17 Thread Jean-Christophe PLAGNIOL-VILLARD
Acked-by: Nicolas Ferre nicolas.fe...@atmel.com Acked-by: Artem Bityutskiy artem.bityuts...@linux.intel.com Acked-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- drivers/mtd/nand/atmel_nand.c |9 + 1 file changed, 9

[PATCH 03/16] ARM: at91: gpio: implement request

2012-09-17 Thread Jean-Christophe PLAGNIOL-VILLARD
Configure the pin as pio when requested. It is needed to configure the pin as PIO at request time when we are using DT. Indeed, the muxing via old AT91 API is not allowed anymore if we are using the plain gpiolib. Acked-by: Nicolas Ferre nicolas.fe...@atmel.com Acked-by: Linus Walleij

[PATCH 12/16] arm: at91: dt: sam9263ek: use rts/cts pinctrl group for uart0

2012-09-17 Thread Jean-Christophe PLAGNIOL-VILLARD
Acked-by: Nicolas Ferre nicolas.fe...@atmel.com Acked-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- arch/arm/boot/dts/at91sam9263ek.dts |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/at91sam9263ek.dts

[PATCH 08/16] arm: at91: dt: at91sam9 add pinctrl support

2012-09-17 Thread Jean-Christophe PLAGNIOL-VILLARD
Acked-by: Nicolas Ferre nicolas.fe...@atmel.com Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- .../bindings/pinctrl/atmel,at91-pinctrl.txt| 68 +--- arch/arm/boot/dts/at91sam9260.dtsi |9 +++

[PATCH 09/16] arm: at91: dt: at91sam9 add serial pinctrl support

2012-09-17 Thread Jean-Christophe PLAGNIOL-VILLARD
Set the dbgu pinctrl config by default as we have only one possible config For other uart set the rxd/txd by default. For at91sam9x5ek create soc based dts as we need to include specific soc dtsi. Acked-by: Nicolas Ferre nicolas.fe...@atmel.com Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD

[PATCH 10/16] tty: atmel_serial: add pinctrl support

2012-09-17 Thread Jean-Christophe PLAGNIOL-VILLARD
Acked-by: Nicolas Ferre nicolas.fe...@atmel.com Acked-by: Greg Kroah-Hartman gre...@linuxfoundation.org Acked-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- drivers/tty/serial/atmel_serial.c |8 1 file changed, 8

[PATCH 01/16] ARM: at91: fix missing #interrupt-cells on gpio-controller

2012-09-17 Thread Jean-Christophe PLAGNIOL-VILLARD
Tested-by: Bo Shen voice.s...@atmel.com Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- arch/arm/boot/dts/at91sam9260.dtsi |3 +++ arch/arm/boot/dts/at91sam9263.dtsi |5 + arch/arm/boot/dts/at91sam9g45.dtsi |5 + arch/arm/boot/dts/at91sam9n12.dtsi |

[PATCH 13/16] arm: at91: dt: sam9g20ek: use rts/cts/dtr/dsr/dcd/ri pinctrl group for uart0

2012-09-17 Thread Jean-Christophe PLAGNIOL-VILLARD
Acked-by: Linus Walleij linus.wall...@linaro.org Acked-by: Nicolas Ferre nicolas.fe...@atmel.com Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- arch/arm/boot/dts/at91sam9g20ek_common.dtsi |6 ++ 1 file changed, 6 insertions(+) diff --git

[PATCH 15/16] arm: at91: dt: at91sam9 add nand pinctrl support

2012-09-17 Thread Jean-Christophe PLAGNIOL-VILLARD
Acked-by: Nicolas Ferre nicolas.fe...@atmel.com Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- arch/arm/boot/dts/at91sam9260.dtsi | 10 ++ arch/arm/boot/dts/at91sam9263.dtsi | 10 ++ arch/arm/boot/dts/at91sam9g45.dtsi | 10 ++

[PATCH 14/16] MTD: atmel nand: fix gpio missing request

2012-09-17 Thread Jean-Christophe PLAGNIOL-VILLARD
without this the gpio will not be muxed as a gpio by the current custom pinmux or later by the pinctrl Acked-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- drivers/mtd/nand/atmel_nand.c | 50

Re: [PATCH 09/19] ARM: ux500: Enable SSP (SPI) for HREF when booting Device Tree

2012-09-17 Thread Roland Stigge
Hi! On 09/10/2012 01:11 PM, Linus Walleij wrote: +SPI slave nodes must be children of the SPI master node and can +contain the following properties. + +- pl022,interface : interface type: + 0: SPI + 1: Texas Instruments Synchronous Serial Frame Format + 2: Microwire (Half

[PATCH] spi/pl022: Devicetree support w/o platform data

2012-09-17 Thread Roland Stigge
Even with devicetree support, we needed platform data to provide some data like bus_id and enable_dma, leading to mixed device tree and platform data. This patch makes it possible to provide all that information via device tree. Now, the data must be provided via platform data _or_ device tree

Re: [PATCH 2/2] misc/at25: Add an .id_table to at25 to facilitate driver loading and binding.

2012-09-17 Thread David Daney
On 09/17/2012 12:49 AM, Ivo Sieben wrote: Hi, 2012/8/22 David Daney ddaney.c...@gmail.com: From: David Daney david.da...@cavium.com /*-*/ +static const struct spi_device_id at25_id[] = { + {at25, 0}, +

[PATCH v5 06/17] docs: Xen ARM DT bindings

2012-09-17 Thread Stefano Stabellini
Add a doc to describe the Xen ARM device tree bindings Changes in v5: - add a comment about the size of the grant table memory region; - add a comment about the required presence of a GIC node; - specify that the described properties are part of a top-level hypervisor node; - specify

[PATCH v6 0/9] mmc: dw_mmc: add support for device tree based instantiation

2012-09-17 Thread Thomas Abraham
This series add device tree support for Synopsis Designware IP - Mobile Storage Host Controller (MSHC). I had addressed all comments for the v5 version of this patch series and had reposted only those patches that were modified. The version number of those reposted patches was maintained as v5 as

[PATCH v6 1/9] mmc: dw_mmc: convert copy of struct device in struct dw_mci to a reference

2012-09-17 Thread Thomas Abraham
The 'struct dw_mci' maintains a copy of the pdev-dev instance instead of maintaining a reference to that 'struct device' instance. Any resource allocated using the device resource management kernel API with the instance of 'struct device' in 'struct dw_mci' is then incorrect. Fix this by

[PATCH v6 2/9] mmc: dw_mmc: Use devm_* functions in dw_mmc platform driver

2012-09-17 Thread Thomas Abraham
Use devm_* managed functions for simpler error handling. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org Acked-by: Will Newton will.new...@imgtec.com --- drivers/mmc/host/dw_mmc-pltfm.c | 29 - 1 files changed, 8 insertions(+), 21 deletions(-) diff --git

[PATCH v6 3/9] mmc: dw_mmc: allow probe to succeed even if one slot is initialized

2012-09-17 Thread Thomas Abraham
Instead of aborting the probe in case a slot initialization fails, allow initialization of as many slots as possible. If there are atleast one instance of slot that is successfully initialized, allow the driver probe to succeed. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org Acked-by:

[PATCH v6 4/9] mmc: dw_mmc: lookup for optional biu and ciu clocks

2012-09-17 Thread Thomas Abraham
Some platforms allow for clock gating and control of bus interface unit clock and card interface unit clock. Add support for clock lookup of optional biu and ciu clocks for clock gating and clock speed determination. Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Thomas

[PATCH v6 5/9] mmc: dw_mmc: add quirk to indicate missing write protect line

2012-09-17 Thread Thomas Abraham
If the write protect pad of the controller is not connected to the write protect pin of the slot, the driver should be notified of this condition so that incorrect check for write protection by reading the WRTORT register can avoided. The get_ro platform callback can be used for in such cases, but

[PATCH v6 6/9] mmc: dw_mmc: add device tree support

2012-09-17 Thread Thomas Abraham
Add device tree based discovery support. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org Acked-by: Will Newton will.new...@imgtec.com --- .../devicetree/bindings/mmc/synposis-dw-mshc.txt | 79 drivers/mmc/host/dw_mmc-pltfm.c|9 ++

[PATCH v6 7/9] mmc: dw_mmc: prepare functions in dw_mmc-pltfm for reuse

2012-09-17 Thread Thomas Abraham
Platform implementations of dw-mshc controller may choose to exterd the features of the standard dw-mshc controller such as adding additional clocking options or modifying the bus interface. Support for such implementation specific extensions can be incorporated into dw_mmc-pltfm, but including

[PATCH v6 8/9] mmc: dw_mmc: add support for implementation specific callbacks

2012-09-17 Thread Thomas Abraham
The core dw-mshc controller driver can let platform specific implementations of the dw-mshc controller to control the hardware as required by such implementations. This is acheived by invoking implementation specific (optional) callbacks. Define the list of callbacks supported the add invocation

[PATCH v6 9/9] mmc: dw_mmc: add support for exynos specific implementation of dw-mshc

2012-09-17 Thread Thomas Abraham
From: Thomas Abraham thomas...@samsung.com Samsung Exynos SoC's extend the dw-mshc controller for additional clock and bus control. Add support for these extensions and include provide device tree based discovery suppory as well. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org Acked-by:

Re: [PATCH v3] of: Add videomode helper

2012-09-17 Thread Tabi Timur-B04825
On Fri, Sep 14, 2012 at 11:24 AM, Steffen Trumtrar s.trumt...@pengutronix.de wrote: +/* FIXME */ +static u32 of_video_get_value(struct mode_property *prop) +{ + return (prop-min = prop-typ) ? prop-min : prop-typ; +} + +/* read property into new mode_property */ +static int

Re: [PATCH v3] of: Add videomode helper

2012-09-17 Thread Steffen Trumtrar
On Mon, Sep 17, 2012 at 06:35:43PM +, Tabi Timur-B04825 wrote: On Fri, Sep 14, 2012 at 11:24 AM, Steffen Trumtrar s.trumt...@pengutronix.de wrote: +/* FIXME */ +static u32 of_video_get_value(struct mode_property *prop) +{ + return (prop-min = prop-typ) ? prop-min : prop-typ;

Re: [PATCH V6 1/2] of: Add generic device tree DMA helpers

2012-09-17 Thread Arnd Bergmann
On Saturday 15 September 2012, Russell King - ARM Linux wrote: On Fri, Sep 14, 2012 at 05:41:56PM -0500, Jon Hunter wrote: 3. Supporting legacy devices not using DMA Engine These devices present a problem, as there may not be a uniform way to easily support them with regard to

Re: [PATCH v3 4/4] ARM: dts: AM33XX: Add lis331dlh device tree data to am335x-evm

2012-09-17 Thread Andrew Morton
On Mon, 17 Sep 2012 12:53:22 +0530 AnilKumar Ch anilku...@ti.com wrote: Add lis331dlh device tree data to am335x-evm.dts. In AM335x EVM lis331dlh accelerometer is connected to I2C2 bus. So this patch change the status of I2C2 node to okay to use I2C2 bus. Also added all the required platform

Re: [PATCH V6 2/2] dmaengine: add helper function to request a slave DMA channel

2012-09-17 Thread Russell King - ARM Linux
On Mon, Sep 17, 2012 at 11:59:27AM +, Arnd Bergmann wrote: On Monday 17 September 2012, Vinod Koul wrote: On Fri, 2012-09-14 at 17:41 -0500, Jon Hunter wrote: +/** + * dma_request_slave_channel - try to allocate an exclusive slave channel + * @dev: pointer to client device

Re: [PATCH V6 1/2] of: Add generic device tree DMA helpers

2012-09-17 Thread David Brown
On Mon, Sep 17, 2012 at 08:42:11PM +, Arnd Bergmann wrote: On Saturday 15 September 2012, Russell King - ARM Linux wrote: On Fri, Sep 14, 2012 at 05:41:56PM -0500, Jon Hunter wrote: 3. Supporting legacy devices not using DMA Engine These devices present a problem, as there

Re: [RESEND PATCH v3 2/5] dt/powerpc/powernv: Use of_get_child_by_name to get a named child.

2012-09-17 Thread Michael Ellerman
On Mon, 2012-09-17 at 12:58 +0100, Srinivas KANDAGATLA wrote: From: Srinivas Kandagatla srinivas.kandaga...@st.com As follow-up to dt: introduce of_get_child_by_name to get child node by name. patch, This patch removes some of the code duplication in the driver by replacing it with

Re: [PATCH v5] mmc: sdhci-s3c: Add device tree support

2012-09-17 Thread Thomas Abraham
On 23 August 2012 22:40, Thomas Abraham thomas.abra...@linaro.org wrote: Add device tree based discovery support for Samsung's sdhci controller Cc: Ben Dooks ben-li...@fluff.org Cc: Kukjin Kim kgene@samsung.com Cc: Chris Ball c...@laptop.org Signed-off-by: Thomas Abraham

Re: [PATCH v6 0/9] mmc: dw_mmc: add support for device tree based instantiation

2012-09-17 Thread Thomas Abraham
On 17 September 2012 23:46, Thomas Abraham thomas.abra...@linaro.org wrote: This series add device tree support for Synopsis Designware IP - Mobile Storage Host Controller (MSHC). I had addressed all comments for the v5 version of this patch series and had reposted only those patches that

Re: [PATCH v6 0/4] add syscon driver based on regmap for general registers access

2012-09-17 Thread Dong Aisheng
On Mon, Sep 17, 2012 at 09:30:54PM +0800, Samuel Ortiz wrote: Hi Dong, On Mon, Sep 17, 2012 at 06:10:29PM +0800, Dong Aisheng wrote: Hi Samuel, On Wed, Sep 05, 2012 at 01:54:12PM +0800, Shawn Guo wrote: Hi Samuel, The series needs to go via mfd or arm-soc tree as a whole. In

Re: [PATCH v5 06/17] docs: Xen ARM DT bindings

2012-09-17 Thread Rob Herring
On 09/17/2012 12:38 PM, Stefano Stabellini wrote: Add a doc to describe the Xen ARM device tree bindings Changes in v5: - add a comment about the size of the grant table memory region; - add a comment about the required presence of a GIC node; - specify that the described properties are

Re: [PATCH V6 2/2] dmaengine: add helper function to request a slave DMA channel

2012-09-17 Thread Vinod Koul
On Mon, 2012-09-17 at 11:59 +, Arnd Bergmann wrote: On Monday 17 September 2012, Vinod Koul wrote: I believe that Jon is on vacation this week, so if this is the only issue holding up the merge, maybe you can change this in his patch directly, or I can send an updated version if you

Re: [PATCH V6 2/2] dmaengine: add helper function to request a slave DMA channel

2012-09-17 Thread Vinod Koul
On Mon, 2012-09-17 at 23:36 +0100, Russell King - ARM Linux wrote: I believe that Jon is on vacation this week, so if this is the only issue holding up the merge, maybe you can change this in his patch directly, or I can send an updated version if you prefer. I worry that too much is

Re: [PATCH v5] mmc: sdhci-s3c: Add device tree support

2012-09-17 Thread Chris Ball
Hi, On Mon, Sep 17 2012, Thomas Abraham wrote: On 23 August 2012 22:40, Thomas Abraham thomas.abra...@linaro.org wrote: Add device tree based discovery support for Samsung's sdhci controller Cc: Ben Dooks ben-li...@fluff.org Cc: Kukjin Kim kgene@samsung.com Cc: Chris Ball

Re: [PATCH v5] mmc: sdhci-s3c: Add device tree support

2012-09-17 Thread Thomas Abraham
On 18 September 2012 09:20, Chris Ball c...@laptop.org wrote: Hi, On Mon, Sep 17 2012, Thomas Abraham wrote: On 23 August 2012 22:40, Thomas Abraham thomas.abra...@linaro.org wrote: Add device tree based discovery support for Samsung's sdhci controller Cc: Ben Dooks ben-li...@fluff.org Cc:

Re: [PATCH] gpio: pxa: using for_each_set_bit to simplify the code

2012-09-17 Thread Eric Miao
On Mon, Sep 17, 2012 at 6:56 PM, Linus Walleij linus.wall...@linaro.org wrote: On Fri, Sep 14, 2012 at 4:36 AM, Wei Yongjun weiyj...@gmail.com wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn Using for_each_set_bit() to simplify the code. spatch with a semantic match is used to found

Re: [PATCH] gpio: pxa: using for_each_set_bit to simplify the code

2012-09-17 Thread Haojian Zhuang
On Tue, Sep 18, 2012 at 1:43 PM, Eric Miao eric.y.m...@gmail.com wrote: On Mon, Sep 17, 2012 at 6:56 PM, Linus Walleij linus.wall...@linaro.org wrote: On Fri, Sep 14, 2012 at 4:36 AM, Wei Yongjun weiyj...@gmail.com wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn Using