serial: atmel_usart: Add clk support
authorWenyou Yang <wenyou.yang@atmel.com>
Fri, 14 Apr 2017 07:01:28 +0000 (15:01 +0800)
committerSimon Glass <sjg@chromium.org>
Tue, 9 May 2017 18:14:15 +0000 (12:14 -0600)
commitf8b7fff1d5c5297d290acab1e398bd410b0c2e68
treec9d49cc9dfc3cdf4e83f208367a1c551e32c3313
parent5f29e79915940815a41b1364a213dd2a855cdb6d
serial: atmel_usart: Add clk support

Add the clock support.
Note that the clock handling of the DBGU peripheral is different
from the USART.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/serial/atmel_usart.c