[Intel-gfx] [PATCH 1/2] gpio/crystalcove: Export Panel and backlight en/disable signals as GPIO
Linus Walleij
linus.walleij at linaro.org
Wed Mar 18 04:50:51 PDT 2015
On Thu, Mar 12, 2015 at 4:06 PM, Kumar, Shobhit <shobhit.kumar at intel.com> 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 at intel.com> 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
More information about the Intel-gfx
mailing list