Instead of using PWMA (pwm4) to control the backlight i want to use PWMB (pwm5)
I changed the tree
&bl {
brightness-levels = <0 45 63 88 119 158 203 255>;
default-brightness-level = <4>;
power-supply = <®_3v3>;
pwms = <&pwm5 0 6666667 PWM_POLARITY_INVERTED>;
status = "okay";
};
Once updated, in the folder /sys/class/backlight/ there are no folder/files
Under the PWM(Linux) page on the website it mentions that
Toradex Name NXP/Freescale Name sysfs path Note
PWM_A PWM4 /sys/class/pwm/pwmchip0/ Used for backlight control (/sys/class/backlight /backlight/)
PWM_B PWM5 /sys/class/pwm/pwmchip1/ -
PWM_C PWM6 /sys/class/pwm/pwmchip2/ -
PWM_D PWM7 /sys/class/pwm/pwmchip3/ -
Is it not possible to use PWMB instead of PWMA ?
I noticed that in ‘imx6ull-colibri.dtsi’ under bl : backlight it defines ‘pinctrl-names, pinctrl-0 and enable-gpios’ which i do not need as i am only using the PWM output control.