Re: [PATCH v8 2/4] MIPS: Octeon: Setup irq_domains for interrupts.

2012-05-19 Thread Grant Likely
On Thu, 26 Apr 2012 17:47:56 -0700, David Daney ddaney.c...@gmail.com wrote: From: David Daney david.da...@cavium.com Create two domains. One for the GPIO lines, and the other for on-chip sources. Signed-off-by: David Daney david.da...@cavium.com Acked-by: Grant Likely

Re: [PATCH v2 1/5] i2c: Convert i2c-octeon.c to use device tree.

2012-05-19 Thread Grant Likely
On Thu, 26 Apr 2012 18:20:26 -0700, David Daney ddaney.c...@gmail.com wrote: From: David Daney david.da...@cavium.com There are three parts to this: 1) Remove the definitions of OCTEON_IRQ_TWSI and OCTEON_IRQ_TWSI2. The interrupts are specified by the device tree and these hard

Re: [PATCH v2 2/5] netdev: mdio-octeon.c: Convert to use device tree.

2012-05-19 Thread Grant Likely
On Thu, 26 Apr 2012 18:20:27 -0700, David Daney ddaney.c...@gmail.com wrote: From: David Daney david.da...@cavium.com Get the MDIO bus controller addresses from the device tree, small clean up in use of devm_* Remove, now unused, platform device setup code. Ditto on this one (and the

Re: [PATCH v2 4/5] staging: octeon_ethernet: Convert to use device tree.

2012-05-19 Thread Grant Likely
On Thu, 26 Apr 2012 18:20:29 -0700, David Daney ddaney.c...@gmail.com wrote: From: David Daney david.da...@cavium.com Get MAC address and PHY connection from the device tree. The driver is converted to a platform driver. Acked-by: Greg Kroah-Hartman gre...@linuxfoundation.org

Re: [PATCH v2 5/5] MIPS: Octeon: Use device tree to register serial ports.

2012-05-19 Thread Grant Likely
On Thu, 26 Apr 2012 18:20:30 -0700, David Daney ddaney.c...@gmail.com wrote: From: David Daney david.da...@cavium.com Switch to using the device tree to register serial ports. Add all the ports with compatible = cavium,octeon-3860-uart. Octeon serial ports have their own device type,

Re: [PATCH 19/20] ARM: Exynos5: Add combiner, wakeup interrupt controller and ethernet nodes

2012-05-19 Thread Grant Likely
On Wed, 2 May 2012 10:57:11 -0700, Olof Johansson o...@lixom.net wrote: Hi, [adding devicetree-discuss] On Mon, Apr 30, 2012 at 12:14 PM, Thomas Abraham thomas.abra...@linaro.org wrote: And interrupt combiner, external interrupt wakeup interrupt controller and smsc9215 lan controller

Re: [PATCH v3 1/7] ARM: davinci, intc: Add OF support for TI interrupt controller

2012-05-19 Thread Grant Likely
On Mon, 5 Mar 2012 12:09:58 +0100, Heiko Schocher h...@denx.de wrote: Add a function to initialize the Common Platform Interrupt Controller (cp_intc) from TI used on OMAP-L1x SoCs using a device tree node. Signed-off-by: Heiko Schocher h...@denx.de Cc:

Re: [PATCH 19/20] ARM: Exynos5: Add combiner, wakeup interrupt controller and ethernet nodes

2012-05-19 Thread Olof Johansson
On Fri, May 18, 2012 at 11:11 PM, Grant Likely grant.lik...@secretlab.ca wrote: On Wed, 2 May 2012 10:57:11 -0700, Olof Johansson o...@lixom.net wrote: Hi, [adding devicetree-discuss] On Mon, Apr 30, 2012 at 12:14 PM, Thomas Abraham thomas.abra...@linaro.org wrote: And interrupt combiner,

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

2012-05-19 Thread Arnd Bergmann
On Friday 18 May 2012, Stephen Warren wrote: On 05/18/2012 03:43 PM, Arnd Bergmann wrote: So if we do that, we might want to make the dma-names property mandatory for every device, and document what the names are. We could do that, but one more proposal: Add the client's ID/index into

Re: [PATCH V2] regulator: dt: fix the name of regulator supply

2012-05-19 Thread Mark Brown
On Sat, May 19, 2012 at 01:04:12AM +0530, Laxman Dewangan wrote: If there is any input supply for regulator then the name of supply need to provided by init_data-supply_regulator. In dt case, the input supply is searched by the name-supply and here it is require to fix the name so that correct

Re: [PATCH V2] regulator: dt: fix the name of regulator supply

2012-05-19 Thread Mark Brown
On Sat, May 19, 2012 at 06:08:28PM +0530, Laxman Dewangan wrote: The descriptor is set on the regulator driver and hence it need to be parse this in the regulator driver. We need to set the name regulator_desc-supply_name and hence it needs to be in dt binding documentation of that

Re: [PATCH v3 0/4] MFD: twl6040: Device tree support

2012-05-19 Thread Samuel Ortiz
Hi Peter, On Wed, May 16, 2012 at 02:11:54PM +0300, Peter Ujfalusi wrote: Hello, Changes since v2: - Child devices are no longer described in dts, they are created with mfd_add_devices() - ASoC codec device is created unconditionally (main function of twl6040) Changes since v1: -

Re: [PATCH REPOST] dt: add vendor prefix for EM Microelectronics

2012-05-19 Thread Grant Likely
On Thu, 17 May 2012 15:18:31 -0600, Stephen Warren swar...@wwwdotorg.org wrote: From: Stephen Warren swar...@nvidia.com Add emmicro as the prefix for EM Microelectronics. A web search implies this is a pretty unique and relevant match. Signed-off-by: Stephen Warren swar...@nvidia.com

Re: [PATCH RESEND] Documentation: devicetree: Fix value format description

2012-05-19 Thread Grant Likely
On Wed, 16 May 2012 22:33:55 +0200, Roland Stigge sti...@antcom.de wrote: Numeric values in dts files can be specified in decimal and hex (the latter prefixed 0x). The current documentation is updated with this patch to prevent confusion about what is meant with values without 0x (previously

Re: [PATCH 01/10] spi: s3c64xx: remove unused S3C64XX_SPI_ST_TRLCNTZ macro

2012-05-19 Thread Grant Likely
On Wed, 09 May 2012 03:34:45 +0530, Thomas Abraham thomas.abra...@linaro.org wrote: The macro S3C64XX_SPI_ST_TRLCNTZ is not used and hence it is removed. Cc: Jaswinder Singh jaswinder.si...@linaro.org Signed-off-by: Thomas Abraham thomas.abra...@linaro.org Acked-by: Grant Likely

Re: [PATCH 02/10] spi: s3c64xx: move controller information into driver data

2012-05-19 Thread Grant Likely
On Wed, 09 May 2012 03:34:46 +0530, Thomas Abraham thomas.abra...@linaro.org wrote: Platform data is used to specify controller hardware specific information such as the tx/rx fifo level mask and bit offset of rx fifo level. Such information is not suitable to be supplied from device tree.

Re: [PATCH 05/10] ARM: Samsung: Update the device names for spi clock lookup

2012-05-19 Thread Grant Likely
On Sun, 13 May 2012 15:51:35 +0100, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Thu, May 10, 2012 at 01:17:32AM +0800, Thomas Abraham wrote: On 9 May 2012 22:28, Mark Brown broo...@opensource.wolfsonmicro.com wrote: This means that bisection will be broken - anything with

Re: [PATCH 07/10] spi: s3c64xx: Remove the 'set_level' callback from controller data

2012-05-19 Thread Grant Likely
On Wed, 09 May 2012 03:34:51 +0530, Thomas Abraham thomas.abra...@linaro.org wrote: The set_level callback in the controller data, which is used to configure the slave select line, cannot be supported when migrating the driver to device tree based discovery. Since all the platforms currently

Re: [PATCH v2 0/6] spi: s3c64xx: add support for device tree

2012-05-19 Thread Grant Likely
On Fri, 18 May 2012 15:03:27 +0530, Thomas Abraham thomas.abra...@linaro.org wrote: Changes since v1: Heh, I really should look further down my inbox before I start replying to old patches. I'll recheck this version of the changes, but I'm still happy for this stuff to go via arm-soc or

Re: [PATCH v2 1/6] spi: s3c64xx: remove unused S3C64XX_SPI_ST_TRLCNTZ macro

2012-05-19 Thread Grant Likely
On Fri, 18 May 2012 15:03:28 +0530, Thomas Abraham thomas.abra...@linaro.org wrote: The macro S3C64XX_SPI_ST_TRLCNTZ is not used and hence it is removed. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org Acked-by: Jaswinder Singh jaswinder.si...@linaro.org Acked-by: Grant Likely

Re: [PATCH v2 2/6] spi: s3c64xx: move controller information into driver data

2012-05-19 Thread Grant Likely
On Fri, 18 May 2012 15:03:29 +0530, Thomas Abraham thomas.abra...@linaro.org wrote: Platform data is used to specify controller hardware specific information such as the tx/rx fifo level mask and bit offset of rx fifo level. Such information is not suitable to be supplied from device tree.

Re: [PATCH v2 5/6] spi: s3c64xx: Remove the 'set_level' callback from controller data

2012-05-19 Thread Grant Likely
On Fri, 18 May 2012 15:03:32 +0530, Thomas Abraham thomas.abra...@linaro.org wrote: The set_level callback in the controller data, which is used to configure the slave select line, cannot be supported when migrating the driver to device tree based discovery. Since all the platforms currently

Re: [PATCH v2 6/6] spi: s3c64xx: add device tree support

2012-05-19 Thread Grant Likely
On Fri, 18 May 2012 15:03:33 +0530, Thomas Abraham thomas.abra...@linaro.org wrote: Add support for device based discovery. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org Acked-by: Jaswinder Singh jaswinder.si...@linaro.org Acked-by: Grant Likely grant.lik...@secretlab.ca ... but

Re: [PATCH 1/2] MIPS: OCTEON: Add register definitions for SPI host hardware.

2012-05-19 Thread Grant Likely
On Fri, 11 May 2012 14:34:45 -0700, David Daney ddaney.c...@gmail.com wrote: From: David Daney david.da...@cavium.com Needed by SPI driver. Signed-off-by: David Daney david.da...@cavium.com --- arch/mips/include/asm/octeon/cvmx-mpi-defs.h | 328 ++ 1 files

Re: [PATCH 2/2] spi: Add SPI master controller for OCTEON SOCs.

2012-05-19 Thread Grant Likely
On Mon, 14 May 2012 11:13:41 -0700, David Daney ddaney.c...@gmail.com wrote: On 05/13/2012 10:46 PM, Shubhrajyoti Datta wrote: Hi David, A few comments. On Sat, May 12, 2012 at 3:04 AM, David Daneyddaney.c...@gmail.com wrote: [...] + +#define DRV_VERSION 2.0 /* Version 1 was the

Re: [PATCH 2/2] spi: Add SPI master controller for OCTEON SOCs.

2012-05-19 Thread Grant Likely
On Fri, 11 May 2012 14:34:46 -0700, David Daney ddaney.c...@gmail.com wrote: From: David Daney david.da...@cavium.com Add the driver, link it into the kbuild system and provide device tree binding documentation. Signed-off-by: David Daney david.da...@cavium.com Some comments below, but

Re: [PATCH 1/3] of: Add prefix parameter to of_modalias_node().

2012-05-19 Thread Grant Likely
On Fri, 11 May 2012 15:05:21 -0700, David Daney ddaney.c...@gmail.com wrote: From: David Daney david.da...@cavium.com When generating MODALIASes, it is convenient to add things like spi: or i2c: to the front of the strings. This allows the standard modprobe to find the right driver when