sync source tree & bug fix

- sync hal source tree
- fix clock source problem in low power mode
  - reinitialize clock after wakeup