Re: [PATCH] ARM: SAMSUNG: dma: Remove unnecessary code

2013-02-05 Thread Padma Venkat
Hi Arnd, On Mon, Feb 4, 2013 at 11:13 PM, Arnd Bergmann a...@arndb.de wrote: On Monday 04 February 2013, Padmavathi Venna wrote: diff --git a/arch/arm/plat-samsung/dma-ops.c b/arch/arm/plat-samsung/dma-ops.c index 71d58dd..ec0d731 100644 --- a/arch/arm/plat-samsung/dma-ops.c +++

Re: [PATCH 1/6] mfd: max8925: add irqdomain for dt

2013-02-05 Thread Samuel Ortiz
Hi Haojian, On Mon, Feb 04, 2013 at 11:40:42PM +0800, Haojian Zhuang wrote: From: Qing Xu qi...@marvell.com Add irqdomains for max8925's main irq, wrap irq register operations into irqdomain's map func. it is necessary for dt support. Also, add dt support for max8925 driver.

Re: [PATCH v2 4/6] ARM: dts: omap5: add dwc3 omap dt data

2013-02-05 Thread kishon
On Sunday 27 January 2013 01:17 AM, Sergei Shtylyov wrote: Hello. On 25-01-2013 15:11, Kishon Vijay Abraham I wrote: Add dwc3 omap glue data to the omap5 dt data file. The information about the dt node added here is available @ Documentation/devicetree/bindings/usb/omap-usb.txt

Re: [PATCH 01/13] usb: phy: nop: Add device tree support and binding information

2013-02-05 Thread Roger Quadros
On 02/05/2013 09:26 AM, Felipe Balbi wrote: Hi, On Mon, Feb 04, 2013 at 05:58:48PM +0200, Roger Quadros wrote: The PHY clock, clock rate, VCC regulator and RESET regulator can now be provided via device tree. Signed-off-by: Roger Quadros rog...@ti.com ---

Re: [PATCH 1/6] mfd: max8925: add irqdomain for dt

2013-02-05 Thread Qing Xu
On 02/05/2013 04:19 PM, Samuel Ortiz wrote: Hi Haojian, On Mon, Feb 04, 2013 at 11:40:42PM +0800, Haojian Zhuang wrote: From: Qing Xu qi...@marvell.com Add irqdomains for max8925's main irq, wrap irq register operations into irqdomain's map func. it is necessary for dt support. Also, add dt

Re: [PATCH v2 4/6] ARM: dts: omap5: add dwc3 omap dt data

2013-02-05 Thread Felipe Balbi
On Tue, Feb 05, 2013 at 01:59:26PM +0530, kishon wrote: On Sunday 27 January 2013 01:17 AM, Sergei Shtylyov wrote: Hello. On 25-01-2013 15:11, Kishon Vijay Abraham I wrote: Add dwc3 omap glue data to the omap5 dt data file. The information about the dt node added here is available @

Re: [PATCH 1/6] mfd: max8925: add irqdomain for dt

2013-02-05 Thread Haojian Zhuang
On Tue, Feb 5, 2013 at 4:19 PM, Samuel Ortiz sa...@linux.intel.com wrote: Hi Haojian, On Mon, Feb 04, 2013 at 11:40:42PM +0800, Haojian Zhuang wrote: From: Qing Xu qi...@marvell.com Add irqdomains for max8925's main irq, wrap irq register operations into irqdomain's map func. it is

Re: [PATCH 02/13] USB: phy: nop: Defer probe if device needs VCC/RESET

2013-02-05 Thread Roger Quadros
On 02/05/2013 07:54 AM, kishon wrote: On Monday 04 February 2013 09:28 PM, Roger Quadros wrote: Add 2 flags, needs_vcc and needs_reset to platform data. If the flag is set and the regulator couldn't be found then we bail out with -EPROBE_DEFER. For device tree boot we depend on presensce of

Re: [PATCH v2 4/6] ARM: dts: omap5: add dwc3 omap dt data

2013-02-05 Thread kishon
Hi, On Tuesday 05 February 2013 02:08 PM, Felipe Balbi wrote: On Tue, Feb 05, 2013 at 01:59:26PM +0530, kishon wrote: On Sunday 27 January 2013 01:17 AM, Sergei Shtylyov wrote: Hello. On 25-01-2013 15:11, Kishon Vijay Abraham I wrote: Add dwc3 omap glue data to the omap5 dt data file. The

Re: [PATCH 04/13] mfd: omap-usb-tll: Add device tree support

2013-02-05 Thread Roger Quadros
On 02/05/2013 08:04 AM, kishon wrote: On Monday 04 February 2013 09:28 PM, Roger Quadros wrote: Enable this driver to probe in device tree boot. CC: Samuel Ortiz sa...@linux.intel.com Signed-off-by: Roger Quadros rog...@ti.com --- .../devicetree/bindings/mfd/omap-usb-tll.txt | 17

Re: [PATCH 09/13] mfd: omap-usb-host: Add device tree support and binding information

2013-02-05 Thread Roger Quadros
On 02/05/2013 08:16 AM, kishon wrote: On Monday 04 February 2013 09:28 PM, Roger Quadros wrote: Allows the OMAP HS USB host controller to be specified via device tree. CC: Samuel Ortiz sa...@linux.intel.com Signed-off-by: Roger Quadros rog...@ti.com ---

Re: [PATCH 10/13] ARM: dts: OMAP4: Add HS USB Host IP nodes

2013-02-05 Thread Roger Quadros
On 02/05/2013 08:24 AM, kishon wrote: On Monday 04 February 2013 09:28 PM, Roger Quadros wrote: Adds device nodes for HS USB Host module, TLL module, OHCI and EHCI controllers. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/omap4.dtsi | 30

Re: [PATCH 10/13] ARM: dts: OMAP4: Add HS USB Host IP nodes

2013-02-05 Thread kishon
On Tuesday 05 February 2013 02:24 PM, Roger Quadros wrote: On 02/05/2013 08:24 AM, kishon wrote: On Monday 04 February 2013 09:28 PM, Roger Quadros wrote: Adds device nodes for HS USB Host module, TLL module, OHCI and EHCI controllers. Signed-off-by: Roger Quadros rog...@ti.com ---

Re: [PATCH v8 2/4] misc: Generic on-chip SRAM allocation driver

2013-02-05 Thread Philipp Zabel
Am Dienstag, den 05.02.2013, 00:53 +0900 schrieb Paul Mundt: On Mon, Feb 04, 2013 at 12:32:16PM +0100, Philipp Zabel wrote: This driver requests and remaps a memory region as configured in the device tree. It serves memory from this region via the genalloc API. It optionally enables the

Re: [PATCH 10/13] ARM: dts: OMAP4: Add HS USB Host IP nodes

2013-02-05 Thread Roger Quadros
On 02/05/2013 09:41 AM, Felipe Balbi wrote: On Mon, Feb 04, 2013 at 05:58:57PM +0200, Roger Quadros wrote: Adds device nodes for HS USB Host module, TLL module, OHCI and EHCI controllers. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/omap4.dtsi | 30

Re: [PATCH v2 4/6] ARM: dts: omap5: add dwc3 omap dt data

2013-02-05 Thread Santosh Shilimkar
On Tuesday 05 February 2013 02:16 PM, kishon wrote: Hi, On Tuesday 05 February 2013 02:08 PM, Felipe Balbi wrote: On Tue, Feb 05, 2013 at 01:59:26PM +0530, kishon wrote: On Sunday 27 January 2013 01:17 AM, Sergei Shtylyov wrote: Hello. On 25-01-2013 15:11, Kishon Vijay Abraham I wrote:

Re: [PATCH 01/13] usb: phy: nop: Add device tree support and binding information

2013-02-05 Thread Felipe Balbi
On Tue, Feb 05, 2013 at 10:30:49AM +0200, Roger Quadros wrote: On 02/05/2013 09:26 AM, Felipe Balbi wrote: Hi, On Mon, Feb 04, 2013 at 05:58:48PM +0200, Roger Quadros wrote: The PHY clock, clock rate, VCC regulator and RESET regulator can now be provided via device tree.

Re: [PATCH 02/13] USB: phy: nop: Defer probe if device needs VCC/RESET

2013-02-05 Thread Felipe Balbi
On Tue, Feb 05, 2013 at 10:44:05AM +0200, Roger Quadros wrote: diff --git a/include/linux/usb/nop-usb-xceiv.h b/include/linux/usb/nop-usb-xceiv.h index 3265b61..148d351 100644 --- a/include/linux/usb/nop-usb-xceiv.h +++ b/include/linux/usb/nop-usb-xceiv.h @@ -6,6 +6,10 @@ struct

Re: [PATCH 2/2] drm/exynos: Add device tree based discovery support for G2D

2013-02-05 Thread Sylwester Nawrocki
On 02/05/2013 04:03 AM, Inki Dae wrote: [...] Exynos4210 has same g2d IP (v3.0) as C110 or V210; so the same comptible string will be used for this one too. And please check if exynos4212 and 4412 SoCs have same fimg-2d ip. If it's different, we might need to add ip version property or

how to specify an OMAP clock in device tree?

2013-02-05 Thread Roger Quadros
Hi Rajendra, On 02/04/2013 05:58 PM, Roger Quadros wrote: Provide the RESET and Power regulators for the USB PHY, the USB Host port mode and the PHY device. Also provide pin multiplexer information for the USB host pins. Signed-off-by: Roger Quadros rog...@ti.com ---

Re: [PATCH 02/13] USB: phy: nop: Defer probe if device needs VCC/RESET

2013-02-05 Thread Roger Quadros
On 02/05/2013 11:09 AM, Felipe Balbi wrote: On Tue, Feb 05, 2013 at 10:44:05AM +0200, Roger Quadros wrote: diff --git a/include/linux/usb/nop-usb-xceiv.h b/include/linux/usb/nop-usb-xceiv.h index 3265b61..148d351 100644 --- a/include/linux/usb/nop-usb-xceiv.h +++

Re: [PATCH v2 4/6] ARM: dts: omap5: add dwc3 omap dt data

2013-02-05 Thread Felipe Balbi
On Tue, Feb 05, 2013 at 02:37:05PM +0530, Santosh Shilimkar wrote: On Tuesday 05 February 2013 02:16 PM, kishon wrote: Hi, On Tuesday 05 February 2013 02:08 PM, Felipe Balbi wrote: On Tue, Feb 05, 2013 at 01:59:26PM +0530, kishon wrote: On Sunday 27 January 2013 01:17 AM, Sergei Shtylyov

RE: [PATCH 2/3] mmc: davinci_mmc: add DT support

2013-02-05 Thread Manjunathappa, Prakash
Hi Mark, On Mon, Feb 04, 2013 at 19:36:16, Mark Rutland wrote: Hi, On Mon, Feb 04, 2013 at 01:28:14PM +, Manjunathappa, Prakash wrote: Hi Mark, On Thu, Jan 31, 2013 at 16:53:03, Mark Rutland wrote: Hello, I have a few comments on the devicetree binding and the way it's

[RFC][PATCH 0/3 v4] ASoC: simple-card: add Device Tree support

2013-02-05 Thread Kuninori Morimoto
Hi Stephen, Mark These are v4 of simple-card DT support Kuninori Morimoto (3): ASoC: use list_add_tail() instead of list_add() for platform/codec/dai list ASoC: add snd_soc_of_get_port_dai_name() ASoC: simple-card: add Device Tree support #1, #2 enable to get

[PATCH 1/3] ASoC: use list_add_tail() instead of list_add() for platform/codec/dai list

2013-02-05 Thread Kuninori Morimoto
Current ASoC is using list_add() in order to add new list to platform/codec/dai list. But it breaks added list's order. This patch use list_add_tail() instead of list_add() to solve this issue. Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- sound/soc/soc-core.c |8

[PATCH 2/3] ASoC: add snd_soc_of_get_port_dai_name()

2013-02-05 Thread Kuninori Morimoto
This patch adds snd_soc_of_get_port_dai_name() to get dai name from device_node and port number. Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- include/sound/soc.h |2 ++ sound/soc/soc-core.c | 18 ++ 2 files changed, 20 insertions(+) diff --git

[PATCH 3/3 v4] ASoC: simple-card: add Device Tree support

2013-02-05 Thread Kuninori Morimoto
Support for loading the simple-card module via devicetree. It requests cpu/codec information for probing. Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- v3 - v4 - removed port-name - it gets dai_name from node and port number

[PATCH 0/2] gpio: Fix gpio-generic bug and add driver for GRGPIO cores

2013-02-05 Thread Andreas Larsson
The second patch is v2 of the earlier single GRGPIO patch Andreas Larsson (2): gpio: gpio-generic: Fix bug in big endian bit conversion gpio: Add device driver for GRGPIO cores drivers/gpio/Kconfig|8 ++ drivers/gpio/Makefile |1 + drivers/gpio/gpio-generic.c |5 +-

[PATCH 1/2] gpio: gpio-generic: Fix bug in big endian bit conversion

2013-02-05 Thread Andreas Larsson
The swap to convert LE to BE in bgpio_pin2mask_be should be on byte level, not on bit level. Signed-off-by: Andreas Larsson andr...@gaisler.com --- drivers/gpio/gpio-generic.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/drivers/gpio/gpio-generic.c

[PATCH 2/2] gpio: Add device driver for GRGPIO cores

2013-02-05 Thread Andreas Larsson
This driver supports GRGPIO gpio cores available in the GRLIB VHDL IP core library. Signed-off-by: Andreas Larsson andr...@gaisler.com --- v2 of the eariler single GRGPIO patch drivers/gpio/Kconfig |8 ++ drivers/gpio/Makefile |1 + drivers/gpio/gpio-grgpio.c | 244

Re: [PATCH 09/13] mfd: omap-usb-host: Add device tree support and binding information

2013-02-05 Thread Roger Quadros
On 02/05/2013 08:16 AM, kishon wrote: On Monday 04 February 2013 09:28 PM, Roger Quadros wrote: Allows the OMAP HS USB host controller to be specified via device tree. CC: Samuel Ortiz sa...@linux.intel.com Signed-off-by: Roger Quadros rog...@ti.com ---

Re: [PATCH] ARM: SAMSUNG: dma: Remove unnecessary code

2013-02-05 Thread Arnd Bergmann
On Tuesday 05 February 2013, Padma Venkat wrote: On Mon, Feb 4, 2013 at 11:13 PM, Arnd Bergmann a...@arndb.de wrote: On Monday 04 February 2013, Padmavathi Venna wrote: diff --git a/arch/arm/plat-samsung/dma-ops.c b/arch/arm/plat-samsung/dma-ops.c index 71d58dd..ec0d731 100644 ---

Re: how to specify an OMAP clock in device tree?

2013-02-05 Thread Rajendra Nayak
On Tuesday 05 February 2013 03:04 PM, Roger Quadros wrote: Hi Rajendra, On 02/04/2013 05:58 PM, Roger Quadros wrote: Provide the RESET and Power regulators for the USB PHY, the USB Host port mode and the PHY device. Also provide pin multiplexer information for the USB host pins.

[PATCH] arm: mvebu: Add SPI flash on Armada XP-GP board

2013-02-05 Thread Ezequiel Garcia
This patch adds an SPI master device node for Armada XP-GP board. This master node is an SPI flash controller 'n25q128a13'. Since there is no 'partitions' node declared, one full sized partition named as the device will be created. Cc: Gregory Clement gregory.clem...@free-electrons.com Cc:

Re: [PATCH 00/13] Device tree support for OMAP HS USB Host

2013-02-05 Thread Rajendra Nayak
On Monday 04 February 2013 09:28 PM, Roger Quadros wrote: This patchset adds device tree support for OMAP's High Speed USB Host subsystem. Board adaptation for Panda and Beagleboard is also provided. Tested on Beagleboard. Will only work with Panda if we provide a reference to the PHY clock

Re: [PATCH 00/13] Device tree support for OMAP HS USB Host

2013-02-05 Thread Roger Quadros
On 02/05/2013 01:25 PM, Rajendra Nayak wrote: On Monday 04 February 2013 09:28 PM, Roger Quadros wrote: This patchset adds device tree support for OMAP's High Speed USB Host subsystem. Board adaptation for Panda and Beagleboard is also provided. Tested on Beagleboard. Will only work with

Re: [PATCH 09/13] mfd: omap-usb-host: Add device tree support and binding information

2013-02-05 Thread kishon
Hi, On Tuesday 05 February 2013 04:28 PM, Roger Quadros wrote: On 02/05/2013 08:16 AM, kishon wrote: On Monday 04 February 2013 09:28 PM, Roger Quadros wrote: Allows the OMAP HS USB host controller to be specified via device tree. CC: Samuel Ortiz sa...@linux.intel.com Signed-off-by: Roger

Re: [PATCH] arm: mvebu: Add SPI flash on Armada XP-GP board

2013-02-05 Thread Jason Cooper
On Tue, Feb 05, 2013 at 08:24:33AM -0300, Ezequiel Garcia wrote: This patch adds an SPI master device node for Armada XP-GP board. This master node is an SPI flash controller 'n25q128a13'. Since there is no 'partitions' node declared, one full sized partition named as the device will be

Re: [PATCH 09/13] mfd: omap-usb-host: Add device tree support and binding information

2013-02-05 Thread Roger Quadros
On 02/05/2013 02:11 PM, kishon wrote: Hi, On Tuesday 05 February 2013 04:28 PM, Roger Quadros wrote: On 02/05/2013 08:16 AM, kishon wrote: On Monday 04 February 2013 09:28 PM, Roger Quadros wrote: Allows the OMAP HS USB host controller to be specified via device tree. CC: Samuel Ortiz

Re: [PATCH 08/13] USB: ehci-omap: Add device tree support and binding information

2013-02-05 Thread Mark Rutland
On Mon, Feb 04, 2013 at 03:58:55PM +, Roger Quadros wrote: Allows the OMAP EHCI controller to be specified via device tree. Signed-off-by: Roger Quadros rog...@ti.com --- .../devicetree/bindings/usb/omap-ehci.txt | 34 ++ drivers/usb/host/ehci-omap.c

[PATCH v5 0/2] Adding USB 3.0 DRD-phy support for exynos5250

2013-02-05 Thread Vivek Gautam
Based on 'usb-next' Changes from v4: - Modifying function names and driver names to follow a common naming convention. usb2phy for samsung-usb2phy driver usb3phy for samsung-usb3phy driver - Changing file names samsung-usb2.c to samsung-usb2phy.c and, samsung-usb3.c to

Re: [PATCH] arm: mvebu: Add SPI flash on Armada XP-GP board

2013-02-05 Thread Andrew Lunn
And don't forget to compile the SPI flash driver, CONFIG_MTD_M25P80=y Hi Ezequiel Maybe it makes sense to provide a patch to mvebu_defconfig to add CONFIG_MTD_M25P80=y ? Andrew ___ devicetree-discuss mailing list

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-05 Thread Russell King - ARM Linux
On Mon, Feb 04, 2013 at 09:47:38PM +, Arnd Bergmann wrote: On Monday 04 February 2013, Linus Walleij wrote: So I think the above concerns are moot. The callback we can set on cookies is entirely optional, and it's even implemented by each DMA engine, and some may not even support it but

[PATCH v5 1/2] usb: phy: samsung: Common out the generic stuff

2013-02-05 Thread Vivek Gautam
Moving register and structure definitions to header file, and keeping the generic functions to be used across multiple PHYs in common phy helper driver under SAMSUNG_USBPHY, and moving USB 2.0 PHY driver under SAMSUNG_USB2PHY. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com ---

[PATCH v5 2/2] usb: phy: samsung: Add PHY support for USB 3.0 controller

2013-02-05 Thread Vivek Gautam
Adding PHY driver support for USB 3.0 controller for Samsung's SoCs. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- drivers/usb/phy/Kconfig |8 + drivers/usb/phy/Makefile |1 + drivers/usb/phy/samsung-usb3phy.c | 349 +

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-05 Thread Russell King - ARM Linux
On Mon, Feb 04, 2013 at 04:54:45PM -0500, Cyril Chemparathy wrote: You're assuming that cookies complete in order. That is not necessarily true. Under what circumstances is that not true? ___ devicetree-discuss mailing list

Re: [PATCH 08/13] USB: ehci-omap: Add device tree support and binding information

2013-02-05 Thread Roger Quadros
On 02/05/2013 02:33 PM, Mark Rutland wrote: On Mon, Feb 04, 2013 at 03:58:55PM +, Roger Quadros wrote: Allows the OMAP EHCI controller to be specified via device tree. Signed-off-by: Roger Quadros rog...@ti.com --- .../devicetree/bindings/usb/omap-ehci.txt | 34

Re: [PATCH] arm: mvebu: Add SPI flash on Armada XP-GP board

2013-02-05 Thread Jason Cooper
Morning-ish Andrew, On Tue, Feb 05, 2013 at 01:38:27PM +0100, Andrew Lunn wrote: And don't forget to compile the SPI flash driver, CONFIG_MTD_M25P80=y Maybe it makes sense to provide a patch to mvebu_defconfig to add CONFIG_MTD_M25P80=y ? I thought this as well, then reconsidered when he

[PATCH v3 0/2] ARM: Exynos5250: Enabling samsung usb phy

2013-02-05 Thread Vivek Gautam
Based on for-next of 'linux-samsung' tree. Aligned with following patches for separate PHY drivers for USB 2.0 and USB 3.0 for Samsung SoCs. [PATCH v5 1/2] usb: phy: samsung: Common out the generic stuff [PATCH v5 2/2] usb: phy: samsung: Add PHY support for USB 3.0 controller Changes from v2: -

[PATCH v3 1/2] ARM: Exynos5250: Enabling samsung-usb2phy driver

2013-02-05 Thread Vivek Gautam
Adding device node for Samsung USB 2.0 PHY controller driver on Exynos5250 along with the necessary device data to be parsed. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- arch/arm/boot/dts/exynos5250.dtsi | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff

[PATCH v3 2/2] ARM: Exynos5250: Enabling samsung-usb3phy driver

2013-02-05 Thread Vivek Gautam
Adding device node for Samsung USB 3.0 PHY controller driver on Exynos5250 along with the necessary device data to be parsed. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- arch/arm/boot/dts/exynos5250.dtsi | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff

Re: [PATCH v5 01/10] clk: tegra: Refactor PLL programming code

2013-02-05 Thread Peter De Schrijver
On Tue, Feb 05, 2013 at 06:42:11AM +0100, Prashant Gaikwad wrote: On Monday 04 February 2013 08:02 PM, Peter De Schrijver wrote: On Mon, Feb 04, 2013 at 07:06:47AM +0100, Prashant Gaikwad wrote: On Friday 01 February 2013 03:48 PM, Peter De Schrijver wrote: ... -static int

Re: how to specify an OMAP clock in device tree?

2013-02-05 Thread Roger Quadros
On 02/05/2013 01:15 PM, Rajendra Nayak wrote: On Tuesday 05 February 2013 03:04 PM, Roger Quadros wrote: Hi Rajendra, On 02/04/2013 05:58 PM, Roger Quadros wrote: Provide the RESET and Power regulators for the USB PHY, the USB Host port mode and the PHY device. Also provide pin multiplexer

Re: [PATCH V2 1/6] pinctrl: pinctrl-single: use arch_initcall and module_exit

2013-02-05 Thread Linus Walleij
On Tue, Feb 5, 2013 at 7:36 AM, Vishwanathrao Badarkhe, Manish manish...@ti.com wrote: I made following changes, in order to update dip-p pointer with correct value: - if (!dpi-p) { + if (IS_ERR_OR_NULL(dpi-p)) { dpi-p = devm_pinctrl_get(dev); - if

Re: [PATCH 1/2] ARM: mvebu: Add support for SPI controller in Armada 370/XP

2013-02-05 Thread Gregory CLEMENT
Hi Ezequiel, On 02/04/2013 05:38 PM, Ezequiel Garcia wrote: The Armada 370 and Armada XP SoC has an SPI controller. This patch adds support for this controller in Armada 370 and Armada XP SoC common device tree files. Cc: Gregory Clement gregory.clem...@free-electrons.com Cc: Thomas

Re: how to specify an OMAP clock in device tree?

2013-02-05 Thread Rajendra Nayak
On Tuesday 05 February 2013 07:16 PM, Roger Quadros wrote: Fixing the device name doesn't really solve the problem. Not all OMAP boards will use the same clock for the external device. Are you saying different OMAP boards will use different Internal clocks? Or different OMAP boards will use a

Re: how to specify an OMAP clock in device tree?

2013-02-05 Thread Roger Quadros
On 02/05/2013 04:13 PM, Rajendra Nayak wrote: On Tuesday 05 February 2013 07:16 PM, Roger Quadros wrote: Fixing the device name doesn't really solve the problem. Not all OMAP boards will use the same clock for the external device. Are you saying different OMAP boards will use different

Re: [PATCH 09/13] mfd: omap-usb-host: Add device tree support and binding information

2013-02-05 Thread Mark Rutland
Hi, I have a few comments on the binding and the way it's parsed. On Mon, Feb 04, 2013 at 03:58:56PM +, Roger Quadros wrote: Allows the OMAP HS USB host controller to be specified via device tree. CC: Samuel Ortiz sa...@linux.intel.com Signed-off-by: Roger Quadros rog...@ti.com ---

Re: how to specify an OMAP clock in device tree?

2013-02-05 Thread Rajendra Nayak
On Tuesday 05 February 2013 07:48 PM, Roger Quadros wrote: On 02/05/2013 04:13 PM, Rajendra Nayak wrote: On Tuesday 05 February 2013 07:16 PM, Roger Quadros wrote: Fixing the device name doesn't really solve the problem. Not all OMAP boards will use the same clock for the external device.

Re: [PATCH 3/5] serial: pl011: use generic DMA slave configuration if possible

2013-02-05 Thread Grant Likely
On Mon, 28 Jan 2013 17:57:35 +, Arnd Bergmann a...@arndb.de wrote: With the new OF DMA binding, it is possible to completely avoid the need for platform_data for configuring a DMA channel. In cases where the platform has already been converted, calling dma_request_slave_channel should get

Re: [PATCH] arm: mvebu: Add SPI flash on Armada XP-GP board

2013-02-05 Thread Ezequiel Garcia
On Tue, Feb 05, 2013 at 07:48:33AM -0500, Jason Cooper wrote: Morning-ish Andrew, On Tue, Feb 05, 2013 at 01:38:27PM +0100, Andrew Lunn wrote: And don't forget to compile the SPI flash driver, CONFIG_MTD_M25P80=y Maybe it makes sense to provide a patch to mvebu_defconfig to add

Re: [PATCH 2/5] spi: pl022: use generic DMA slave configuration if possible

2013-02-05 Thread Grant Likely
On Mon, 28 Jan 2013 17:57:34 +, Arnd Bergmann a...@arndb.de wrote: With the new OF DMA binding, it is possible to completely avoid the need for platform_data for configuring a DMA channel. In cases where the platform has already been converted, calling dma_request_slave_channel should get

Re: [PATCH RFC 1/1] gpio: mcp23s08: convert driver to DT

2013-02-05 Thread Grant Likely
On Thu, 31 Jan 2013 21:51:36 +0100, Linus Walleij linus.wall...@linaro.org wrote: On Thu, Jan 31, 2013 at 4:58 PM, Lars Poeschel la...@wh2.tu-dresden.de wrote: --- /dev/null +++ b/Documentation/devicetree/bindings/gpio/gpio-mcp23s08.txt @@ -0,0 +1,27 @@ +Microchip

Re: how to specify an OMAP clock in device tree?

2013-02-05 Thread Roger Quadros
On 02/05/2013 04:21 PM, Rajendra Nayak wrote: On Tuesday 05 February 2013 07:48 PM, Roger Quadros wrote: On 02/05/2013 04:13 PM, Rajendra Nayak wrote: On Tuesday 05 February 2013 07:16 PM, Roger Quadros wrote: Fixing the device name doesn't really solve the problem. Not all OMAP boards will

Re: how to specify an OMAP clock in device tree?

2013-02-05 Thread Rajendra Nayak
On Tuesday 05 February 2013 07:59 PM, Roger Quadros wrote: On 02/05/2013 04:21 PM, Rajendra Nayak wrote: On Tuesday 05 February 2013 07:48 PM, Roger Quadros wrote: On 02/05/2013 04:13 PM, Rajendra Nayak wrote: On Tuesday 05 February 2013 07:16 PM, Roger Quadros wrote: Fixing the device name

Re: [PATCH 09/13] mfd: omap-usb-host: Add device tree support and binding information

2013-02-05 Thread Roger Quadros
On 02/05/2013 04:20 PM, Mark Rutland wrote: Hi, I have a few comments on the binding and the way it's parsed. On Mon, Feb 04, 2013 at 03:58:56PM +, Roger Quadros wrote: Allows the OMAP HS USB host controller to be specified via device tree. CC: Samuel Ortiz sa...@linux.intel.com

Re: how to specify an OMAP clock in device tree?

2013-02-05 Thread Roger Quadros
On 02/05/2013 04:36 PM, Rajendra Nayak wrote: On Tuesday 05 February 2013 07:59 PM, Roger Quadros wrote: On 02/05/2013 04:21 PM, Rajendra Nayak wrote: On Tuesday 05 February 2013 07:48 PM, Roger Quadros wrote: On 02/05/2013 04:13 PM, Rajendra Nayak wrote: On Tuesday 05 February 2013 07:16 PM,

Re: [PATCH v3 2/2] iio: Add OF support

2013-02-05 Thread Guenter Roeck
On Mon, Feb 04, 2013 at 12:26:06PM -0800, Guenter Roeck wrote: Provide bindings and parse OF data during initialization. Signed-off-by: Guenter Roeck li...@roeck-us.net --- One open question is how to assign of_node to the iio device. We can either do it in each driver (which turns out to

Re: [RFC][PATCH 2/2 v3] ASoC: simple-card: add Device Tree support

2013-02-05 Thread Mark Brown
On Mon, Feb 04, 2013 at 03:23:49PM -0700, Stephen Warren wrote: It seems extremely odd to me that the data delay would just happen to end up meaning that inverting the clock works out to magically make everything work. Still, if there really is a use-case for this in otherwise simple audio

[GIT PULL] ARM part of USB patches

2013-02-05 Thread kishon
Hi Tony, As discussed, I'm sending a pull request for the arch/arm part of my USB patches. These patches are necessary to get MUSB functional in both dt and non-dt boot. Also added dt data for dwc3 present in OMAP. This patch series *depends* on some of the patches which are merged in

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-05 Thread Linus Walleij
On Mon, Feb 4, 2013 at 10:54 PM, Cyril Chemparathy cy...@ti.com wrote: On 02/04/2013 04:11 PM, Linus Walleij wrote: Cyril, just stack up the cookies and take a sweep over them to see which ones are baked when the NAPI poll comes in - problem solved. You're assuming that cookies complete in

Re: [PATCH] arm: mvebu: Add SPI flash on Armada XP-GP board

2013-02-05 Thread Jason Cooper
On Tue, Feb 05, 2013 at 11:27:21AM -0300, Ezequiel Garcia wrote: On Tue, Feb 05, 2013 at 07:48:33AM -0500, Jason Cooper wrote: Morning-ish Andrew, On Tue, Feb 05, 2013 at 01:38:27PM +0100, Andrew Lunn wrote: And don't forget to compile the SPI flash driver, CONFIG_MTD_M25P80=y

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-05 Thread Cyril Chemparathy
On 02/05/2013 07:38 AM, Russell King - ARM Linux wrote: On Mon, Feb 04, 2013 at 09:47:38PM +, Arnd Bergmann wrote: On Monday 04 February 2013, Linus Walleij wrote: So I think the above concerns are moot. The callback we can set on cookies is entirely optional, and it's even implemented by

Re: [PATCH 2/2] ARM: mvebu: Update defconfig to select SPI support

2013-02-05 Thread Gregory CLEMENT
Hi Ezequiel, On 02/04/2013 05:38 PM, Ezequiel Garcia wrote: Cc: Gregory Clement gregory.clem...@free-electrons.com Cc: Thomas Petazzoni thomas.petazz...@free-electrons.com Cc: Lior Amsalem al...@marvell.com Signed-off-by: Ezequiel Garcia ezequiel.gar...@free-electrons.com ---

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-05 Thread Cyril Chemparathy
On 02/05/2013 07:41 AM, Russell King - ARM Linux wrote: On Mon, Feb 04, 2013 at 04:54:45PM -0500, Cyril Chemparathy wrote: You're assuming that cookies complete in order. That is not necessarily true. Under what circumstances is that not true? Notably when hardware can prioritize certain

Re: [PATCH] ARM: SAMSUNG: dma: Remove unnecessary code

2013-02-05 Thread Padma Venkat
Hi Arnd, On Tue, Feb 5, 2013 at 4:43 PM, Arnd Bergmann a...@arndb.de wrote: On Tuesday 05 February 2013, Padma Venkat wrote: On Mon, Feb 4, 2013 at 11:13 PM, Arnd Bergmann a...@arndb.de wrote: On Monday 04 February 2013, Padmavathi Venna wrote: diff --git a/arch/arm/plat-samsung/dma-ops.c

Re: [PATCH 09/13] mfd: omap-usb-host: Add device tree support and binding information

2013-02-05 Thread Mark Rutland
[...] + +- single_ulpi_bypass: Must be present if the controller contains a single + ULPI bypass control bit. e.g. OMAP3 silicon = ES2.1 Again it would be nicer to have '-' rather than '_' here. It might be worth prefixing this ti,. Is prefixing with ti really required? how does

Re: [PATCH] arm: mvebu: Add SPI flash on Armada XP-GP board

2013-02-05 Thread Gregory CLEMENT
On 02/05/2013 05:17 PM, Thomas Petazzoni wrote: Dear Jason Cooper, On Tue, 5 Feb 2013 10:31:35 -0500, Jason Cooper wrote: One thing we've been doing a lot of with mvebu is using it for build-testing. For that use case, since the bootloader is there, I'd recommend setting it. This will

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-05 Thread Linus Walleij
On Mon, Feb 4, 2013 at 11:30 PM, Cyril Chemparathy cy...@ti.com wrote: NAPI needs to switch between polled and interrupt driven modes of operation. Further, in a given poll, it needs to be able to limit the amount of traffic processed to a specified budget. I don't think any of this is a

Re: [PATCH] arm: mvebu: Add SPI flash on Armada XP-GP board

2013-02-05 Thread Jason Cooper
On Tue, Feb 05, 2013 at 05:17:01PM +0100, Thomas Petazzoni wrote: Dear Jason Cooper, On Tue, 5 Feb 2013 10:31:35 -0500, Jason Cooper wrote: One thing we've been doing a lot of with mvebu is using it for build-testing. For that use case, since the bootloader is there, I'd recommend

Re: [PATCH] arm: mvebu: Add SPI flash on Armada XP-GP board

2013-02-05 Thread Gregory CLEMENT
Hi Ezequiel, On 02/05/2013 12:24 PM, Ezequiel Garcia wrote: This patch adds an SPI master device node for Armada XP-GP board. This master node is an SPI flash controller 'n25q128a13'. Since there is no 'partitions' node declared, one full sized partition named as the device will be created.

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-05 Thread Mark Brown
On Tue, Feb 05, 2013 at 05:21:48PM +0100, Linus Walleij wrote: For IRQ mode, use the completion callback to push each cookie to NAPI, and thus let the IRQ drive the traffic. The whole purpose of NAPI is to avoid taking interrupts for completion of transfers. Anything that generates interrupts

Re: [PATCH] arm: mvebu: Add SPI flash on Armada XP-GP board

2013-02-05 Thread Thomas Petazzoni
Dear Gregory CLEMENT, On Tue, 05 Feb 2013 17:20:02 +0100, Gregory CLEMENT wrote: So that means we should enable the drivers for all the devices present on all the boards? Yes. For example my mvsdio patch set enables some Wifi driver that corresponds to a particular SDIO Wifi device that is

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-05 Thread Russell King - ARM Linux
On Tue, Feb 05, 2013 at 04:47:05PM +, Mark Brown wrote: On Tue, Feb 05, 2013 at 05:21:48PM +0100, Linus Walleij wrote: For IRQ mode, use the completion callback to push each cookie to NAPI, and thus let the IRQ drive the traffic. The whole purpose of NAPI is to avoid taking

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-05 Thread Russell King - ARM Linux
On Tue, Feb 05, 2013 at 04:30:45PM +0100, Linus Walleij wrote: On Mon, Feb 4, 2013 at 10:54 PM, Cyril Chemparathy cy...@ti.com wrote: On 02/04/2013 04:11 PM, Linus Walleij wrote: Cyril, just stack up the cookies and take a sweep over them to see which ones are baked when the NAPI poll

Re: [PATCH 1/2] ARM: dts: OMAP3: Add GPMC controller

2013-02-05 Thread Florian Vaussard
Hi Javier, On 02/04/2013 12:57 PM, Javier Martinez Canillas wrote: [...] Yes, I saw on the list that Tony asked you too extend the GPMC DT support. Flash support is on my TODO list too but I don't know if I'm going to have time to work on this in the next few weeks. Since you are thinking

Re: [GIT PULL] ARM part of USB patches

2013-02-05 Thread gre...@linuxfoundation.org
On Tue, Feb 05, 2013 at 08:56:13PM +0530, kishon wrote: Hi Tony, Greg, On Tuesday 05 February 2013 08:54 PM, kishon wrote: Hi Tony, As discussed, I'm sending a pull request for the arch/arm part of my USB patches. These patches are necessary to get MUSB functional in both dt and non-dt

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-05 Thread Mark Brown
On Tue, Feb 05, 2013 at 05:06:28PM +, Russell King - ARM Linux wrote: On Tue, Feb 05, 2013 at 04:47:05PM +, Mark Brown wrote: On Tue, Feb 05, 2013 at 05:21:48PM +0100, Linus Walleij wrote: For IRQ mode, use the completion callback to push each cookie to NAPI, and thus let the IRQ

Re: [PATCH] arm: mvebu: Add SPI flash on Armada XP-GP board

2013-02-05 Thread Jason Cooper
On Tue, Feb 05, 2013 at 06:07:05PM +0100, Thomas Petazzoni wrote: Of course, it doesn't make sense to have drivers for pluggable devices like PCIe devices that are not soldered, USB devices and things like that. But for all the rest, I would say it should be in the defconfig. hmmm, so for the

Re: [GIT PULL] ARM part of USB patches

2013-02-05 Thread Tony Lindgren
* gre...@linuxfoundation.org gre...@linuxfoundation.org [130205 09:28]: On Tue, Feb 05, 2013 at 08:56:13PM +0530, kishon wrote: Hi Tony, Greg, On Tuesday 05 February 2013 08:54 PM, kishon wrote: Hi Tony, As discussed, I'm sending a pull request for the arch/arm part of my USB

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-05 Thread Tony Lindgren
* Felipe Balbi ba...@ti.com [130204 07:46]: Current DMA abstraction is quite poor, for example there's no way to compile support for multiple DMA engines. Code also makes certain, IMO unnecessary, assumptions about the underlying DMA engine (abstraction is poor, as said above but it we could

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-05 Thread Linus Walleij
On Tue, Feb 5, 2013 at 5:47 PM, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Tue, Feb 05, 2013 at 05:21:48PM +0100, Linus Walleij wrote: For IRQ mode, use the completion callback to push each cookie to NAPI, and thus let the IRQ drive the traffic. The whole purpose of NAPI is to

Re: [PATCH v17 4/7] fbmon: add videomode helpers

2013-02-05 Thread Steffen Trumtrar
Hi! On Fri, Feb 01, 2013 at 06:29:50PM +0900, Jingoo Han wrote: On Friday, January 25, 2013 6:02 PM, Steffen Trumtrar wrote + fbmode-sync = 0; + fbmode-vmode = 0; + if (vm-dmt_flags VESA_DMT_HSYNC_HIGH) + fbmode-sync |= FB_SYNC_HOR_HIGH_ACT; + if (vm-dmt_flags

Re: [GIT PULL] ARM part of USB patches

2013-02-05 Thread gre...@linuxfoundation.org
On Tue, Feb 05, 2013 at 10:19:47AM -0800, Tony Lindgren wrote: * gre...@linuxfoundation.org gre...@linuxfoundation.org [130205 09:28]: On Tue, Feb 05, 2013 at 08:56:13PM +0530, kishon wrote: Hi Tony, Greg, On Tuesday 05 February 2013 08:54 PM, kishon wrote: Hi Tony, As

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-05 Thread Linus Walleij
On Tue, Feb 5, 2013 at 6:14 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Tue, Feb 05, 2013 at 04:30:45PM +0100, Linus Walleij wrote: So put them on a wait list? Surely you will have a list of pending cookies and pick from the front of the queue if there isn't a hole on queue

[PATCH V8] kbuild: create a rule to run the pre-processor on *.dts files

2013-02-05 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Create cmd_dtc_cpp to run the C pre-processor on *.dts file before passing them to dtc for final compilation. This allows the use of #define and #include within the .dts file. Acked-by: Simon Glass s...@chromium.org Acked-by: Jean-Christophe

Re: [PATCH 1/2] ARM: dts: OMAP3: Add GPMC controller

2013-02-05 Thread Javier Martinez Canillas
On Tue, Feb 5, 2013 at 6:23 PM, Florian Vaussard florian.vauss...@epfl.ch wrote: Hi Javier, Hi Florian, On 02/04/2013 12:57 PM, Javier Martinez Canillas wrote: [...] Yes, I saw on the list that Tony asked you too extend the GPMC DT support. Flash support is on my TODO list too but I

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-05 Thread Cyril Chemparathy
On 02/05/2013 01:29 PM, Linus Walleij wrote: On Tue, Feb 5, 2013 at 5:47 PM, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Tue, Feb 05, 2013 at 05:21:48PM +0100, Linus Walleij wrote: For IRQ mode, use the completion callback to push each cookie to NAPI, and thus let the IRQ drive

Re: [PATCH] arm: mvebu: Add SPI flash on Armada XP-GP board

2013-02-05 Thread Ezequiel Garcia
On Tue, Feb 05, 2013 at 06:07:05PM +0100, Thomas Petazzoni wrote: Dear Gregory CLEMENT, On Tue, 05 Feb 2013 17:20:02 +0100, Gregory CLEMENT wrote: So that means we should enable the drivers for all the devices present on all the boards? Yes. For example my mvsdio patch set enables

Re: [PATCH 06/14] ARM: pci: Keep pci_common_init() around after init

2013-02-05 Thread Thierry Reding
On Wed, Jan 09, 2013 at 09:43:06PM +0100, Thierry Reding wrote: When using deferred driver probing, PCI host controller drivers may actually require this function after the init stage. Signed-off-by: Thierry Reding thierry.red...@avionic-design.de --- arch/arm/kernel/bios32.c | 6 +++---

  1   2   >