Re: DT on s3c24xx

2014-12-18 Thread Linus Walleij
On Thu, Dec 18, 2014 at 9:34 AM, Vasily Khoruzhick wrote: > Can I change pin function after gpio was requested? In low-power state > (i.e. when display is disabled) it's gpio driving some level, > and in active state it's some LCD controller pin (don't remember which > one exactly) Please read t

Re: DT on s3c24xx

2014-12-18 Thread Alexandre Courbot
On Thu, Dec 18, 2014 at 5:34 PM, Vasily Khoruzhick wrote: > On Thu, Dec 18, 2014 at 10:52 AM, Uwe Kleine-König > wrote: >> Hello, > > Hi Uwe, > >> [Cc += linusw, linux-gpio] >> >> On Wed, Dec 17, 2014 at 10:04:24PM +0300, Vasily Khoruzhick wrote: >>> I'd like to port several s3c24xx to DT, and I'

Re: DT on s3c24xx

2014-12-18 Thread Vasily Khoruzhick
On Thu, Dec 18, 2014 at 10:52 AM, Uwe Kleine-König wrote: > Hello, Hi Uwe, > [Cc += linusw, linux-gpio] > > On Wed, Dec 17, 2014 at 10:04:24PM +0300, Vasily Khoruzhick wrote: >> I'd like to port several s3c24xx to DT, and I'm stuck with s3c24xx LCD >> controller and power drivers for H1940 and R

Re: DT on s3c24xx

2014-12-17 Thread Uwe Kleine-König
Hello, [Cc += linusw, linux-gpio] On Wed, Dec 17, 2014 at 10:04:24PM +0300, Vasily Khoruzhick wrote: > I'd like to port several s3c24xx to DT, and I'm stuck with s3c24xx LCD > controller and power drivers for H1940 and RX1950. > > Please see [1]. I want to move this function into another LCD pow

DT on s3c24xx

2014-12-17 Thread Vasily Khoruzhick
Hi, I'd like to port several s3c24xx to DT, and I'm stuck with s3c24xx LCD controller and power drivers for H1940 and RX1950. Please see [1]. I want to move this function into another LCD power driver, but I'm not sure what to do with s3c_gpio_cfgpin(). I need to change pin function in runtime, a