Re: [GIT PULL] dt: run C pre-processor on *.dts, create some standard headers

2013-04-07 Thread Shawn Guo
On Fri, Apr 05, 2013 at 12:46:50PM -0600, Stephen Warren wrote: Rob, it might be worth keeping this in a separate branch in linux-next so you can pull it out if it causes any issues. I've been using these patches for quite a while now, but there's always opportunity for surprises on

[PATCH] net: of_mdio: scan mdiobus for PHYs without reg property

2013-04-07 Thread Sebastian Hesselbarth
Using DT for mdiobus and ethernet-phy requires to know the PHY address, which is hard to guess if you don't know it. This patch extends of_mdiobus_register to scan mdiobus for PHYs if reg property of the corresponding node is not set. This also allows to have phy nodes in SoC DT files where the

Re: [RFC PATCH] CLK: Allow parent clock and rate to be configured in DT.

2013-04-07 Thread Sascha Hauer
On Sat, Apr 06, 2013 at 03:21:19PM +0200, Tomasz Figa wrote: Hi, [RANT] I tend to disagree about this whole hype about device tree usage for other things than pure hardware description. I don't think device tree should be a way to force some kind of new world order, but rather a more

[PATCH 1/3] ARM: dts: Add NFC support for i.MX27 Phytec PCM038 module

2013-04-07 Thread Alexander Shiyan
Added NFC node to imx27-phytec-phycore DT file. Signed-off-by: Alexander Shiyan shc_w...@mail.ru --- arch/arm/boot/dts/imx27-phytec-phycore.dtsp | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/imx27-phytec-phycore.dtsp b/arch/arm/boot/dts/imx27-phytec-phycore.dtsp

[PATCH 3/3] ARM: dts: Add missing imx27-phytec-phycore dtb target

2013-04-07 Thread Alexander Shiyan
The patch adds missing imx27-phytec-phycore dtb target into Makefile. Signed-off-by: Alexander Shiyan shc_w...@mail.ru --- arch/arm/boot/dts/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 35976f0..a06d9f1 100644 ---

[PATCH 2/3] ARM: dts: Add SPI support for i.MX27 Phytec PCM038 module

2013-04-07 Thread Alexander Shiyan
Added SPI node to imx27-phytec-phycore DT file. Signed-off-by: Alexander Shiyan shc_w...@mail.ru --- arch/arm/boot/dts/imx27-phytec-phycore.dtsp | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/imx27-phytec-phycore.dtsp b/arch/arm/boot/dts/imx27-phytec-phycore.dtsp

Re: [RFC PATCH] CLK: Allow parent clock and rate to be configured in DT.

2013-04-07 Thread Matt Sealey
On Sun, Apr 7, 2013 at 8:26 AM, Sascha Hauer s.ha...@pengutronix.de wrote: On Sat, Apr 06, 2013 at 03:21:19PM +0200, Tomasz Figa wrote: Hi, [RANT] I tend to disagree about this whole hype about device tree usage for other things than pure hardware description. I don't think device tree

Re: [RFC PATCH] CLK: Allow parent clock and rate to be configured in DT.

2013-04-07 Thread Fabio Estevam
On Sun, Apr 7, 2013 at 12:50 PM, Matt Sealey m...@genesi-usa.com wrote: If we're dealing with audio codecs, fix the audio codec to accept a *table* of possible clock values and if that hardware operates differently per clock value, then add that data in there too (like the cs42l52 audio

Re: [RFC PATCH] CLK: Allow parent clock and rate to be configured in DT.

2013-04-07 Thread Matt Sealey
On Sun, Apr 7, 2013 at 11:00 AM, Fabio Estevam feste...@gmail.com wrote: On Sun, Apr 7, 2013 at 12:50 PM, Matt Sealey m...@genesi-usa.com wrote: If we're dealing with audio codecs, fix the audio codec to accept a *table* of possible clock values and if that hardware operates differently per

Re: [RFC PATCH] CLK: Allow parent clock and rate to be configured in DT.

2013-04-07 Thread Matt Sealey
Or actually, let me rephrase that; sure, when we decide that the actual clock tree is described IN the device tree and not in Linux - the only thing I have to test this on is i.MX and OMAP and it's all a huge table in the Linux kernel which the DT uses to reference arbitrary indices into a

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

2013-04-07 Thread Anton Vorontsov
On Thu, Apr 04, 2013 at 09:03:47PM -0500, Rob Herring wrote: On Mon, Sep 17, 2012 at 1:23 AM, Anton Vorontsov cbouatmai...@gmail.com wrote: On Fri, Sep 07, 2012 at 10:29:10PM -0700, Anton Vorontsov wrote: On Fri, Sep 07, 2012 at 11:29:36AM -0700, Bryan Freed wrote: When called with a

[PATCH v2 02/11] ASoC: imx-pcm-dma: Add support for DMA init by device node

2013-04-07 Thread Markus Pargmann
Add support for DMA initialization using devicetree node. This patch adds two fields to imx_pcm_dma_params to pass device node information from other imx drivers to this one. If the dma_node is set, this driver tries to initialize a PCM DMA substream based on the dma_node and name.

[PATCH v2 04/11] ASoC: fsl-ssi: Add SACNT definitions

2013-04-07 Thread Markus Pargmann
Add definitions for AC97 control register. Signed-off-by: Markus Pargmann m...@pengutronix.de --- sound/soc/fsl/fsl_ssi.h | 8 1 file changed, 8 insertions(+) diff --git a/sound/soc/fsl/fsl_ssi.h b/sound/soc/fsl/fsl_ssi.h index 2173000..e6b9a69 100644 --- a/sound/soc/fsl/fsl_ssi.h +++

[PATCH v2 03/11] ASoC: imx-pcm-fiq: Introduce pcm-fiq-params

2013-04-07 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 --- sound/soc/fsl/imx-pcm-fiq.c | 14 +++--- sound/soc/fsl/imx-pcm.h | 9 + sound/soc/fsl/imx-ssi.c | 7 ++-

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

2013-04-07 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 v2 10/11] ASoC: fsl: Move fsl-ssi binding doc to sound/

2013-04-07 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 v2 09/11] ASoC: fsl: Kconfig: Use fsl-ssi for phycore-ac97

2013-04-07 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 3b98159..5ace408 100644 --- a/sound/soc/fsl/Kconfig +++ b/sound/soc/fsl/Kconfig @@ -153,7 +153,7 @@

[PATCH v2 06/11] ASoC: fsl-ssi: Setup generic imx dma params

2013-04-07 Thread Markus Pargmann
Use device pointer as parameter for imx-pcm-dma. This allows usage of the generic DMA DT bindings. Signed-off-by: Markus Pargmann m...@pengutronix.de --- sound/soc/fsl/fsl_ssi.c | 19 +-- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/sound/soc/fsl/fsl_ssi.c

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

2013-04-07 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 --- Documentation/devicetree/bindings/sound/fsl,ssi.txt | 13 +++-- 1 file changed, 7 insertions(+),

[PATCH v2 08/11] ASoC: fsl-ssi: imx ac97 support

2013-04-07 Thread Markus Pargmann
This patch copies some parts from imx-ssi to support AC97 on imx27-pca100 and imx27-pcm043. It is activated with a new fsl,imx-ac97 bool property. It was tested on imx27-pca100. Signed-off-by: Markus Pargmann m...@pengutronix.de --- sound/soc/fsl/fsl_ssi.c | 360

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

2013-04-07 Thread Markus Pargmann
Hi, This series adds DT support for phycore-ac97 using the fsl-ssi driver. In version 2 I discarded most of the imx-ssi work and integrated the ac97-slave support in fsl-ssi, including support for imx-pcm-fiq as alternative to dma. There are some other changes to get phycore-ac97 working. The

[PATCH v2 01/11] ASoC: phycore-ac97: Add DT support

2013-04-07 Thread Markus Pargmann
Add devicetree support for this audio soc fabric driver. Signed-off-by: Markus Pargmann m...@pengutronix.de --- Notes: Changes in v2: - Simplify the driver, by combining audmux port configurations. The audmux driver actually knows on which platform he is running and will

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

2013-04-07 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. Signed-off-by: Markus Pargmann m...@pengutronix.de --- sound/soc/fsl/fsl_ssi.c | 70

Re: [alsa-devel] [PATCH v2 00/11] ASoC: fsl-ssi: ac97-slave support

2013-04-07 Thread Lars-Peter Clausen
On 04/07/2013 09:25 PM, Markus Pargmann wrote: Hi, This series adds DT support for phycore-ac97 using the fsl-ssi driver. In version 2 I discarded most of the imx-ssi work and integrated the ac97-slave support in fsl-ssi, including support for imx-pcm-fiq as alternative to dma. There are

[PATCH] ARM: dts: imx51 cpu node

2013-04-07 Thread Markus Pargmann
This patch adds a cpus/cpu@0 node for imx51 with default operating points for the cpufreq-cpu0 driver. There is currently no regulator support, so the voltages are 0 here. Signed-off-by: Markus Pargmann m...@pengutronix.de --- arch/arm/boot/dts/imx51.dtsi | 18 ++ 1 file changed,

Re: [alsa-devel] [PATCH v2 00/11] ASoC: fsl-ssi: ac97-slave support

2013-04-07 Thread Markus Pargmann
Hi, On Sun, Apr 07, 2013 at 09:39:31PM +0200, Lars-Peter Clausen wrote: On 04/07/2013 09:25 PM, Markus Pargmann wrote: Hi, This series adds DT support for phycore-ac97 using the fsl-ssi driver. In version 2 I discarded most of the imx-ssi work and integrated the ac97-slave support in

Re: [alsa-devel] [PATCH v2 00/11] ASoC: fsl-ssi: ac97-slave support

2013-04-07 Thread Lars-Peter Clausen
On 04/07/2013 10:08 PM, Markus Pargmann wrote: Hi, On Sun, Apr 07, 2013 at 09:39:31PM +0200, Lars-Peter Clausen wrote: On 04/07/2013 09:25 PM, Markus Pargmann wrote: Hi, This series adds DT support for phycore-ac97 using the fsl-ssi driver. In version 2 I discarded most of the imx-ssi

Re: [RFC PATCH] CLK: Allow parent clock and rate to be configured in DT.

2013-04-07 Thread Tomasz Figa
On Sunday 07 of April 2013 11:34:14 Matt Sealey wrote: Or actually, let me rephrase that; sure, when we decide that the actual clock tree is described IN the device tree and not in Linux - the only thing I have to test this on is i.MX and OMAP and it's all a huge table in the Linux kernel

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

2013-04-07 Thread Guenter Roeck
On Fri, Apr 05, 2013 at 05:23:35AM -, Sebastian Hesselbarth wrote: This patch adds a common clock driver for Silicon Labs Si5351a/b/c i2c programmable clock generators. Currently, the driver supports DT kernels only and VXCO feature of si5351b is not implemented. DT bindings selectively

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

2013-04-07 Thread Sebastian Hesselbarth
On 04/08/2013 12:50 AM, Guenter Roeck wrote: On Fri, Apr 05, 2013 at 05:23:35AM -, Sebastian Hesselbarth wrote: This patch adds a common clock driver for Silicon Labs Si5351a/b/c i2c programmable clock generators. Currently, the driver supports DT kernels only and VXCO feature of si5351b is

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

2013-04-07 Thread Guenter Roeck
On Mon, Apr 08, 2013 at 01:49:24AM +0200, Sebastian Hesselbarth wrote: On 04/08/2013 12:50 AM, Guenter Roeck wrote: On Fri, Apr 05, 2013 at 05:23:35AM -, Sebastian Hesselbarth wrote: This patch adds a common clock driver for Silicon Labs Si5351a/b/c i2c programmable clock generators.

Re: [PATCH v2] irqchip: renesas-intc-irqpin: DT binding for sense bitfield width

2013-04-07 Thread Magnus Damm
Hi Guennadi, On Fri, Apr 5, 2013 at 6:33 PM, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: Most Renesas irqpin controllers have 4-bit sense fields, however, some have different widths. This patch adds a DT binding to optionally specify such non-standard values. Signed-off-by: Guennadi

[PATCH 3/3] ARM: dts: Add OMAP3430 SDP NOR flash memory binding

2013-04-07 Thread Jon Hunter
Add device-tree node for the 128MB NOR on the OMAP3423-SDP board. Signed-off-by: Jon Hunter jon-hun...@ti.com --- arch/arm/boot/dts/omap3430-sdp.dts | 51 +++- 1 file changed, 50 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap3430-sdp.dts

[PATCH 2/3] ARM: dts: Add NOR flash bindings for OMAP2420 H4

2013-04-07 Thread Jon Hunter
Add device-tree node for the 64MB NOR on the OMAP2420-H4 board. Signed-off-by: Jon Hunter jon-hun...@ti.com --- arch/arm/boot/dts/omap2420-h4.dts | 46 + 1 file changed, 46 insertions(+) diff --git a/arch/arm/boot/dts/omap2420-h4.dts

[PATCH 1/3] ARM: dts: Update OMAP3430 SDP NAND and ONENAND properties

2013-04-07 Thread Jon Hunter
The GPMC timing properties for device-tree have been updated by adding a -ns or -ps suffix to indicate the units of time the property represents (as suggested by Rob Herring). Therefore, update the timing property names for the OMAP3430 SDP NAND and ONENAND devices. Signed-off-by: Jon Hunter

Re: [PATCH 3/3] ARM: dts: Add OMAP3430 SDP NOR flash memory binding

2013-04-07 Thread Jon Hunter
On 04/07/2013 08:17 PM, Jon Hunter wrote: Add device-tree node for the 128MB NOR on the OMAP3423-SDP board. Bugger ... it seems I have invented and new board. OMAP3423 SDP does not exist. Fixed below. Jon From 4f486b5dddc5d960d786504b4e3e97a28b63c1c0 Mon Sep 17 00:00:00 2001 From: Jon Hunter

RE: [PATCH 0/2] Update device tree binding document for pwm-tiehrpwm pwm-tiecap

2013-04-07 Thread Philip, Avinash
Thierry, On Mon, Mar 25, 2013 at 12:34:51, Philip, Avinash wrote: Update device tree document of pwm-tiehrpwm pwm-tiecap in order to reflect the usage of similar modules in both da850 and am33xx platforms. Can you accept both documentation update patches with Peter Korsgaard's Ack. Thanks