Add pwm-fan overlay - #7594
Conversation
|
Pros:
Cons:
|
|
question: it says |
|
Just leave it as |
3d9ad41 to
ab6e8d2
Compare
|
I just tested the overlay on my Raspberry Pi 4B with all four PWM pins (12, 13, 18, 19) and a HighPi Pro Fan. Everything is fully functional on all four pins. |
16978be to
b4865fb
Compare
|
Thanks - I'll merge once the auto-builds have completed. |
|
The 100 character limit is only a warning. We don't worry about it on things like overlays which will never be sent to the upstream kernel maintainers. Checkpatch failures are not necessarily blockers - that's why we call it the "Advisory checkpatch review". However, one way to avoid the ugly wrapping of the in-overlay usage information is just to delete it - that's what the README is for. |
Signed-off-by: zumbiepig <121742281+zumbiepig@users.noreply.github.com>
b4865fb to
f3e3398
Compare
|
Force pushed from b4865fb...f3e3398. You can compare the changes here and merge it without waiting again since it will fail the check. |
|
Thank you. When can I expect to see this shipped to most Pis (that update their kernel ofc)? |
|
There's no fixed schedule, but the kernel apt packages get bumped around every 2-3 months, with new images being created more like every 6 months. However, there's nothing stopping you keeping the .dtbo as an extra file - it won't get deleted or overwritten until it gets a proper release. You will lose the README though. |
Can I ship the same |
|
It's not a stupid question (we don't believe in them), and the answer is yes - one overlay will work for all Pis without recompilation. To be a bit more precise:
|




Why: the pwm-gpio-fan overlay that was added it really loud since it runs at 50hz (20ms cycle) and hardware pwm does 25khz (40ns cycle)
This uses hardware pwm so it runs quiet and the only downside is that you get worse audio quality. but many people dont use their raspberry pi with audio.