3.8: add patches to fix ADC and PWM

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>