[RESEND,PATCH v3] cmd: Add a pwm command