I find that I’m unable to use GPIO07 (LCD_BL_PWM) as a PWM. Symptoms are very similar to this prior post:
I’m on a newer version of L4T: 32.5.1. By default the PWM is taken by led_pwm, so I disabled that from the menuconfig. I have selected PM3_PWM0 in the pinmux spreadsheet. I am using other GPIO14 as PWM with similar selections in PinMux and it works correctly, I don’t understand why I’m unable to control GPIO07 as a PWM the same way. GPIO07 does show as PWM0 when I run the command:
root@nvidia-desktop:/sys/kernel/debug/pinctrl/700008d4.pinmux# cat pinmux-pins
I am able to use GPIO07 as a an ordinary GPIO.
Is it possible that disabling the LED_PWM feature in menuconfig I’ve somehow disabled the PWM entirely? If so, what is the correct procedure to use PWM0 as a GPIO PWM? Are there any steps that may help to diagnose the issue?