Re: [PATCH 1/8] video: atmel_lcdfb: fix platform data struct

2013-05-30 Thread Richard Genoud
2013/5/29 Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com: On 19:44 Wed 29 May , Richard Genoud wrote: 2013/5/29 Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com: On 16:36 Wed 29 May , Richard Genoud wrote: 2013/4/11 Jean-Christophe PLAGNIOL-VILLARD

Re: [U-Boot] [PATCH] fdt: Enhance dts/Makefile to be all things to all men

2013-05-30 Thread Wolfgang Denk
Dear Stephen, In message 51a6869f.1020...@wwwdotorg.org you wrote: Since DT is supposed to be a HW description, it shouldn't be using cpp's built-in macros to compile in different ways; there really isn't a concept of the target arch of compilation; a .dts file should simply compile the same

Re: [v2, 3/3] ARM: dts: AM33XX: Add NAND flash device tree data to am335x-evm

2013-05-30 Thread Benoit Cousson
Hi Pekon, On 05/20/2013 06:44 AM, Gupta, Pekon wrote: am33xx_pinmux: pinmux@44e10800 { pinctrl-names = default; - pinctrl-0 = matrix_keypad_s0 volume_keys_s0; + pinctrl-0 = matrix_keypad_s0 volume_keys_s0 + nandflash_pins_s0; Why add this to

Re: [v2, 3/3] ARM: dts: AM33XX: Add NAND flash device tree data to am335x-evm

2013-05-30 Thread Benoit Cousson
On 05/30/2013 09:31 AM, Gupta, Pekon wrote: Sorry, I missed that series. I'm applying it right now. No issues.. Please pick newer v4 versions of this series. Following are rebased, updated and tested on linux-3.10-rc3 [PATCH v4,0/3] http://www.spinics.net/lists/linux-omap/msg91165.html

Re: [PATCH -next v2] dmaengine: ste_dma40: fix error return code in d40_probe()

2013-05-30 Thread Linus Walleij
On Thu, May 30, 2013 at 6:32 AM, Wei Yongjun weiyj...@gmail.com wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn In many of the error handling case, the return value 'ret' not set and 0 will be return from d40_probe() even if error, but we should return a negative error code instead in

Re: [PATCH 1/8] video: atmel_lcdfb: fix platform data struct

2013-05-30 Thread Jean-Christophe PLAGNIOL-VILLARD
On 08:39 Thu 30 May , Richard Genoud wrote: 2013/5/29 Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com: On 19:44 Wed 29 May , Richard Genoud wrote: 2013/5/29 Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com: On 16:36 Wed 29 May , Richard Genoud wrote: 2013/4/11

Re: [U-Boot] [PATCH] fdt: Enhance dts/Makefile to be all things to all men

2013-05-30 Thread Wolfgang Denk
Dear Stephen Warren, In message 51a68a4c.4060...@wwwdotorg.org you wrote: Sorry, instead we should strive to be compatible to a reasonably old, stable version of DTC, like we do for all other tools as well. As mentioned before - just because RHEL 5 ships an ancient version of - say -

[PATCH v3] pwm: add pca9685 driver

2013-05-30 Thread Steffen Trumtrar
Add pwm driver for the NXP pca9685 16 channel pwm-led controller. The driver is really barebones at this stage. E.g. the OE' pin and therefore the corresponding registers are not supported. The driver was tested on a HW where this pin is tied to GND. Signed-off-by: Steffen Trumtrar

Re: [RFC] [PATCH 3/3] IRQ: irq domain: defer of irq ressoure resolve at platform_drv_probe

2013-05-30 Thread Arnd Bergmann
On Thursday 30 May 2013, Grant Likely wrote: On Tue, 28 May 2013 17:08:49 +0200, Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com wrote: /** + * of_device_alloc_irq - initialize irq of an platfrom_device + * @dev: plaform_device to work on + */ +int

Re: [RFC] [PATCH 3/3] IRQ: irq domain: defer of irq ressoure resolve at platform_drv_probe

2013-05-30 Thread Grant Likely
On Thu, May 30, 2013 at 8:52 AM, Arnd Bergmann a...@arndb.de wrote: On Thursday 30 May 2013, Grant Likely wrote: On Tue, 28 May 2013 17:08:49 +0200, Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com wrote: /** + * of_device_alloc_irq - initialize irq of an platfrom_device + *

Re: [U-Boot] [PATCH] fdt: Enhance dts/Makefile to be all things to all men

2013-05-30 Thread Wolfgang Denk
Dear Stephen, In message 51a6df7c.30...@wwwdotorg.org you wrote: It seems to be aimed specifically at enabling use of new dtc features when present. That seems to be specifically against Wolfgang's goal of not requiring new dtc features. There's no point allowing use of new dtc Please stop

Re: [PATCH v2] i2c: core: make it possible to match a pure device tree driver

2013-05-30 Thread Linus Walleij
On Wed, May 22, 2013 at 9:56 AM, Linus Walleij linus.wall...@linaro.org wrote: On Mon, May 13, 2013 at 10:18 PM, Linus Walleij linus.wall...@linaro.org wrote: This tries to address an issue found when writing an MFD driver for the Nomadik STw481x PMICs: as the platform is using device tree

Re: [net-next PATCH v3 1/6] net: cpsw: enhance pinctrl support

2013-05-30 Thread Mugunthan V N
On 5/28/2013 7:35 PM, Mugunthan V N wrote: On 5/28/2013 3:06 AM, Tony Lindgren wrote: * Mugunthan V N mugunthan...@ti.com [130526 11:28]: From: Hebbar Gururaja gururaja.heb...@ti.com Amend cpsw controller to optionally take a pin control handle and set the state of the pins to: - default on

Re: [PATCH 25/39] usb: musb: ux500: add device tree probing support

2013-05-30 Thread Linus Walleij
On Wed, May 15, 2013 at 11:51 AM, Lee Jones lee.jo...@linaro.org wrote: This patch will allow ux500-musb to be probed and configured solely from configuration found in Device Tree. Cc: Felipe Balbi ba...@ti.com Cc: Rob Herring rob.herr...@calxeda.com Cc: linux-...@vger.kernel.org Cc:

Re: [PATCH v6 09/10] ASoC: fsl: Move fsl-ssi binding doc to sound/

2013-05-30 Thread Shawn Guo
On Tue, May 28, 2013 at 04:47:57PM +0200, Markus Pargmann wrote: fsl-ssi was located in powerpc/fsl/ssi.txt. This is no powerpc specific device, so it should be moved to sound/ as it connects to differen audio codecs. Signed-off-by: Markus Pargmann m...@pengutronix.de ---

[PATCH v8] reset: Add driver for gpio-controlled reset pins

2013-05-30 Thread Philipp Zabel
This driver implements a reset controller device that toggle a gpio connected to a reset pin of a peripheral IC. The delay between assertion and de-assertion of the reset signal can be configured via device tree. Signed-off-by: Philipp Zabel p.za...@pengutronix.de Reviewed-by: Stephen Warren

Re: [PATCH v7] reset: Add driver for gpio-controlled reset pins

2013-05-30 Thread Philipp Zabel
Hi Stephen, Am Mittwoch, den 29.05.2013, 17:19 -0600 schrieb Stephen Warren: On 05/28/2013 09:06 AM, Philipp Zabel wrote: This driver implements a reset controller device that toggle a gpio connected to a reset pin of a peripheral IC. The delay between assertion and de-assertion of the

Re: [PATCH v6 01/10] ASoC: phycore-ac97: Add DT support

2013-05-30 Thread Markus Pargmann
On Wed, May 29, 2013 at 09:53:45PM +0800, Shawn Guo wrote: On Tue, May 28, 2013 at 04:47:49PM +0200, Markus Pargmann wrote: Add devicetree support for this audio soc fabric driver. platform_of_node and cpu_of_node are set according to the fsl,audmux phandle. This patch adds handling

Re: [PATCH v6 01/10] ASoC: phycore-ac97: Add DT support

2013-05-30 Thread Markus Pargmann
On Wed, May 29, 2013 at 10:41:58AM -0500, Timur Tabi wrote: On Wed, May 29, 2013 at 8:53 AM, Shawn Guo shawn@linaro.org wrote: This function is unavailable until patch #7, right? May I suggest that Markus run this script: for i in 1 2 3 4 5 6 7 8 9 do git checkout HEAD^

Re: [PATCH 1/2] gpiolib: add gpio_export_with_name

2013-05-30 Thread Florian Vaussard
Hello Grant, On 11/26/2012 02:59 PM, Grant Likely wrote: On Wed, 21 Nov 2012 11:14:08 +0100, Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com wrote: allow to specify a name to an exported gpio Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com The gpio sysfs ABI is

Re: [PATCH v6 01/10] ASoC: phycore-ac97: Add DT support

2013-05-30 Thread Markus Pargmann
On Tue, May 28, 2013 at 03:56:03PM +0100, Mark Brown wrote: On Tue, May 28, 2013 at 04:47:49PM +0200, Markus Pargmann wrote: Add devicetree support for this audio soc fabric driver. What is an audio soc fabric driver? I changed both, driver name and commit message. Thanks, Markus --

Re: [PATCH v6 03/10] ASoC: imx-pcm-fiq: Introduce pcm-fiq-params

2013-05-30 Thread Markus Pargmann
On Wed, May 29, 2013 at 10:26:50PM +0800, Shawn Guo wrote: On Tue, May 28, 2013 at 04:47:51PM +0200, Markus Pargmann wrote: @@ -47,7 +56,8 @@ static inline void imx_pcm_dma_exit(struct platform_device *pdev) #endif #ifdef CONFIG_SND_SOC_IMX_PCM_FIQ -int imx_pcm_fiq_init(struct

[PATCH v2 1/3] video: xilinxfb: Fix OF probing on little-endian systems

2013-05-30 Thread Michal Simek
From: Michal Simek mon...@monstr.eu DTB is always big-endian that's why is necessary to convert it. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v2: - use of_property_read_u32 helper function drivers/video/xilinxfb.c | 7 +++ 1 file changed, 3 insertions(+), 4

Re: [RFC] [PATCH 2/3] of: add of_irq_count: Count the number of IRQs a node present

2013-05-30 Thread Jean-Christophe PLAGNIOL-VILLARD
On 23:33 Wed 29 May , Grant Likely wrote: On Tue, 28 May 2013 17:08:48 +0200, Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com wrote: Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com Cc: Grant Likely grant.lik...@secretlab.ca Cc: Rob Herring

Re: [RFC] [PATCH 3/3] IRQ: irq domain: defer of irq ressoure resolve at platform_drv_probe

2013-05-30 Thread Grant Likely
On Thu, May 30, 2013 at 11:36 AM, Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com wrote: On 23:48 Wed 29 May , Grant Likely wrote: Also, if the table has already been populated successfully, then that should be checked for. That would prevent the same table from being parsed over

Re: [RFC] [PATCH 1/3] of: irq: rename of_irq_count to of_irq_valid_count

2013-05-30 Thread Jean-Christophe PLAGNIOL-VILLARD
On 23:25 Wed 29 May , Grant Likely wrote: On Tue, 28 May 2013 17:08:47 +0200, Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com wrote: as we count valid mapped irq not just present irq Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com Hmmm, even with it

Re: [RFC] [PATCH 3/3] IRQ: irq domain: defer of irq ressoure resolve at platform_drv_probe

2013-05-30 Thread Jean-Christophe PLAGNIOL-VILLARD
On 09:52 Thu 30 May , Arnd Bergmann wrote: On Thursday 30 May 2013, Grant Likely wrote: On Tue, 28 May 2013 17:08:49 +0200, Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com wrote: /** + * of_device_alloc_irq - initialize irq of an platfrom_device + * @dev:

Re: [RFC] [PATCH 3/3] IRQ: irq domain: defer of irq ressoure resolve at platform_drv_probe

2013-05-30 Thread Jean-Christophe PLAGNIOL-VILLARD
On 23:48 Wed 29 May , Grant Likely wrote: On Tue, 28 May 2013 17:08:49 +0200, Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com wrote: Today in the current of implementation we populate all the ressources at of_platform_populate time. But this leed to a chicken-egg dilemat some

Re: [PATCH v2 11/14] Documentation: dt: binding: omap: am43x timer

2013-05-30 Thread Benoit Cousson
Hi Stephen, On 05/29/2013 05:27 PM, Stephen Warren wrote: On 05/29/2013 02:39 AM, Benoit Cousson wrote: Hi Afzal, On 05/29/2013 10:06 AM, Mohammed, Afzal wrote: Hi Jon, On Wed, May 29, 2013 at 03:35:10, Stephen Warren wrote: On 05/28/2013 03:25 PM, Jon Hunter wrote:

Re: [RFCv1 09/11] pci: mvebu: add MSI support

2013-05-30 Thread Thierry Reding
On Mon, Apr 08, 2013 at 04:29:07PM -0600, Bjorn Helgaas wrote: On Tue, Mar 26, 2013 at 10:52 AM, Thomas Petazzoni thomas.petazz...@free-electrons.com wrote: [...] +static int mvebu_pcie_setup_msi_irq(struct msi_chip *chip, + struct pci_dev *pdev, +

Re: [RFC] [PATCH 3/3] IRQ: irq domain: defer of irq ressoure resolve at platform_drv_probe

2013-05-30 Thread Arnd Bergmann
On Thursday 30 May 2013, Grant Likely wrote: On Thu, May 30, 2013 at 8:52 AM, Arnd Bergmann a...@arndb.de wrote: Since a platform device only has one interrupt-parent, as soon as one of the interrupts can get mapped, I would expect that the controller is present, and we don't need to

Re: [PATCH v7] reset: Add driver for gpio-controlled reset pins

2013-05-30 Thread Arnd Bergmann
On Thursday 30 May 2013, Pavel Machek wrote: On Wed 2013-05-29 17:19:20, Stephen Warren wrote: On 05/28/2013 09:06 AM, Philipp Zabel wrote: This driver implements a reset controller device that toggle a gpio connected to a reset pin of a peripheral IC. The delay between assertion and

[PATCH] of: Export of_irq_count for using in modules

2013-05-30 Thread Michal Simek
Export of_irq_count for modules. Signed-off-by: Michal Simek michal.si...@xilinx.com --- We are using this function in remoteproc module drivers. There is also drivers/gpio/gpio-mvebu.c in the tree which use this function but this driver can't be compiled as module. This could be also the reason

[PATCH 0/3] mfd: twl4030-power: Start DT conversion

2013-05-30 Thread Florian Vaussard
Hello, This series enables a partial DT support for twl4030-power. The missing part is the power management scripts, as the required binding should be defined first. It however enables the complete shutdown of the processor at poweroff when booting with DT, dropping the power consumption from

[PATCH 1/3] mfd: twl4030-power: Split from twl-core into a dedicated module

2013-05-30 Thread Florian Vaussard
For now, the call to twl4030-power is hard-wired inside twl-core. To ease the future transition to DT, make twl4030-power as a separate module, like what is already done for twl4030-audio and others. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch --- drivers/mfd/twl-core.c | 12

[PATCH 2/3] mfd: twl4030-power: Start transition to DT

2013-05-30 Thread Florian Vaussard
Support for loading twl4030-power module via devicetree. For now, when booting with a DT, only the poweroff callback feature is supported through the ti,use_poweroff property. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch --- .../devicetree/bindings/mfd/twl4030-power.txt | 28

[PATCH 3/3] mfd: twl4030-power: Simplify error path

2013-05-30 Thread Florian Vaussard
Remove unnecessary goto statements, causing duplicated if conditions. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch --- drivers/mfd/twl4030-power.c | 37 ++--- 1 files changed, 14 insertions(+), 23 deletions(-) diff --git

Re: [RFC] [PATCH 3/3] IRQ: irq domain: defer of irq ressoure resolve at platform_drv_probe

2013-05-30 Thread Grant Likely
On Thu, May 30, 2013 at 2:10 PM, Arnd Bergmann a...@arndb.de wrote: On Thursday 30 May 2013, Grant Likely wrote: On Thu, May 30, 2013 at 8:52 AM, Arnd Bergmann a...@arndb.de wrote: Since a platform device only has one interrupt-parent, as soon as one of the interrupts can get mapped, I

[PATCH v7 10/11] ASoC: fsl: Move fsl-ssi binding doc to sound/

2013-05-30 Thread Markus Pargmann
fsl-ssi was located in powerpc/fsl/ssi.txt. This is no powerpc specific device, so it should be moved to sound/ as it connects to differen audio codecs. Signed-off-by: Markus Pargmann m...@pengutronix.de --- .../devicetree/bindings/{powerpc/fsl/ssi.txt = sound/fsl,ssi.txt}| 0 1 file

[PATCH v7 05/11] ASoC: fsl-ssi: Use generic DMA bindings if possible

2013-05-30 Thread Markus Pargmann
There may be some platforms using fsl-ssi that do not have a DMA driver with generic DMA bindings. So this patch adds support for the generic DMA bindings, while still accepting the old fsl,dma-events property if dmas is not found. Signed-off-by: Markus Pargmann m...@pengutronix.de --- Notes:

[PATCH v7 08/11] ASoC: phycore-ac97: Add DT support

2013-05-30 Thread Markus Pargmann
Add devicetree support for phycore-ac97 driver. platform_of_node and cpu_of_node are set according to the fsl,audmux phandle. This patch adds handling of ac97 reset functions according to fsl ac97 support. They are setup from here to avoid board specific code in the generic fsl-ssi driver. This

[PATCH v7 11/11] ASoC: fsl: Update fsl-ssi binding doc

2013-05-30 Thread Markus Pargmann
Update the fsl-ssi bindings. DMA is no required property anymore and uses the generic DMA bindings. imx-fiq is a new alternative to DMA Signed-off-by: Markus Pargmann m...@pengutronix.de --- Notes: Changes in v4: - Add a comment about hardware bugs for imx-pcm-fiq Changes in

[PATCH v7 09/11] ASoC: fsl: Kconfig: Use fsl-ssi for phycore-ac97

2013-05-30 Thread Markus Pargmann
Signed-off-by: Markus Pargmann m...@pengutronix.de --- sound/soc/fsl/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sound/soc/fsl/Kconfig b/sound/soc/fsl/Kconfig index 74ef96e..71284c0 100644 --- a/sound/soc/fsl/Kconfig +++ b/sound/soc/fsl/Kconfig @@ -149,7 +149,8

Re: [RFC] [PATCH 3/3] IRQ: irq domain: defer of irq ressoure resolve at platform_drv_probe

2013-05-30 Thread Arnd Bergmann
On Thursday 30 May 2013, Grant Likely wrote: On Thu, May 30, 2013 at 2:10 PM, Arnd Bergmann a...@arndb.de wrote: On Thursday 30 May 2013, Grant Likely wrote: Right, so we clearly need it. I also though of a second case, which is that the xlate() function might itself return -EPROBE_DEFER

[PATCH v7 07/11] ARM: imx: Export ac97 reset functions

2013-05-30 Thread Markus Pargmann
Signed-off-by: Markus Pargmann m...@pengutronix.de --- arch/arm/mach-imx/mach-pca100.c | 7 +-- arch/arm/mach-imx/mach-pcm043.c | 7 +-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-imx/mach-pca100.c b/arch/arm/mach-imx/mach-pca100.c index b8b15bb..68badf8

[PATCH v7 04/11] ASoC: fsl-ssi: Add support for imx-pcm-fiq

2013-05-30 Thread Markus Pargmann
Add support for non-dma pcm for imx platforms with imx-pcm-fiq support. Instead of imx-pcm-audio, in this case imx-pcm-fiq-audio device is added and the SIER flags are set differently. We need imx-pcm-fiq for some boards that use an incompatible codec. imx-pcm-fiq handles those codecs differently

[PATCH v7 06/11] ASoC: fsl-ssi: imx ac97 support

2013-05-30 Thread Markus Pargmann
This patch copies some parts from imx-ssi to support AC97 on imx27-pca100 and imx35-pcm043. This is a implementation of the ac97-slave mode. For ac97, the registers have to be setup earlier than for other ssi modes because there is some communication with the external device before actual

[PATCH v7 03/11] ASoC: fsl: Move soc_ac97_ops from imx-ssi to fsl_ssi

2013-05-30 Thread Markus Pargmann
fsl_ssi and imx-ssi can be both enabled at the same time. To be able to add AC97 support to fsl_ssi, soc_ac97_ops have to be available to both drivers. fsl_ssi has DT support and should be the only driver at some point in the future. This patch moves the definition of soc_ac97_ops to fsl_ssi.

[PATCH v7 01/11] ASoC: imx-pcm-dma: DT support

2013-05-30 Thread Markus Pargmann
This patch removes the NO_DT flag. The pdev pointer may have a proper of_node with the dmas property, so we can use it to request DMA channels. Signed-off-by: Markus Pargmann m...@pengutronix.de --- Notes: Changes in v6: - After rebasing onto Shawn's imx-pcm cleanups, this patch just

[PATCH v7 00/11] ASoC: fsl-ssi: ac97-slave support

2013-05-30 Thread Markus Pargmann
Hi, This series adds DT support for phycore-ac97. Beside ac97 support, the series adds imx-pcm-fiq and generic DMA bindings to fsl-ssi. Regards, Markus Changes in v7: - Only one soc_ac97_ops struct for both ssi drivers (fsl-ssi and imx-ssi) to make it possible to compile a kernel with both

[PATCH v7 02/11] ASoC: imx-pcm-fiq: Introduce pcm-fiq-params

2013-05-30 Thread Markus Pargmann
Cleaner parameter passing for imx-pcm-fiq. Create a seperated fiq-params struct to pass all arguments. Signed-off-by: Markus Pargmann m...@pengutronix.de --- Notes: Changes in v7: - Fix init function signature for !CONFIG_SND_SOC_IMX_PCM_FIQ Changes in v6: - After rebasing

Re: [PATCH 1/8] video: atmel_lcdfb: fix platform data struct

2013-05-30 Thread Jean-Christophe PLAGNIOL-VILLARD
On 16:27 Thu 30 May , Andreas Bießmann wrote: On 30.05.13 09:23, Jean-Christophe PLAGNIOL-VILLARD wrote: On 08:39 Thu 30 May , Richard Genoud wrote: 2013/5/29 Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com: On 19:44 Wed 29 May , Richard Genoud wrote: 2013/5/29

[PATCH 2/3] ARM: at91: dt: switch DMA DT bindings to pre-processor

2013-05-30 Thread ludovic.desroches
From: Ludovic Desroches ludovic.desroc...@atmel.com Acked-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com --- arch/arm/boot/dts/at91sam9g45.dtsi | 5 +++-- arch/arm/boot/dts/at91sam9n12.dtsi | 11 ++-

[PATCH 1/3] ARM: at91: dt: add header to define at_hdmac configuration

2013-05-30 Thread ludovic.desroches
From: Ludovic Desroches ludovic.desroc...@atmel.com DMA-cell content is a concatenation of several values. In order to keep this stuff human readable, macros are introduced. The values for the FIFO configuration are not the same as the ones used in the configuration register in order to keep

[PATCH 0/3] at_hdmac: dt dma bindings update

2013-05-30 Thread ludovic.desroches
From: Ludovic Desroches ludovic.desroc...@atmel.com Hi, This set of patches update the dt dma binding for at_hdmac since we need one more parameter. In order to keep backward compatibility, an existing cell will be used to add this parameter. Since the content of that cell will become a magic

[PATCH 3/3] at_hdmac: add FIFO configuration parameter to DMA DT binding

2013-05-30 Thread ludovic.desroches
From: Ludovic Desroches ludovic.desroc...@atmel.com For most devices the FIFO configuration is the same i.e. when half FIFO size is available/filled, a source/destination request is serviced. But USART devices have to do it when there is enough space/data available to perform a single AHB access

Re: [PATCH 3/3] at_hdmac: add FIFO configuration parameter to DMA DT binding

2013-05-30 Thread Nicolas Ferre
On 30/05/2013 18:08, ludovic.desroc...@atmel.com : From: Ludovic Desroches ludovic.desroc...@atmel.com For most devices the FIFO configuration is the same i.e. when half FIFO size is available/filled, a source/destination request is serviced. But USART devices have to do it when there is enough

Re: [PATCH 0/3] at_hdmac: dt dma bindings update

2013-05-30 Thread Jean-Christophe PLAGNIOL-VILLARD
On 18:08 Thu 30 May , ludovic.desroc...@atmel.com wrote: From: Ludovic Desroches ludovic.desroc...@atmel.com Hi, This set of patches update the dt dma binding for at_hdmac since we need one more parameter. In order to keep backward compatibility, an existing cell will be used to add

Re: [PATCH 3/3] at_hdmac: add FIFO configuration parameter to DMA DT binding

2013-05-30 Thread Jean-Christophe PLAGNIOL-VILLARD
On 18:32 Thu 30 May , Nicolas Ferre wrote: On 30/05/2013 18:08, ludovic.desroc...@atmel.com : From: Ludovic Desroches ludovic.desroc...@atmel.com For most devices the FIFO configuration is the same i.e. when half FIFO size is available/filled, a source/destination request is serviced.

Re: [U-Boot] [PATCH] fdt: Enhance dts/Makefile to be all things to all men

2013-05-30 Thread Stephen Warren
On 05/30/2013 01:56 AM, Wolfgang Denk wrote: Dear Stephen, In message 51a6df7c.30...@wwwdotorg.org you wrote: It seems to be aimed specifically at enabling use of new dtc features when present. That seems to be specifically against Wolfgang's goal of not requiring new dtc features. There's

Re: [RFC/PATCH v2 2/2] gpio-rcar: Add DT support

2013-05-30 Thread Linus Walleij
On Tue, May 21, 2013 at 1:40 PM, Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com wrote: Add DT bindings for the gpio-rcar driver and read the device configuration from the DT node at probe time if available. Cc: devicetree-discuss@lists.ozlabs.org Signed-off-by: Laurent Pinchart

Re: RFC: New release for DTC?

2013-05-30 Thread Stephen Warren
On 08/23/2012 12:15 PM, Yann E. MORIN wrote: Hello All! Following advice from Jon Loeliger, I would suggest that a new release of DTC be tagged and packaged. It is important for some projects to rely on a released version, rather than use a random cset from the repository. Comes to mind,

Re: [PATCH -next v2] dmaengine: ste_dma40: fix error return code in d40_probe()

2013-05-30 Thread Vinod Koul
On Thu, May 30, 2013 at 09:41:38AM +0200, Linus Walleij wrote: On Thu, May 30, 2013 at 6:32 AM, Wei Yongjun weiyj...@gmail.com wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn In many of the error handling case, the return value 'ret' not set and 0 will be return from d40_probe()

Re: [PATCH 0/3] at_hdmac: dt dma bindings update

2013-05-30 Thread Vinod Koul
On Thu, May 30, 2013 at 06:08:20PM +0200, ludovic.desroc...@atmel.com wrote: From: Ludovic Desroches ludovic.desroc...@atmel.com Hi, This set of patches update the dt dma binding for at_hdmac since we need one more parameter. In order to keep backward compatibility, an existing cell will

Re: [PATCH 09/11] gpio: davinci: DT changes for driver

2013-05-30 Thread Linus Walleij
On Wed, May 22, 2013 at 9:10 AM, Philip Avinash avinashphi...@ti.com wrote: (...) +- interrupts: The Starting IRQ number for GPIO +- intc_irq_num: The number of IRQs supported by the Interrupt Controller (...) No this is not how you pass a number of IRQs in the device tree. interrupts is an

Re: [PATCH -next v2] dmaengine: ste_dma40: fix error return code in d40_probe()

2013-05-30 Thread Andy Shevchenko
On Thu, May 30, 2013 at 7:32 AM, Wei Yongjun weiyj...@gmail.com wrote: In many of the error handling case, the return value 'ret' not set and 0 will be return from d40_probe() even if error, but we should return a negative error code instead in those error handling case. This patch fixed them,

Re: [PATCH] clk/mpc85xx: Update the compatible string

2013-05-30 Thread Mike Turquette
Quoting yuantian.t...@freescale.com (2013-05-22 01:22:19) From: Tang Yuantian yuantian.t...@freescale.com The compatible string of clock is changed from *-2 to *-2.0 on chassis 2. So updated it accordingly. Signed-off-by: Tang Yuantian yuantian.t...@freescale.com Taken into clk-next.

Re: [PATCH 3/6] clk: move the U300 fixed and fixed-factor to DT

2013-05-30 Thread Mike Turquette
Quoting Linus Walleij (2013-05-23 10:31:25) From: Linus Walleij linus.wall...@linaro.org This converts the fixed and fixed-factor clocks in the U300 platform to register themselves from the device tree. Cc: Mike Turquette mturque...@linaro.org Signed-off-by: Linus Walleij

Re: [PATCH] clk/mpc85xx: Update the compatible string

2013-05-30 Thread Mike Turquette
Quoting Mike Turquette (2013-05-30 11:57:32) Quoting yuantian.t...@freescale.com (2013-05-22 01:22:19) From: Tang Yuantian yuantian.t...@freescale.com The compatible string of clock is changed from *-2 to *-2.0 on chassis 2. So updated it accordingly. Signed-off-by: Tang Yuantian

Re: [PATCH 0/3] at_hdmac: dt dma bindings update

2013-05-30 Thread Jean-Christophe PLAGNIOL-VILLARD
On 22:56 Thu 30 May , Vinod Koul wrote: On Thu, May 30, 2013 at 06:08:20PM +0200, ludovic.desroc...@atmel.com wrote: From: Ludovic Desroches ludovic.desroc...@atmel.com Hi, This set of patches update the dt dma binding for at_hdmac since we need one more parameter. In order to

Re: [PATCH] of: Export of_irq_count for using in modules

2013-05-30 Thread Jean-Christophe PLAGNIOL-VILLARD
On 15:49 Thu 30 May , Michal Simek wrote: Export of_irq_count for modules. can you explain why do you need to call of_irq_count Best Regards, J. Signed-off-by: Michal Simek michal.si...@xilinx.com --- We are using this function in remoteproc module drivers. There is also

[PATCH 1/2] ahci: make ahci_transmit_led_message into a function pointer

2013-05-30 Thread Mark Langsdorf
Create a new ata_port_operations function pointer called transmit_led_message and give it the default value of ahci_transmit_led_message. This allows AHCI controllers with non-standard LED interfaces to use the existing em_ interface. Signed-off-by: Mark Langsdorf mark.langsd...@calxeda.com ---

[PATCH 2/2] sata highbank: add bit-banged SGPIO driver support

2013-05-30 Thread Mark Langsdorf
Highbank supports SGPIO by bit-banging out the SGPIO signals over three GPIO pins defined in the DTB. Add support for this SGPIO functionality. Signed-off-by: Mark Langsdorf mark.langsd...@calxeda.com --- .../devicetree/bindings/ata/ahci-platform.txt | 9 ++

Re: [PATCH 1/2] gpiolib: add gpio_export_with_name

2013-05-30 Thread Florian Vaussard
Hello Linus, On 05/30/2013 10:03 PM, Linus Walleij wrote: On Thu, May 30, 2013 at 11:19 AM, Florian Vaussard florian.vauss...@epfl.ch wrote: Even if work is progressing towards having gpio-controlled reset pins [1], some boards still need GPIOs to be exported to userspace for other

Re: [PATCH 1/2] gpiolib: add gpio_export_with_name

2013-05-30 Thread Linus Walleij
On Thu, May 30, 2013 at 10:38 PM, Florian Vaussard florian.vauss...@epfl.ch wrote: Indeed, I work in a robotics lab :-) One of our board (mach-imx/ mx31moboard*.c) controls for example the multiplexing of two cameras sharing the same acquisition bus (I know, a bit hackish). I developed a

Re: [PATCH V2] irqchip: Add TB10x interrupt controller driver

2013-05-30 Thread Grant Likely
On Tue, 28 May 2013 18:34:07 +0200, Christian Ruppert christian.rupp...@abilis.com wrote: The SOC interrupt controller driver for the Abilis Systems TB10x series of SOCs based on ARC700 CPUs. Signed-off-by: Christian Ruppert christian.rupp...@abilis.com Signed-off-by: Pierrick Hascoet

Re: [PATCH v10 01/12] mfd: DT bindings for the palmas family MFD

2013-05-30 Thread Stephen Warren
On 05/30/2013 05:33 AM, keerthy wrote: On 03/25/2013 11:29 PM, Stephen Warren wrote: On 03/22/2013 08:55 AM, Ian Lartey wrote: From: Graeme Gregory g...@slimlogic.co.uk Add the various binding files for the palmas family of chips. There is a top level MFD binding then a seperate binding

Re: [PATCH 3/3] usb: dwc3: use extcon fwrk to receive connect/disconnect notification

2013-05-30 Thread Chanwoo Choi
On 05/24/2013 11:31 PM, Kishon Vijay Abraham I wrote: Modified dwc3-omap to receive connect and disconnect notification using extcon framework. Also did the necessary cleanups required after adapting to extcon framework. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com ---

RE: [PATCH v2 0/3] Add DP related DT and Display-timing Node to exynos5250 based Arndale Board

2013-05-30 Thread Kukjin Kim
Vikas Sajjan wrote: This patch series adds support for DP on Exynos5250 based Arndale Board changes since v1: - moved display-timimg node inside fimd DT node as suggested by Steffen Trumtrar s.trumt...@pengutronix.de Is based on branch for-next

Re: [PATCH -next v2] dmaengine: ste_dma40: fix error return code in d40_probe()

2013-05-30 Thread Wei Yongjun
On 05/31/2013 02:29 AM, Andy Shevchenko wrote: On Thu, May 30, 2013 at 7:32 AM, Wei Yongjun weiyj...@gmail.com wrote: In many of the error handling case, the return value 'ret' not set and 0 will be return from d40_probe() even if error, but we should return a negative error code instead in

Re: [RFC/PATCH v2 2/2] gpio-rcar: Add DT support

2013-05-30 Thread Laurent Pinchart
Hi Linus, On Thursday 30 May 2013 19:38:12 Linus Walleij wrote: On Tue, May 21, 2013 at 1:40 PM, Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com wrote: Add DT bindings for the gpio-rcar driver and read the device configuration from the DT node at probe time if available. Cc:

[PATCH -next v3] dmaengine: ste_dma40: fix error return code in d40_probe()

2013-05-30 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn In many of the error handling case, the return value 'ret' not set and 0 will be return from d40_probe() even if error, but we should return a negative error code instead in those error handling case. This patch fixed them, and also removed useless

Re: [PATCH v7 08/11] ASoC: phycore-ac97: Add DT support

2013-05-30 Thread Shawn Guo
On Thu, May 30, 2013 at 04:51:50PM +0200, Markus Pargmann wrote: Add devicetree support for phycore-ac97 driver. platform_of_node and cpu_of_node are set according to the fsl,audmux phandle. This patch adds handling of ac97 reset functions according to fsl ac97 support. They are setup

Re: [PATCH v2 0/3] Add DP related DT and Display-timing Node to exynos5250 based Arndale Board

2013-05-30 Thread Vikas Sajjan
Thanks Mr. Kim On 31 May 2013 06:10, Kukjin Kim kgene@samsung.com wrote: Vikas Sajjan wrote: This patch series adds support for DP on Exynos5250 based Arndale Board changes since v1: - moved display-timimg node inside fimd DT node as suggested by Steffen Trumtrar

Re: [PATCH 1/2] GPIO: Add support for dual channel in gpio-xilinx.c

2013-05-30 Thread Michal Simek
Hi Linus, On 05/30/2013 09:46 PM, Linus Walleij wrote: On Wed, May 29, 2013 at 1:27 PM, Michal Simek michal.si...@xilinx.com wrote: Supporting the second channel in the driver. Offset is 0x8 and both channnels share the same IRQ. Signed-off-by: Michal Simek michal.si...@xilinx.com