uboot version: 2020.04_5.4.70
Here is my device tree node description:
mipi_dsi_backlight: mipi_dsi_backlight {
compatible = "pwm-backlight";
pwms = <&pwm2 0 100000>;
status = "okay";
brightness-levels = <0 100>;
num-interpolated-steps = <100>;
default-brightness-level = <100>;
};
&pwm2 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pwm2>;
status = "okay";
};
After compiling according to the above configuration, it is found that there is no PWM signal output. Do you want to know whether uboot supports PWM output?
Hello,
i.MX8 pwm driver is not supported in u-boot.
if you wants to use it, you will have to add it to u-boot by referring to pwm driver in linux.
Best regards,
Aldo.