commit | 68e456356f9e114c8579021e060d341ae6b45cc2 | [log] [tgz] |
---|---|---|
author | Peng Fan <peng.fan@nxp.com> | Fri Oct 19 00:26:23 2018 +0200 |
committer | Stefano Babic <sbabic@denx.de> | Mon Oct 22 12:59:02 2018 +0200 |
tree | 59c367e42b6fcafc6b117e23d8a004ffa248b0ba | |
parent | a2aedcb294fc48a7804bcebb78654851bd98b114 [diff] |
serial: lpuart: support uclass clk api Modify most APIs to use udevice as the first parameter, then it will be easy to get the clk reference by using udevice pointer. Use uclass api to get lpuart clk when CONFIG_CLK is enabled. Signed-off-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Stefano Babic <sbabic@denx.de>