Re: [PATCH 1/2] gpio/crystalcove: Export Panel and backlight en/disable signals as GPIO

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 12, 2015 at 4:06 PM, Kumar, Shobhit <shobhit.kumar@xxxxxxxxx> wrote:
> On Mon, 2015-03-09 at 18:15 +0100, Linus Walleij wrote:
>> On Fri, Mar 6, 2015 at 5:23 PM, Kumar, Shobhit <shobhit.kumar@xxxxxxxxx> wrote:
>>
>> > There are actually two lines for Panel Power control and Backlight
>> > enable/disable. I have already moved towards adding a new Cell device
>> > for PWM child device and a new pwm driver for the same. That will take
>> > care of backlight thingy. But for the Panel power control, I am at loss
>> > for how best to program that.
>>
>> Isn't it just a very simple regulator (just on/off of fixed voltage) cell?
>>
>
> It is just behaving as an output GPIO line and for that reason I feel
> that rather than adding a new regulator driver,

I disagree. GPIO reads "general purpose input/output".

This is not a GPIO, this is a special purpose thing and IMO
it should be modeled directly as a regulator.

Yours,
Linus Walleij
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx





[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux