Re: [PATCH v2 07/12] ARM: imx6q: add config-on-boot gpios

2012-05-22 Thread Richard Zhao
On Tue, May 22, 2012 at 07:27:30AM +0200, Marek Vasut wrote: Dear Shawn Guo, On 22 May 2012 13:22, Marek Vasut ma...@denx.de wrote: Something like that ... but didn't Linus complain that we have too many files in arch/arm/ ? So what do you exactly mean by per-board driver?

Re: [PATCH v2 10/12] ARM: dts: imx6q-sabrelite: add usb devices

2012-05-22 Thread Shawn Guo
On Tue, May 22, 2012 at 01:59:02PM +0800, Richard Zhao wrote: Yes, but we don't have now. If I add dependency which don't even hit next tree, I experienced people refuse pick my patch. Of course, If you're ok to pick other patches, I can leave the code locally for test. I'm fine for now.

Re: [PATCH v2 08/12] ARM: imx6q: add usbphy clocks

2012-05-22 Thread Richard Zhao
On Tue, May 22, 2012 at 01:37:08PM +0800, Shawn Guo wrote: On Mon, May 21, 2012 at 05:23:53PM +0800, Richard Zhao wrote: Signed-off-by: Richard Zhao richard.z...@freescale.com --- arch/arm/mach-imx/clk-imx6q.c |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff

Re: [PATCH v2 10/12] ARM: dts: imx6q-sabrelite: add usb devices

2012-05-22 Thread Richard Zhao
On Tue, May 22, 2012 at 02:08:31PM +0800, Shawn Guo wrote: On Tue, May 22, 2012 at 01:59:02PM +0800, Richard Zhao wrote: Yes, but we don't have now. If I add dependency which don't even hit next tree, I experienced people refuse pick my patch. Of course, If you're ok to pick other patches,

Re: [PATCH v2 05/12] usb: chipidea: add imx driver binding

2012-05-22 Thread Felipe Balbi
Hi, On Tue, May 22, 2012 at 12:56:52PM +0300, Alexander Shishkin wrote: Do you think it's a good idea to let user select binding driver directly and the binding driver config depends on chipidea config? I don't have a strong opinion on this, although I prefer it the way it is now,

[PATCH v3 1/3] mmc: atmel-mci: add device tree support

2012-05-22 Thread ludovic.desroches
From: Ludovic Desroches ludovic.desroc...@atmel.com Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com --- .../devicetree/bindings/mmc/atmel-hsmci.txt| 67 +++ drivers/mmc/host/atmel-mci.c | 89 +++- 2 files changed, 154

[PATCH v3 0/3] atmel-mci device tree support

2012-05-22 Thread ludovic.desroches
Hi, This patch-set adds device tree support for atmel-mci. Regards Ludovic v3: - use cd-inverted instead of cd-invert to follow mmc common binding. - don't assign a pointer to pdev-dev.platform. - add mci controller nodes to other chips and boards. - put all dts file changes together. v2: -

[PATCH v3 3/3] ARM: dts: add nodes for atmel hsmci controllers for atmel platforms

2012-05-22 Thread ludovic.desroches
From: Ludovic Desroches ludovic.desroc...@atmel.com Add nodes for mci controllers. Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com --- arch/arm/boot/dts/at91sam9g20.dtsi | 12 arch/arm/boot/dts/at91sam9g25ek.dts| 16

Re: [PATCH v2 05/12] usb: chipidea: add imx driver binding

2012-05-22 Thread Richard Zhao
On Tue, May 22, 2012 at 01:06:26PM +0300, Felipe Balbi wrote: Hi, On Tue, May 22, 2012 at 12:56:52PM +0300, Alexander Shishkin wrote: Do you think it's a good idea to let user select binding driver directly and the binding driver config depends on chipidea config? I don't have a

Re: [PATCH v2 05/12] usb: chipidea: add imx driver binding

2012-05-22 Thread Felipe Balbi
On Tue, May 22, 2012 at 06:31:40PM +0800, Richard Zhao wrote: On Tue, May 22, 2012 at 01:06:26PM +0300, Felipe Balbi wrote: Hi, On Tue, May 22, 2012 at 12:56:52PM +0300, Alexander Shishkin wrote: Do you think it's a good idea to let user select binding driver directly and the

bootloader support for DTB on x86

2012-05-22 Thread Thierry Reding
Hi, I was looking at booting an x86-based platform using DT. However I wasn't able to find a bootloader that supports this. There also doesn't seem to be a method to append the DTB to the zImage (which I wouldn't want to use anyway). Does anybody know of a bootloader that supports this? I'm

Re: [PATCH v3 2/3] ARM: at91: add clocks for DT entries

2012-05-22 Thread Nicolas Ferre
On 05/22/2012 12:09 PM, ludovic.desroc...@atmel.com : From: Ludovic Desroches ludovic.desroc...@atmel.com Add clocks to clock lookup table for DT entries. Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com This one will probably go

Re: [PATCH v3 1/3] mmc: atmel-mci: add device tree support

2012-05-22 Thread Nicolas Ferre
On 05/22/2012 12:09 PM, ludovic.desroc...@atmel.com : From: Ludovic Desroches ludovic.desroc...@atmel.com Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com Looks neat! Acked-by: Nicolas Ferre nicolas.fe...@atmel.com --- .../devicetree/bindings/mmc/atmel-hsmci.txt| 67

Re: [PATCH v3 3/3] ARM: dts: add nodes for atmel hsmci controllers for atmel platforms

2012-05-22 Thread Nicolas Ferre
On 05/22/2012 12:09 PM, ludovic.desroc...@atmel.com : From: Ludovic Desroches ludovic.desroc...@atmel.com Add nodes for mci controllers. Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com --- arch/arm/boot/dts/at91sam9g20.dtsi | 12 Maybe this one will have

Re: [PATCH 1/2] of: Add Semtech Corp. vendor prefix

2012-05-22 Thread Thierry Reding
* Thierry Reding wrote: This commit adds a device tree vendor prefix for Semtech Corp. Cc: Grant Likely grant.lik...@secretlab.ca Cc: Rob Herring rob.herr...@calxeda.com Cc: devicetree-discuss@lists.ozlabs.org Signed-off-by: Thierry Reding thierry.red...@avionic-design.de ---

Re: [PATCH 2/2] input: Add support for the Semtech SX8634 controller

2012-05-22 Thread Thierry Reding
* Thierry Reding wrote: This commit adds support for the Semtech SX8634 Capacitive Button and Slider Touch controller. Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc: Grant Likely grant.lik...@secretlab.ca Cc: Rob Herring rob.herr...@calxeda.com Cc: devicetree-discuss@lists.ozlabs.org

Re: [PATCH v2 05/12] usb: chipidea: add imx driver binding

2012-05-22 Thread Shawn Guo
On Tue, May 22, 2012 at 01:35:17PM +0300, Felipe Balbi wrote: My suggestion to Alex is to remove all dependencies for at least a couple of merge windows and only add dependencies for stuff which actually matters; like only building the PCI glue layer when CONFIG_PCI is defined instead of when

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

2012-05-22 Thread Heiko Schocher
add of support for the davinci_emac driver. Signed-off-by: Heiko Schocher h...@denx.de Cc: davinci-linux-open-sou...@linux.davincidsp.com Cc: linux-arm-ker...@lists.infradead.org Cc: devicetree-discuss@lists.ozlabs.org Cc: net...@vger.kernel.org Cc: Grant Likely grant.lik...@secretlab.ca Cc:

[PATCH v4 3/7] ARM: davinci: configure davinci aemif chipselects through OF

2012-05-22 Thread Heiko Schocher
Add support for configuring the aemif timing registers through device tree. Introduce new compatible property ti,davinci-cs, see full description in Documentation/devicetree/bindings/arm/davinci/aemif.txt Signed-off-by: Heiko Schocher h...@denx.de Cc:

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

2012-05-22 Thread Heiko Schocher
this patchserie add support for the davinci am1808 based enbw_cmc board. changes for v2: Post this patchserie now as v2, as reworked in the comments I got for the RFC serie. changes for v3: - Interrupt Controller: - comment from Sergei Shtylyov: - rename compatible prop to ti,cp_intc -

Re: [PATCH 1/2] of: Add Avionic Design vendor prefix

2012-05-22 Thread Thierry Reding
* Thierry Reding wrote: This commit adds a device tree vendor prefix for Avionic Design GmbH. Cc: Grant Likely grant.lik...@secretlab.ca Cc: Rob Herring rob.herr...@calxeda.com Cc: devicetree-discuss@lists.ozlabs.org Cc: Linus Walleij linus.wall...@stericsson.com Signed-off-by: Thierry

[PATCH v4 6/7] ARM: mtd: nand: davinci: add OF support for davinci nand controller

2012-05-22 Thread Heiko Schocher
add OF support for the davinci nand controller. Signed-off-by: Heiko Schocher h...@denx.de Cc: davinci-linux-open-sou...@linux.davincidsp.com Cc: linux-arm-ker...@lists.infradead.org Cc: devicetree-discuss@lists.ozlabs.org Cc: linux-...@lists.infradead.org Cc: David Woodhouse dw...@infradead.org

Re: [PATCH v2 02/12] usb: chipidea: permit driver bindings pass phy pointer

2012-05-22 Thread Marek Vasut
Dear Alexander Shishkin, Richard Zhao richard.z...@freescale.com writes: Hi, Sometimes, the driver bindings may know what phy they use. For example, when using device tree, the usb controller may have a phandler pointing to usb phy. Some comments below: [snip] ci-dev =

Re: [PATCH v3 1/3] mmc: atmel-mci: add device tree support

2012-05-22 Thread Jean-Christophe PLAGNIOL-VILLARD
On 12:09 Tue 22 May , ludovic.desroc...@atmel.com wrote: From: Ludovic Desroches ludovic.desroc...@atmel.com Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com --- .../devicetree/bindings/mmc/atmel-hsmci.txt| 67 +++ drivers/mmc/host/atmel-mci.c

Re: [PATCH v3 3/3] ARM: dts: add nodes for atmel hsmci controllers for atmel platforms

2012-05-22 Thread Jean-Christophe PLAGNIOL-VILLARD
On 12:09 Tue 22 May , ludovic.desroc...@atmel.com wrote: From: Ludovic Desroches ludovic.desroc...@atmel.com Add nodes for mci controllers. Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com --- arch/arm/boot/dts/at91sam9g20.dtsi | 12

Re: [PATCH v3 3/3] ARM: dts: add nodes for atmel hsmci controllers for atmel platforms

2012-05-22 Thread ludovic . desroches
Le 05/22/2012 04:13 PM, Jean-Christophe PLAGNIOL-VILLARD a écrit : On 12:09 Tue 22 May , ludovic.desroc...@atmel.com wrote: From: Ludovic Desrochesludovic.desroc...@atmel.com Add nodes for mci controllers. Signed-off-by: Ludovic Desrochesludovic.desroc...@atmel.com ---

Re: [PATCH v3 1/3] mmc: atmel-mci: add device tree support

2012-05-22 Thread ludovic . desroches
Le 05/22/2012 04:08 PM, Jean-Christophe PLAGNIOL-VILLARD a écrit : On 12:09 Tue 22 May , ludovic.desroc...@atmel.com wrote: From: Ludovic Desrochesludovic.desroc...@atmel.com Signed-off-by: Ludovic Desrochesludovic.desroc...@atmel.com --- .../devicetree/bindings/mmc/atmel-hsmci.txt

Re: [PATCH v3 1/3] mmc: atmel-mci: add device tree support

2012-05-22 Thread Jean-Christophe PLAGNIOL-VILLARD
On 16:48 Tue 22 May , ludovic.desroches wrote: Le 05/22/2012 04:08 PM, Jean-Christophe PLAGNIOL-VILLARD a écrit : On 12:09 Tue 22 May , ludovic.desroc...@atmel.com wrote: From: Ludovic Desrochesludovic.desroc...@atmel.com Signed-off-by: Ludovic Desrochesludovic.desroc...@atmel.com

Re: [PATCH v3 1/3] mmc: atmel-mci: add device tree support

2012-05-22 Thread Nicolas Ferre
On 05/22/2012 05:10 PM, Jean-Christophe PLAGNIOL-VILLARD : On 16:48 Tue 22 May , ludovic.desroches wrote: Le 05/22/2012 04:08 PM, Jean-Christophe PLAGNIOL-VILLARD a écrit : On 12:09 Tue 22 May , ludovic.desroc...@atmel.com wrote: From: Ludovic Desrochesludovic.desroc...@atmel.com

Re: [PATCH v4 1/7] ARM: davinci, intc: Add irq domain support

2012-05-22 Thread Sergei Shtylyov
On 05/22/2012 05:55 PM, Heiko Schocher wrote: Signed-off-by: Heiko Schocherh...@denx.de Cc: davinci-linux-open-sou...@linux.davincidsp.com Cc: linux-arm-ker...@lists.infradead.org Cc: devicetree-discuss@lists.ozlabs.org Cc: Grant Likelygrant.lik...@secretlab.ca Cc: Sekhar Norinsek...@ti.com Cc:

Re: [PATCH v3 2/3] ARM: at91: add clocks for DT entries

2012-05-22 Thread Jean-Christophe PLAGNIOL-VILLARD
On 12:09 Tue 22 May , ludovic.desroc...@atmel.com wrote: From: Ludovic Desroches ludovic.desroc...@atmel.com Add clocks to clock lookup table for DT entries. Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com Acked-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com

Re: bootloader support for DTB on x86

2012-05-22 Thread Dirk Brandewie
On 05/22/2012 05:56 AM, Thierry Reding wrote: Hi, I was looking at booting an x86-based platform using DT. However I wasn't able to find a bootloader that supports this. There also doesn't seem to be a method to append the DTB to the zImage (which I wouldn't want to use anyway). Does anybody

[PATCH 3/5] netdev/phy/of: Add more methods for binding PHY devices to drivers.

2012-05-22 Thread David Daney
From: David Daney david.da...@cavium.com Allow PHY drivers to supply their own device matching function (match_phy_device()), or to be matched OF compatible properties. PHYs following IEEE802.3 clause 45 have more than one device identifier constants, which breaks the default device matching

[PATCH 2/5] netdev/phy/of: Handle IEEE802.3 clause 45 Ethernet PHYs in of_mdiobus_register()

2012-05-22 Thread David Daney
From: David Daney david.da...@cavium.com Define two new compatible values for Ethernet PHYs. ethernet-phy-ieee802.3-c22 and ethernet-phy-ieee802.3-c45 are used to indicate a PHY uses the corresponding protocol. If a PHY is compatible with ethernet-phy-ieee802.3-c45, we indicate this so that

[PATCH 0/5] netdev/phy: 10G PHY support.

2012-05-22 Thread David Daney
From: David Daney david.da...@cavium.com The existing PHY driver infrastructure supports IEEE 802.3 Clause 22 PHYs used with 10/100/1000MB Ethernet. For 10G Ethernet, many PHYs use 802.3 Clause 45. These patches attempt to add core support for this as well as drivers for several different 10G

[PATCH 4/5] netdev/phy: Add driver for Broadcom BCM87XX 10G Ethernet PHYs

2012-05-22 Thread David Daney
From: David Daney david.da...@cavium.com Add a driver for BCM8706 and BCM8727 devices. These are a 10Gig PHYs which use MII_ADDR_C45 addressing. They are always 10G full duplex, so there is no autonegotiation. All we do is report link state and send interrupts when it changes. If the PHY has

[PATCH 1/5] netdev/phy: Handle IEEE802.3 clause 45 Ethernet PHYs

2012-05-22 Thread David Daney
From: David Daney david.da...@cavium.com The IEEE802.3 clause 45 MDIO bus protocol allows for directly addressing PHY registers using a 21 bit address, and is used by many 10G Ethernet PHYS. Already existing is the ability of MDIO bus drivers to use clause 45, with the MII_ADDR_C45 flag. Here

Re: [PATCH 4/5] netdev/phy: Add driver for Broadcom BCM87XX 10G Ethernet PHYs

2012-05-22 Thread Joe Perches
On Tue, 2012-05-22 at 10:59 -0700, David Daney wrote: From: David Daney david.da...@cavium.com trivia: diff --git a/drivers/net/phy/bcm87xx.c b/drivers/net/phy/bcm87xx.c [] @@ -0,0 +1,237 @@ +static int bcm87xx_of_reg_init(struct phy_device *phydev) +{ + const __be32 *paddr; +

Re: [PATCH 4/5] netdev/phy: Add driver for Broadcom BCM87XX 10G Ethernet PHYs

2012-05-22 Thread Joe Perches
On Tue, 2012-05-22 at 11:26 -0700, David Daney wrote: On 05/22/2012 11:17 AM, Joe Perches wrote: On Tue, 2012-05-22 at 10:59 -0700, David Daney wrote: From: David Daneydavid.da...@cavium.com trivia: As long as we are splitting hairs... and zooming in and enhancing... diff --git

Re: [PATCH 5/5] netdev/phy: Add driver for Cortina cs4321 quad 10G PHY.

2012-05-22 Thread David Daney
On 05/22/2012 11:50 AM, Ben Hutchings wrote: On Tue, May 22, 2012 at 10:59:52AM -0700, David Daney wrote: [...] --- /dev/null +++ b/drivers/net/phy/cs4321-ucode.h @@ -0,0 +1,4378 @@ +/* + *Copyright (C) 2011 by Cortina Systems, Inc. + * + *This program is free software; you can

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

2012-05-22 Thread David Daney
On 05/19/2012 11:08 PM, Grant Likely wrote: On Sat, 19 May 2012 23:54:36 -0600, Grant Likelygrant.lik...@secretlab.ca wrote: On Fri, 11 May 2012 15:05:21 -0700, David Daneyddaney.c...@gmail.com wrote: From: David Daneydavid.da...@cavium.com When generating MODALIASes, it is convenient to

Re: bootloader support for DTB on x86

2012-05-22 Thread Sebastian Andrzej Siewior
* Thierry Reding | 2012-05-22 14:56:22 [+0200]: Hi, Hi, I was looking at booting an x86-based platform using DT. However I wasn't able to find a bootloader that supports this. There also doesn't seem to be a method to append the DTB to the zImage (which I wouldn't want to use anyway). Does

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

2012-05-22 Thread Grant Likely
On Tue, May 22, 2012 at 1:45 PM, David Daney ddaney.c...@gmail.com wrote: On 05/19/2012 11:08 PM, Grant Likely wrote: On Sat, 19 May 2012 23:54:36 -0600, Grant Likelygrant.lik...@secretlab.ca  wrote: On Fri, 11 May 2012 15:05:21 -0700, David Daneyddaney.c...@gmail.com  wrote: From: David

Re: bootloader support for DTB on x86

2012-05-22 Thread H. Peter Anvin
On 05/22/2012 12:51 PM, Sebastian Andrzej Siewior wrote: It should not be that difficult. - Look how the initrd is loaded. Use the same technique to load the dtb blob. - Allocate another memory block for setup_data. You need one entry of type SETUP_DTB pointing to the dtb. If I