Re: [PATCH v3 1/6] drivers: bus: add a new driver for WEIM

2013-05-28 Thread Huang Shijie
于 2013年05月27日 15:44, Sascha Hauer 写道: I'm running out of ideas how to explain this. Just drop this remove function. You do not allow building this as module. If you did, then ok. thanks Huang Shijie ___ devicetree-discuss mailing list

Re: [PATCH 1/1] net: micrel : ks8851-ml: add dt support

2013-05-28 Thread David Miller
From: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com Date: Fri, 24 May 2013 11:01:22 +0200 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com Applied, thanks. ___ devicetree-discuss mailing list

Re: [PATCH v6 0/9] Generic PHY Framework

2013-05-28 Thread Kishon Vijay Abraham I
Hi, On Tuesday 21 May 2013 10:31 AM, Kishon Vijay Abraham I wrote: Hi, On Monday 29 April 2013 03:33 PM, Kishon Vijay Abraham I wrote: Added a generic PHY framework that provides a set of APIs for the PHY drivers to create/destroy a PHY and APIs for the PHY users to obtain a reference to the

[PATCH v4 0/6] ARM: imx6q{dl}: add the WEIM driver

2013-05-28 Thread Huang Shijie
This patch set adds a new driver for WEIM in the imx6q{dl}-sabreauto boards. The WEIM(Wireless External Interface Module) works like a bus. You can attach many different devices on it, such as NOR, onenand. In the case of i.MX6q-sabreauto, only the NOR is connected to WEIM. v3 -- v4:

[PATCH v4 1/6] drivers: bus: add a new driver for WEIM

2013-05-28 Thread Huang Shijie
The WEIM(Wireless External Interface Module) works like a bus. You can attach many different devices on it, such as NOR, onenand. In the case of i.MX6q-sabreauto, the NOR is connected to WEIM. This patch also adds the devicetree binding document. The driver only works when the devicetree is

[PATCH v4 2/6] ARM: dts: imx6q{dl}: fix the pin conflict between SPI and WEIM

2013-05-28 Thread Huang Shijie
In the imx6q-sabreauto and imx6dl-sabreauto boards, the pin MX6Q{DL}_PAD_EIM_D19 is used as a GPIO for SPI NOR, but it is used as a data pin for the WEIM NOR. In order to fix the conflict, this patch removes the pin from the hog, and adds a new board-level pinctrl: pinctrl_ecspi1_sabreauto. The

[PATCH v4 3/6] ARM: dts: imx6qdl: add more information for WEIM

2013-05-28 Thread Huang Shijie
Add the clock and compatible information for the weim. Also adds the weim label. Signed-off-by: Huang Shijie b32...@freescale.com --- arch/arm/boot/dts/imx6qdl.dtsi |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl.dtsi

[PATCH v4 4/6] ARM: dts: imx6q: add pinctrls for WEIM NOR

2013-05-28 Thread Huang Shijie
Add two pinctrls for WEIM: one for the weim nor, another for the chipselect. Signed-off-by: Huang Shijie b32...@freescale.com --- arch/arm/boot/dts/imx6q.dtsi | 59 ++ 1 files changed, 59 insertions(+), 0 deletions(-) diff --git

[PATCH v4 5/6] ARM: dts: imx6dl: add pinctrls for WEIM NOR

2013-05-28 Thread Huang Shijie
Add two pinctrls for WEIM: one for the weim nor, another for the chipselect. Signed-off-by: Huang Shijie b32...@freescale.com --- arch/arm/boot/dts/imx6dl.dtsi | 58 + 1 files changed, 58 insertions(+), 0 deletions(-) diff --git

Re: [PATCH v4 1/6] drivers: bus: add a new driver for WEIM

2013-05-28 Thread Sascha Hauer
On Tue, May 28, 2013 at 02:20:07PM +0800, Huang Shijie wrote: The WEIM(Wireless External Interface Module) works like a bus. You can attach many different devices on it, such as NOR, onenand. In the case of i.MX6q-sabreauto, the NOR is connected to WEIM. This patch also adds the devicetree

Re: [PATCH v2 6/9] pinctrl-tz1090: add TZ1090 pinctrl driver

2013-05-28 Thread Linus Walleij
Hi James, I want to route this patch by Laurent Pinchart, as he's also adding device tree support for a SoC using generic pinconf. Creating new bindings for every pin controller defining the same thing and implementing the same OF parsers is not sane. We need to: - Define generic pinconf

Re: [PATCH v4 1/6] drivers: bus: add a new driver for WEIM

2013-05-28 Thread Shawn Guo
Hi Arnd, On Tue, May 28, 2013 at 02:20:07PM +0800, Huang Shijie wrote: The WEIM(Wireless External Interface Module) works like a bus. You can attach many different devices on it, such as NOR, onenand. In the case of i.MX6q-sabreauto, the NOR is connected to WEIM. This patch also adds the

Re: [PATCH v2] pwm: add pca9685 driver

2013-05-28 Thread Steffen Trumtrar
Hi! On Mon, May 27, 2013 at 09:13:34PM +0200, Thierry Reding wrote: On Mon, May 27, 2013 at 11:28:27AM +0200, Steffen Trumtrar wrote: Add pwm driver for the NXP pca9685 16 channel pwm-led controller. Please stick to the all-caps spelling of PWM in prose. Also why is this called pwm-led?

[PATCH v2 0/5] ARM: davinci: fix UART clock enabling

2013-05-28 Thread Manjunathappa, Prakash
Patch series addresses below issues: 1) Do clk_get on dev_id when there is single clock for a module 2) Fix garbled UART log with DT kernel on da850-evm. 3) Cleanup of serila platform code. Applies on top of v3.9-rc9 of Linus's. Tested on da850-evm. Able to see proper bootup log and console on

[PATCH v2 2/5] ARM: davinci: da850: override device name of UART in DT kernel

2013-05-28 Thread Manjunathappa, Prakash
Populate OF_DEV_AUXDATA with desired device name so as to prevent clk_get failures. Signed-off-by: Manjunathappa, Prakash prakash...@ti.com --- arch/arm/mach-davinci/da8xx-dt.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-davinci/da8xx-dt.c

[PATCH v2 3/5] ARM: davinci: da850: do not specify clock_frequency for UART DT node

2013-05-28 Thread Manjunathappa, Prakash
DT kernel on da850-evm comes up with garbled UART logs. This is because of mismatch in actual module clock rate and rate specified(clock-frequency) in DT blob. kernel should not assume or depend on bootloaders clock configuration, instead let it find the clock rate at runtime. Issue discussed

[PATCH v2 4/5] ARM: davinci: da8xx: remove da8xx_uart_clk_enable

2013-05-28 Thread Manjunathappa, Prakash
Serial clocks are enabled from of_platform_serial_setup:of_serial.c, so remove davinci_serial_setup_clk from here. Signed-off-by: Manjunathappa, Prakash prakash...@ti.com --- arch/arm/mach-davinci/da8xx-dt.c |8 1 files changed, 0 insertions(+), 8 deletions(-) diff --git

[PATCH v2 5/5] ARM: davinci: serial: platform code cleanup

2013-05-28 Thread Manjunathappa, Prakash
1) struct davinci_uart_config is introduced to specify UART ports brought out or enabled on the board. But none of the boards use them for that purpose, so clean it up. 2) Have pointer to platform device as a argument for davinci_serial_init(), no need of serial_dev in struct

[PATCH] dts: am33xx: Correct properties on gpmc node

2013-05-28 Thread Lars Poeschel
From: Lars Poeschel poesc...@lemonage.de The gpmc driver is actually looking for gpmc,num-cs and gpmc,num-waitpins properties in DT. The binding doc also states this. Correct the properties in the dts to provide the right values for the gpmc driver. Signed-off-by: Lars Poeschel

Re: [PATCH v3 0/5] ARM: dts: OMAP2+: use preprocessor for device trees

2013-05-28 Thread Florian Vaussard
On 05/27/2013 04:52 PM, Florian Vaussard wrote: Hello, Following a similar proposal by Stephen Warren for tegra [1], this series makes use of the C preprocessor when compiling OMAP DT files, and accomplishes some improvements to improve overall readability. I realized that I should also

fb_monspecs and device tree

2013-05-28 Thread Richard Genoud
Hi ! I've been using the display-timings device tree node (great job !) on a sam9x5 soc. I was wondering if there's a planned support for struct fb_monspecs in device tree, (or if it is irrelevant), if someone is already working on that etc... Regards, Richard.

Re: [PATCH] dts: am33xx: Correct properties on gpmc node

2013-05-28 Thread Peter Korsgaard
Lars == Lars Poeschel la...@wh2.tu-dresden.de writes: Lars From: Lars Poeschel poesc...@lemonage.de Lars The gpmc driver is actually looking for gpmc,num-cs and Lars gpmc,num-waitpins properties in DT. The binding doc also states Lars this. Lars Correct the properties in the dts to provide

[PATCH V2] ARM: dts: Correct the base address of pinctrl_3 on Exynos5250

2013-05-28 Thread Padmavathi Venna
This patch corrects the base address of pinctrl_3 on Exynos5250 platform. Signed-off-by: Padmavathi Venna padm...@samsung.com --- Changes since V1: - Added platform name in the subject line. arch/arm/boot/dts/exynos5250-pinctrl.dtsi |2 +- arch/arm/boot/dts/exynos5250.dtsi |

[PATCH V3 0/4] clk: Samsung: audss: Register audio subsytem clocks using common clk framework

2013-05-28 Thread Padmavathi Venna
Samsung S5PV210 and Exynos SoC has a separate subsystem for audio. This subsystem has a internal clock controller which controls i2s0 and pcm0 clocks. This patch series adds the Samsung audio subsytem clock to the common clock framework and provides the I2S controllers clock information in the

[PATCH V3 1/4] ARM: samsung: use #include for all device trees

2013-05-28 Thread Padmavathi Venna
Replace /include/ (dtc) with #include (C pre-processor) for all Samsung DT files Signed-off-by: Padmavathi Venna padm...@samsung.com --- arch/arm/boot/dts/exynos4.dtsi |2 +- arch/arm/boot/dts/exynos4210-origen.dts |2 +- arch/arm/boot/dts/exynos4210-smdkv310.dts

[PATCH V3 2/4] clk: samsung: register audio subsystem clocks using common clock framework

2013-05-28 Thread Padmavathi Venna
Audio subsystem is introduced in s5pv210 and exynos platforms. This has seperate clock controller which can control i2s0 and pcm0 clocks. This patch registers the audio subsystem clocks with the common clock framework on Exynos family. Signed-off-by: Padmavathi Venna padm...@samsung.com ---

[PATCH V3 3/4] ARM: dts: add Exynos audio subsystem clock controller node

2013-05-28 Thread Padmavathi Venna
Audio subsystem introduced in s5pv210 and exynos platforms which has a internal clock controller. This patch adds a node for the same on exynos5250. Signed-off-by: Padmavathi Venna padm...@samsung.com --- arch/arm/boot/dts/exynos5250.dtsi |6 ++ 1 files changed, 6 insertions(+), 0

[PATCH V3 4/4] ARM: dts: add clock provider information for i2s controllers in Exynos5250

2013-05-28 Thread Padmavathi Venna
Add clock lookup information for i2s controllers on exynos5250 SoC. Signed-off-by: Padmavathi Venna padm...@samsung.com --- arch/arm/boot/dts/exynos5250.dtsi | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/exynos5250.dtsi

Re: [PATCH v2] pwm: add pca9685 driver

2013-05-28 Thread Thierry Reding
On Tue, May 28, 2013 at 09:38:01AM +0200, Steffen Trumtrar wrote: On Mon, May 27, 2013 at 09:13:34PM +0200, Thierry Reding wrote: On Mon, May 27, 2013 at 11:28:27AM +0200, Steffen Trumtrar wrote: [...] +Optional properties: + - invrt: 0 output logic state not inverted + 1 output

[PATCH] ARM: dts: wm8994: Add wm8994 regulator support on smdk5250.

2013-05-28 Thread Padmavathi Venna
This patch adds the required regulator supplies and properties for wm8994 codec on smdk5250 board. Signed-off-by: Padmavathi Venna padm...@samsung.com --- arch/arm/boot/dts/exynos5250-smdk5250.dts | 53 +++- 1 files changed, 51 insertions(+), 2 deletions(-) diff --git

Re: fb_monspecs and device tree

2013-05-28 Thread Jean-Christophe PLAGNIOL-VILLARD
On 11:41 Tue 28 May , Richard Genoud wrote: Hi ! I've been using the display-timings device tree node (great job !) on a sam9x5 soc. I was wondering if there's a planned support for struct fb_monspecs in device tree, (or if it is irrelevant), if someone is already working on that

Re: [PATCHv2 0/3] Add G762/G763 PWM fan controller

2013-05-28 Thread Thierry Reding
On Tue, May 28, 2013 at 12:15:04PM +0200, Arnaud Ebalard wrote: Hi Arnd, Arnd Bergmann a...@arndb.de writes: On Tuesday 28 May 2013 00:02:29 Arnaud Ebalard wrote: This series adds support for GMT G762/G763. This work is based on a basic version for 2.6.31 kernel developed Olivier

Re: fb_monspecs and device tree

2013-05-28 Thread Richard Genoud
2013/5/28 Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com: On 11:41 Tue 28 May , Richard Genoud wrote: Hi ! I've been using the display-timings device tree node (great job !) on a sam9x5 soc. I was wondering if there's a planned support for struct fb_monspecs in device tree, (or

Re: [PATCH v6] video: imxfb: Add DT support

2013-05-28 Thread Jean-Christophe PLAGNIOL-VILLARD
On 12:35 Sun 26 May , Markus Pargmann wrote: Add devicetree support for imx framebuffer driver. It uses the generic display bindings and helper functions. Signed-off-by: Markus Pargmann m...@pengutronix.de Cc: Fabio Estevam feste...@gmail.com Cc: Mark Rutland mark.rutl...@arm.com

Re: [PATCHv2 0/3] Add G762/G763 PWM fan controller

2013-05-28 Thread Guenter Roeck
On Tue, May 28, 2013 at 01:19:23PM +0200, Thierry Reding wrote: On Tue, May 28, 2013 at 12:15:04PM +0200, Arnaud Ebalard wrote: Hi Arnd, Arnd Bergmann a...@arndb.de writes: On Tuesday 28 May 2013 00:02:29 Arnaud Ebalard wrote: This series adds support for GMT G762/G763. This

Re: [PATCHv2 0/3] Add G762/G763 PWM fan controller

2013-05-28 Thread Thierry Reding
On Tue, May 28, 2013 at 05:29:40AM -0700, Guenter Roeck wrote: On Tue, May 28, 2013 at 01:19:23PM +0200, Thierry Reding wrote: On Tue, May 28, 2013 at 12:15:04PM +0200, Arnaud Ebalard wrote: Hi Arnd, Arnd Bergmann a...@arndb.de writes: On Tuesday 28 May 2013 00:02:29 Arnaud

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

2013-05-28 Thread Mugunthan V N
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 boot, resume - sleep on suspend() This

Re: [PATCH] ARM: dts: wm8994: Add wm8994 regulator support on smdk5250.

2013-05-28 Thread Mark Brown
On Tue, May 28, 2013 at 04:05:22PM +0530, Padmavathi Venna wrote: + avdd2:fixed-regulator@0 { + compatible = regulator-fixed; + regulator-name = avdd2-supply; + regulator-min-microvolt = 180; + regulator-max-microvolt = 180; +

[PATCH v6 00/10] ASoC: fsl-ssi: ac97-slave support

2013-05-28 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 v6: - Rebased onto 3.10-rc3 with Shawn's pcm cleanup patches - Setup of reset functions moved to phycore-ac97.c Changes in v5:

[PATCH v6 10/10] ASoC: fsl: Update fsl-ssi binding doc

2013-05-28 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 v6 07/10] ASoC: fsl-ssi: imx ac97 support

2013-05-28 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 v6 05/10] ASoC: fsl-ssi: Use generic DMA bindings if possible

2013-05-28 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 v6 02/10] ASoC: imx-pcm-dma: DT support

2013-05-28 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 v6 09/10] ASoC: fsl: Move fsl-ssi binding doc to sound/

2013-05-28 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| 73 --

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

2013-05-28 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 v6: - After rebasing onto Shawn's imx-pcm cleanups, the imx_pcm_fiq_params are now passed as function

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

2013-05-28 Thread Markus Pargmann
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 of ac97 reset functions according to fsl ac97 support. They are setup from here to avoid board specific code in the generic fsl-ssi

[PATCH v6 08/10] ASoC: fsl: Kconfig: Use fsl-ssi for phycore-ac97

2013-05-28 Thread Markus Pargmann
Signed-off-by: Markus Pargmann m...@pengutronix.de --- sound/soc/fsl/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/fsl/Kconfig b/sound/soc/fsl/Kconfig index 7860cc2..8528466 100644 --- a/sound/soc/fsl/Kconfig +++ b/sound/soc/fsl/Kconfig @@ -148,7 +148,7 @@

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

2013-05-28 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 v6 06/10] ARM: imx: Export ac97 reset functions

2013-05-28 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

[RFC] [PATCH 0/3] of: allow to support irq domain register as platform_device for platform_device

2013-05-28 Thread Jean-Christophe PLAGNIOL-VILLARD
Hi, 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 the irq present in DT are from platform_device too. And you can not resolve them as of_platform_populate. So delay

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

2013-05-28 Thread Philipp Zabel
Hi Fabio, Am Montag, den 27.05.2013, 13:25 -0300 schrieb Fabio Estevam: On Tue, Feb 26, 2013 at 8:39 AM, Philipp Zabel p.za...@pengutronix.de wrote: This driver implements a reset controller device that toggles gpios connected to reset pins of peripheral ICs. The delay between assertion

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

2013-05-28 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 --- Changes since v6: -

Re: [PATCH v2 0/5] ARM: dts: OMAP2+: use preprocessor for device trees

2013-05-28 Thread Stephen Warren
On 05/23/2013 09:36 AM, Florian Vaussard wrote: Hello, Following a similar proposal by Stephen Warren for tegra [1], this series makes use of the C preprocessor when compiling OMAP DT files, and accomplishes some improvements to improve overall readability. Patch 1 is a preparation for

Re: [PATCH v2 0/5] ARM: dts: OMAP2+: use preprocessor for device trees

2013-05-28 Thread Florian Vaussard
On 05/28/2013 05:07 PM, Stephen Warren wrote: On 05/23/2013 09:36 AM, Florian Vaussard wrote: Hello, Following a similar proposal by Stephen Warren for tegra [1], this series makes use of the C preprocessor when compiling OMAP DT files, and accomplishes some improvements to improve overall

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

2013-05-28 Thread Jean-Christophe PLAGNIOL-VILLARD
as we count valid mapped irq not just present irq Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com Cc: Grant Likely grant.lik...@secretlab.ca Cc: Rob Herring rob.herr...@calxeda.com Cc: Arnd Bergmann a...@arndb.de Cc: Linus Walleij linus.wall...@linaro.org Cc: Benjamin

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

2013-05-28 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com Cc: Grant Likely grant.lik...@secretlab.ca Cc: Rob Herring rob.herr...@calxeda.com Cc: Arnd Bergmann a...@arndb.de Cc: Linus Walleij linus.wall...@linaro.org Cc: Benjamin Herrenschmidt b...@kernel.crashing.org Cc: Ralf Baechle

Re: [PATCHv2 0/3] Add G762/G763 PWM fan controller

2013-05-28 Thread Guenter Roeck
On Tue, May 28, 2013 at 03:47:49PM +0200, Thierry Reding wrote: On Tue, May 28, 2013 at 05:29:40AM -0700, Guenter Roeck wrote: On Tue, May 28, 2013 at 01:19:23PM +0200, Thierry Reding wrote: On Tue, May 28, 2013 at 12:15:04PM +0200, Arnaud Ebalard wrote: Hi Arnd, Arnd Bergmann

Re: [RFC] [PATCH 0/3] of: allow to support irq domain register as platform_device for platform_device

2013-05-28 Thread Arnd Bergmann
On Tuesday 28 May 2013, Jean-Christophe PLAGNIOL-VILLARD 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 the irq present in DT are from platform_device too. And you can

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

2013-05-28 Thread Jean-Christophe PLAGNIOL-VILLARD
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 the irq present in DT are from platform_device too. And you can not resolve them as of_platform_populate. So delay the populate of irq at

Re: [PATCH 0/3] palmas usb driver

2013-05-28 Thread Felipe Balbi
On Fri, May 24, 2013 at 08:01:33PM +0530, Kishon Vijay Abraham I wrote: This patch series adds driver for palmas usb which is used to detect attach/detach events of usb device and usb host. [PATCH v5 2/3] extcon: Palmas Extcon Driver which was sent previously is added in this patch series

Re: [RFC] [PATCH 0/3] of: allow to support irq domain register as platform_device for platform_device

2013-05-28 Thread Jean-Christophe PLAGNIOL-VILLARD
On 17:41 Tue 28 May , Arnd Bergmann wrote: On Tuesday 28 May 2013, Jean-Christophe PLAGNIOL-VILLARD 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 the irq

[PATCH] fdt: Enhance dts/Makefile to be all things to all men

2013-05-28 Thread Simon Glass
There are a few partially conflicting requirements in compiling the device tree, since U-Boot relies on whatever is installed on the build machine. Some versions of dtc support -i, and this is often better than using #include since you get correct line number information in errors. Unfortunately

RE: [PATCH] fdt: Enhance dts/Makefile to be all things to all men

2013-05-28 Thread Tom Warren
Simon, -Original Message- From: Simon Glass [mailto:s...@chromium.org] Sent: Tuesday, May 28, 2013 12:36 PM To: U-Boot Mailing List Cc: Tom Rini; Stephen Warren; Devicetree Discuss; u-boot- rev...@google.com; Simon Glass; Tom Warren; Jerry Van Baren Subject: [PATCH] fdt: Enhance

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

2013-05-28 Thread Stephen Warren
On 05/28/2013 01:36 PM, Simon Glass wrote: There are a few partially conflicting requirements in compiling the device tree, since U-Boot relies on whatever is installed on the build machine. Some versions of dtc support -i, and this is often better than using #include since you get correct

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

2013-05-28 Thread Wolfgang Denk
Dear Simon Glass, In message 1369769778-12455-1-git-send-email-...@chromium.org you wrote: Some device tree files use the word 'linux' which gets replaced with '1' by many version of gcc, including version 4.7. So undefine this. I think this is not a good way to address this issue. The GCC

Re: [PATCH v6 1/9] drivers: phy: add generic PHY framework

2013-05-28 Thread Sylwester Nawrocki
Hi Kishon, On 04/29/2013 12:03 PM, Kishon Vijay Abraham I wrote: The PHY framework provides a set of APIs for the PHY drivers to create/destroy a PHY and APIs for the PHY users to obtain a reference to the PHY with or without using phandle. For dt-boot, the PHY drivers should also register *PHY

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

2013-05-28 Thread Rob Herring
On 05/28/2013 10:08 AM, Jean-Christophe PLAGNIOL-VILLARD wrote: Today in the current of implementation we populate all the ressources typo at of_platform_populate time. But this leed to a chicken-egg dilemat 2 typos some the irq present in DT are from platform_device too. And you can not

Re: [PATCH v5] media: i2c: tvp514x: add OF support

2013-05-28 Thread Laurent Pinchart
Hi Prabhakar, Thanks for the patch. On Sunday 26 May 2013 18:49:46 Prabhakar Lad wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com add OF support for the tvp514x driver. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com Cc: Hans Verkuil hans.verk...@cisco.com Cc: Laurent

Re: [patch 7/8] genirq: generic chip: Add linear irq domain support

2013-05-28 Thread Grant Likely
On Mon, 06 May 2013 14:30:27 -, Thomas Gleixner t...@linutronix.de wrote: Provide infrastructure for irq chip implementations which work on linear irq domains. - Interface to allocate multiple generic chips which are associated to the irq domain. - Interface to get the generic chip

[0/10] Pending patches pull request

2013-05-28 Thread David Gibson
Hi Jon, Here's a batch of patches, a few from me, mostly from others, which I think should go into dtc/libfdt. Please apply, or you can pull from: git://github.com/dgibson/dtc.git (branch 'master') ___ devicetree-discuss mailing list

[PATCH 01/10] fdtdump: make usage a bit more friendly

2013-05-28 Thread David Gibson
From: Mike Frysinger vap...@gentoo.org This starts a new usage framework and then cuts fdtdump over to it. Now we can do `fdtdump -h` and get something useful back. Signed-off-by: Mike Frysinger vap...@gentoo.org Signed-off-by: David Gibson da...@gibson.dropbear.id.au --- fdtdump.c | 31

[PATCH 02/10] fdtdump: add a --scan option

2013-05-28 Thread David Gibson
From: Mike Frysinger vap...@gentoo.org Often times, fdts get embedded in other larger files. Rather than force people to `dd` the blob out themselves, make the fdtdump file smarter. It can now scan the blob looking for the fdt magic. Once locate, it does a little validation on the main struct

[PATCH 03/10] dtc/fdt{get, put}/convert-dtsv0-lexer: convert to new usage helpers

2013-05-28 Thread David Gibson
From: Mike Frysinger vap...@gentoo.org This helps standardize the flag processing and the usage screens. Only lightly tested; would be great if someone who uses these utils could double check. Signed-off-by: Mike Frysinger vap...@gentoo.org Signed-off-by: David Gibson

[PATCH 04/10] util: drop long from usage helpers

2013-05-28 Thread David Gibson
From: Mike Frysinger vap...@gentoo.org Now that all utils have converted to the new usage framework, we can rename to just plain usage() and avoid naming conflicts. Signed-off-by: Mike Frysinger vap...@gentoo.org Signed-off-by: David Gibson da...@gibson.dropbear.id.au --- convert-dtsv0-lexer.l

[PATCH 05/10] util: add common ARRAY_SIZE define

2013-05-28 Thread David Gibson
From: Mike Frysinger vap...@gentoo.org I want to use this in more places, so put it in util.h rather than copying pasting it into another file. Signed-off-by: Mike Frysinger vap...@gentoo.org Signed-off-by: David Gibson da...@gibson.dropbear.id.au --- convert-dtsv0-lexer.l |2 -- dtc.h

[PATCH 06/10] fdtdump: add a debug mode

2013-05-28 Thread David Gibson
From: Mike Frysinger vap...@gentoo.org When hacking raw fdt files, it's useful to know the actual offsets into the file each node appears. Add a --debug mode that includes this. Signed-off-by: Mike Frysinger vap...@gentoo.org Signed-off-by: David Gibson da...@gibson.dropbear.id.au ---

[PATCH 07/10] Use shorten_echo for wrap_tests

2013-05-28 Thread David Gibson
We have certain tests which generate extremely long command lines, which are shortened in the testsuite output with the 'shorten_echo' function. Currently that is used in run_fdtput_test and run_wrap_test, this patch uses it for run_wrap_test as well, allowing more general tests with long command

[PATCH 08/10] Remove some tests for misfeatures

2013-05-28 Thread David Gibson
There are a couple of fdtput related tests which are rather pointless - they explicitly test for the presence of an undesirable limitation in fdtput, which will cause test failures when we fix it. This patch removes the tests. Signed-off-by: David Gibson da...@gibson.dropbear.id.au ---

[PATCH 09/10] fdtput: expand fdt if value does not fit

2013-05-28 Thread David Gibson
From: Srinivas Kandagatla srinivas.kandaga...@st.com If you try to insert a new node or extend a property with large value, using fdtput you will notice that it always fails. example: fdtput -v -p -ts ./tst.dtb /node-1 property-1 value-1 Error at 'node-1': FDT_ERR_NOSPACE or fdtput -v -c

[PATCH 10/10] Add missing test binary to .gitignore

2013-05-28 Thread David Gibson
The subnode_iterate test binary was missing from .gitignore, this fixes it. Signed-off-by: David Gibson da...@gibson.dropbear.id.au --- tests/.gitignore |1 + 1 file changed, 1 insertion(+) diff --git a/tests/.gitignore b/tests/.gitignore index e2aa24a..bb5e33a 100644 --- a/tests/.gitignore

Re: [PATCH] media: i2c: mt9p031: add OF support

2013-05-28 Thread Laurent Pinchart
Hi Prabhakar, Thanks for the patch. On Sunday 26 May 2013 18:38:54 Prabhakar Lad wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com add OF support for the mt9p031 sensor driver. Alongside this patch sorts the header inclusion alphabetically. Signed-off-by: Lad, Prabhakar

Re: [PATCH] media: i2c: mt9p031: add OF support

2013-05-28 Thread Prabhakar Lad
Hi Laurent, On Wed, May 29, 2013 at 9:01 AM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi Prabhakar, Thanks for the patch. On Sunday 26 May 2013 18:38:54 Prabhakar Lad wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com add OF support for the mt9p031 sensor driver.

Re: [PATCH v5] media: i2c: tvp514x: add OF support

2013-05-28 Thread Prabhakar Lad
Hi Laurent, On Wed, May 29, 2013 at 6:52 AM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi Prabhakar, Thanks for the patch. On Sunday 26 May 2013 18:49:46 Prabhakar Lad wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com add OF support for the tvp514x driver.

Re: [PATCH v6 1/9] drivers: phy: add generic PHY framework

2013-05-28 Thread Kishon Vijay Abraham I
Hi, On Wednesday 29 May 2013 04:07 AM, Sylwester Nawrocki wrote: Hi Kishon, On 04/29/2013 12:03 PM, Kishon Vijay Abraham I wrote: The PHY framework provides a set of APIs for the PHY drivers to create/destroy a PHY and APIs for the PHY users to obtain a reference to the PHY with or without