Hello Folks,
I trying to setup PWM pin on imx8mm but I doesn't work. At my configuration, I add those lines
and
on dts file and I include this line
on my *_deconfig file. After bake my image with Yocto builder and download the image for my Single Board Computer I saw at /sys/class/pwm folder this
lrwxrwxrwx 1 root root 0 Apr 28 2022 pwmchip0 -> ../../devices/platform/soc@0/30400000.bus/30660000.pwm/pwm/pwmchip0
lrwxrwxrwx 1 root root 0 Apr 28 2022 pwmchip1 -> ../../devices/platform/soc@0/30400000.bus/30670000.pwm/pwm/pwmchip1
But on the /dev folder I didn't see the nodes for pwmchip0 and pwmchip1. Does anyone could give me a tips what I missing or what do I mistake?
Thanks in advance.
已解决! 转到解答。
Hi @oprata
There is no missing or mistake in your configuration. As you can see the pwmchipN existing in the /sys/class/pwm folder which is defined by Kernel.
Best regards
Harvey