pwm: initial support