From mboxrd@z Thu Jan 1 00:00:00 1970 From: cnegris01@gmail.com (Christian N) Date: Tue, 20 Nov 2018 07:32:34 -0300 Subject: pwm_bl add framebuffer from fbcon Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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: From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c]) by shelob.surriel.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1gP67W-0000SZ-1n for kernelnewbies@kernelnewbies.org; Tue, 20 Nov 2018 08:31:14 -0500 Received: by mail-lf1-x12c.google.com with SMTP id e26so1349808lfc.2 for ; Tue, 20 Nov 2018 05:31:13 -0800 (PST) MIME-Version: 1.0 From: Christian N Date: Tue, 20 Nov 2018 07:32:34 -0300 Message-ID: Subject: pwm_bl add framebuffer from fbcon To: kernelnewbies@kernelnewbies.org List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============2848114139039139222==" Errors-To: kernelnewbies-bounces@kernelnewbies.org Message-ID: <20181120103234.pJZJL-kqaKpKg8kbUFsvJO7x3bXpBlAYdjWNYakyO_o@z> --===============2848114139039139222== Content-Type: multipart/alternative; boundary="000000000000a029cf057b18a5ff" --000000000000a029cf057b18a5ff Content-Type: text/plain; charset="UTF-8" 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 --000000000000a029cf057b18a5ff Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi All

Firs= t at all I introduce my usecase
-My board based on ARM (OMPA4) ca= n get a custom splash screen on booting using fbcon.
-By Dev= ice Tree I can configure screen backlight with desired level.
i'm trying to turn on backlight when splash screen is displ= ayed and not before to avoid "white flashes".

I read
Documentation/devicetree/bindings/pwm/pwm.txt
Documentation/devicetree/bindings/leds/pwm-backlight.txt
Documentation/fb/...

=
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 re= lated functions or how to customize by DT or kernel config which frame buff= er should be used by pwm_bl to turn on when valid data is ready in fb

Any hints will be apreciated.

<= div>Regards

--000000000000a029cf057b18a5ff-- --===============2848114139039139222== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies --===============2848114139039139222==--