but we are getting intailly high, we are suspecting that the signal is going to high during u-boot time.
How can we stop it from going high while booting.
Regarding your query, you can control pin from u-boot in couple of ways either one can modify u-boot using source code or from u-boot command line please check below link
Let me know if you have any queries.
Best Regards
Ritesh Kumar
Hello @ritesh.tx ,
And we wanted to add some delay to the PWM signal, currently PWM is starting right after kernel loading. We wanted to add some delay here, for that what are changes that we need to make in PWM node in dtsi file.
Currently pwm is used by backlight driver. I am not sure if any such function of delay is presented by driver.
But I think if you disable backlight by default and enable as per your application need that should be workable in your case.
Please check below link.
Please note one you disable backlight you will need to enable using some script and systemd service to autorun script.
Currently we have set the default brightness as “default-brightness-level = <7>;” in backlight node(in dtsi), in our watchdog script we added " echo 4 > /sys/class/backlight/backlight/brightness ", which controlled by a service . Enable signal we are controlling using a GPIO(configured as gpio output, active high in kernel dtsi ). But we are getting 5 seconds delay from Enable signal to PWM signal. Actually we wanted to reduce that delay to 1 sec, to get that control we need some function.