[PATCH 5/5] board: toradex: add splash screen to Toradex i.MX7D Colibri board
Thomas Bonnefille
thomas.bonnefille at bootlin.com
Wed Nov 26 18:54:48 CET 2025
Hello Francesco,
On Wed Nov 26, 2025 at 12:59 PM CET, Francesco Dolcini wrote:
> [...]
>> -
>> - return 0;
>> + enable_pwm_clk(1, 0);
>> + ret = pwm_init(0, 0, 0);
>> + if (ret)
>> + return ret;
>> + ret = pwm_config(0, 0, 6666666);
>
> You are setting a period here for the PWM backlight (150Hz?),
> considering that colibri imx7 is a SoM, e.g. there is no actual display
> part of it, is this number generic enough?
Indeed there isn't, however for my tests I used the Toradex Colibri
Evaluation Board with the Toradex 7 inch Capacitive Touch Display [1] that is
meant to be used with the Colibri Evaluation Board.
This display typically uses a 150Hz PWM for its backlight so I chose this
value.
However there the pwm_config configure a 150Hz PWM with 0ns duty cycle so
in fact, no matter the frequency, this pin will act as an always off GPIO.
1: https://docs.toradex.com/104497-7-inch-parallel-capacitive-touch-display-800x480-datasheet.pdf
Thomas
More information about the U-Boot
mailing list