PWM in DB410 using 6.x kernel

I’m trying to get PWM working in qcom 6.4 kernel using MPP4. Enabling pm8916_pwm in the device tree gives me a pwm device in /sys/class/pwm but after exporting pwm0 when i try to enable it (echo 1 > enable) i get the following error: write error: Invalid argument. ive seen other posts that set dcom,dtest on pm8916_pwm and ls_exp_gpio_f but doing so gave the same error. Any additional ideas would be helpful.