kernel mod for pwm