Re: [RFC] pwm-backlight: Allow backlight to remain disabled on boot

2018-01-04 Thread hl
Hi On Thursday, January 04, 2018 04:22 PM, Peter Ujfalusi wrote: Hi, On 2018-01-04 04:18, hl wrote: Hi All,     Since many panel power sequence request backlight stay disable before panel power ready, but with now pwm-backlight drvier, it default to enable backlight when pwm-backlight pro

Re: [RFC] pwm-backlight: Allow backlight to remain disabled on boot

2018-01-04 Thread Peter Ujfalusi
Hi, On 2018-01-04 04:18, hl wrote: > Hi All, > >     Since many panel power sequence request backlight stay disable > > before panel power ready, but with now pwm-backlight drvier, it default to > > enable backlight when pwm-backlight probe, it mess up the panel power > sequence. > > So we nee

Re: [RFC] pwm-backlight: Allow backlight to remain disabled on boot

2018-01-03 Thread hl
Hi All,     Since many panel power sequence request backlight stay disable before panel power ready, but with now pwm-backlight drvier, it default to enable backlight when pwm-backlight probe, it mess up the panel power sequence. So we need this patch. This patch have been fly for a long tim

Re: [RFC] pwm-backlight: Allow backlight to remain disabled on boot

2015-02-26 Thread Lee Jones
On Thu, 31 Jul 2014, Thierry Reding wrote: > From: Thierry Reding > > The default for backlight devices is to be enabled immediately when > registering with the backlight core. This can be useful for setups that > use a simple framebuffer device and where the backlight cannot otherwise > be hooke

Re: [RFC] pwm-backlight: Allow backlight to remain disabled on boot

2014-08-07 Thread Ajay kumar
Hi Thierry, Thanks for adding me. On Thu, Jul 31, 2014 at 5:26 PM, Thierry Reding wrote: > Cc'ing Ajay (who raised this on a different thread recently), therefore > quoting all of the original email. > > Thierry > > On Thu, Jul 31, 2014 at 01:42:50PM +0200, Thierry Reding wrote: >> From: Thierry

Re: [RFC] pwm-backlight: Allow backlight to remain disabled on boot

2014-08-07 Thread Jingoo Han
On Thursday, July 31, 2014 8:55 PM, Thierry Reding wrote: > On Thu, Jul 31, 2014 at 01:42:50PM +0200, Thierry Reding wrote: > [...] > > @@ -317,6 +319,12 @@ static int pwm_backlight_probe(struct platform_device > > *pdev) > > } > > > > bl->props.brightness = data->dft_brightness; > > + > >

Re: [RFC] pwm-backlight: Allow backlight to remain disabled on boot

2014-07-31 Thread Thierry Reding
Cc'ing Ajay (who raised this on a different thread recently), therefore quoting all of the original email. Thierry On Thu, Jul 31, 2014 at 01:42:50PM +0200, Thierry Reding wrote: > From: Thierry Reding > > The default for backlight devices is to be enabled immediately when > registering with th

Re: [RFC] pwm-backlight: Allow backlight to remain disabled on boot

2014-07-31 Thread Thierry Reding
On Thu, Jul 31, 2014 at 01:42:50PM +0200, Thierry Reding wrote: [...] > @@ -317,6 +319,12 @@ static int pwm_backlight_probe(struct platform_device > *pdev) > } > > bl->props.brightness = data->dft_brightness; > + > + if (data->boot_off) > + bl->props.power = FB_BLANK_

[RFC] pwm-backlight: Allow backlight to remain disabled on boot

2014-07-31 Thread Thierry Reding
From: Thierry Reding The default for backlight devices is to be enabled immediately when registering with the backlight core. This can be useful for setups that use a simple framebuffer device and where the backlight cannot otherwise be hooked up to the panel. However, when dealing with more com