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

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: 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: Davinci gpio devicetree

2014-03-03 Thread Prabhakar Lad
Hi Alexander, On Sat, Mar 1, 2014 at 6:58 PM, Alexander Holler hol...@ahsoftware.de wrote: Hello, Having had a second look at your example (comparing with what I've used here), I think it might make sense to change it a bit: Am 01.03.2014 14:10, schrieb Alexander Holler: Am 28.02.2014

Re: Davinci gpio devicetree

2014-03-03 Thread Sekhar Nori
On Monday 03 March 2014 03:53 PM, Prabhakar Lad wrote: Hi Alexander, On Sat, Mar 1, 2014 at 6:58 PM, Alexander Holler hol...@ahsoftware.de wrote: Hello, Having had a second look at your example (comparing with what I've used here), I think it might make sense to change it a bit: Am

Re: Davinci gpio devicetree

2014-03-03 Thread 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 chip in davinci_gpio_probe() in gpio-davinci.c.

Re: Davinci gpio devicetree

2014-03-01 Thread Alexander Holler
Am 28.02.2014 14:51, schrieb Prabhakar Lad: Hi Alexander, On Fri, Feb 28, 2014 at 2:56 PM, Sekhar Nori nsek...@ti.com wrote: + Prabhakar On Tuesday 25 February 2014 08:54 PM, Alexander Holler wrote: Hello, I've seen kernel 3.14-rc contains support for gpios using devicetree. I've two

Re: Davinci gpio devicetree

2014-03-01 Thread Alexander Holler
Hello, Having had a second look at your example (comparing with what I've used here), I think it might make sense to change it a bit: Am 01.03.2014 14:10, schrieb Alexander Holler: Am 28.02.2014 14:51, schrieb Prabhakar Lad: +leds { pinctrl-names = default; pinctrl-0 =

Re: Davinci gpio devicetree

2014-02-28 Thread Sekhar Nori
+ Prabhakar On Tuesday 25 February 2014 08:54 PM, Alexander Holler wrote: Hello, I've seen kernel 3.14-rc contains support for gpios using devicetree. I've two comments: 1. #gpio-cells seems to be missing, 2. a small usage example (e.g. with gpio-leds or gpio-keys) would be nice.

Re: Davinci gpio devicetree

2014-02-28 Thread Prabhakar Lad
Hi Alexander, On Fri, Feb 28, 2014 at 2:56 PM, Sekhar Nori nsek...@ti.com wrote: + Prabhakar On Tuesday 25 February 2014 08:54 PM, Alexander Holler wrote: Hello, I've seen kernel 3.14-rc contains support for gpios using devicetree. I've two comments: 1. #gpio-cells seems to be missing,

Davinci gpio devicetree

2014-02-25 Thread Alexander Holler
Hello, I've seen kernel 3.14-rc contains support for gpios using devicetree. I've two comments: 1. #gpio-cells seems to be missing, 2. a small usage example (e.g. with gpio-leds or gpio-keys) would be nice. Regards, Alexander Holler ___