I have a Raspberry Pi 5 2GB. I just flashed the newest Raspberry Pi OS 64bit. I added dtoverlay=pwm-2chan to my /boot/firmware/config.txt and rebooted. No further actions where done on this system. According to the Internet, there should be a /sys/class/pwm/pwmchip2. However, I only have a pwmchip0 there.
Why isn't dtoverlay=pwm-2chan adding a pwmchip2? Is my Pi already broken? What am I missing?
Thanks in advance!
Edit:
I found the reason: I flashed Raspberry Pi OS again with the rpi-imager tool. This image uses kernel 6.6. Without any further updates and just activating the overlay, the pwmchip2 appears. After an update, it disappears. The issue seems to be related to the newest update to kernel 6.12. However, since "just do no updates" is no solution, this is not the answer.