I have a custom board based on RK3568jq. I made Linux minimal image using Yocto: https://wiki.t-firefly.com/en/Fi ... e/manual_yocto.html I added PWM control and it works fine using next command:echo 100 > /sys/class/backlight/backlight/brightness but as i can see using oscilloscope , the frequency of PWM signal is about 40 seconds instead of 20 kHz ! my dtsi-file modifications: rk3568-firefly-roc-pc.dtsi backlight:backlight { status = "okay"; compatible = "pwm-backlight"; pwms = <&pwm4 0 50000 0>; ... } lvds_panel: lvds-panel { compatible = "simple-panel"; status = "okay"; backlight = <&backlight>; ..... } what im doing wrong about frequency? The third paramenter 50000 is frequency in nanoseconds ? pwms = <&pwm4 0 50000 0>; |
-
22 Bytes, Down times: 0