Re: [PATCH V4 1/6] clk: OMAP: introduce device tree binding to kernel clock data

2013-04-25 Thread Rajendra Nayak
On Wednesday 24 April 2013 09:58 PM, Mike Turquette wrote: Quoting Nishanth Menon (2013-04-14 14:19:17) Overall strategy introduced here is simple: a clock node described in device tree blob is used to identify the exact clock provided in the SoC specific data. This is then linked back using

[PATCH] tty: serial: mpc5xxx: fix error handing in mpc52xx_uart_init()

2013-04-25 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn Add the missing uart_unregister_driver() and uninit before return from mpc52xx_uart_init() in the error handling case. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- drivers/tty/serial/mpc52xx_uart.c | 11 --- 1 file changed,

Re: [patch -next] net: calxedaxgmac: fix condition in xgmac_set_features()

2013-04-25 Thread David Miller
From: Dan Carpenter dan.carpen...@oracle.com Date: Thu, 25 Apr 2013 10:44:20 +0300 The changed variable should be a 64 bit type, otherwise it can't store all the features. The way the code is now the test for whether NETIF_F_RXCSUM changed is always false and we return immediately.

[patch -next] net: calxedaxgmac: fix condition in xgmac_set_features()

2013-04-25 Thread Dan Carpenter
The changed variable should be a 64 bit type, otherwise it can't store all the features. The way the code is now the test for whether NETIF_F_RXCSUM changed is always false and we return immediately. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git

Re: [RFC PATCH v3 07/17] ARM: dts: imx: cpus/cpu nodes dts updates

2013-04-25 Thread Lorenzo Pieralisi
On Thu, Apr 25, 2013 at 06:44:28AM +0100, Shawn Guo wrote: On Wed, Apr 24, 2013 at 06:28:12PM +0100, Lorenzo Pieralisi wrote: This patch updates the in-kernel dts files according to the latest cpus and cpu bindings updates for ARM. Signed-off-by: Lorenzo Pieralisi

Re: [RFC PATCH v3 02/17] Documentation: devicetree: arm: cpus/cpu nodes bindings updates

2013-04-25 Thread Lorenzo Pieralisi
On Wed, Apr 24, 2013 at 08:58:20PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: [...] + - compatible: + Usage: required + Value type: string + Definition: should be one of: + arm,arm710t +

Re: [PATCH 0/3] ARM: at91: dt: switch to pre-processor

2013-04-25 Thread Richard Genoud
2013/4/24 Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com: HI, The follow patch series switch the at91 to DT pre-processor So we can use macro for AIC and Pinctrl instead of magic ARM: at91: dt: switch to pre-processor (2013-04-24 22:54:39 +0800)

Re: [net-next PATCH 1/3] drivers: of: add phy fixup support in DT

2013-04-25 Thread Mugunthan V N
On 4/25/2013 1:26 PM, David Miller wrote: From: Mugunthan V N mugunthan...@ti.com Date: Mon, 22 Apr 2013 23:50:36 +0530 In earlier case phy fixup are added in board file as this is no more the case so adding support for phy register fixup in Device Tree Signed-off-by: Mugunthan V N

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

2013-04-25 Thread Markus Pargmann
On Thu, Apr 25, 2013 at 11:35:20AM +0800, Shawn Guo wrote: On Wed, Apr 24, 2013 at 09:45:40PM +0200, Sascha Hauer wrote: Hi Markus, On Wed, Apr 24, 2013 at 04:36:30PM +0200, Markus Pargmann wrote: Add devicetree support for this audio soc fabric driver. @@ -32,8 +35,12 @@ static

Re: [PATCH 3/8] irq-imgpdc: add ImgTec PDC irqchip driver

2013-04-25 Thread James Hogan
Hi Thomas, On 23/04/13 16:09, Thomas Gleixner wrote: On Tue, 23 Apr 2013, James Hogan wrote: +pdc_write(priv, PDC_IRQ_ROUTE, irq_route); +spin_unlock_irqrestore(priv-lock, flags); +} + +static void perip_irq_unmask(struct irq_data *data) +{ +struct pdc_intc_priv *priv =

Re[2]: [PATCH 1/2] GPIO: clps711x: Rewrite driver for using generic GPIO code

2013-04-25 Thread Alexander Shiyan
On Sat, Apr 13, 2013 at 08:21:39AM +0400, Alexander Shiyan wrote: +static void __init clps711x_add_gpio(void) +{ + const struct resource clps711x_gpio0_res[] = { + DEFINE_RES_MEM(PADR, SZ_1), + DEFINE_RES_MEM(PADDR, SZ_1), + }; ... Don't do this - this is

Re: [PATCH 24/32 v3] dmaengine: ste_dma40: Supply full Device Tree parsing support

2013-04-25 Thread Linus Walleij
On Thu, Apr 18, 2013 at 4:17 PM, Lee Jones lee.jo...@linaro.org wrote: Using the new DMA DT bindings and API, we can register the DMA40 driver as Device Tree capable. Now, when a client attempts to allocate a channel using the DMA DT bindings via its own node, we are able to parse the request

Re: [PATCH v5 07/10] ASoC: fsl-ssi: imx ac97 support

2013-04-25 Thread Markus Pargmann
On Thu, Apr 25, 2013 at 11:50:30AM +0800, Shawn Guo wrote: On Wed, Apr 24, 2013 at 04:36:36PM +0200, Markus Pargmann wrote: +/* + * Pointer to AC97 reset functions for specific boards + */ +#if IS_ENABLED(CONFIG_MACH_PCA100) +extern void pca100_ac97_cold_reset(struct snd_ac97 *ac97);

Re: [PATCH 1/2] GPIO: clps711x: Rewrite driver for using generic GPIO code

2013-04-25 Thread Russell King - ARM Linux
On Thu, Apr 25, 2013 at 03:31:07PM +0400, Alexander Shiyan wrote: On Sat, Apr 13, 2013 at 08:21:39AM +0400, Alexander Shiyan wrote: +static void __init clps711x_add_gpio(void) +{ + const struct resource clps711x_gpio0_res[] = { + DEFINE_RES_MEM(PADR, SZ_1), +

[PATCH] Documentation/devicetree: make semantic of initrd-end more explicit

2013-04-25 Thread Uwe Kleine-König
Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de --- Documentation/devicetree/usage-model.txt | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/usage-model.txt b/Documentation/devicetree/usage-model.txt index ef9d06c..0efedaa

Re: [PATCH v2 2/4] Thermal: exynos: Support for TMU regulator defined at device tree

2013-04-25 Thread amit daniel kachhap
Hi Lukasz Majewski, Sorry for late review but I am currently working on restructuring the whole exynos thermal driver and this support of LDO can be added as feature as not all socs support this. This is also suggested by Eduardo. All your other patches looks fine. Thanks, Amit Daniel On Thu,

Re: [PATCH 06/10 v2] usb: musb: ux500: add device tree probing support

2013-04-25 Thread Linus Walleij
On Wed, Apr 24, 2013 at 9:43 AM, Lee Jones lee.jo...@linaro.org wrote: usb: musb: ux500: add device tree probing support This patch will allow ux500-musb to be probed and configured solely from configuration found in Device Tree. Cc: Felipe Balbi ba...@ti.com Cc: linux-...@vger.kernel.org

[PATCH v2 0/3] ASoC: Add devicetree support for spdif dummy codecs.

2013-04-25 Thread Marek Belisko
changes from v1 (for patch 2 and 3): - add prefix linux for compatible property (for both tx and rx) - rename spdif_transceiver.c to spdif_transmitter.c - add bindings documentation Marek Belisko (3): ASoC: spdif_transceiver: Change driver filename to spdif_transmitter.c. ASoC:

[PATCH v2 1/3] ASoC: spdif_transceiver: Change driver filename to spdif_transmitter.c.

2013-04-25 Thread Marek Belisko
Transceiver usually means receiver + transmitter. This codec can do only transmit. Update driver accordingly. Signed-off-by: Marek Belisko marek.beli...@streamunlimited.com --- sound/soc/codecs/Makefile |2 +- .../{spdif_transciever.c = spdif_transmitter.c} |0

[PATCH v2 2/3] ASoC: spdif_transmitter: Add DT support.

2013-04-25 Thread Marek Belisko
Add devicetree support for this dummy audio soc driver. Signed-off-by: Michal Bachraty michal.bachr...@streamunlimited.com Signed-off-by: Marek Belisko marek.beli...@streamunlimited.com --- .../bindings/sound/spdif-transmitter.txt | 10 ++ sound/soc/codecs/spdif_transmitter.c

[PATCH v2 3/3] ASoC: spdif_receiver: Add DT support.

2013-04-25 Thread Marek Belisko
Add devicetree support for this dummy audio soc driver. Signed-off-by: Michal Bachraty michal.bachr...@streamunlimited.com Signed-off-by: Marek Belisko marek.beli...@streamunlimited.com --- .../devicetree/bindings/sound/spdif-receiver.txt | 10 ++ sound/soc/codecs/spdif_receiver.c

Re: [PATCH 2/2] pinctrl: samsung: Fix link error with CONFIG_PINCTRL_EXYNOS disabled

2013-04-25 Thread Linus Walleij
On Wed, Apr 24, 2013 at 4:47 PM, Tomasz Figa t.f...@samsung.com wrote: On Wednesday 24 of April 2013 16:27:09 Linus Walleij wrote: On Tue, Apr 23, 2013 at 2:09 PM, Tomasz Figa t.f...@samsung.com wrote: On Tuesday 23 of April 2013 14:03:12 Linus Walleij wrote: This does not apply to my devel

Re: [PATCH] of: Set the DMA mask to 64 bits on ARM LPAE systems

2013-04-25 Thread Catalin Marinas
On Wed, Apr 24, 2013 at 01:50:49AM +0100, Laura Abbott wrote: By default on ARM systems, the coherent DMA mask (lowest address) is set to ~0 or 0x. Currently, of_platform_device_create_pdata sets the coherent DMA mask to 32 bits. This prevents coherent dma allocations from

Re: [PATCH 13/23] regulator: ab3100: refactor probe to use IDs

2013-04-25 Thread Linus Walleij
On Mon, Apr 22, 2013 at 2:37 PM, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Mon, Apr 22, 2013 at 11:57:14AM +0200, Linus Walleij wrote: Hi Mark, seeking an ACK on this to take it through the ARM SoC tree. Since the arm-soc tree is locked down now I may as well just apply it so

Re: [PATCH v3 00/13] ARM: EXYNOS: Fix Universal C210 support

2013-04-25 Thread Arnd Bergmann
On Tuesday 23 April 2013, Tomasz Figa wrote: This series intends to fix support for Universal C210 board in mainline. Main difference from other boards based on Exynos 4210 is that hardware revision of the SoC used on Universal C210 does not support MCT timers and legacy PWM timers must be

Re: [PATCH 2/8] metag: minimal TZ1090 (Comet) SoC infrastructure

2013-04-25 Thread James Hogan
On 24/04/13 15:51, James Hogan wrote: On 24/04/13 14:26, Catalin Marinas wrote: On 23 April 2013 17:06, James Hogan james.ho...@imgtec.com wrote: It's certainly heading in that direction a lot. For this patchset I could get away with dropping arch/metag/soc/*, and deal with anything that

Re: [PATCH 1/5] ibmebus: convert of_platform_driver to platform_driver

2013-04-25 Thread Rob Herring
On Sun, Apr 21, 2013 at 9:13 PM, Rob Herring robherri...@gmail.com wrote: From: Rob Herring rob.herr...@calxeda.com ibmebus is the last remaining user of of_platform_driver and the conversion to a regular platform driver is trivial. Signed-off-by: Rob Herring rob.herr...@calxeda.com Cc:

Re: [PATCH v3 00/13] ARM: EXYNOS: Fix Universal C210 support

2013-04-25 Thread Kukjin Kim
On 04/25/13 23:46, Arnd Bergmann wrote: On Universal C210 board, both with and without DT: Tested-by: Tomasz Figat.f...@samsung.com Reviewed-by: Arnd Bergmanna...@arndb.de Olof, Kgene, I think we should have this one in 3.10 since it fixes a regression. It looks bigger than it really is

Re: [net-next PATCH 1/3] drivers: of: add phy fixup support in DT

2013-04-25 Thread Ben Hutchings
On Thu, 2013-04-25 at 03:56 -0400, David Miller wrote: From: Mugunthan V N mugunthan...@ti.com Date: Mon, 22 Apr 2013 23:50:36 +0530 In earlier case phy fixup are added in board file as this is no more the case so adding support for phy register fixup in Device Tree Signed-off-by:

Re: [PATCH] of: Set the DMA mask to 64 bits on ARM LPAE systems

2013-04-25 Thread Laura Abbott
On 4/25/2013 6:33 AM, Catalin Marinas wrote: On Wed, Apr 24, 2013 at 01:50:49AM +0100, Laura Abbott wrote: By default on ARM systems, the coherent DMA mask (lowest address) is set to ~0 or 0x. Currently, of_platform_device_create_pdata sets the coherent DMA mask to 32 bits. This

Re: [PATCH 1/5] ibmebus: convert of_platform_driver to platform_driver

2013-04-25 Thread Benjamin Herrenschmidt
On Thu, 2013-04-25 at 10:23 -0500, Rob Herring wrote: Ben, Can I have your Ack for this? The change is straightforward and neither of the 2 drivers used the id parameter that is removed. Didn't you get my mail about a compile failure caused by this patch ? Or did you send an update that I

Re: [PATCH 2/2] thermal: db8500_cpufreq_cooling: remove usage of IS_ERR_OR_NULL()

2013-04-25 Thread Russell King
On Thu, Apr 25, 2013 at 10:13:34AM -0400, Eduardo Valentin wrote: diff --git a/drivers/thermal/db8500_cpufreq_cooling.c b/drivers/thermal/db8500_cpufreq_cooling.c index 21419851..786d192 100644 --- a/drivers/thermal/db8500_cpufreq_cooling.c +++ b/drivers/thermal/db8500_cpufreq_cooling.c @@

Re: [PATCH] of: Set the DMA mask to 64 bits on ARM LPAE systems

2013-04-25 Thread Russell King - ARM Linux
On Thu, Apr 25, 2013 at 10:09:57AM -0700, Laura Abbott wrote: I thought about this as well but in arch/arm/mm/mm.h: #ifdef CONFIG_ZONE_DMA extern phys_addr_t arm_dma_limit; #else #define arm_dma_limit ((phys_addr_t)~0) #endif arm_dma_limit is explicitly cast to phys_addr_t, which means

[PATCH] libfdt: Add fdt_next_subnode() to permit easy subnode iteration

2013-04-25 Thread Simon Glass
Iterating through subnodes with libfdt is a little painful to write as we need something like this: for (depth = 0, count = 0, offset = fdt_next_node(fdt, parent_offset, depth); (offset = 0) (depth 0); offset = fdt_next_node(fdt, offset, depth)) { if (depth == 1) {

Re: [PATCHv2 1/4] Documentation: Add memory mapped ARM architected timer binding

2013-04-25 Thread Stephen Boyd
Rob, Can I get your ack on this binding or do you think we need to change something? Thanks, Stephen On 04/15/13 14:33, Stephen Boyd wrote: On 04/15/13 14:20, Rob Herring wrote: On Fri, Apr 12, 2013 at 7:27 PM, Stephen Boyd sb...@codeaurora.org wrote: @@ -26,3 +30,52 @@ Example:

Re: [PATCH 1/5] ibmebus: convert of_platform_driver to platform_driver

2013-04-25 Thread Rob Herring
On 04/25/2013 12:35 PM, Benjamin Herrenschmidt wrote: On Thu, 2013-04-25 at 10:23 -0500, Rob Herring wrote: Ben, Can I have your Ack for this? The change is straightforward and neither of the 2 drivers used the id parameter that is removed. Didn't you get my mail about a compile failure

Re: [PATCH 1/5] ibmebus: convert of_platform_driver to platform_driver

2013-04-25 Thread Benjamin Herrenschmidt
On Thu, 2013-04-25 at 14:14 -0500, Rob Herring wrote: On 04/25/2013 12:35 PM, Benjamin Herrenschmidt wrote: On Thu, 2013-04-25 at 10:23 -0500, Rob Herring wrote: Ben, Can I have your Ack for this? The change is straightforward and neither of the 2 drivers used the id parameter that is

Re: [PATCH 1/5] ibmebus: convert of_platform_driver to platform_driver

2013-04-25 Thread Rob Herring
On 04/25/2013 03:12 PM, Benjamin Herrenschmidt wrote: On Thu, 2013-04-25 at 14:14 -0500, Rob Herring wrote: On 04/25/2013 12:35 PM, Benjamin Herrenschmidt wrote: [...] You need patch 2 of this series to fix this: driver core: move to_platform_driver to platform_device.h which as Arnd

Re: Call for testing: device nodes as kobjects

2013-04-25 Thread Grant Likely
On Thu, Apr 25, 2013 at 6:11 PM, Nathan Fontenot nf...@linux.vnet.ibm.com wrote: Hi Grant, I finally got some time to play around with this on powerpc/pseries. Everything looks the same in the device tree, though I am seeing an issue with of_property_update(). The routine appears to work and

Re: [PATCHv2 1/4] Documentation: Add memory mapped ARM architected timer binding

2013-04-25 Thread Rob Herring
On 04/15/2013 04:33 PM, Stephen Boyd wrote: On 04/15/13 14:20, Rob Herring wrote: On Fri, Apr 12, 2013 at 7:27 PM, Stephen Boyd sb...@codeaurora.org wrote: @@ -26,3 +30,52 @@ Example: 1 10 0xf08; clock-frequency = 1; }; + +**

Re: [PATCH] Documentation/devicetree: make semantic of initrd-end more explicit

2013-04-25 Thread Rob Herring
On 04/25/2013 07:27 AM, Uwe Kleine-König wrote: Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de --- Documentation/devicetree/usage-model.txt | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) Applied. Thanks, Rob diff --git

Re: [PATCH 4/8] metag: tz1090: add asm/soc-tz1090/gpio.h

2013-04-25 Thread Linus Walleij
On Tue, Apr 23, 2013 at 4:33 PM, James Hogan james.ho...@imgtec.com wrote: Add asm/soc-tz1090/gpio.h with definitions to number all the GPIOs available on-chip. This is for use by the pinctrl and GPIO drivers. Signed-off-by: James Hogan james.ho...@imgtec.com Usually the specific pins and

Re: [PATCH 5/8] pinctrl-tz1090: add TZ1090 pinctrl driver

2013-04-25 Thread Linus Walleij
On Tue, Apr 23, 2013 at 4:33 PM, James Hogan james.ho...@imgtec.com wrote: Add a pin control driver for the main pins on the TZ1090 SoC. This doesn't include the low-power pins as they're controlled separately via the Powerdown Controller (PDC) registers. Signed-off-by: James Hogan

Re: [PATCHv2 1/4] Documentation: Add memory mapped ARM architected timer binding

2013-04-25 Thread Stephen Boyd
On 04/25/13 14:47, Rob Herring wrote: On 04/15/2013 04:33 PM, Stephen Boyd wrote: On 04/15/13 14:20, Rob Herring wrote: On Fri, Apr 12, 2013 at 7:27 PM, Stephen Boyd sb...@codeaurora.org wrote: @@ -26,3 +30,52 @@ Example: 1 10 0xf08;

Re: [PATCH 6/8] gpio-tz1090: add TZ1090 gpio driver

2013-04-25 Thread Linus Walleij
On Tue, Apr 23, 2013 at 4:33 PM, James Hogan james.ho...@imgtec.com wrote: Add a GPIO driver for the main GPIOs found in the TZ1090 (Comet) SoC. This doesn't include low-power GPIOs as they're controlled separately via the Powerdown Controller (PDC) registers. The driver is instantiated by

Re: [PATCHv2 1/4] Documentation: Add memory mapped ARM architected timer binding

2013-04-25 Thread Rob Herring
On 04/25/2013 05:48 PM, Stephen Boyd wrote: On 04/25/13 14:47, Rob Herring wrote: On 04/15/2013 04:33 PM, Stephen Boyd wrote: On 04/15/13 14:20, Rob Herring wrote: On Fri, Apr 12, 2013 at 7:27 PM, Stephen Boyd sb...@codeaurora.org wrote: @@ -26,3 +30,52 @@ Example:

Re: [PATCHv2 1/4] Documentation: Add memory mapped ARM architected timer binding

2013-04-25 Thread Stephen Boyd
On 04/25/13 16:06, Rob Herring wrote: On 04/25/2013 05:48 PM, Stephen Boyd wrote: We don't really care about CNTFRQ because it's duplicated into each view. We do care about CNTNSAR. Luckily the spec just works there in the sense that we can use CNTTIDR in conjunction with CNTACRn and

Re: [RFC PATCH v3 02/17] Documentation: devicetree: arm: cpus/cpu nodes bindings updates

2013-04-25 Thread Rob Herring
On Wed, Apr 24, 2013 at 12:28 PM, Lorenzo Pieralisi lorenzo.pieral...@arm.com wrote: In order to extend the current cpu nodes bindings to newer CPUs inclusive of AArch64 and to update support for older ARM CPUs this patch updates device tree documentation for the cpu nodes bindings. Main

[PATCH 1/3] ARM: OMAP2+: Legacy support for wl12xx when booted with devicetree

2013-04-25 Thread Tony Lindgren
Without WLAN we cannot switch omap4 to use device tree only booting. This patch can be reverted when the binding for wl12xx is added. Cc: Luciano Coelho coe...@ti.com Cc: Benoit Cousson b-cous...@ti.com Cc: Rajendra Nayak rna...@ti.com Cc: devicetree-discuss@lists.ozlabs.org Signed-off-by: Tony

[PATCH 2/3] ARM: dts: Add muxing for wl12xx on the SDIO bus for pandaboard

2013-04-25 Thread Tony Lindgren
This is needed to get wl12xx working with device tree based booting. Note that we claim the various GPIO inputs in the regulator as the proper muxing is needed to enable and disable the regulator. Also, we want to use non-removable instead of ti,non-removable as the ti,non-removable also sets

[PATCH 3/3] ARM: dts: Add muxing for wl12xx on the SDIO bus for blaze

2013-04-25 Thread Tony Lindgren
This should work assuming the board-4430sdp.c works, but it seems that I don't have the 1283 PG 2.21 connectivity device on my blaze. Anybody got a spare connectivity device for blaze? Also, if somebody has the schematics, please provide a patch for the missing GPIO muxes for blaze, see the the

Re: [PATCH v2 0/4] Thermal:exynos: Thermal Measurement Unit fix and Samsung SoCs support

2013-04-25 Thread Sachin Kamat
Hi Eduardo, On 25 April 2013 21:58, Lukasz Majewski l.majew...@samsung.com wrote: Hi Eduardo, Hello Lukasz, On 25-04-2013 08:30, Lukasz Majewski wrote: This patch series provide various fixes for TMU block. First of all it fixes a problem with get_cpu_frequency() lockup at