All of lore.kernel.org
 help / color / mirror / Atom feed
* pwm_bl add framebuffer from fbcon
@ 2018-11-20 10:32 ` Christian N
  0 siblings, 0 replies; 2+ messages in thread
From: Christian N @ 2018-11-20 10:32 UTC (permalink / raw)
  To: kernelnewbies

Hi All

First at all I introduce my usecase
-My board based on ARM (OMPA4) can get a custom splash screen on booting
using fbcon.
-By Device Tree I can configure screen backlight with desired level.

i'm trying to turn on backlight when splash screen is displayed and not
before to avoid "white flashes".

I read
Documentation/devicetree/bindings/pwm/pwm.txt
Documentation/devicetree/bindings/leds/pwm-backlight.txt
Documentation/fb/...
https://www.kernel.org/doc/html/v4.14/admin-guide/kernel-parameters.html

Also I noticed that pwm_bl has pwm_backlight_check_fb operation, but I
didnt find a clear way to relate frame buffer used by fbcon with pwm_bl
related functions or how to customize by DT or kernel config which frame
buffer should be used by pwm_bl to turn on when valid data is ready in fb

Any hints will be apreciated.

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20181120/cc5a58ee/attachment.html>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* pwm_bl add framebuffer from fbcon
@ 2018-11-20 10:32 ` Christian N
  0 siblings, 0 replies; 2+ messages in thread
From: Christian N @ 2018-11-20 10:32 UTC (permalink / raw)
  To: kernelnewbies


[-- Attachment #1.1: Type: text/plain, Size: 841 bytes --]

Hi All

First at all I introduce my usecase
-My board based on ARM (OMPA4) can get a custom splash screen on booting
using fbcon.
-By Device Tree I can configure screen backlight with desired level.

i'm trying to turn on backlight when splash screen is displayed and not
before to avoid "white flashes".

I read
Documentation/devicetree/bindings/pwm/pwm.txt
Documentation/devicetree/bindings/leds/pwm-backlight.txt
Documentation/fb/...
https://www.kernel.org/doc/html/v4.14/admin-guide/kernel-parameters.html

Also I noticed that pwm_bl has pwm_backlight_check_fb operation, but I
didnt find a clear way to relate frame buffer used by fbcon with pwm_bl
related functions or how to customize by DT or kernel config which frame
buffer should be used by pwm_bl to turn on when valid data is ready in fb

Any hints will be apreciated.

Regards

[-- Attachment #1.2: Type: text/html, Size: 1245 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-11-20 13:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-20 10:32 pwm_bl add framebuffer from fbcon Christian N
2018-11-20 10:32 ` Christian N

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.