RE: [RFC 1/3] pinctrl: add a driver for the OMAP pinmux

2011-11-23 Thread Hiremath, Vaibhav
> -Original Message- > From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- > ow...@vger.kernel.org] On Behalf Of Koen Kooi > Sent: Wednesday, November 23, 2011 8:51 PM > To: Tony Lindgren > Cc: Linus Walleij; Thomas Abraham; Nayak, Rajendra; linux- > o...@vger.kernel.org; linaro-...@

[PATCH 04/14] arm: fdt: Add skeleton device tree file

2011-11-23 Thread Simon Glass
This was taken from commit 1ea6b8f at: git://git.kernel.org/pub/scm/linux/kernel/git/olof/tegra.git Signed-off-by: Simon Glass --- arch/arm/dts/skeleton.dtsi | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) create mode 100644 arch/arm/dts/skeleton.dtsi diff --git a/arch/

[PATCH 14/14] tegra: fdt: Enable FDT support for Seaboard

2011-11-23 Thread Simon Glass
This switches Seaboard over to use FDT for run-time config instead of CONFIG options. USB is the only user at present. Signed-off-by: Simon Glass --- include/configs/seaboard.h |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/include/configs/seaboard.h b/include/c

[PATCH 06/14] tegra: fdt: Add device tree file for Tegra2 Seaboard

2011-11-23 Thread Simon Glass
This was taken from commit 1ea6b8f at: git://git.kernel.org/pub/scm/linux/kernel/git/olof/tegra.git Signed-off-by: Simon Glass --- board/nvidia/dts/tegra2-seaboard.dts | 32 1 files changed, 32 insertions(+), 0 deletions(-) create mode 100644 board/nvidia/dts/

[PATCH 07/14] tegra: fdt: Add initial device tree definitions for USB ports

2011-11-23 Thread Simon Glass
This is not available in kernel-land yet, but this initial set of definitions provides the info we need. Signed-off-by: Simon Glass --- arch/arm/dts/tegra20.dtsi | 80 + 1 files changed, 80 insertions(+), 0 deletions(-) diff --git a/arch/arm/dts/teg

[PATCH 05/14] tegra: fdt: Add Tegra2x device tree file

2011-11-23 Thread Simon Glass
This was taken from commit 1ea6b8f at: git://git.kernel.org/pub/scm/linux/kernel/git/olof/tegra.git config.mk is updated to provide this file to boards through the built-in mechanism: /include/ ARCH_CPU_DTS Signed-off-by: Simon Glass --- arch/arm/cpu/armv7/tegra2/config.mk |2 + arch/arm/d

[PATCH 02/14] fdt: Add functions to access phandles, arrays and bools

2011-11-23 Thread Simon Glass
Add a function to lookup a property which is a phandle in a node, and another to read a fixed-length integer array from an fdt property. Also add a function to read boolean properties. Signed-off-by: Simon Glass --- include/fdtdec.h | 40 ++ lib/fdtdec.c | 82

[PATCH 03/14] arm: fdt: Ensure that an embedded fdt is word-aligned

2011-11-23 Thread Simon Glass
By putting the fdt blob into a distinctive area we can ensure that it appears at the start of the data section and is word-aligned. Note: It does not seem to be possible to get objcopy to honour its --section-alignment flag, which would otherwise provide an easier fix for this problem. Signed-off

[PATCH 01/14] fdt: Tidy up a few fdtdec problems

2011-11-23 Thread Simon Glass
This fixes three trivial issues in fdtdec.c: 1. fdtdec_get_is_enabled() doesn't really need a default value 2. The fdt must be word-aligned, since otherwise it will fail on ARM 3. The compat_names[] array is missing its first element Signed-off-by: Simon Glass --- include/fdtdec.h |8 ---

Re: [RFC PATCH 1/3] arm/imx6: describe clocks in device tree source

2011-11-23 Thread Shawn Guo
On Tue, Nov 22, 2011 at 09:56:49AM +0100, Sascha Hauer wrote: > On Tue, Nov 22, 2011 at 09:48:54AM +0800, Shawn Guo wrote: > > It adds document for imx clock device tree bindings and then describes > > imx6 clocks in dts. > > > > Signed-off-by: Shawn Guo > > --- > > .../devicetree/bindings/clock

Re: [RFC PATCH 0/3] Convert imx6 clock to device tree

2011-11-23 Thread Shawn Guo
On Tue, Nov 22, 2011 at 09:23:14AM +0100, Sascha Hauer wrote: > On Tue, Nov 22, 2011 at 09:48:53AM +0800, Shawn Guo wrote: > > As I promised to Arnd, I will convert imx6 clock code to common clock > > framework and in turn device tree at the earliest time. Here it is. > > Very nice ;) I like the

RE: DT DMA channel binding for Tegra I2S

2011-11-23 Thread Stephen Warren
Rob Herring wrote at Wednesday, November 23, 2011 2:55 PM: > On 11/23/2011 03:25 PM, Stephen Warren wrote: > > Rob, Grant, > > > > Re: http://www.spinics.net/lists/arm-kernel/msg148899.html > > > > Background: Tegra's DMA controller needs to be told which DMA "request > > select" to use for each tr

Re: [PATCH 01/17] arm/tegra: board-dt: audio: Enable clocks, fix AUXDATA

2011-11-23 Thread Olof Johansson
On Wed, Nov 23, 2011 at 09:44:54AM -0800, Stephen Warren wrote: > Mark Brown wrote at Wednesday, November 23, 2011 3:39 AM: > > On Tue, Nov 22, 2011 at 06:21:09PM -0700, Stephen Warren wrote: > > > > > OF_DEV_AUXDATA("nvidia,tegra20-i2c", TEGRA_DVC_BASE, "tegra-i2c.3", > > > NULL), > > > OF_D

Re: DT DMA channel binding for Tegra I2S

2011-11-23 Thread Rob Herring
On 11/23/2011 03:25 PM, Stephen Warren wrote: > Rob, Grant, > > Re: http://www.spinics.net/lists/arm-kernel/msg148899.html > > Background: Tegra's DMA controller needs to be told which DMA "request > select" to use for each transfer. The identifies which peripheral to > transfer to/from. > > The

DT DMA channel binding for Tegra I2S

2011-11-23 Thread Stephen Warren
Rob, Grant, Re: http://www.spinics.net/lists/arm-kernel/msg148899.html Background: Tegra's DMA controller needs to be told which DMA "request select" to use for each transfer. The identifies which peripheral to transfer to/from. The Tegra I2S driver needs to know its own "request select" value t

Re: [alsa-devel] [PATCH 07/17] ASoC: Tegra DAS: Use devm_ APIs and module_platform_driver

2011-11-23 Thread Thierry Reding
* Stephen Warren wrote: > Thierry Reding wrote at Tuesday, November 22, 2011 11:58 PM: > > * Stephen Warren wrote: > > > module_platform_drive saves some boiler-plate code. > > > > > > The devm_ APIs remove the need to manually clean up allocations, > > > thus removing some code. > ... > > > stati

Re: [PATCH v5 0/4] Device tree support for regulators

2011-11-23 Thread Mark Brown
On Fri, Nov 18, 2011 at 04:47:16PM +0530, Rajendra Nayak wrote: > For the first 2 patches (1/4 and 2/4) I have dropped > Acks from Mark, since they have changed to some extent > from the last post and retained the Acks recieved on the > last 2 patches (3/4 and 4/4) as they remain unchanged. Looks

Re: [PATCH v5 4/4] regulator: map consumer regulator based on device tree

2011-11-23 Thread Mark Brown
On Fri, Nov 18, 2011 at 04:47:20PM +0530, Rajendra Nayak wrote: > + struct device_node *regnode = NULL; > + char prop_name[32]; /* 32 is max size of property name */ There ought to be a #define for that though I can't see one right now - this can't be the only place where we need to do st

Re: [PATCH 09/17] ASoC: Tegra I2S: Remove dependency on pdev->id

2011-11-23 Thread Mark Brown
On Wed, Nov 23, 2011 at 09:54:21AM -0800, Stephen Warren wrote: > Mark Brown wrote at Wednesday, November 23, 2011 4:04 AM: > > This should really be part of the same commit as the arch/arm side > > change in order to avoid bisection breaks as from the point of view of > > non-DT systems it's movi

RE: [PATCH 09/17] ASoC: Tegra I2S: Remove dependency on pdev->id

2011-11-23 Thread Stephen Warren
Mark Brown wrote at Wednesday, November 23, 2011 4:04 AM: > On Tue, Nov 22, 2011 at 06:21:17PM -0700, Stephen Warren wrote: > > > + i2s->dai = tegra_i2s_dai_template; > > + i2s->dai.name = pdev->name; > > + > > This should really be part of the same commit as the arch/arm side > change in ord

RE: [PATCH 01/17] arm/tegra: board-dt: audio: Enable clocks, fix AUXDATA

2011-11-23 Thread Stephen Warren
Mark Brown wrote at Wednesday, November 23, 2011 3:39 AM: > On Tue, Nov 22, 2011 at 06:21:09PM -0700, Stephen Warren wrote: > > > OF_DEV_AUXDATA("nvidia,tegra20-i2c", TEGRA_DVC_BASE, "tegra-i2c.3", > > NULL), > > OF_DEV_AUXDATA("nvidia,tegra20-i2s", TEGRA_I2S1_BASE, "tegra-i2s.0", > > NU

RE: [alsa-devel] [PATCH 07/17] ASoC: Tegra DAS: Use devm_ APIs and module_platform_driver

2011-11-23 Thread Stephen Warren
Thierry Reding wrote at Tuesday, November 22, 2011 11:58 PM: > * Stephen Warren wrote: > > module_platform_drive saves some boiler-plate code. > > > > The devm_ APIs remove the need to manually clean up allocations, > > thus removing some code. ... > > static int __devexit tegra_das_remove(struct

RE: [PATCH] arm/tegra: convert tegra20 to GIC devicetree binding

2011-11-23 Thread Stephen Warren
Peter De Schrijver wrote at Tuesday, November 22, 2011 10:00 PM: ... > I think we need to model the GPIO IRQs as a seperate interrupt controller. > That way the WM8903 node can refer to the GPIO IRQ as an IRQ without > hardcoding the global interrupt number, similar to the way we specify the > SPI

RE: [PATCH 03/17] arm/dt: Tegra: Enable audio on WM8903 boards, disable others

2011-11-23 Thread Stephen Warren
Stephen Warren wrote at Tuesday, November 22, 2011 6:21 PM: > Add complete bindings to instantiate and configure the codec and > top-level audio complex on all currently supported boards using the > Tegra+WM8903 audio driver. ... > diff --git a/arch/arm/boot/dts/tegra-harmony.dts > b/arch/arm/boot

Re: [PATCH v2 2/4] ARM: vexpress: Add DT support in v2m

2011-11-23 Thread Pawel Moll
On Wed, 2011-11-23 at 15:01 +, Pawel Moll wrote: > diff --git a/arch/arm/mach-vexpress/v2m.c b/arch/arm/mach-vexpress/v2m.c > index ee52b35..fd7ee1f 100644 > --- a/arch/arm/mach-vexpress/v2m.c > +++ b/arch/arm/mach-vexpress/v2m.c [...] > + node = of_find_compatible_node(NULL, NULL,

[PATCH v2 4/4] ARM: vexpress: DT-based support for CoreTiles Express A5x2 and A9x4

2011-11-23 Thread Pawel Moll
This patch adds Device Trees for ARM Ltd. CoreTile Express A5x2 and CoreTile Express A9x4 used with V2M motherboard and an initial implementation of the DT machine support (this code is separate from the current core tile code). Signed-off-by: Pawel Moll --- arch/arm/boot/dts/vexpress-v2p-ca5s.d

[PATCH v2 3/4] ARM: vexpress: Initial RS1 memory map support

2011-11-23 Thread Pawel Moll
This patch adds support for RS1 memory map based Versatile Express motherboard. Signed-off-by: Pawel Moll --- arch/arm/boot/dts/vexpress-v2m-rs1.dtsi | 192 + arch/arm/mach-vexpress/Kconfig|8 + arch/arm/mach-vexpress/Makefile.boot

[PATCH v2 2/4] ARM: vexpress: Add DT support in v2m

2011-11-23 Thread Pawel Moll
This patch provides hooks for DT-based tile machine implementations and adds Device Tree description for the motherboard. Signed-off-by: Pawel Moll --- Documentation/devicetree/bindings/arm/vexpress| 101 +++ arch/arm/boot/dts/vexpress-v2m.dtsi | 191 +

[PATCH v2 1/4] ARM: vexpress: Get rid of MMIO_P2V

2011-11-23 Thread Pawel Moll
This patch gets rid of the MMIO_P2V and __MMPIO_P2V macros, defining constant virtual base for motherboard and tile peripherals instead. Additionally, in preparation for the new motherboard memory map, the motherboard peripherals are using base pointers calculated in runtime, instead of compile-ti

[PATCH v2 0/4] Versatile Express DT support

2011-11-23 Thread Pawel Moll
Hello again, This version of the series (hopefully) addresses all the suggestions made by Dave, Rob and Russell. The compatible values are specific for the tiles now and the memory map variant is defined as a custom property in the motherboard node. Tested on V2P-CA9 coretile both with ATAGs and

Re: [PATCH 11/17] ASoC: Tegra I2S: Add device tree binding

2011-11-23 Thread Mark Brown
On Tue, Nov 22, 2011 at 06:21:19PM -0700, Stephen Warren wrote: > + /* > + * FIXME: Perhaps there should be a standard binding for this > + * that ends up creating the IORESOURCE_DMA resource for us. > + */ > + if (of_property_read_u32

Re: [PATCH 17/17] ASoC: Tegra+WM8903 machine: Add device tree binding

2011-11-23 Thread Mark Brown
On Tue, Nov 22, 2011 at 06:21:25PM -0700, Stephen Warren wrote: This looks basically fine, a few comments and obviously it depends on the other patches in the series. > + nvidia,routing = > + "Headphone Jack", "HPOUTR", > + "Headphone Jack", "HPOUTL", > + "

Re: [PATCH 14/17] ASoC: Implement "auto nc pins" feature

2011-11-23 Thread Mark Brown
On Tue, Nov 22, 2011 at 06:21:22PM -0700, Stephen Warren wrote: > Codecs often have a large number of external pins, and not all of these pins > will be connected on all board designs. Some machine drivers therefore call > snd_soc_dapm_nc_pin() for all the unused pins, in order to tell the ASoC cor

Re: [PATCH 13/17] ASoC: Tegra TrimSlice machine: Use devm_ APIs and module_platform_driver

2011-11-23 Thread Mark Brown
On Tue, Nov 22, 2011 at 06:21:21PM -0700, Stephen Warren wrote: > module_platform_drive saves some boiler-plate code. > > The devm_ APIs remove the need to manually clean up allocations, > thus removing some code. Applied, thanks - again should be split. __

Re: [PATCH 12/17] ASoC: Tegra+WM8903 machine: Use devm_ APIs and module_platform_driver

2011-11-23 Thread Mark Brown
On Tue, Nov 22, 2011 at 06:21:20PM -0700, Stephen Warren wrote: > module_platform_drive saves some boiler-plate code. > > The devm_ APIs remove the need to manually clean up allocations, > thus removing some code. Applied, thanks. Again, should be two changes. ___

Re: [PATCH 10/17] ASoC: Tegra DAS: Add device tree binding

2011-11-23 Thread Mark Brown
On Tue, Nov 22, 2011 at 06:21:18PM -0700, Stephen Warren wrote: > Signed-off-by: Stephen Warren Applied, thanks - the binding seems entirely uncontroversial as there's just a compatible and register binding, if there are problems we can always revert or fix before 3.3. BTW, you probably want to

Re: [PATCH 09/17] ASoC: Tegra I2S: Remove dependency on pdev->id

2011-11-23 Thread Mark Brown
On Tue, Nov 22, 2011 at 06:21:17PM -0700, Stephen Warren wrote: > + i2s->dai = tegra_i2s_dai_template; > + i2s->dai.name = pdev->name; > + This should really be part of the same commit as the arch/arm side change in order to avoid bisection breaks as from the point of view of non-DT syste

Re: [PATCH 11/17] ASoC: Tegra I2S: Add device tree binding

2011-11-23 Thread Thierry Reding
* Mark Brown wrote: > On Wed, Nov 23, 2011 at 08:04:49AM +0100, Thierry Reding wrote: > > Always delete unneeded context from your mails so that people can > actually find the content you've added and don't have to scroll through > the entire patch. Understood. Thierry pgpeM5PMwnJIq.pgp Descri

Re: [RFC 1/3] pinctrl: add a driver for the OMAP pinmux

2011-11-23 Thread Jean-Christophe PLAGNIOL-VILLARD
On 16:28 Tue 22 Nov , Stephen Warren wrote: > Tony Lindgren wrote at Tuesday, November 22, 2011 10:54 AM: > > * Linus Walleij [22 03:30]: > > > On Tue, Nov 22, 2011 at 12:09 PM, Thomas Abraham > > > wrote: > > > > On 17 November 2011 19:27, Linus Walleij > > > > wrote: > > > >> > > > >>

Re: [PATCH 11/17] ASoC: Tegra I2S: Add device tree binding

2011-11-23 Thread Mark Brown
On Wed, Nov 23, 2011 at 08:04:49AM +0100, Thierry Reding wrote: Always delete unneeded context from your mails so that people can actually find the content you've added and don't have to scroll through the entire patch. ___ devicetree-discuss mailing lis

Re: [PATCH 01/17] arm/tegra: board-dt: audio: Enable clocks, fix AUXDATA

2011-11-23 Thread Mark Brown
On Tue, Nov 22, 2011 at 06:21:09PM -0700, Stephen Warren wrote: > OF_DEV_AUXDATA("nvidia,tegra20-i2c", TEGRA_DVC_BASE, "tegra-i2c.3", > NULL), > OF_DEV_AUXDATA("nvidia,tegra20-i2s", TEGRA_I2S1_BASE, "tegra-i2s.0", > NULL), > - OF_DEV_AUXDATA("nvidia,tegra20-i2s", TEGRA_I2S1_BASE,

Re: [PATCH 08/17] ASoC: Tegra I2S: Use devm_ APIs and module_platform_driver

2011-11-23 Thread Mark Brown
On Tue, Nov 22, 2011 at 06:21:16PM -0700, Stephen Warren wrote: > module_platform_drive saves some boiler-plate code. > > The devm_ APIs remove the need to manually clean up allocations, > thus removing some code. Applied but again this should be split into two separate patches. _

Re: [PATCH 07/17] ASoC: Tegra DAS: Use devm_ APIs and module_platform_driver

2011-11-23 Thread Mark Brown
On Tue, Nov 22, 2011 at 06:21:15PM -0700, Stephen Warren wrote: > module_platform_drive saves some boiler-plate code. > > The devm_ APIs remove the need to manually clean up allocations, > thus removing some code. Applied but this is two separate changes and should've been split.

Re: [PATCH 06/17] ASoC: Tegra PCM: Use module_platform_driver

2011-11-23 Thread Mark Brown
On Tue, Nov 22, 2011 at 06:21:14PM -0700, Stephen Warren wrote: > This saves some boiler-plate code. Applied, thanks. ___ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devicetree-discuss

Re: [PATCH 05/17] ASoC: Tegra: Move DAS configuration into machine drivers

2011-11-23 Thread Mark Brown
On Tue, Nov 22, 2011 at 06:21:13PM -0700, Stephen Warren wrote: > This removes potentially machine-specific routing knowledge from the > I2S driverinto the machine drivers, which is better equipped to know > what the appropriate routing configuration is. Applied, thanks. __

Re: [PATCH 07/17] ASoC: Tegra DAS: Use devm_ APIs and module_platform_driver

2011-11-23 Thread Mark Brown
On Wed, Nov 23, 2011 at 07:58:08AM +0100, Thierry Reding wrote: > * Stephen Warren wrote: > > - platform_set_drvdata(pdev, NULL); > > - > Setting the driver data to NULL may still be a good idea. It's always been a waste of time. ___ devicetree-discu

Re: [PATCH 04/17] ASoC: Add device tree binding for WM8903

2011-11-23 Thread Mark Brown
On Tue, Nov 22, 2011 at 06:21:12PM -0700, Stephen Warren wrote: > + - irq-active-low : Indicates whether the IRQ output should be active low > +(property present) or active high (property absent). I think we ought to be coming up with a standard binding for this stuff rather than having eve