Re: [PATCH 1/3] ARM: dt: Add binding for Tegra PMC

2012-01-31 Thread Olof Johansson
On Wed, Jan 25, 2012 at 02:43:27PM -0700, Stephen Warren wrote: > The Tegra PMC (Power Management Controller) interfaces with an external > PMU (Power Management Unit), and controls wake-up from sleep modes. > > This initial binding is the bare minimum required to control the PMC's > inversion of

[PATCH] arm/dts: OMAP3: Add omap3evm and am335xevm support

2012-01-31 Thread Vaibhav Hiremath
TI's OMAP3EVM and AM335xEVM are software development boards available for OMAP35x(AM/DM37x) and AM335x devices respectively; and these devices are considered under omap3 family. Signed-off-by: Vaibhav Hiremath Cc: Benoit Cousson Cc: Grant Likely Cc: Tony Lindgren --- .../devicetree/bindings/a

[PATCH-V2] arm/dts: omap3-evm: Add i2c and twl4030 support

2012-01-31 Thread Vaibhav Hiremath
Add support for TWL4030, which is interfaced on i2c1 bus. Also add clock frequencies for other i2c instances(2 & 3) required for client-device exist on OMAP3EVM board. Signed-off-by: Vaibhav Hiremath Cc: Benoit Cousson Cc: Grant Likely Cc: Tony Lindgren --- Changes from V1: - As per co

Re: Pinmux bindings proposal V2

2012-01-31 Thread Shawn Guo
On 31 January 2012 10:29, Tony Lindgren wrote: ... > That's still a fraction of the total pins on the SoC that need dynamic > remuxing, right? > That's right. Regards, Shawn ___ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https:/

[PATCH] irq_domain: fix the irq number of imx5 tzic

2012-01-31 Thread Shawn Guo
The tzic controller found on imx51 and imx53 gets 128 irq lines rather than 32. Signed-off-by: Shawn Guo --- arch/arm/mach-mx5/imx51-dt.c |2 +- arch/arm/mach-mx5/imx53-dt.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-mx5/imx51-dt.c b/arch/arm/mach

Re: [PATCH v3 14/25] irq_domain: Remove irq_domain_add_simple()

2012-01-31 Thread Grant Likely
On Tue, Jan 31, 2012 at 09:58:22PM +0800, Shawn Guo wrote: > On Tue, Jan 31, 2012 at 07:15:26AM -0600, Rob Herring wrote: > ... > > >> --- a/arch/arm/mach-mx5/imx51-dt.c > > >> +++ b/arch/arm/mach-mx5/imx51-dt.c > > >> @@ -47,7 +47,7 @@ static const struct of_dev_auxdata > > >> imx51_auxdata_looku

Re: [PATCH v3 00/25] irq_domain generalization and refinement

2012-01-31 Thread Grant Likely
On Mon, Jan 30, 2012 at 08:53:44PM -0800, Olof Johansson wrote: > On Fri, Jan 27, 2012 at 02:35:54PM -0700, Grant Likely wrote: > > Hey everyone, > > > > This patch series is ready for much wider consumption now. I'd like > > to get it into linux-next ASAP because there will be ARM board support

Re: [RFC PATCH 1/2] of: Add generic device tree DMA helpers

2012-01-31 Thread Russell King - ARM Linux
On Sat, Jan 28, 2012 at 11:06:02AM -0700, Grant Likely wrote: > This makes the assumption that dma specifiers will only ever be 1 > cell. I think to be generally useful, the full dma specifier needs to > be either handed to the dma controller to get a cookie or passed back > to the caller in its e

Re: [RFC PATCH 1/2] of: Add generic device tree DMA helpers

2012-01-31 Thread Cousson, Benoit
Hi Grant, On 1/28/2012 7:06 PM, Grant Likely wrote: On Fri, Jan 27, 2012 at 06:29:22PM +0100, Cousson, Benoit wrote: Add some basic helpers to retrieve a DMA controller device_node and the DMA request line number. For legacy reason another API will export the DMA request number into a Linux re

Re: [PATCH v3 6/6] mmc: sdhci-s3c: Add device tree support

2012-01-31 Thread Grant Likely
On Tue, Jan 31, 2012 at 11:26:16PM +0530, Thomas Abraham wrote: > Add device tree based discovery support for Samsung's sdhci controller > > Cc: Ben Dooks > Signed-off-by: Thomas Abraham > --- > .../devicetree/bindings/mmc/samsung-sdhci.txt | 70 + > drivers/mmc/host/sdhci-s3c.c

Re: [PATCH 3/5] ASoC: Tegra+ALC5632 machine: Add device tree binding documentation

2012-01-31 Thread Mark Brown
On Tue, Jan 31, 2012 at 09:30:40AM +0200, Leon Romanovsky wrote: > Document device tree binding for the tegra board with ALC5632 codec > according to datasheet functional block description. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH 3/5] ASoC: Tegra+ALC5632 machine: Add device tree binding documentation

2012-01-31 Thread Mark Brown
On Tue, Jan 31, 2012 at 09:52:42AM -0800, Stephen Warren wrote: > Hmm, actually the block diagram and "pin assignment" diagram are > inconsistent, e.g. AUX_OUTP+AUX_OUTN in the block diagram vs. > AUX_OUT+AUX_OUTN in the pin assignment, or PHONE_N (block diagram) vs. > PHONEN (pin assignments). >

Re: [PATCH 2/5] ASoC: ALC5632: Add device tree binding documentation

2012-01-31 Thread Mark Brown
On Tue, Jan 31, 2012 at 09:29:45AM +0200, Leon Romanovsky wrote: > Document the device tree binding for the ALC5632 codec and update vendor > specific prefix for the Realtek. Applied, thanks. signature.asc Description: Digital signature ___ devicetree-

Re: [PATCH v3 4/6] mmc: sdhci-s3c: derive transfer width host capability from max_width in platform data

2012-01-31 Thread Sergei Shtylyov
Hello. On 01/31/2012 08:56 PM, Thomas Abraham wrote: max_width member in platform data can be used to derive the mmc bus transfer width that can be supported by the controller. Signed-off-by: Thomas Abraham --- drivers/mmc/host/sdhci-s3c.c |8 1 files changed, 8 insertions(+)

RE: [PATCH 3/5] ASoC: Tegra+ALC5632 machine: Add device tree binding documentation

2012-01-31 Thread Stephen Warren
Leon Romanovsky wrote at Tuesday, January 31, 2012 12:31 AM: > Document device tree binding for the tegra board with ALC5632 codec > according to datasheet functional block description. > diff --git a/Documentation/devicetree/bindings/sound/tegra-audio-alc5632.txt > + ALC5632 pins: > + > + * SP

[PATCH v3 6/6] mmc: sdhci-s3c: Add device tree support

2012-01-31 Thread Thomas Abraham
Add device tree based discovery support for Samsung's sdhci controller Cc: Ben Dooks Signed-off-by: Thomas Abraham --- .../devicetree/bindings/mmc/samsung-sdhci.txt | 70 + drivers/mmc/host/sdhci-s3c.c | 148 +++- 2 files changed, 212 insert

[PATCH v3 5/6] mmc: sdhci-s3c: Keep a copy of platform data and use it

2012-01-31 Thread Thomas Abraham
The platform data is copied into driver's private data and the copy is used for all access to the platform data. This simpifies the addition of device tree support for the sdhci-s3c driver. Signed-off-by: Thomas Abraham --- drivers/mmc/host/sdhci-s3c.c | 11 +-- 1 files changed, 9 inse

[PATCH v3 4/6] mmc: sdhci-s3c: derive transfer width host capability from max_width in platform data

2012-01-31 Thread Thomas Abraham
max_width member in platform data can be used to derive the mmc bus transfer width that can be supported by the controller. Signed-off-by: Thomas Abraham --- drivers/mmc/host/sdhci-s3c.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/drivers/mmc/host/sdhci-s3c.c

[PATCH v3 3/6] arm: samsung: remove all uses of clk_type member in sdhci platform data

2012-01-31 Thread Thomas Abraham
The sdhci driver is modified to be independent of clk_type member in the sdhci platform data. Hence, all usage of clk_type in platform code is removed. Cc: Kyungmin Park Cc: JeongHyeon Kim Cc: Kukjin Kim Cc: Changhwan Youn Cc: Alim Akhtar Signed-off-by: Thomas Abraham --- arch/arm/mach-exyn

[PATCH v3 2/6] arm: exynos4: use 'exynos4-sdhci' as device name for sdhci controllers

2012-01-31 Thread Thomas Abraham
With the addition of platform specific driver data in the sdhci driver for exynos4, the device name of sdhci controllers on exynos4 is changed accordingly. Cc: Kukjin Kim Signed-off-by: Thomas Abraham --- arch/arm/mach-exynos/clock.c | 24 arch/arm/mach-

[PATCH v3 1/6] mmc: sdhci-s3c: Remove usage of clk_type member in platform data

2012-01-31 Thread Thomas Abraham
SDHCI controllers on Exynos4 do not include the sdclk divider as per the sdhci controller specification. This case can be represented using the sdhci quirk SDHCI_QUIRK_NONSTANDARD_CLOCK instead of using an additional enum type definition 'clk_types'. Hence, usage of clk_type member in platform dat

[PATCH v3 0/6] mmc: sdhci-s3c: Rework platform data and add device tree support

2012-01-31 Thread Thomas Abraham
This patchset removes all uses of 'clk_type' member from the platform data of sdhci-s3c driver and adds device tree support for sdhci-s3c driver. In this patchset, all uses of 'clk_type' member from the platform data are removed from the sdhci-s3c driver and platform code. The clk_type is a SoC sp

[PATCH] spi/spi-altera: Allow to explicitely override bus number via dts

2012-01-31 Thread Tobias Klauser
From: Frederic Lambert Until now we let the code in spi.c assign us the bus number if the platform device didn't specify its id. This patch adds the possibility to explicitely specify the bus number via device tree. Signed-off-by: Frederic Lambert Signed-off-by: Tobias Klauser --- .../devicet

[PATCH v2] ARM: Exynos4: Add cpu-offset property in gic device tree node

2012-01-31 Thread Thomas Abraham
Commit db0d4db22a78 ('ARM: gic: allow GIC to support non-banked setups) requires a cpu-offset property to be specified for non-banked gic controllers, which is the case for Exynos4. Reported-by: Karol Lewandowski Signed-off-by: Thomas Abraham --- This patch solves the issue of boot failure with

Re: [PATCH] ARM: Exynos4: Add cpu-offset property in gic device tree node

2012-01-31 Thread Thomas Abraham
On 31 January 2012 20:22, Kukjin Kim wrote: > On 01/31/12 23:50, Thomas Abraham wrote: >> >> Commit 'ARM: gic: allow GIC to support non-banked setups' >> (db0d4db22a78d31c) > > > I think, following format is more general. > commit id ("subject") > > Please see, below. > http://lkml.org/lkml/2010/6

Re: [PATCH] ARM: Exynos4: Add cpu-offset property in gic device tree node

2012-01-31 Thread Kukjin Kim
On 01/31/12 23:50, Thomas Abraham wrote: Commit 'ARM: gic: allow GIC to support non-banked setups' (db0d4db22a78d31c) I think, following format is more general. commit id ("subject") Please see, below. http://lkml.org/lkml/2010/6/1/498 Thanks. Best regards, Kgene. -- Kukjin Kim , Senior Engi

[PATCH] ARM: Exynos4: Add cpu-offset property in gic device tree node

2012-01-31 Thread Thomas Abraham
Commit 'ARM: gic: allow GIC to support non-banked setups' (db0d4db22a78d31c) requires a cpu-offset property to be specified for non-banked gic controllers, which is the case for Exynos4. Reported-by: Karol Lewandowski Signed-off-by: Thomas Abraham --- This patch solves the issue of boot failure

Re: [PATCH v3 14/25] irq_domain: Remove irq_domain_add_simple()

2012-01-31 Thread Shawn Guo
On Tue, Jan 31, 2012 at 07:15:26AM -0600, Rob Herring wrote: ... > >> --- a/arch/arm/mach-mx5/imx51-dt.c > >> +++ b/arch/arm/mach-mx5/imx51-dt.c > >> @@ -47,7 +47,7 @@ static const struct of_dev_auxdata > >> imx51_auxdata_lookup[] __initconst = { > >> static int __init imx51_tzic_add_irq_domain(s

Re: [PATCH v3 14/25] irq_domain: Remove irq_domain_add_simple()

2012-01-31 Thread Rob Herring
Shawn, On 01/31/2012 06:45 AM, Shawn Guo wrote: > On Fri, Jan 27, 2012 at 02:36:08PM -0700, Grant Likely wrote: >> irq_domain_add_simple() was a stop-gap measure until complete irq_domain >> support was complete. This patch removes the irq_domain_add_simple() >> interface. >> >> v2: Updated to pa

Re: [RFC PATCH 7/7] ARM: davinci: add support for the am1808 based enbw_cmc board

2012-01-31 Thread Heiko Schocher
Hello Grant, Grant Likely wrote: > On Mon, Jan 23, 2012 at 09:56:07AM +0100, Heiko Schocher wrote: >> - AM1808 based board >> - 64 MiB DDR ram >> - 2 MiB Nor flash >> - 128 MiB NAND flash >> - use internal RTC >> - I2C support >> - hwmon lm75 support >> - UBI/UBIFS support >> - MMC support >> - US

Re: [PATCH v3 14/25] irq_domain: Remove irq_domain_add_simple()

2012-01-31 Thread Shawn Guo
On Fri, Jan 27, 2012 at 02:36:08PM -0700, Grant Likely wrote: > irq_domain_add_simple() was a stop-gap measure until complete irq_domain > support was complete. This patch removes the irq_domain_add_simple() > interface. > > v2: Updated to pass in host_data pointer on irq_domain allocation. > >

Re: [PATCH 3/5] ASoC: Tegra+ALC5632 machine: Add device tree binding documentation

2012-01-31 Thread Mark Brown
On Tue, Jan 31, 2012 at 01:51:43PM +0200, Leon Romanovsky wrote: > On Tue, Jan 31, 2012 at 13:27, Mark Brown > > This should really be more detailed, mentioning the CODEC. > Can it be done in followup patch ? or do I need resend them all ? Followup. signature.asc Description: Digital signature

Re: [PATCH] ARM: devicetree: Add .dtb files to arch/arm/boot/.gitignore

2012-01-31 Thread Dave Martin
On Tue, Jan 31, 2012 at 11:46:59AM +, Dave Martin wrote: > On Tue, Jan 31, 2012 at 11:20:24AM +0800, Shawn Guo wrote: > > On Mon, Jan 30, 2012 at 05:46:14PM +, Dave Martin wrote: > > > Compiled device tree blobs shouldn't be committed in the kernel > > > tree, so ideally git should ignore t

Re: [PATCH 3/5] ASoC: Tegra+ALC5632 machine: Add device tree binding documentation

2012-01-31 Thread Leon Romanovsky
On Tue, Jan 31, 2012 at 13:27, Mark Brown wrote: > > On Tue, Jan 31, 2012 at 09:30:40AM +0200, Leon Romanovsky wrote: > > Document device tree binding for the tegra board with ALC5632 codec > > according to datasheet functional block description. > > If resending please send the documentation in t

Re: [PATCH v6 9/9] ARM: vexpress: Add Device Tree for V2P-CA15 core tile (TC1 variant)

2012-01-31 Thread Dave Martin
On Mon, Jan 30, 2012 at 02:31:15PM -0700, Grant Likely wrote: > On Mon, Jan 30, 2012 at 05:42:12PM +, Dave Martin wrote: > > On Wed, Jan 25, 2012 at 05:43:16PM +, Pawel Moll wrote: > > > On Thu, 2012-01-19 at 17:00 +, David Vrabel wrote: > > > > > Ok, /include/ "skeleton.dtsi" is gone t

Re: [PATCH] ARM: devicetree: Add .dtb files to arch/arm/boot/.gitignore

2012-01-31 Thread Dave Martin
On Tue, Jan 31, 2012 at 11:20:24AM +0800, Shawn Guo wrote: > On Mon, Jan 30, 2012 at 05:46:14PM +, Dave Martin wrote: > > Compiled device tree blobs shouldn't be committed in the kernel > > tree, so ideally git should ignore them. > > > > This patch will enable ignoring of any .dtb files which

Re: [RFC PATCH 4/7] ARM: davinci: net: davinci_emac: add OF support

2012-01-31 Thread Heiko Schocher
Hello Grant, Grant Likely wrote: > On Mon, Jan 23, 2012 at 09:56:04AM +0100, Heiko Schocher wrote: >> add of support for the davinci_emac driver. >> >> Signed-off-by: Heiko Schocher >> Cc: davinci-linux-open-sou...@linux.davincidsp.com >> Cc: linux-arm-ker...@lists.infradead.org >> Cc: devicetree

Re: [PATCH 3/5] ASoC: Tegra+ALC5632 machine: Add device tree binding documentation

2012-01-31 Thread Mark Brown
On Tue, Jan 31, 2012 at 09:30:40AM +0200, Leon Romanovsky wrote: > Document device tree binding for the tegra board with ALC5632 codec > according to datasheet functional block description. If resending please send the documentation in the same patch as you add the binding (unless that patch is co

Re: [PATCH 1/3] of_spi: add generic binding support to specify ncs gpio in the slave

2012-01-31 Thread Jean-Christophe PLAGNIOL-VILLARD
On 11:54 Mon 30 Jan , Grant Likely wrote: > On Mon, Jan 30, 2012 at 04:27:49PM +0100, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > This will allow to use gpio for chip select with no modification in the > > driver binding > > > > When use the ncs-gpio, the gpio number will be passed via the

Re: [PATCH] irq_domain/microblaze: Convert microblaze to use irq_domains

2012-01-31 Thread Michal Simek
Grant Likely wrote: On Mon, Jan 30, 2012 at 12:42:26PM +0100, Michal Simek wrote: Hi Grant, Grant Likely wrote: ***totally untested. Don't apply yet*** Michal, I leave it to you to test this patch. I've turned on SPARSE_IRQ, but you may decide that isn't valuable. I've compile tested it, b