Hi, i was working on this a little bit during the holiday. Personally i prefer Vincent's approach [1], which is easier to read and more consequent by rejecting sleeping GPIOs. So i prepared a WIP branch [2], which was tested on a Raspberry Pi 3 B Plus + a cheap Logic analyzer. So maybe you want to give it a try. I will try to send a proper series soon. Changes: - rebased Vincent's last patch series on top of Linux 6.7 - cherry picked some improvements from Nicola's series - tried to address Uwe's, Linus' and Andy's comments - tried to avoid glitches during probe Best regards [1] - https://lore.kernel.org/all/20200915135445.al75xmjxudj2rgcp@xxxxxxxx/T/ [2] - https://github.com/lategoodbye/rpi-zero/commits/v6.7-pwm-gpio/