As I know, PWM can been enabled by sysfs.
echo 0 > /sys/class/pwm/pwmchip0/export
echo 1000000 > period
echo 500000 > duty_cycle
echo 1 > enable
But now, How to enable the PWM by default,
For DTSI, I add the following code, but it’s not work.
compatible = “pwm-backlight”;
status = “okay”;
pwms = <&tegra_pwm 0 40161>;
Can you give me some suggestions.