Active PWM in VIM3 with Android

I followed the steps below to enable PWM_F. But it didn’t work on my board VIM3 with Android

echo 1 > /sys/class/pwm/pwmchip4/export
echo 1000000 >/sys/class/pwm/pwmchip4/pwm1/period
echo 500000 >/sys/class/pwm/pwmchip4/pwm1/duty_cycle
echo 1 > /sys/class/pwm/pwmchip4/pwm1/enable

could anyone help me please?

Hello @A.M.T

@goenjoy @xiong.zhang can help you.

&pwm_ef {
                status = "okay";
+               pinctrl-names = "default";
+                pinctrl-0 = <&pwm_f_pins2>;

Hello, has this section been added to the documentation?

Yes, it has been added. But i have a question please, how can i modify arch/arm/boot/dts/amlogic/kvim3.dts?

Hello, are you using 32-bit firmware or 64-bit firmware?