Re: [RESEND][PATCH v4] gpio: davinci: reuse for keystone soc

2014-03-04 Thread Linus Walleij
On Thu, Feb 13, 2014 at 4:58 PM, Grygorii Strashko grygorii.stras...@ti.com wrote: The similar GPIO HW block is used by keystone SoCs as in Davinci SoCs. Hence, reuse Davinci GPIO driver for Keystone taking into account that Keystone contains ARM GIC IRQ controller which is implemented using

Re: Davinci gpio devicetree

2014-03-04 Thread Alexander Holler
Am 03.03.2014 23:49, schrieb Alexander Holler: BTW., I wonder how to use e.g. GP6_7 (which I calc as no 103 by using 6*16+7)? Using e.g. gpios = gpio 103 GPIO_ACTIVE_HIGH; in a led definition (for da850-evm) fails because 103 is greater than the max. limit of 32 as set for every

Fwd: Ethernet controller not starting

2014-03-04 Thread Jon Ringle
On Tue, Mar 4, 2014 at 4:06 AM, Christian Riesch christian.rie...@omicron.at wrote: [cc'ed netdev and davinci-linux-open-source] --On March 03, 2014 19:39 -0500 Jon Ringle j...@ringle.org wrote: On Mon, Mar 3, 2014 at 6:43 PM, Rafael J. Wysocki r...@rjwysocki.net wrote: On Monday, March

Re: Fwd: Ethernet controller not starting

2014-03-04 Thread Christian Riesch
Hi Jon, [Now also cc'ed Prabhakar Lad] --On March 04, 2014 07:34 -0500 Jon Ringle j...@ringle.org wrote: On Tue, Mar 4, 2014 at 4:06 AM, Christian Riesch christian.rie...@omicron.at wrote: [cc'ed netdev and davinci-linux-open-source] --On March 03, 2014 19:39 -0500 Jon Ringle

[PATCH] net: davinci_emac: Move call of devm_request_irq to emac_dev_open

2014-03-04 Thread Christian Riesch
In commit 6892b41d9701283085b655c6086fb57a5d63fa47 Author: Lad, Prabhakar prabhakar.cse...@gmail.com Date: Tue Jun 25 21:24:51 2013 +0530 net: davinci: emac: Convert to devm_* api the call of request_irq is replaced by devm_request_irq and the call of free_irq is removed. But since interrupts

Re: [PATCH] net: davinci_emac: Move call of devm_request_irq to emac_dev_open

2014-03-04 Thread Christian Riesch
Uh, wrong subject, this should of course read net: davinci_emac: Move call of devm_request_irq to davinci_emac_probe() --On March 04, 2014 15:07 +0100 Christian Riesch christian.rie...@omicron.at wrote: In commit 6892b41d9701283085b655c6086fb57a5d63fa47 Author: Lad, Prabhakar

Re: Davinci gpio devicetree

2014-03-04 Thread Alexander Holler
Am 04.03.2014 16:12, schrieb Grygorii Strashko: On 03/04/2014 01:54 PM, Alexander Holler wrote: Am 03.03.2014 23:49, schrieb Alexander Holler: BTW., I wonder how to use e.g. GP6_7 (which I calc as no 103 by using 6*16+7)? Using e.g. gpios = gpio 103 GPIO_ACTIVE_HIGH; in a led

Re: Fwd: Ethernet controller not starting

2014-03-04 Thread Jon Ringle
On Tue, Mar 4, 2014 at 9:06 AM, Christian Riesch christian.rie...@omicron.at wrote: Hi Jon, [Now also cc'ed Prabhakar Lad] --On March 04, 2014 07:34 -0500 Jon Ringle j...@ringle.org wrote: On Tue, Mar 4, 2014 at 4:06 AM, Christian Riesch christian.rie...@omicron.at wrote: [cc'ed netdev

Re: [PATCH] net: davinci_emac: Move call of devm_request_irq to emac_dev_open

2014-03-04 Thread Prabhakar Lad
Hi Christian, Thanks for the patch. On Tue, Mar 4, 2014 at 7:37 PM, Christian Riesch christian.rie...@omicron.at wrote: In commit 6892b41d9701283085b655c6086fb57a5d63fa47 Author: Lad, Prabhakar prabhakar.cse...@gmail.com Date: Tue Jun 25 21:24:51 2013 +0530 net: davinci: emac: Convert to

Re: Davinci gpio devicetree

2014-03-04 Thread Prabhakar Lad
Hi Alexander, On Tue, Mar 4, 2014 at 5:24 PM, Alexander Holler hol...@ahsoftware.de wrote: Am 03.03.2014 23:49, schrieb Alexander Holler: BTW., I wonder how to use e.g. GP6_7 (which I calc as no 103 by using 6*16+7)? Using e.g. gpios = gpio 103 GPIO_ACTIVE_HIGH; in a led definition

Re: [PATCH] net: davinci_emac: Move call of devm_request_irq to emac_dev_open

2014-03-04 Thread Florian Fainelli
2014-03-04 9:30 GMT-08:00 Prabhakar Lad prabhakar.cse...@gmail.com: Hi Christian, Thanks for the patch. On Tue, Mar 4, 2014 at 7:37 PM, Christian Riesch christian.rie...@omicron.at wrote: In commit 6892b41d9701283085b655c6086fb57a5d63fa47 Author: Lad, Prabhakar prabhakar.cse...@gmail.com

[PATCH] gpio: davinci: fix gpio selection for OF

2014-03-04 Thread Alexander Holler
The driver missed an of_xlate function to translate gpio numbers as found in the DT to the correct chip and number. While there I've set #gpio_cells to a fixed value of 2. I've used gpio-pxa.c as template for those changes and tested my changes successfully on a da850 board using entries for

Re: [PATCH 2/5] gpio: remove obsolete tnetv107x driver

2014-03-04 Thread Linus Walleij
On Wed, Feb 26, 2014 at 8:43 PM, Arnd Bergmann a...@arndb.de wrote: The tnetv107x platform is getting removed, so this driver won't be needed any more. Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Linus Walleij linus.wall...@linaro.org Cc: Alexandre Courbot gnu...@gmail.com Cc:

Re: [PATCH] gpio: davinci: fix gpio selection for OF

2014-03-04 Thread Linus Walleij
On Wed, Mar 5, 2014 at 6:06 AM, Alexander Holler hol...@ahsoftware.de wrote: The driver missed an of_xlate function to translate gpio numbers as found in the DT to the correct chip and number. While there I've set #gpio_cells to a fixed value of 2. I've used gpio-pxa.c as template for those

Re: [PATCH 2/5] gpio: remove obsolete tnetv107x driver

2014-03-04 Thread Linus Walleij
On Wed, Mar 5, 2014 at 9:52 AM, Linus Walleij linus.wall...@linaro.org wrote: On Wed, Feb 26, 2014 at 8:43 PM, Arnd Bergmann a...@arndb.de wrote: The tnetv107x platform is getting removed, so this driver won't be needed any more. Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Linus Walleij

Re: [PATCH] net: davinci_emac: Move call of devm_request_irq to emac_dev_open

2014-03-04 Thread Christian Riesch
--On March 04, 2014 09:53 -0800 Florian Fainelli f.faine...@gmail.com wrote: 2014-03-04 9:30 GMT-08:00 Prabhakar Lad prabhakar.cse...@gmail.com: Hi Christian, Thanks for the patch. On Tue, Mar 4, 2014 at 7:37 PM, Christian Riesch christian.rie...@omicron.at wrote: In commit