dm: tegra: Convert clock_decode_periph_id() to support livetree
authorSimon Glass <sjg@chromium.org>
Tue, 25 Jul 2017 14:30:00 +0000 (08:30 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 28 Jul 2017 18:02:47 +0000 (12:02 -0600)
commit000f15fa15c57d2d2f5a1a1d2ea233edbff6461e
tree513ea1a9c8f4a49b24ae90e7f1b3add7140d1a49
parentbe7890927a0f9fd40e697ed857cba8c2de1d178e
dm: tegra: Convert clock_decode_periph_id() to support livetree

Adjust this to take a device as a parameter instead of a node.

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Tested-on: Beaver, Jetson-TK1
Tested-by: Stephen Warren <swarren@nvidia.com>
arch/arm/include/asm/arch-tegra/clock.h
arch/arm/mach-tegra/clock.c
drivers/spi/tegra114_spi.c
drivers/spi/tegra20_sflash.c
drivers/spi/tegra20_slink.c
drivers/spi/tegra210_qspi.c
drivers/usb/host/ehci-tegra.c