clk: Modify xlate() method for livetree
authorSimon Glass <sjg@chromium.org>
Fri, 19 May 2017 02:09:40 +0000 (20:09 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 1 Jun 2017 13:03:14 +0000 (07:03 -0600)
commita4e0ef50dae404939f14e46493a3d5c2111a9d4c
tree3753b70708d7dd21206534f99e3356574b5f6f10
parenta1e4adee99355a348806fda1a3cc48af15ee79bc
clk: Modify xlate() method for livetree

Update the xlate() method to use ofnode_phandle_args instead of the fdtdec
variant. This will allow drivers to support a live device tree.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/clk/at91/pmc.c
drivers/clk/at91/pmc.h
drivers/clk/clk-uclass.c
drivers/clk/clk_stm32f7.c
include/clk-uclass.h